[MPlayer-users] Trouble caputring audio with saa7134 tv card
Michael Meltner
mmeltner at postmark.net
Tue Aug 12 10:05:37 CEST 2003
Hello,
looking for some hint on some trouble I have getting audio to work
with my mencoder setup. The encoded AVI files does not contain any
audio stream, neither from the TV card itself, nor from the line-in
of my sound card.
Xawtv runs smoothly, and I can separately record the TV audio with eg
the command line tool 'record' , no problems here.
I use Kernel 2.4.21 with the Kraxel patch for v4l2 and his saa7134
driver version 0.28. Now mencoder dumps this output:
What is this ioctl failure? Why is the line-in sound not recorded
although the mixer setting is unmuted and set to 'capture'?
(Otherwise 'record' would not work)
What am I missing here?
command:
mencoder -tv on:driver=v4l:norm=pal:channel=E2:width=192:
height=144:forceaudio:amode=0:forcechan=1:adevice=/dev/dsp0:
audioid=0:volume=65000 -ovc lavc -lavcopts vcodec=mpeg4:
vbitrate=900 -oac pcm -vop pp=lb -o test
------------------------------
MEncoder 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
Detected cache-line size is 32 bytes
CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Reading /home/chief/.mplayer/codecs.conf: can't open
'/home/chief/.mplayer/codecs.conf': Datei oder Verzeichnis nicht gefunden
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Reading config file /home/chief/.mplayer/mencoder
success: format: 0 data: 0x0 - 0x0
Selected driver: v4l
name: Video 4 Linux input
author: Alex Beregszaszi <alex at naxine.org>
comment: under development
Selected device: KNC One TV-Station RDS
Capabilites: capture tuner teletext overlay clipping
Device type: 47
Supported sizes: 48x32 => 720x576
Inputs: 3
0: Television: tuner tv (tuner:1, norm:pal)
1: Composite1: (tuner:0, norm:pal)
2: Composite2: (tuner:0, norm:pal)
audio block size too low, setting to 16384!
Using input 'Television'
ioctl set tuner failed: Das Argument ist ungültig / Argument invalid
Selected channel: E2 (freq: 48,250)
[V] filefmt:9 fourcc:0x32315659 size:192x144 fps:25,00 ftime:=0,0400
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
Opening video filter: [pp=lb]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 192 x 144 (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 (192x144 fourcc=58564944 [DIVX])
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
Forcing audio preload to 0, max pts correction to 0
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Writing AVI header...
Pos: 0,0s 1f ( 0%) 0fps Trem: 0min 0mb A-V:0,000 [0:0]
....
Pos: 5,4s 135f ( 0%) 25fps Trem: 0min 0mb A-V:0,000 [481:0]
Writing AVI index...
Fixing AVI header...
Video stream: 480,309 kbit/s (60038 bps) size: 343421 bytes 5,720 secs
143 frames
------------------------------
Many thanks for any input!
- Michael
Michael Meltner
mmeltnerNOSPAM at postmark.net
(remove NOSPAM)
More information about the MPlayer-users
mailing list