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

compn tempn at twmi.rr.com
Tue Mar 15 13:00:07 CET 2011


On Tue, 15 Mar 2011 15:05:34 +0800, MartinTsai wrote:
>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.
>
>BRs.
>Martin

you are on the wrong list, you should ask on mplayer-users.
you need to paste all mplayer output too.
possibly try adding -vc +ffh264

maybe our v4l does not have h264 support, i havent looked at it...

also did you try just mplayer /dev/video0 ? what video camera name? is
it firewire camera?

-compn


More information about the MPlayer-dev-eng mailing list