[MPlayer-users] Bug or misconfig in tv audio language support?
Yan Seiner
yan at cardinalengineering.com
Tue Jun 3 11:36:24 CEST 2003
I am trying to capture a video tape that has Japanese on one channel and
English on the other. So far, no luck.
My bt848 card is a mono card, so I am running the composite signal from
the vcr into the tv card, and the audio into the sound card. This
works; I get both stereo channels.
The problem comes when I want to record Lanuage 1 or Language 2. I
can't. I either get nothing, or both channels.
I am using 0.90 - I tried CVS this morning, but it won't compile :-(
Here's my mencoder line:
mencoder -tv
on:driver=v4l:input=1:width=720:height=480:norm=NTSC:forcechan=2:amode=2
-vop scale=360:240,crop=704:464:8:8,pp=ci
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200:keyint=100:aspect=4/3
-oac mp3lame -lameopts cbr:mode=0:br=128 -o little_mermaid_2.avi
Basically, the amode in the tv part is ignored (no surprise there, since
sound is coming in via soundcard.) But I can't find a way to tell
mencoder to only use Lang 1 or Lang 2. But if I don't use forcechan, I
only get Japanese (left channel). No matter what, the amode appears to
be ignored.
I tried noaudio for the tv section; no sound at all. So it seems that
if you use composite video in and sound in via soundcard, forcechan and
amode are partially implemented/broken or I don't understand something.
Here's the mencoder output:
[yan at poseidon disney_cartoons]$ mencoder -tv
on:driver=v4l:input=1:width=720:height=480:norm=NTSC:forcechan=2:amode=2
-vop scale=360:240,crop=704:464:8:8,pp=ci
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200:keyint=100:aspect=4/3
-oac mp3lame -lameopts cbr:mode=0:br=128 -o little_mermaid_2.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MEncoder 0.90rc5-3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP
Multiprocessor/Athlon XP eXtreme Performance (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
Reading /home/yan/.mplayer/codecs.conf: can't open
'/home/yan/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Reading config file /home/yan/.mplayer/mencoder: No such file or
directory
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: BT878(ATI TV-Wonder VE)
Capabilites: capture tuner overlay clipping frameram scales
Device type: 235
Supported sizes: 48x32 => 768x480
Inputs: 2
0: Television: tuner audio tv camera (tuner:1, norm:ntsc)
1: Composite1: audio camera (tuner:0, norm:ntsc)
Audio mode setup warning!
Requested mode was language1, but v4l still reports mono.
You may need "forcechan" option to force stereo/mono audio recording.
audio block size too low, setting to 16384!
Using input 'Composite1'
Selected input hasn't got a tuner!
[V] filefmt:9 fourcc:0x32315659 size:720x480 fps:29.00 ftime:=0.0345
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 176400->176400 (1411.2
kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
Opening video filter: [scale=360:240]
Opening video filter: [crop=704:464:8:8]
Crop: 704 x 464, 8 ; 8
Opening video filter: [pp=ci]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 480 (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.
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (360x240 fourcc=58564944 [DIVX])
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
MP3 audio selected
Building audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
Writing AVI header...
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.
Pos: 14.3s 386f ( 0%) 26fps Trem: 0min 0mb A-V:0.000
[1101:127]
CBR audio: 16000 bytes/sec, 418 bytes/block
Writing AVI index...
Fixing AVI header...
Video stream: 1101.248 kbit/s (137656 bps) size: 1974652 bytes 14.345
secs 386 frames
Audio stream: 128.000 kbit/s (15999 bps) size: 229041 bytes 14.315
secs
***************************
and here's my aumix settings:
[yan at poseidon MPlayer-20030603]$ cat ~/.aumixrc
vol:55:55:P
pcm:55:55:P
speaker:0:0:P
line:55:55:R
mic:0:0:P
cd:0:0:P
igain:48:48:P
line1:0:0:P
phin:0:0:P
video:0:0:P
More information about the MPlayer-users
mailing list