Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 638690

Summary: >=media-video/ffmpeg-3.4 bug causing media-plugins/gst-plugins-libav to hang
Product: Gentoo Linux Reporter: Fin Christensen <fin.christensen>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: jasmin+gentoo
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://trac.ffmpeg.org/ticket/6775
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 0003-lavc-reset-codec-on-receiving-packet-after-EOF-in-co.patch

Description Fin Christensen 2017-11-24 14:22:33 UTC
Created attachment 506266 [details, diff]
0003-lavc-reset-codec-on-receiving-packet-after-EOF-in-co.patch

A bug in ffmpeg >=3.4 causes the avdec_h264 gstreamer element to hang and not switch the pipeline to playing state.

There is a workaround available:

https://anonscm.debian.org/cgit/pkg-multimedia/ffmpeg.git/tree/debian/patches/0003-lavc-reset-codec-on-receiving-packet-after-EOF-in-co.patch

I will attach the patch to this bug report to prevent the patch to become unavailable when the link goes down.

I applied this patch manually to ffmpeg-3.4 via /etc/portage/patches and it worked for me.
Comment 1 Alexis Ballier gentoo-dev 2018-01-13 12:49:05 UTC
that patch should be applied to ffmpeg-3.4.1 and 3.4 is gone -> closing