Opened 9 years ago

#1653 new defect

mencoder muxer avi lavc audio runaway pcm->mp2 compression.

Reported by: vdb128@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

When encoding a still frame from png files through

# Makefile
MENCODEROPTS=-audiofile tall.wav -af volume=-20 -oac lavc -ovc lavc \

-lavcopts abitrate=320:vcodec=mpeg4:mbd=2:trell:autoaspect:v4mv:vbitrate=3500:vpass=1

pal2.avi: pal2.png tall.wav

for i in $(TESTCARDS); do ln -sf $< card$${i}.png; done
mencoder -aspect 15/11 $(MENCODEROPTS) -o $@ mf://card*.png
for i in $(TESTCARDS); do rm -f card$${i}.png; done

with mencoder the file plays fine using mplayer, but there is no sound when
using coreavc from the mediaplayer WDtvlive. Mplayer's AV sync is odd :

Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 320.0 kbit/20.83% (ratio: 40000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.36:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 786x576 Planar YV12
A:4607.7 V: 5.0 A-V:4602.708 ct: 0.500 125/125 1% 0% 0.2% 0 0

The file tall.wav is 6 second long. Using -oac pcm works. But then
transcoding from pcm to lavc mp2 gives exactly the same result.

I uploaded pal2bad.avi and pal2pcm.avi. Thank you for taking a look.


MEncoder SVN-r30694-3.4.5 (C) 2000-2010 MPlayer Team

Slackware 10.2

Linux reddwarf 2.6.29.6 #1 Sun Jul 26 08:34:50 CEST 2009 i686 unknown unknown GNU/Linux

/lib/libc-2.3.6.so

Reading specs from /usr/lib/gcc/i486-slackware-linux/3.4.5/specs
Configured with: ../gcc-3.4.5/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.4.5

GNU ld version 2.15.92.0.2 20040927

GNU assembler 2.15.92.0.2 20040927

Change History (0)

Note: See TracTickets for help on using tickets.