Am Mo., 24. Feb. 2020 um 21:13 Uhr schrieb Totte Karlsson
<[email protected]>:
>
> When using the libx264 encoder on 8bit raw input, the resulting video shows 
> up slightly darker than the original. Using this command:

(Note that this is not x264-user)

> ffmpeg.exe -y -hide_banner -vcodec rawvideo -f rawvideo -r 60 -s 658x492 -i 
> \\.\pipe\DEV_000F315B978C<file://./pipe/DEV_000F315B978C> -pix_fmt gray -c:v 
> libx264 -crf 23 X:\Videos\One_2020T115817.avi

Complete, uncut console output missing, don't forget to remove "hide_banner".

> When running the compression using nvidias encoder, h264_nvenc, the darkening 
> of the video does not occur. Using this command:
>
> ffmpeg.exe -y -hide_banner -vcodec rawvideo -f rawvideo -hwaccel nvdec -r 60 
> -s 658x492 -i \\.\pipe\DEV_000F315B978C -pix_fmt gray -c:v h264_nvenc -crf 23 
> X:\Videos\One_2020T120806.avi

nvenc does not support gray encoding.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to