[FFmpeg-user] Trying to use the same range of colors in output?

stigma istigma0 at gmail.com
Thu Sep 15 16:14:41 EEST 2016


I'm trying to put the same range of colors that sdl uses.

When I put this code on ffmpeg, I can capture my PCI TV card with an 
preview to see what happens, and I notice that hte sdl preview has a 
range of 16-235 instead of 0-255 that the output puts. Here's the code 
that I'm using and an screenshot:

Code:
ffmpeg -framerate 29.97 -vsync 1 -video_size 720x480 -f dshow -rtbufsize 
250000k -crossbar_video_input_pin_number 1 -i video="713x BDA Analog 
Capture":audio="Line (VIA High Definition Audio" -t 1:16:00 -vf 
"yadif=0:0:1,format=rgb24" -c:v libx264 -preset medium -crf 15 -maxrate 
1800k -bufsize 3500k -preset medium -c:a aac -b:a 192k -strict -2 -r 
29.97 "ttt.mp4" -c:v copy -an -f sdl "VHS"

Screenshot:
http://i.imgur.com/tWq97c7.jpg

I want to put the same range of sdl colors (left video) in output (right 
video), how can I do that using my code?

Thanks!


More information about the ffmpeg-user mailing list