[root@localhost ~]# mplayer tv:// -tv driver=v4l2:width=1280:height=720:device=/dev/video1:outfmt=0x34363248 -fps 24
MPlayer SVN-r35234-4.7.2 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: USB 2.0 Camera
Capabilities: video capture streaming
supported norms:
inputs: 0 = Camera 1;
Current input: 0
Current format: YUYV
==================================================================
WARNING: UNTESTED OR UNKNOWN OUTPUT IMAGE FORMAT REQUESTED (0x34363248)
This may cause buggy playback or program crash! Bug reports will
be ignored! You should try again with YV12 (which is the default
colorspace) and read the documentation!
==================================================================
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Inappropriate ioctl for device
Error: Cannot set norm!
Selected input hasn‘t got a tuner!
v4l2: ioctl set mute failed: Invalid argument
Failed to open VDPAU backend libvdpau_r300.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1280x720 => 1280x720 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
FPS forced to be 24.000 (ftime: 0.042).
Starting playback...
V: 0.0 1/ 1 ??% ??% ??,?% 0 0
v4l2: select timeout
V: 0.0 3/ 3 ??% ??% ??,?% 0 0
v4l2: select timeout
V: 0.0 140/140 0% 4% 0.0% 0 0
TV input is not seekable! (Seeking will probably be for changing channels ;)
V: 0.0 142/142 0% 4% 0.0% 0 0
No bind found for key ‘MOUSE_BTN4-MOUSE_BTN4_DBL‘.
V: 0.0 144/144 0% 4% 0.0% 0 0
No bind found for key ‘MOUSE_BTN4_DBL‘.
V: 0.0 2730/2730 0% 4% 0.0% 0 0
No bind found for key ‘CTRL-MOUSE_BTN2‘.
V: 0.0 2734/2734 0% 4% 0.0% 0 0
No bind found for key ‘CTRL-MOUSE_BTN2‘.
V: 0.0 2742/2742 0% 4% 0.0% 0 0
No bind found for key ‘CTRL-MOUSE_BTN2‘.
V: 0.0 2744/2744 0% 4% 0.0% 0 0
No bind found for key ‘CTRL-MOUSE_BTN0‘.
V: 0.0 2746/2746 0% 4% 0.0% 0 0
No bind found for key ‘CTRL-MOUSE_BTN0-MOUSE_BTN0_DBL‘.
V: 0.0 2748/2748 0% 4% 0.0% 0 0
No bind found for key ‘CTRL-MOUSE_BTN0_DBL‘.
V: 0.0 2749/2749 0% 4% 0.0% 0 0
No bind found for key ‘CTRL-MOUSE_BTN2‘.
V: 0.0 2751/2751 0% 4% 0.0% 0 0
No bind found for key ‘CTRL-MOUSE_BTN0‘.
V: 0.0 3041/3041 0% 4% 0.0% 0 0
No bind found for key ‘CTRL-MOUSE_BTN0‘.
V: 0.0 3049/3049 0% 4% 0.0% 0 0
No bind found for key ‘CTRL-CLOSE_WIN‘.
V: 0.0 3068/3068 0% 4% 0.0% 0 0
No bind found for key ‘CTRL-CLOSE_WIN‘.
V: 0.0 3131/3131 0% 4% 0.0% 0 0
MPlayer interrupted by signal 2 in module: video_read_frame
V: 0.0 3132/3132 0% 4% 0.0% 0 0
v4l2: ioctl set mute failed: Invalid argument
v4l2: 3130 frames successfully processed, 11626 frames dropped.
Exiting... (Quit)
[root@localhost ~]#
[root@localhost ~]# uname -r
3.11.10-100.fc18.i686
[root@localhost ~]#
使用的內核、fedora
sn9c291+ov9712 mlayer 播放成功,布布扣,bubuko.com
sn9c291+ov9712 mlayer 播放成功
原文:http://blog.csdn.net/lubing20044793/article/details/38349959