[FFmpeg-trac] #8849(undetermined:closed): sub2video does not work with overlay_cuda
FFmpeg
trac at avcodec.org
Sat Jun 5 05:44:59 EEST 2021
#8849: sub2video does not work with overlay_cuda
-------------------------------------+-------------------------------------
Reporter: Bogdan | Owner: (none)
Ilisei |
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution: fixed
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by Bogdan Ilisei):
* status: new => closed
* resolution: => fixed
Comment:
Just tested now with latest builds, against the same CUDA version, and it
seems to work just fine:
{{{
ffmpeg -threads 1 -v verbose -nostats -init_hw_device cuda=cuda:0
-hwaccel_device cuda -filter_hw_device cuda -extra_hw_frames 3 -hwaccel
cuda -hwaccel_output_format cuda \
-reinit_filter 1 -filter_threads 1 -filter_complex_threads 1 \
-i "${INPUT}" \
-filter_complex "[0:s] scale=1920:1080,format=yuva420p,hwupload_cuda
[sub]; [0:v] scale_npp=format=yuv420p [main]; [main][sub] overlay_cuda
[v]" \
-c:v h264_nvenc -preset medium \
-map "[v]" -b:v 5M -minrate 2.5M -maxrate 7.5M -bufsize 10M -profile:v
main -temporal-aq 1 \
-map 0:a -acodec libfdk_aac -vbr 5 \
-copy_unknown \
-f mpegts -y -
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8849#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list