VSE - FLAC stips play continuously instead of seeking from cursor #47699
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#47699
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
Manjaro 2016-03-05
MSI GTX 660Ti - video-nvidia driver
Blender Version
Issue since 17:2.76.b-3 (hash
f337fea
) with libsndfile 1.0.26-1Worked with 17:2.76.b-3 (hash
f337fea
) with libsndfile 1.0.25-3Short description of error
In Video Sequence Editor, when an audio strip from a FLAC file is played, it plays continuously from the beginning, even when moving the cursor (either towards the beginning or the end).
Exact steps for others to reproduce the error
> the strip is played, OK
> the strip keeps playing continuously instead of playing from the new cursor position, NOK
> the strip keeps playing continuously instead of playing from the new cursor position, NOK
> the strip is not played, OK
A consequence of this is, if playing a strip cut from a FLAC file (meaning the strip is shorter than the file), i can play the whole file as long as i move the cursor backwards so it stays on the strip.
The issue is not reproduced using an audio strip for a MP3 file.
NB: Considering the issue rose with an update from libsndfile dependency, i'd understand if you want me to fill an issue to the libsndfile project, though i'd appreciate if you can help me provide a more significant report.
Changed status to: 'Open'
Added subscriber: @MaycneSonahoz
Added subscriber: @mont29
Please always attach needed files to reproduce the issue (small ones if possible).
Sorry, here's a small test project with a MP3 file and a FLAC file.
blender.tar.xz
Added subscriber: @neXyon
OK, so, cannot reproduce the issue with latest master here, nor with 2.77 official release. Would assume it is fixed then. Tried with 2.76, where indeed mp3 and flac have not the same behavior - but afaict, root of the issue remains the same: seems like audio backend does not like when we seek in negative frames area.
@neXyon is it known and expected that audio-seeking (
BKE_sound_seek_scene
) when (scene) frame <0 is not working well?Yep, it is known. Also audio animation does not work at all for negative frame numbers as the cache doesn't support negative positions. If you use audio, do not use negative frame positions.
Changed status from 'Open' to: 'Archived'
Thanks Joerg, think we can close this as known limitation then.
Sorry to tell you that even after updating to 17:2.77-1 (hash
7f03e7c
), i still have the issue.Rewording your comments so i understand: there is a known issue that audio seeking does not work well when the scene starts before frame 0. Did i get that right?
If so, i don't think the problem comes from here. I might have misled you by starting the clips before the frame 0 in the test project, but that was to show you that the FLAC clip starts from the beginning rather than from the cursor position.
I made another project with the clips starting after frame 0. They are also short enough to fit in the project length. If i put the cursor in the middle and start playing, the FLAC and OGG clips (i just found out OGG files have the same issue) play from the beginning rather than from the cursor position, and keep playing normally even when moving the cursor while playing.
blender-20160322.tar.xz
Also, since Bastien doesn't have the issue, i'm wondering if it might come from another dependency. Would you like me to post the complete list of dependencies and their versions i have installed?
Eeeeh… ok, but are you using official (released by Blender foundation) builds? Please do not use thrid party builds (like distro ones) for bug reports…
Indeed, i'm using the one provided from my distro. I just downloaded the latest official build and i confirm there is no issue with it.
Thanks a lot and sorry for the bother.
would still be interesting to have the lib listing though, if issue comes from updated lib we'll likely face it too at some point.
I'll make the list whenever i have some time.
In the meantime, i opened an issue on Arch: https://bugs.archlinux.org/task/48679
Because of file size restrictions, i pointed to the second test project i posted here in order to help them reproduce the issue. I hope you don't mind.
Changed status from 'Archived' to: 'Archived'
Hi,
I'm running Arch linux and can confirm the issue. It's with libsndfile actually which reports flac files as not seekable when opening the file - [x]. Interestingly the seeking works nevertheless, but Blender does not do it when libsndfile reported that seeking doesn't work (for obvious reasons).
The bug therefore is either in libsndfile directly or in the package provided by Arch linux and has to be reported there!
Cheers
I just found another check:
As we can see, the file is reported FALSE for being seekable...
And finally, I just found the bug report that has been submitted to libsndfile already and is fixed, so it will work again after the next release: https://github.com/erikd/libsndfile/issues/124
@mont29 Here's the list of versions of the package i currently have, with the direct dependencies:
I also made another list with all dependencies: blender-deps-full.txt
For the note, here's a command if you need a dependency list with version on Arch:
@neXyon Thanks, i report this to Arch's issue right away: https://bugs.archlinux.org/task/48679