[MPlayer-users] Re: mencoder HEAD: tv audio recording broken?

Oswald Buddenhagen ossi at kde.org
Fri Jan 30 13:23:29 CET 2004


surprise surprise, it still does not work. :[

On Fri, Jan 16, 2004 at 02:52:34PM +0100, Oswald Buddenhagen wrote:
> this must have been introduced somewhen between my last cvs update (no
> more than two weeks) and today.
> 
more concretely, it was between jan 8 and jan 16.

things do work fine with -oac pcm, so the problem is possibly in the
liblame interface code. liblame is current cvs HEAD (works fine when i
downgrade mencoder).
fwiw, -oac lavc pukes "Couldn't open codec ac3, br=224" (same with other
acodecs), but maybe that's only a usage problem ...

> my command line is (as ever):
> 
>  mencoder tv:// -tv \
>   driver=v4l:width=768:height=576:volume=65535:bass=32768:treble=32768 \
>   -vf crop=720:540:24:18,pp=lb,denoise3d -ovc lavc -lavcopts \
>   vcodec=mpeg4:vqscale=4:keyint=300 -oac mp3lame -lameopts fast:vbr=4:q=4
> 
> output is:
> 
> Using GNU internationalization
> Original domain: messages
> Original dirname: /usr/share/locale
> Current domain: mplayer
> Current dirname: /usr/local/stow/mplayer/share/locale
> 
> MEncoder dev-CVS-040116-13:00-3.3.3 (C) 2000-2004 MPlayer Team
> 
> CPU: Intel Pentium 4/Xeon/Celeron Foster 2430 MHz (Family: 8, Stepping: 7)
> Detected cache-line size is 64 bytes
> CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
> 
> Reading /home/ossi/.mplayer/codecs.conf: Can't open '/home/ossi/.mplayer/codecs.conf': No such file or directory
> Reading /usr/local/stow/mplayer/etc/mplayer/codecs.conf: Can't open '/usr/local/stow/mplayer/etc/mplayer/codecs.conf': No such file or directory
> Using built-in default codecs.conf.
> File not found: 'frameno.avi'
> Failed to open frameno.avi
> Reading config file /home/ossi/.mplayer/mencoder: No such file or directory
> Font /home/ossi/.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: 4
>   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)
>   3: Composite3: audio camera  (tuner:0, norm:pal)
> Card reports an unknown audio mode !
> Trying two channel audio. Use forcechan to override.
> audio block size too low, setting to 16384!
> 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: 44101 Hz, 2 ch, 16 bit (0x10), ratio: 176404->176404 (1411.2 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: [denoise3d]
> Opening video filter: [pp=lb]
> Opening video filter: [crop w=720 h=540 x=24 y=18]
> Crop: 720 x 540, 24 ; 18
> ==========================================================================
> 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 (720x540 fourcc=58564944 [DIVX])
> Using constant qscale = 4.000000 (VBR)
> Selected video codec: [rawyv12] vfm:raw (RAW YV12)
> ==========================================================================
> MP3 audio selected
> Building audio filter chain for 44101Hz/2ch/16bit -> 44101Hz/2ch/16bit...
> Writing AVI header...
> Forcing audio preload to 0, max pts correction to 0
> Pos:  40.4s   1009f ( 0%)  25fps Trem:   0min   0mb  A-V:0.000 [665:0]
> Writing AVI index...
> Fixing AVI header...
> 
> Video stream:  665.036 kbit/s  (83129 bps)  size: 3358431 bytes  40.400 secs  1009 frames
> 
> Audio stream:      nan kbit/s  (-2147483648 bps)  size: 0 bytes  0.000 secs
>   MJP: returning!
> 
> 
> video is still all fine, but audio is, uhmm, absent.
> 

please cc: me on replies. thanks.

greetings

-- 
Chaos, panic, and disorder - my work here is done.




More information about the MPlayer-users mailing list