#11674: Cuda outputs green line and incorrect resolution
-------------------------------------+-------------------------------------
             Reporter:  Jason Dove   |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  cuvid        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Jason Dove):

 Ah, I see. I didn't realize how h264 was stored, frame cropping, etc.

 This produces output (100% for me) that doesn't have cropping set
 properly:

 {{{
 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
 }}}

 while this version that seeks slightly does have cropping set properly
 (again, 100% for me):

 {{{
 ffmpeg -hwaccel cuda -hwaccel_output_format cuda -ss 00:00:0.01 -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 no-green-line.mkv
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11674#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to