[MPlayer-users] i've a problem with mencoder

thebob remi abenobashi2003 at yahoo.com
Sun Jun 11 19:13:17 CEST 2006


hi all, i've a problem with mencoder to record tv on my pc
i can watch it with mplayer with this command line

$ mplayer -msglevel=6 tv:// -tv device=/dev/video1:driver=v4l2:input=2:norm=pal

MPlayer dev-CVS-060415-00:32-3.4.5 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Clawhammer; Athlon 64 X2 Toledo; Turion Newark,Lancaster (Family: 15, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2



get_path('codecs.conf') -> '/home/abyss/.mplayer/codecs.conf'
Reading /home/abyss/.mplayer/codecs.conf: Can't open '/home/abyss/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 91 audio & 208 video codecs
CommandLine: '-msglevel' 'all=6' 'tv://' '-tv' 'device=/dev/video1:driver=v4l2:input=2:norm=pal'
get_path('font/font.desc') -> '/home/abyss/.mplayer/font/font.desc'
font: can't open file: /home/abyss/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/abyss/.mplayer/input.conf'
Can't open input config file /home/abyss/.mplayer/input.conf: No such file or directory
Parsing input config file /usr/share/mplayer/input.conf
Input config file /usr/share/mplayer/input.conf parsed: 59 binds
Setting up LIRC support...
get_path('.conf') -> '/home/abyss/.mplayer/.conf'
Playing tv://.
get_path('sub/') -> '/home/abyss/.mplayer/sub/'
STREAM: [null] tv://
STREAM: Description: Null stream
STREAM: Author: Albeu
STREAM: Comment: 
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: Pinnacle PCTV 300i DVB-T + PAL
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO STEREO LANG1 LANG2
 Capabilites:  video capture  video overlay  VBI capture device  tuner  read/write  streaming
 supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = PAL-M; 7 = PAL-Nc; 8 = PAL-60;
 inputs: 0 = Television; 1 = Composite1; 2 = Composite2; 3 = S-Video;
 Current input: 2
 Format GREY   ( 8 bits, 8 bpp gray): Planar Y800
 Format RGB555 (16 bits, 15 bpp RGB, le): BGR 15-bit
 Format RGB555X (16 bits, 15 bpp RGB, be): Unknown
 Format RGB565 (16 bits, 16 bpp RGB, le): BGR 16-bit
 Format RGB565X (16 bits, 16 bpp RGB, be): Unknown
 Format BGR24  (24 bits, 24 bpp RGB, le): BGR 24-bit
 Format RGB24  (24 bits, 24 bpp RGB, be): RGB 24-bit
 Format BGR32  (32 bits, 32 bpp RGB, le): BGRA
 Format RGB32  (32 bits, 32 bpp RGB, be): RGBA
 Format YUYV   (16 bits, 4:2:2 packed, YUYV): Packed YUY2
 Format UYVY   (16 bits, 4:2:2 packed, UYVY): Packed UYVY
 Format YUV422P (16 bits, 4:2:2 planar, Y-Cb-Cr): Planar 422P
 Format YUV420 (12 bits, 4:2:0 planar, Y-Cb-Cr): Planar I420
 Format YVU420 (12 bits, 4:2:0 planar, Y-Cb-Cr): Planar YV12
 Current format: BGR24
v4l2: current audio mode is : STEREO
v4l2: set format: YVU420
v4l2: set input: 2
Selected norm: pal
v4l2: set norm: PAL
Selected channel list: europe-east (including 133 channels)
Current frequency: 4294967295 (268435456.000)
==> Found video stream: 0
v4l2: get format: YVU420
v4l2: get fps: 25.000000
v4l2: get width: 640
v4l2: get height: 480
Using a ring buffer for maximum 2 frames, 0 MB total size.
v4l2: set Brightness: 128 [0, 255]
v4l2: set Hue: 0 [-128, 127]
v4l2: set Saturation: 64 [0, 127]
v4l2: set Contrast: 68 [0, 127]
[V] filefmt:9  fourcc:0x32315659  size:640x480  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/abyss/.mplayer/sub/'
get_path('default.sub') -> '/home/abyss/.mplayer/default.sub'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x0101fe).
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (640x480->640x480,flags=0,'MPlayer',0x32315659)
VO: [xv] 640x480 => 640x480 Planar YV12 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 226 for hw scaling
[xv] dx: 0 dy: 0 dw: 640 dh: 480
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
v4l2: going to capture
*** [vo] Exporting mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
[xv] dx: 0 dy: 0 dw: 640 dh: 480
V:   0.0   1/  1 ??% ??% ??,?% 0 0 
V:   0.0   2/  2 ??% ??% ??,?% 0 0 
V:   0.0   3/  3 ??% ??% ??,?% 0 0 
V:   0.0   4/  4 ??% ??% ??,?% 0 0 
V:   0.0   5/  5 ??% ??% ??,?% 0 0 
V:   0.0   6/  6 ??% ??% ??,?% 0 0 
V:   0.0   7/  7 ??% ??% ??,?% 0 0 
V:   0.0   8/  8 ??% ??% ??,?% 0 0 
V:   0.0   9/  9 ??% ??% ??,?% 0 0 
V:   0.0  10/ 10 ??% ??% ??,?% 0 0 
V:   0.0  11/ 11 ??% ??% ??,?% 0 0 
V:   0.0  12/ 12 ??% ??% ??,?% 0 0 
V:   0.0  13/ 13 ??% ??% ??,?% 0 0 
V:   0.0  14/ 14 ??% ??% ??,?% 0 0 
V:   0.0  15/ 15 ??% ??% ??,?% 0 0 
V:   0.0  16/ 16 ??% ??% ??,?% 0 0 
V:   0.0  17/ 17 ??% ??% ??,?% 0 0 
V:   0.0  18/ 18 ??% ??% ??,?% 0 0 
V:   0.0  19/ 19 ??% ??% ??,?% 0 0 
V:   0.0  20/ 20 ??% ??% ??,?% 0 0 
V:   0.0  21/ 21 ??% ??% ??,?% 0 0 
V:   0.0  22/ 22 ??% ??% ??,?% 0 0 
V:   0.0  23/ 23 ??% ??% ??,?% 0 0 
V:   0.0  24/ 24 ??% ??% ??,?% 0 0 
V:   0.0  25/ 25 ??% ??% ??,?% 0 0 
V:   0.0  26/ 26 ??% ??% ??,?% 0 0 
V:   0.0  27/ 27 ??% ??% ??,?% 0 0 
V:   0.0  28/ 28 ??% ??% ??,?% 0 0 
V:   0.0  29/ 29 ??% ??% ??,?% 0 0 
V:   0.0  30/ 30 ??% ??% ??,?% 0 0 
V:   0.0  31/ 31 ??% ??% ??,?% 0 0 
V:   0.0  32/ 32 ??% ??% ??,?% 0 0 
V:   0.0  33/ 33 ??% ??% ??,?% 0 0 
V:   0.0  34/ 34 ??% ??% ??,?% 0 0 
V:   0.0  35/ 35 ??% ??% ??,?% 0 0 
V:   0.0  36/ 36 ??% ??% ??,?% 0 0 
V:   0.0  37/ 37 ??% ??% ??,?% 0 0 
V:   0.0  38/ 38 ??% ??% ??,?% 0 0 
V:   0.0  39/ 39 ??% ??% ??,?% 0 0 
V:   0.0  40/ 40 ??% ??% ??,?% 0 0 
V:   0.0  41/ 41 ??% ??% ??,?% 0 0 
V:   0.0  42/ 42 ??% ??% ??,?% 0 0 
V:   0.0  43/ 43 ??% ??% ??,?% 0 0 
V:   0.0  44/ 44 ??% ??% ??,?% 0 0 
V:   0.0  45/ 45 ??% ??% ??,?% 0 0 
V:   0.0  46/ 46 ??% ??% ??,?% 0 0 
V:   0.0  47/ 47 ??% ??% ??,?% 0 0 
V:   0.0  48/ 48 ??% ??% ??,?% 0 0 
V:   0.0  49/ 49 ??% ??% ??,?% 0 0 
V:   0.0  50/ 50 ??% ??% ??,?% 0 0 
V:   0.0  51/ 51 ??% ??% ??,?% 0 0 
V:   0.0  52/ 52 ??% ??% ??,?% 0 0 
V:   0.0  53/ 53 ??% ??% ??,?% 0 0 
V:   0.0  54/ 54 ??% ??% ??,?% 0 0 
V:   0.0  55/ 55 ??% ??% ??,?% 0 0 
V:   0.0  56/ 56 ??% ??% ??,?% 0 0 
V:   0.0  57/ 57 ??% ??% ??,?% 0 0 
V:   0.0  58/ 58 ??% ??% ??,?% 0 0 
V:   0.0  59/ 59 ??% ??% ??,?% 0 0 
V:   0.0  60/ 60 ??% ??% ??,?% 0 0 
V:   0.0  61/ 61 ??% ??% ??,?% 0 0 
V:   0.0  62/ 62 ??% ??% ??,?% 0 0 
V:   0.0  63/ 63 ??% ??% ??,?% 0 0 
V:   0.0  64/ 64 ??% ??% ??,?% 0 0 
V:   0.0  65/ 65 ??% ??% ??,?% 0 0 
V:   0.0  66/ 66 ??% ??% ??,?% 0 0 
V:   0.0  67/ 67 ??% ??% ??,?% 0 0 
V:   0.0  68/ 68 ??% ??% ??,?% 0 0 
V:   0.0  69/ 69 ??% ??% ??,?% 0 0 
V:   0.0  70/ 70 ??% ??% ??,?% 0 0 
V:   0.0  71/ 71 ??% ??% ??,?% 0 0 
V:   0.0  72/ 72 ??% ??% ??,?% 0 0 
V:   0.0  73/ 73 ??% ??% ??,?% 0 0 
V:   0.0  74/ 74 ??% ??% ??,?% 0 0 
V:   0.0  75/ 75 ??% ??% ??,?% 0 0 
V:   0.0  76/ 76 ??% ??% ??,?% 0 0 
V:   0.0  77/ 77 ??% ??% ??,?% 0 0 
V:   0.0  78/ 78 ??% ??% ??,?% 0 0 
V:   0.0  79/ 79 ??% ??% ??,?% 0 0 
V:   0.0  80/ 80 ??% ??% ??,?% 0 0 
V:   0.0  81/ 81 ??% ??% ??,?% 0 0 
V:   0.0  82/ 82 ??% ??% ??,?% 0 0 
V:   0.0  83/ 83 ??% ??% ??,?% 0 0 
V:   0.0  84/ 84 ??% ??% ??,?% 0 0 
V:   0.0  85/ 85 ??% ??% ??,?% 0 0 
V:   0.0  86/ 86 ??% ??% ??,?% 0 0 
V:   0.0  87/ 87 ??% ??% ??,?% 0 0 
V:   0.0  88/ 88 ??% ??% ??,?% 0 0 
V:   0.0  89/ 89 ??% ??% ??,?% 0 0 
V:   0.0  90/ 90 ??% ??% ??,?% 0 0 
V:   0.0  91/ 91 ??% ??% ??,?% 0 0 
V:   0.0  92/ 92 ??% ??% ??,?% 0 0 
V:   0.0  93/ 93 ??% ??% ??,?% 0 0 
V:   0.0  94/ 94 ??% ??% ??,?% 0 0 
V:   0.0  95/ 95 ??% ??% ??,?% 0 0 
V:   0.0  96/ 96 ??% ??% ??,?% 0 0 
V:   0.0  97/ 97 ??% ??% ??,?% 0 0 
V:   0.0  98/ 98 ??% ??% ??,?% 0 0 
V:   0.0  99/ 99 ??% ??% ??,?% 0 0 
V:   0.0 100/100 ??% ??% ??,?% 0 0 
V:   0.0 101/101 ??% ??% ??,?% 0 0 
V:   0.0 102/102 ??% ??% ??,?% 0 0 
V:   0.0 103/103 ??% ??% ??,?% 0 0 
V:   0.0 104/104 ??% ??% ??,?% 0 0 
V:   0.0 105/105 ??% ??% ??,?% 0 0 
V:   0.0 106/106 ??% ??% ??,?% 0 0 
uninit video: raw
v4l2: 108 frames successfully processed, 0 frames dropped.
v4l2: up to 1 video frames buffered.
vo: uninit ...

