View Y frames in Linux using mplayer

To view a file with only Y frames, following command can be used on Linux to view the frames:


mplayer -demuxer rawvideo -rawvideo w=[LINESIZE]:h=[HEIGHT]:format=y8 in.raw -loop 0

To view all the formats available for rawvideo:

mplayer -rawvideo format=help

Reference:
mplayer man page

This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

Leave a comment