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

Timo Rothenpieler timo at rothenpieler.org
Thu Sep 8 11:01:19 EEST 2016


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

->

https://bpaste.net/show/e934dd308c36

They all work and look propperly, with no segfault.
Also tested the 10bit formats and hevc, but I don't have access to my
Pascal-Card from here, but it worked there as well.


More information about the ffmpeg-devel mailing list