[MPlayer-users] How the mplayer preview H264 camera stream?

MartinTsai martin.tsai at alcormicro.com
Thu Mar 17 09:29:48 CET 2011


Hi All

I have a camera support H.264 streaming and YUY2 streaming. H264 stream go through different from the YUY2 pin.

When i use the mplayer to play the H.264 device(/dev/video0), it always show the warning message:  (The
mpalyer version I used is MPlayer-1.0rc4)

UNTESTED OR UNKNOWN OUTPUT IMAGE FORMAT REQUESTED (0x34363248).

It hinted the mplayer can not support this format. I trace the codes and i found that there is no MPEG format
in struct builtin_video_codecs.
 How could the MPLAYER get data from the H264 stream device.

The command line I use is

mplayer tv:// -tv outfmt=0x34363248:width=1280:height=720:norm=NTSC:device=/dev/video0

Could someone tell me how could I preview my H264 camera in ubuntu.


Martin


More information about the MPlayer-users mailing list