ffmpeg command yuv toolkit for raw image/video

I was involved in driver development for a sensor there I faced this problem of viewing raw data:

ffmpeg -t 30 -f v4l2 -channel 0 -video_size 752×480 -i /dev/video0 -pix_fmt nv12 -r 30 -b:v 64k -c:v copy Desktop/raw.nut

save the raw file to play the raw file with vlc use below command

“C:\Program Files (x86)\VideoLAN\VLC\vlc.exe” –colorthres-saturationthres=0 “C:\Users\nandan\Desktop\raw.nut”

OR
run raw2_video.nut with vlc and change the saturation to zero.
in vlc Goto:
tools>effects and filter>video effects>
tick image adjust
set saturaion to 0.

For raw image viewing yuv toolkit is really good tried both on Ubuntu and windows
http://www.yuvtoolkit.com/

set resolution to your image size. If the image name has resolution in it yuv toolkit can pick that. Set Image format 8bit grayscale or whatever.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s