[FFmpeg-trac] #9160(ffmpeg:new): ffmpeg stuck at initialization
FFmpeg
trac at avcodec.org
Sun Apr 18 10:50:24 EEST 2021
#9160: ffmpeg stuck at initialization
------------------------------------+----------------------------------
Reporter: Gyan | Owner: (none)
Type: defect | Status: new
Priority: important | Component: ffmpeg
Version: git-master | Resolution:
Keywords: regression | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Comment (by Gregory Beauregard):
For other people who run into encodes that won't work because of this bug
I've found a few workarounds you can try in rough order of
preference/difficulty:
* Downgrade to the 4.3 branch
* In some cases I've found inserting a noop vulkan hwupload/hwdownload can
allow you to do your encode again, but make sure you don't use an actual
vulkan filter because (unrelated) bugs can lead to frame reordering and
video corruption. I've found this often works when I have this freeze on a
video with a subtitle overlay.
* You might try piping ffmpeg into itself to try to put the line with the
-re in a separate instance. For example, do all your video filters in one
ffmpeg.c instance (without -re) and send it to a nut rawvideo format, then
pipe that into an ffmpeg.c instance with -re to do your actual encode. The
idea is that if the freeze is related to any filters/seeking/overlays you
can do that in an ffmpeg.c instance separate from the one that has -re on
it.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9160#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list