#11674: Cuda sometimes outputs green line
-------------------------------------+-------------------------------------
Reporter: Jason Dove | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Sometimes when overlaying content using overlay_cuda, there is a green
line at the bottom of the output, and the output height is 1088 instead of
1080.
Using a software decoder avoids the issue, using a software encoder avoids
the issue, and for whatever reason seeking .001 seconds into the test
input (before -i) also avoids the issue.
How to reproduce:
{{{
% ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i https://test-
videos.co.uk/vids/bigbuckbunny/mp4/h264/1080/Big_Buck_Bunny_1080_10s_5MB.mp4
-i https://peach.blender.org/wp-content/themes/bf-
bunny/graphics/header1.jpg -filter_complex
'[0:0]scale_cuda=format=yuv420p[v];[1:0]hwupload_cuda[wm];[v][wm]overlay_cuda[ov]'
-map '[ov]' -t 00:00:05 -c:v h264_nvenc -y green-line.mkv
ffmpeg version N-120352-gda18c2a373-20250722 Copyright (c) 2000-2025 the
FFmpeg developers
built with gcc 15.1.0 (crosstool-NG 1.27.0.42_35c1e72)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-
config=pkg-config --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64
--target-os=linux --enable-gpl --enable-version3 --disable-debug --enable-
iconv --enable-zlib --enable-libfribidi --enable-gmp --enable-libxml2
--enable-openssl --enable-lzma --enable-fontconfig --enable-libharfbuzz
--enable-libfreetype --enable-libvorbis --enable-opencl --enable-libpulse
--enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-
libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint
--enable-libdav1d --enable-libdavs2 --enable-libdvdread --enable-libdvdnav
--disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r
--enable-libgme --enable-libkvazaar --enable-libaribcaption --enable-
libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-
libopus --enable-librist --enable-libssh --enable-libtheora --enable-
libvpx --enable-libwebp --enable-libzmq --enable-lv2 --enable-libvpl
--enable-openal --enable-liboapv --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-
libopenmpt --enable-librav1e --enable-librubberband --disable-schannel
--enable-sdl2 --enable-libsnappy --enable-libsoxr --enable-libsrt
--enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm
--enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc
--enable-libplacebo --enable-libvvenc --enable-libx264 --enable-libx265
--enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi
--extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs='-ldl
-lgomp' --extra-ldflags=-pthread --extra-ldexeflags=-pie --cc=x86_64
-ffbuild-linux-gnu-gcc --cxx=x86_64-ffbuild-linux-gnu-g++ --ar=x86_64
-ffbuild-linux-gnu-gcc-ar --ranlib=x86_64-ffbuild-linux-gnu-gcc-ranlib
--nm=x86_64-ffbuild-linux-gnu-gcc-nm --extra-version=20250722
libavutil 60. 6.100 / 60. 6.100
libavcodec 62. 8.100 / 62. 8.100
libavformat 62. 1.103 / 62. 1.103
libavdevice 62. 0.100 / 62. 0.100
libavfilter 11. 3.100 / 11. 3.100
libswscale 9. 0.100 / 9. 0.100
libswresample 6. 0.100 / 6. 0.100
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11674>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".