Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638690 - >=media-video/ffmpeg-3.4 bug causing media-plugins/gst-plugins-libav to hang
Summary: >=media-video/ffmpeg-3.4 bug causing media-plugins/gst-plugins-libav to hang
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-11-24 14:22 UTC by Fin Christensen
Modified: 2018-01-13 12:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
0003-lavc-reset-codec-on-receiving-packet-after-EOF-in-co.patch (0003-lavc-reset-codec-on-receiving-packet-after-EOF-in-co.patch,1.56 KB, patch)
2017-11-24 14:22 UTC, Fin Christensen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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