[MPlayer-users] mencoder no audio encoding
Steve Stavropoulos
steve at math.upatras.gr
Wed Nov 28 21:23:16 CET 2001
Sorry for not including the full log in the first letter, but better late
than never:
mencoder -dvd 1 -ovc divx4 -oac mp3lame -divx4opts br=1000 -lameopts
q=2:vbr=1 -pass 1 -v
gives:
MEncoder CVS-011128-22:01(C) 2000-2001 Arpad Gereoffy (see DOCS!)
Reading /home/steve/.mplayer/codecs.conf: 21 audio & 58 video codecs
libdvdcss debug: GetASF authenticated
libdvdcss debug: already authenticated
Reading disc structure, please wait...
There are 4 titles on this DVD.
There are 32 chapters in this DVD title.
There are 1 angles in this DVD title.
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x000cf4e0
libdvdcss debug: vts key initialized
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000cfa86
libdvdcss debug: vts key initialized
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000d0b66
libdvdcss debug: vts key initialized
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0039d822
libdvdcss debug: vts key initialized
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 2
DVD successfully opened!
[open] audio stream: 0 audio format: ac3 language: en aid: 128
[open] audio stream: 1 audio format: ac3 language: es aid: 129
[open] audio stream: 2 audio format: ac3 language: it aid: 130
[open] number of audio channels on disk: 3.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: es
[open] subtitle ( sid ): 2 language: it
[open] subtitle ( sid ): 3 language: nl
[open] subtitle ( sid ): 4 language: sv
[open] subtitle ( sid ): 5 language: no
[open] subtitle ( sid ): 6 language: da
[open] subtitle ( sid ): 7 language: fi
[open] subtitle ( sid ): 8 language: pt
[open] subtitle ( sid ): 9 language: iw
[open] subtitle ( sid ): 10 language: pl
[open] subtitle ( sid ): 11 language: el
[open] subtitle ( sid ): 12 language: tr
[open] subtitle ( sid ): 13 language: hu
[open] subtitle ( sid ): 14 language: is
[open] subtitle ( sid ): 15 language: hr
[open] subtitle ( sid ): 16 language: it
[open] number of subtitles on disk: 17
DVD start cell: 0 pack: 0xE40-0x12DAC
success: format: 0 data: 0x720000 - 0x0
DVD Seek! lba=0xE40 cell=0 packs: 0xE40-0x12DAC
Angle-seek synced! skip=0 new_lba=0xE40
ASF_check: not ASF guid!
Checking for MOV
system stream synced at 0x72000D (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 130
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 3) 25.00 fps 9375.0 kbps (1171.9
kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
Detected video codec: [mpeg12] drv:1 (MPEG 1 or 2)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: No accelerated IDCT transform found
libmpeg2: No accelerated motion compensation found
Detected audio codec: [ac3] drv:3 (AC3)
Initializing audio codec...
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
!! libac3 (core v0.6.2) : using FPU optimization, mixing to 2 output
channels
5.1 Mode 48.0 KHz 384 kbps Complete Main Audio Service
AUDIO: srate=48000 chans=2 bps=2 sfmt=0x10 ratio: 48000->192000
Writing AVI header...
LAME version 3.89 (beta 1, Nov 24 2001) (http://www.mp3dev.org/)
Using polyphase lowpass filter, transition band: 18774 Hz - 19355 Hz
misc:
scaling: 0.000000
filter type: 0
quantization: xr^3/4
huffman search: best (outside loop)
experimental X=0 Y=0 Z=0
...
stream format:
MPEG-1 Layer 3
2 channel - joint stereo
padding: auto
variable bitrate - VBR mt
...
psychoacoustic:
tonality estimation limit: 8871.700195 Hz
force channels to have same block types: yes
adjust masking: -1.570000 dB
psymodel: 1
noise shaping: 1
^ amplification: 1
^ stopping: 1
ATH: using
^ type: 4
^ adjust type: 3
^ adapt threshold type: 2
using temporal masking effect: yes
...
==> Found audio stream: 129
==> Found audio stream: 128
Internal buffer inconsistency. flushbits <> ResvSizebit reservoir error:
l3_side->main_data_begin: 16
Resvoir size: 24
resv drain (post) 6
resv drain (pre) 0
header and sideinfo: 288
data bits: 1977
total bits: 2271 (remainder: 7)
bitsperframe: 1920
Internal buffer inconsistency. flushbits <> ResvSizehead_check failed
head_check failed A-V: -0.006 oAV: 0.008 diff: -0.014 ct: 0.000 vpc:
0.000
head_check failed A-V: -0.046 oAV: -0.032 diff: -0.014 ct: -0.001 vpc:
-0.001
head_check failed A-V: -0.086 oAV: -0.072 diff: -0.013 ct: -0.003 vpc:
-0.003
head_check failed A-V: -0.126 oAV: -0.112 diff: -0.011 ct: -0.004 vpc:
-0.004
head_check failed A-V: -0.166 oAV: -0.152 diff: -0.010 ct: -0.005 vpc:
-0.005
head_check failed A-V: -0.206 oAV: -0.192 diff: -0.009 ct: -0.006 vpc:
-0.006
head_check failed A-V: -0.246 oAV: -0.232 diff: -0.008 ct: -0.007 vpc:
-0.007
head_check failed A-V: -0.286 oAV: -0.272 diff: -0.007 ct: -0.007 vpc:
-0.007
head_check failed A-V: -0.326 oAV: -0.312 diff: -0.007 ct: -0.008 vpc:
-0.008
head_check failed A-V: -0.366 oAV: -0.352 diff: -0.006 ct: -0.009 vpc:
-0.009
head_check failed A-V: -0.406 oAV: -0.392 diff: -0.005 ct: -0.009 vpc:
-0.009
head_check failed A-V: -0.446 oAV: -0.432 diff: -0.005 ct: -0.010 vpc:
-0.010
head_check failed A-V: -0.486 oAV: -0.472 diff: -0.004 ct: -0.010 vpc:
-0.010
head_check failed A-V: -0.526 oAV: -0.512 diff: -0.004 ct: -0.010 vpc:
-0.010
head_check failed A-V: -0.606 oAV: -0.552 diff: -0.044 ct: -0.014 vpc:
-0.014
head_check failed A-V: -0.646 oAV: -0.592 diff: -0.040 ct: -0.018 vpc:
-0.018
head_check failed A-V: -0.686 oAV: -0.632 diff: -0.036 ct: -0.022 vpc:
-0.022
head_check failed A-V: -0.726 oAV: -0.672 diff: -0.032 ct: -0.025 vpc:
-0.025 head_check failed A-V: -0.766 oAV: -0.712 diff: -0.029 ct: -0.028
vpc: -0.028
head_check failed A-V: -0.806 oAV: -0.752 diff: -0.026 ct: -0.031 vpc:
-0.031
head_check failed A-V: -0.846 oAV: -0.792 diff: -0.023 ct: -0.033 vpc:
-0.033
head_check failed A-V: -0.886 oAV: -0.832 diff: -0.021 ct: -0.035 vpc:
-0.035
head_check failed A-V: -0.926 oAV: -0.872 diff: -0.019 ct: -0.037 vpc:
-0.037
head_check failed A-V: -0.966 oAV: -0.912 diff: -0.017 ct: -0.039 vpc:
-0.039
head_check failed A-V: -1.006 oAV: -0.952 diff: -0.015 ct: -0.040 vpc:
-0.040
head_check failed A-V: -1.046 oAV: -0.992 diff: -0.014 ct: -0.042 vpc:
-0.042
A: 0.2 V: 1.3 A-V: -1.086 oAV: -1.032 diff: -0.012 ct: -0.043 vpc:
-0.043
Writing AVI index...
Fixup AVI header...
*** free_stream() called ***
I hope this helps...
On Wed, 28 Nov 2001, Steve Stavropoulos wrote:
> With cvs version 1.27 of mencoder.c there is the following message in the
> screen and the audio doesn't get encoded:
>
> Starts like this:
> head_check failed A-V: -2.534 oAV: -2.488 diff: -0.000 ct: -0.046 vpc:
> -0.046
> head_check failed A-V: -2.574 oAV: -2.528 diff: -0.000 ct: -0.046 vpc:
> -0.046
> head_check failed A-V: -2.614 oAV: -2.568 diff: -0.000 ct: -0.046 vpc:
> -0.046
> head_check failed A-V: -2.654 oAV: -2.608 diff: -0.000 ct: -0.046 vpc:
> -0.046
> head_check failed A-V: -2.694 oAV: -2.648 diff: -0.000 ct: -0.046 vpc:
> -0.046
> A: 0.2 V: 2.9 A-V: -2.734 oAV: -2.688 diff: -0.000 ct: -0.046 vpc:
> -0.046
> Writing AVI index...
> Fixup AVI header...
> *** free_stream() called ***
>
> if I live it for longer it goes like this:
>
> A: 0.2 V: 107.7 A-V:-107.534 oAV:-107.488 diff: 0.000 ct: -0.046 vpc:
> -0.046 head_check failed
> A: 0.2 V: 107.8 A-V:-107.574 oAV:-107.528 diff: 0.000 ct: -0.046 vpc:
> -0.046 head_check failed
> A: 0.2 V: 107.8 A-V:-107.614 oAV:-107.568 diff: 0.000 ct: -0.046 vpc:
> -0.046 head_check failed
> A: 0.2 V: 107.9 A-V:-107.654 oAV:-107.608 diff: -0.000 ct: -0.046 vpc:
> -0.046 head_check failed
> continiuing for ever...
>
> The command line is:
> mencoder -dvd 1 -aid 128 -ovc divx4 -oac mp3lame -divx4opts br=1000
> -lameopts q=2:vbr=1 -pass 1
>
> Before a couple of days it was working with another dvd just fine with the
> exact same command line but without the -aid switch (the known old bug).
>
> just checked the behaviour of the various revisions o mencoder.c and the
> results are:
>
> cvs verion <=1.22 ---> the known DEMUXER error (beacause of -aid 128),
> but audio, when -aid is not used, is encoded normally.
>
> cvs version>=1.23 ---> audio isn't encoded (-aid bug gone) even if I
> don't put any -aid switch
>
> same behaviour (no sound) I get when I don't put an -aid switch in the
> command line.
>
> Please tell me if you like more information.
>
>
> _______________________________________________
> RTFM!!! http://www.MPlayerHQ.hu/DOCS
> Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
More information about the MPlayer-users
mailing list