[FFmpeg-trac] #9367(ffplay:closed): H264 does NOT support slice multi threading mode
FFmpeg
trac at avcodec.org
Sat Aug 7 16:03:42 EEST 2021
#9367: H264 does NOT support slice multi threading mode
-------------------------------------+-------------------------------------
Reporter: | Owner: (none)
Core_2_Extreme |
Type: defect | Status: closed
Priority: normal | Component: ffplay
Version: unspecified | Resolution: invalid
Keywords: h264 thread | Blocked By:
slice |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Core_2_Extreme):
Replying to [comment:5 mkver]:
> Slice multithreading depends upon the input being composed of multiple
slices. For it to work you have to encode your file with multiple slices
(use -slices).
I encoded following command
{{{
ffmpeg.exe -i BigBuckBunny.mp4 -vcodec libx264 -preset ultrafast -s
3840x2160 -slices 8 -acodec copy 4k_slices.mp4
}}}
and played it following command then it worked.
{{{
ffplay.exe -thread_type slice -vcodec h264 4k_slices.mp4
}}}
https://i.gyazo.com/f11e7397f15921a8c7023308d9f1a707.png
Thank you so much.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9367#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list