Exiting... (Quit)

the image is looking good but when i try to record this stream with mencoder

i've this error 

$ mencoder -msglevel=6 tv:// -tv device=/dev/video1:driver=v4l2:input=2:norm=pal -o test 
MEncoder dev-CVS-060415-00:32-3.4.5 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Clawhammer; Athlon 64 X2 Toledo; Turion Newark,Lancaster (Family: 15, Stepping: 8)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

91 audio & 208 video codecs
get_path('font/font.desc') -> '/home/abyss/.mplayer/font/font.desc'
font: can't open file: /home/abyss/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
STREAM: [null] tv://
STREAM: Description: Null stream
STREAM: Author: Albeu
STREAM: Comment: 
success: format: 9  data: 0x0 - 0x0
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: Pinnacle PCTV 300i DVB-T + PAL
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO STEREO LANG1 LANG2
 Capabilites:  video capture  video overlay  VBI capture device  tuner  read/write  streaming
 supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = PAL-M; 7 = PAL-Nc; 8 = PAL-60;
 inputs: 0 = Television; 1 = Composite1; 2 = Composite2; 3 = S-Video;
 Current input: 2
 Format GREY   ( 8 bits, 8 bpp gray): Planar Y800
 Format RGB555 (16 bits, 15 bpp RGB, le): BGR 15-bit
 Format RGB555X (16 bits, 15 bpp RGB, be): Unknown
 Format RGB565 (16 bits, 16 bpp RGB, le): BGR 16-bit
 Format RGB565X (16 bits, 16 bpp RGB, be): Unknown
 Format BGR24  (24 bits, 24 bpp RGB, le): BGR 24-bit
 Format RGB24  (24 bits, 24 bpp RGB, be): RGB 24-bit
 Format BGR32  (32 bits, 32 bpp RGB, le): BGRA
 Format RGB32  (32 bits, 32 bpp RGB, be): RGBA
 Format YUYV   (16 bits, 4:2:2 packed, YUYV): Packed YUY2
 Format UYVY   (16 bits, 4:2:2 packed, UYVY): Packed UYVY
 Format YUV422P (16 bits, 4:2:2 planar, Y-Cb-Cr): Planar 422P
 Format YUV420 (12 bits, 4:2:0 planar, Y-Cb-Cr): Planar I420
 Format YVU420 (12 bits, 4:2:0 planar, Y-Cb-Cr): Planar YV12
 Current format: BGR24
v4l2: current audio mode is : STEREO
v4l2: set format: YVU420
v4l2: set input: 2
Selected norm: pal
v4l2: set norm: PAL
Selected channel list: europe-east (including 133 channels)
Current frequency: 4294967295 (268435456.000)
==> Found video stream: 0
v4l2: get format: YVU420
v4l2: get fps: 25.000000
v4l2: get width: 640
v4l2: get height: 480
v4l2: set audio samplerate: 44100
v4l2: 0 frames successfully processed, 0 frames dropped.
v4l2: up to 0 video frames buffered.
============ Sorry, this file format is not recognized/supported ============= 
=== If this file is an AVI, ASF or MPEG stream, please contact the author! 
=== Cannot open demuxer.

Exiting...

So, i don't know where is the error,if i forget something or else...
i tested many options but i can't record the tv 
it's very boring for me cause i don't have a television at home, just my pc
if anyone can help me, thanks


 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the MPlayer-users mailing list