[MPlayer-users] need help capturing video from tv.

Mick email_mick_groups at bigpond.com
Thu Mar 18 12:03:01 CET 2004


Hi,

Trying to capture video from the tvcard (bt878) for the first time..

I can 'play' using mplayer command:
mplayer -tv
driver=v4l:chanlist=australia:norm=PAL:width=320:height=240:outfmt=yuy2:adevice=/dev/dsp tv://10

I have the audio out of the card hooked to the audio in of my onboard
sound.  The sound works wether I specifiy the device or not, authough
the mplayer output shows no audio.. ("Audio: no sound")..  I think this
is where the recording is failing but i'm not sure..

This is the command i use:
mencoder -tv
driver=v4l:chanlist=australia:norm=PAL:width=320:height=240:outfmt=yuy2:adevice=/dev/dsp -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 -vf crop=720:544:24:16,pp=lb -o test.avi tv://10

This is what I get (dies on something called a demuxer??)
MEncoder 1.0pre3-3.3.2 (C) 2000-2003 MPlayer Team
 
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1145 MHz
(Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
 
Reading /mnt/.mplayer/codecs.conf: Can't open
'/mnt/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 61 audio & 169 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /mnt/.mplayer/mencoder: No such file or directory
font: can't open file: /mnt/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
success: format: 9  data: 0x0 - 0x0
TV detected! ;-)
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
Selected device: bttv video
 Capabilites: capture tuner overlay clipping frameram scales
 Device type: 235
 Supported sizes: 48x32 => 924x576
 Inputs: 3
  0: Television: tuner audio tv camera  (tuner:1, norm:pal)
  1: Composite1: audio camera  (tuner:0, norm:pal)
  2: S-Video: audio camera  (tuner:0, norm:pal)
============ 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...

Any help would be greatly appreciated..

Mick




More information about the MPlayer-users mailing list