[FFmpeg-devel] Possible incomplete commit "avcodec/nvenc: support RGB input"

Paul B Mahol onemda at gmail.com
Thu Sep 8 12:04:01 EEST 2016


On 9/8/16, Timo Rothenpieler <timo at rothenpieler.org> wrote:
> Am 08.09.2016 um 02:29 schrieb Sven C. Dack:
>> On 08/09/16 00:57, Hendrik Leppkes wrote:
>>> The image copying code was refactored in an earlier patch to be
>>> generic and not rely on hard-coding format info, hence the second part
>>> is not needed anymore.
>>>
>>
>> This is not quite accurate. It doesn't explain the seg. fault. This
>> didn't happen in my patch and I am currently using my own version of
>> nvenc.c where it's working fine and without the re-factoring. I will not
>> make a second patch, but see Timo being in charge of this as he is the
>> one who signed it off. I am going to "do the Pope" and have a little
>> faith.
>>
>> Sven
>
> Here's the output from my tests
>
> for fmt in yuv420p nv12 bgr0 rgb0; do
>     ./ffmpeg -f lavfi -i "testsrc=size=1920x1080:duration=10:rate=30"
> -c:v h264_nvenc -global_quality 20 -pix_fmt "$fmt" -y out_"${fmt}".mkv
> done

You feed to nvenc only rgb? what testsrc only supports. Use testsrc2.


More information about the ffmpeg-devel mailing list