[MPlayer-users] no audio when capturing from tv

Ales Jagodnik ajagodnik at volja.net
Wed May 26 22:48:58 CEST 2004


Hi,
I have read the Mplayer manual and I am using this command to capture 
video/sound from TV -->DivX/MP3.

mencoder -tv driver=v4l:width=768:height=576 -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=1280 -oac mp3lame -lameopts cbr:br=256 -vf 
crop=720:544:24:16,pp=lb -o output.avi tv://

It is essentialy the same command as in the manual, with higher 
bitrates. For picture it works great,  but there is no sound when 
playing the file with mplayer.
When capturing I hear sound from TV and no picture.

I have a Pinnacle PC TV pro TV card and nforce2 sound card.
This is what I get when running command:

***************************************************************************************************

TV detected! ;-)
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
=================================================================
 WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
 As the V4L1 compatibility layer is broken, this may not work.
 If you encounter any problems, use driver=v4l2 instead.
 Bugreports on driver=v4l with v4l2 drivers will be ignored.
=================================================================
Selected device: BT878 video (Pinnacle PCTV Stud
 Capabilites: capture tuner overlay clipping scales
 Device type: 171
 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)
audio block size too low, setting to 8192!
Using input 'Television'
[V] filefmt:9  fourcc:0x32315659  size:768x576  fps:25,00  ftime:=0,0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 1 ch, 16 bit (0x10), ratio: 88200->88200 (705,6 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [pp=lb]
Opening video filter: [crop w=720 h=544 x=24 y=16]
Crop: 720 x 544, 24 ; 16
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 768 x 576 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (720x544 fourcc=58564944 [DIVX])
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
MP3 audio selected
Building audio filter chain for 44100Hz/1ch/16bit -> 44100Hz/1ch/16bit...
Writing AVI header...
ODML: vprp aspect is 16384:12379.
Forcing audio preload to 0, max pts correction to 0
Pos:   2,1s     52f ( 0%)  23fps Trem:   0min   0mb  A-V:0,000 [2188:255]

CBR audio: 32000 bytes/sec, 836 bytes/block

Writing AVI index...
Fixing AVI header...
ODML: vprp aspect is 16384:12379.

Video stream: 2188,181 kbit/s  (273522 bps)  size: 579868 bytes  2,120 
secs  52 frames

Audio stream:  255,998 kbit/s  (31999 bps)  size: 66873 bytes  2,090 secs

***************************************************************************************************

Thank you in advance.





More information about the MPlayer-users mailing list