[MPlayer-users] no encoding of TV audio
Michael Meltner
mmeltner at postmark.net
Tue Aug 12 13:58:38 CEST 2003
Hello all,
I can't get mencoder to encode audio from my TV card. Xawtv runs
smoothly including audio through line-in cable, and I can record
TV audio with the stand-alone program 'record' via line-in. All
mixer settings (like line-in capture) are set to make this work.
But mencoder refuses to do audio coding as well, I just get a
video stream in an AVI file. I use Kernel 2.4.21, Kraxel's v4l2
patch for this kernel and the SAA 7134 driver rev 0.28. Also
alsa 0.9.6 with ALS4000 based sound card
I start mencoder with this:
mencoder -tv on:driver=v4l:norm=pal:channel=E2:width=192:
height=144:forceaudio:amode=0:forcechan=2:adevice=/dev/dsp0:
audioid=0:volume=65000 -ovc lavc -lavcopts vcodec=mpeg4:
vbitrate=900 -oac pcm -vop pp=lb -o test
then I get this output: What is this ioctl error?
-----------------------------------
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
TV detected! ;-)
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 / invalid argument
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 134f ( 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
-----------------------------------
Anybody any idea? Any help greatly appreciate. Because I like
Mplayer for its great and fast video encoding.
Thanks!
- Michael
Michael Meltner
mmeltnerNOSPAM at postmark.net
(Remove NOSPAM)
More information about the MPlayer-users
mailing list