[FFmpeg-devel] [Patch] hwaccel transocode broken

Hendrik Leppkes h.leppkes at gmail.com
Fri Nov 11 10:03:42 EET 2016


On Fri, Nov 11, 2016 at 6:34 AM, Yogender Gupta <ygupta at nvidia.com> wrote:
>>>I was trying libnpp on Big Bunny video by below command:
>
>
>
>>>./ffmpeg -loglevel debug -y -hwaccel cuvid -c:v h264_cuvid -vsync 0 -i
>
>>>/root/root/bunny.mp4 -vf scale_npp=1920:1072 -vcodec h264_nvenc
>
>>>/tmp/tmp0.264 -vf scale_npp=1280:720 -vcodec h264_nvenc /tmp/tmp1.264
>
>
>
>>>This command is working with below Git version:
>
>>>https://git.ffmpeg.org/gitweb/ffmpeg.git/snapshot/077939626eeaa0c1364065414c18ab9b3a072281.tar.gz
>
> The hwaccel transcode functionality seem to have broken with the following commit
>
> 7 days ago
>
> Hendrik Leppkes<http://git.videolan.org/?p=ffmpeg.git;a=search;s=Hendrik+Leppkes;st=author>
>
> Merge commit '722ec3eb35bc152ce91d0a4502eca0df1c0086d0'<http://git.videolan.org/?p=ffmpeg.git;a=commit;h=b6422902d84ec8df6f5a64ffd8743e93307bd8e9>
>
> commit<http://git.videolan.org/?p=ffmpeg.git;a=commit;h=b6422902d84ec8df6f5a64ffd8743e93307bd8e9> | commitdiff<http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=b6422902d84ec8df6f5a64ffd8743e93307bd8e9> | tree<http://git.videolan.org/?p=ffmpeg.git;a=tree;h=b6422902d84ec8df6f5a64ffd8743e93307bd8e9;hb=b6422902d84ec8df6f5a64ffd8743e93307bd8e9>
>
>
> The included patch should fix.
>

ffmpeg.c is in the middle of some changes being merged, and once that
is done ffmpeg_cuvid.c will need to be adapted to a new system. Until
then, it would make everything easier if the code actively being
modified by these merges is not modified by hackish fixes.

- Hendrik


More information about the ffmpeg-devel mailing list