Linux - Audio Mixdown - flac audio isnt created correctly #52488
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#52488
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Linux x64
Blender Version
Broken:
b94a433ca3
Short description of error
flac audio generation isnt generated cleanly
Exact steps for others to reproduce the error
bug.blend
Changed status to: 'Open'
Added subscriber: @candreacchio
Added subscribers: @neXyon, @mont29
The export seems to be working OK, it’s the import back into Blender that is broken somehow. Note that reading generated .flac in player (like default gnome one) does work.
@neXyon this is probably one for you?
Loading windows created flacs back in on Linux blender are correct length
There's also another bug which may or may not be related that FLAC creation stops early on long sequences (20-30k frames). Will report it as a separate bug if it's not related
I can't reproduce this bug. Can you tell me which distribution and version you are on and how you get blender? Official builds, distribution builds or self built? I guess it's a faulty ffmpeg version that causes this, probably not much we can do.
Ubuntu 17,04
Official build bot -
b94a433ca3
Self built -
e476298084
(this just reports an error loading the flac, not same error as above)Added subscriber: @Sergey
Ok I can reproduce the bug with a buildbot build, but it's not a debug build, so it's hard to track down the error. @Sergey can you help? Which linux is the buildbot running and which ffmpeg/libsndfile version? Is it a self built one? Can I get it somehow?
I just saw that the buildbots build without libsndfile, so the cause could/should be ffmpeg. Do you build with libsndfile @candreacchio ?
@neXyon, buildbot/release environment was silently ignoring sndfile. Making tweaks now to enable it back (as per blender_full.cmake).
Buildbot is based on Debian Jessie, with sndfile installed from repository, ffmpeg is 3.2.1. if enabling sndfile doesn't solve the issue i can share all self-compiled libraries from /opt/lib if you'd like.
Thanks @Sergey ! With libsndfile disabled I can reproduce the error with ffmpeg.
Then I tried blender2.8 where everything works, since the new audaspace uses newer ffmpeg API. Now we have a few options:
What's your suggestion @Sergey ?
@neXyon, let me finish getting buildbot up and running again (stupid nvcc crashes on sm20/sm21 kernels, keeps time to get past that to get fresh builds). If the new buildbot will work, i think we can consider the issue as resolved.
We definitely don't want you to shoot yourself!
Hey @Sergey I just checked the build bots, while the 64 bit linux builds still fail, I checked both 32 and 64 bit and they now both have WITH_CODEC_SNDFILE as ON. So we can consider this resolved?
@neXyon, think so. Will try to get buildsbots running later today.
Changed status from 'Open' to: 'Resolved'
@neXyon, all buildbots should be up, and both 2.79 and latest buildbots are supposed to have sndfile enabled. So think the issue can be considered fully resolved now.