Crash when VSE attempting to play back long video files with ac3 audio #47498

Closed
opened 2016-02-19 23:23:08 +01:00 by hudson barkley · 15 comments

System Information
Windows 8.1

Blender Version
Broken: 2.76
Worked: (optional)

Short description of error
Blender will often crash when the VSE plays back a video file with AC3 audio from some point other than the start of the video.

Some notes:
Only happens with a file with audio and video (just importing an AC3 file isnt enough).
May only happen with h264/ac3 combination, I have not tested it with any other video codecs.
The longer the video, the more likely the crash... a 5 minute video will not trigger it, a 11 minute video will sometimes trigger it, and a 1.5 hour video will always trigger it.
The crash will be triggered on playback or scrubbing if audio scrubbing is enabled (also, scrubbing with the audio scrubbing not enabled will not crash).
Aggressive play/pause and scrubbing is more likely to trigger the crash on shorter video files.
Deleting the video track before playback will not prevent the crash, deleting the audio track will.

Exact steps for others to reproduce the error
Open Blender
Switch to the VSE layout
Load in a long video file with h264 video and ac3 audio
Move the play cursor to a point after the start of the video
Play the VSE

**System Information** Windows 8.1 **Blender Version** Broken: 2.76 Worked: (optional) **Short description of error** Blender will often crash when the VSE plays back a video file with AC3 audio from some point other than the start of the video. Some notes: Only happens with a file with audio and video (just importing an AC3 file isnt enough). May only happen with h264/ac3 combination, I have not tested it with any other video codecs. The longer the video, the more likely the crash... a 5 minute video will not trigger it, a 11 minute video will sometimes trigger it, and a 1.5 hour video will always trigger it. The crash will be triggered on playback or scrubbing if audio scrubbing is enabled (also, scrubbing with the audio scrubbing not enabled will not crash). Aggressive play/pause and scrubbing is more likely to trigger the crash on shorter video files. Deleting the video track before playback will not prevent the crash, deleting the audio track will. **Exact steps for others to reproduce the error** Open Blender Switch to the VSE layout Load in a long video file with h264 video and ac3 audio Move the play cursor to a point after the start of the video Play the VSE
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @snuq

Added subscriber: @snuq

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Cant redo this error.
Could you test if this sample h264/ac3 files cause an error? (test0001-14401.blend, test0001-14401.avi)

If not, you will need to upload or link to some sample file.

Cant redo this error. Could you test if this sample h264/ac3 files cause an error? ([test0001-14401.blend](https://archive.blender.org/developer/F284936/test0001-14401.blend), [test0001-14401.avi](https://archive.blender.org/developer/F284937/test0001-14401.avi)) If not, you will need to upload or link to some sample file.

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2016-03-01 14:40:28 +01:00

No news since one week…

No news since one week…
Author

Ive been away a bit, didnt have any time to test.
Hopefully you will still get notified of the posts when this is closed?
Anyway, those test files do not cause the crash for me either. I think it is related to the resolution or size of the video, or maybe the container, or maybe due to some encoding settings... the files it crashed with were 1080i 8000kbps h264 and ac3 in an mp4 container.
Doing some tests today but reencoding the files takes a while, ill post results when I can narrow it down a bit.

Ive been away a bit, didnt have any time to test. Hopefully you will still get notified of the posts when this is closed? Anyway, those test files do not cause the crash for me either. I think it is related to the resolution or size of the video, or maybe the container, or maybe due to some encoding settings... the files it crashed with were 1080i 8000kbps h264 and ac3 in an mp4 container. Doing some tests today but reencoding the files takes a while, ill post results when I can narrow it down a bit.
Author

ok, managed to reencode the test file and it seems to make blender crash every time.
test0001-14401 - crashes.mp4

Strangely, when I encoded it with blender using what appears to be the same settings, it will play back fine, but when I reencode it with avanti (ffmpeg frontend), it now crashes blender...

ok, managed to reencode the test file and it seems to make blender crash every time. [test0001-14401 - crashes.mp4](https://archive.blender.org/developer/F286558/test0001-14401_-_crashes.mp4) Strangely, when I encoded it with blender using what appears to be the same settings, it will play back fine, but when I reencode it with avanti (ffmpeg frontend), it now crashes blender...

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'

Yes, we still get messages even once report is closed. ;)

So, I cannot reproduce any crash here with your file and latest master, but we updated ffmpeg in upcoming 2.77 release, so please:

  • Give us your exact Blender, OS and GPU (including drivers) versions, as requested in the template!
  • Ensure both your OS and drivers are fully up-to-date.
  • Try the latest build from our buildbot.
  • Try to start Blender in factory settings (--factory-startup commandline option) (this will ensure whether this is a userpref or addon issue or not).
  • Launch Blender from the command line with -d option and attach as text file here any error printed out in the console (do not paste it directly in comment).
  • Try different 'audio devices' (sound backends, in User Preferences, System tab).
Yes, we still get messages even once report is closed. ;) So, I cannot reproduce any crash here with your file and latest master, but we updated ffmpeg in upcoming 2.77 release, so please: * Give us your exact Blender, OS and **GPU (including drivers)** versions, as requested in the template! * Ensure both your OS and drivers are fully up-to-date. * Try the latest build from [our buildbot](https://builder.blender.org/download). * Try to start Blender in factory settings (`--factory-startup` commandline option) (this will ensure whether this is a userpref or addon issue or not). * Launch Blender from the command line with `-d` option and **attach as text file** here any error printed out in the console (**do not** paste it directly in comment). * Try different 'audio devices' (sound backends, in User Preferences, System tab).
Author

Seems that the latest version of blender from buildbot does indeed fix this! Fantastic!

Note, I wrote all this before testing the latest build, ignore it if its not needed:
Tried with factory defaults and different audio devices, no change.
Fully updated OS, crashes on both Windows 7 64bit with a geforce 650, and Windows 8.1 64bit with a 860m.
Last drivers that support the graphic card on the win7 machine, not quite the latest drivers on the win8 machine, but downloading the latest now.

Seems that the latest version of blender from buildbot does indeed fix this! Fantastic! Note, I wrote all this before testing the latest build, ignore it if its not needed: Tried with factory defaults and different audio devices, no change. Fully updated OS, crashes on both Windows 7 64bit with a geforce 650, and Windows 8.1 64bit with a 860m. Last drivers that support the graphic card on the win7 machine, not quite the latest drivers on the win8 machine, but downloading the latest now.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Good, then think we can assume issue was with older ffmpeg used in 2.76 and previous. Thanks for the report anyway. :)

Good, then think we can assume issue was with older ffmpeg used in 2.76 and previous. Thanks for the report anyway. :)

Added subscriber: @ChristopherAnderssarian

Added subscriber: @ChristopherAnderssarian
Sign in to join this conversation.
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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#47498
No description provided.