FFMPEG: Video crashing since last FFMPEG SVN lib update #91602
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#91602
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
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.12
Blender Version
Blender version used: Last blender 3.0 alpha master:
90b485845c
Broken: Current svn library (linux/windows)
Worked: Previous svn library
Short description of error
One of my test videos is crashing since last FFMPEG svn libraries update.
.blend:
video_test.blend
Video:
a.avi
Exact steps for others to reproduce the error
The crash happens at the beginning of video opening in:
avformat_find_stream_info(formatCtx, nullptr)
On windows, it is working when checking out previous SVN libraries:
Added subscriber: @you.le
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Confirmed'
I can reproduce crash, but even debugger can't catch it. Do you have full stack trace?
Hi, no I haven't an helpful stacktrace.
On windows, Visual Studio 2019 exits without even catch the exception. There is no debugging symbols for FFMPEG in lib > win64_vc15 > ffmpeg.
On linux mint with qtcreator, the debugger stops at avformat_find_stream_info but all what is after is not readable.
I think it needs debugging symbols but I don't know how to get it. I think maybe Nexyion (Jorg Muller) or LazyDodo (Ray Molenkamp) might know how to handle this kindof problems.
Added subscriber: @LazyDodo
Checked with ffprobe included in libs, I got following message:
Assertion static_size <= (sizeof(table) / sizeof((table)- [x])) failed at libavcodec/rl.c:76
. No idea what this is related to..I have
ffprobe version N-101936-gff01514fe3
complied here, it doesn't crash. Then some archaic version, also doesn't crash.@LazyDodo does this ring a bell by a chance?
Added subscriber: @EAW
The last 3 commits look like they might be relevant:
https://git.ffmpeg.org/gitweb/ffmpeg.git/history/HEAD:/libavcodec/rl.c
I have looked at those commits, but this is some deep internal workings so best I can posibly do is checkout same commit as we use for libs and technically bisect build options. But again this could be caused by any ffmpeg deps. In such case primary suspect would be libx264...
We have local modifications in that file due to mac throwing a warning over that large stack allocation at runtime which are the root cause for this issue, will fix.
This issue was referenced by None@62702
Changed status from 'Confirmed' to: 'Resolved'
Added subscriber: @ZedDB
Fixed the windows binaries crash is gone (mac + linux still need to be updated), but it looks a little glitchy on the left side, ffplay with the same dll's seems to have no issues, so this is likely a problem on the blender side.
{F10552556,width=100%}
@ZedDB i remember you being on a little binge of ffmpeg compat related fixes a while ago, mind taking a look at this one?
Thanks very much @ everyone and @LazyDodo for the fix!
This issue was referenced by None@62705
This issue was referenced by None@62713
This issue was referenced by None@62715