28.12.2019, 17:51
Strange thing is that '-vf scale=out_range=pc' should work unless I read the documentation wrong, see https://ffmpeg.org/ffmpeg-filters.html#Options-1.
Also I tried reproducing the issue here using:
encoding worked fine.
Only real difference is that for my images '-pix_fmt rgb24' is used and for yours '-pix_fmt yuv444p' is used.
Hmm,... with a .jpg image sequence, I can reproduce the issue:
seems like the pix_fmt is the problem,..
-> will look into it.
Cu Selur
Also I tried reproducing the issue here using:
ffmpeg -y -noautorotate -nostdin -threads 8 -i "E:/sequence/ED-360-png/%05d.png" -frames:v 15691 -pix_fmt rgb24 -an -sn -vf scale=out_range=pc -pix_fmt yuv420p10le -strict -1 -vsync 0 -f yuv4mpegpipe - | NVEnc --y4m -i - --fps 25.000 --codec h265 --profile main10 --level auto --tier high --sar 1:1 --lookahead 16 --output-depth 10 --vbrhq 0 --vbr-quality 20.00 --max-bitrate 240000 --gop-len 0 --ref 3 --bframes 0 --no-b-adapt --mv-precision Q-pel --preset default --colormatrix bt709 --cuda-schedule sync --output "E:\Temp\00001_16_45_16_5310_01.265" -
Only real difference is that for my images '-pix_fmt rgb24' is used and for yours '-pix_fmt yuv444p' is used.
Hmm,... with a .jpg image sequence, I can reproduce the issue:
ffmpeg -y -noautorotate -nostdin -threads 8 -i "E:/sequence/jpg/%05d.jpg" -frames:v 430 scale=out_range=pc -pix_fmt yuv444p -an -sn -vf scale=out_range=pc -pix_fmt yuv420p10le -strict -1 -vsync 0 -f yuv4mpegpipe - | NVEnc --y4m -i - --fps 25.000 --codec h265 --profile main10 --level auto --tier high --sar 1:1 --lookahead 16 --output-depth 10 --vbrhq 0 --vbr-quality 20.00 --max-bitrate 240000 --gop-len 0 --ref 3 --bframes 0 --no-b-adapt --mv-precision Q-pel --preset default --colormatrix bt709 --cuda-schedule sync --output "E:\Temp\00001_new_16_48_55_9910_01.265"
-> will look into it.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.