Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89488 - mplayer / mencoder > 1.0_pre6 crash with *** glibc detected *** double free or corruption (!prev)
Summary: mplayer / mencoder > 1.0_pre6 crash with *** glibc detected *** double free o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-17 23:08 UTC by Sebastian
Modified: 2005-05-06 11:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian 2005-04-17 23:08:50 UTC
Hello!

I tried MPlayer 1.0 pre7 and CVS and both suffer the same problem. I can trigger it in two ways:

mencoder -oac copy -ovc copy -audiofile some.input video.file -o some.output
or
playing an unfinished avi, unfinished meaning mencoder is still encoding. Once playback reaches the end it will crash. I have to kill the mplayer pid in order to get rid of the video window which just stays open. When it happens while the window is fullscreen I can still CTRL_ALT_Fx to a terminal and get the pid and kill it.
In both cases I get this:

VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.75:1 - prescaling to correct movie aspect.
VO: [xv] 576x304 => 576x330 Planar YV12
alsa-space: xrun of at least 45.807 msecs. resetting stream,?% 0 0 9%
A:  58.9 V:  58.9 A-V:  0.001 ct: -0.001 1474/1474  9%  0%  0.9% 1 0 0%
*** glibc detected *** double free or corruption (!prev): 0x085c4330 ***


MPlayer interrupted by signal 6 in module: free_demuxer
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
Get
Comment 1 Sebastian 2005-04-17 23:08:50 UTC
Hello!

I tried MPlayer 1.0 pre7 and CVS and both suffer the same problem. I can trigger it in two ways:

mencoder -oac copy -ovc copy -audiofile some.input video.file -o some.output
or
playing an unfinished avi, unfinished meaning mencoder is still encoding. Once playback reaches the end it will crash. I have to kill the mplayer pid in order to get rid of the video window which just stays open. When it happens while the window is fullscreen I can still CTRL_ALT_Fx to a terminal and get the pid and kill it.
In both cases I get this:

VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.75:1 - prescaling to correct movie aspect.
VO: [xv] 576x304 => 576x330 Planar YV12
alsa-space: xrun of at least 45.807 msecs. resetting stream,?% 0 0 9%
A:  58.9 V:  58.9 A-V:  0.001 ct: -0.001 1474/1474  9%  0%  0.9% 1 0 0%
*** glibc detected *** double free or corruption (!prev): 0x085c4330 ***


MPlayer interrupted by signal 6 in module: free_demuxer
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
Getötet

I use xorgs radeon driver, but I think it doesn't matter because it also happens with mencoder.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12-rc2 i686)
=================================================================
System uname: 2.6.12-rc2 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 22 2005, 18:20:40)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.4, 1.6.3, 1.7.9-r1, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -mfpmath=sse -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/video/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.rwth-aachen.de/pub/Linux/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="3dnow 3dnowext X alsa crypt cups dvb dvd foomaticdb gnome gtk2 ithreads
jpeg mad mmap mmx mmxext ncurses nls no_wxgtk1 oggvorbis png ppds readline rtc
spell sse ssl truetype truetype-fonts userlocales x86 xv xvid zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 2 Sebastian 2005-04-21 03:14:41 UTC
It happens with everything I throw at it. I've uploaded some files to
test with:

http://www-users.rwth-aachen.de/sebastian.kemper/swdft-audio.wav.mp3
http://www-users.rwth-aachen.de/sebastian.kemper/swdft-video.avi

Playback
##########################################################################

mplayer swdft-video.avi -audiofile swdft-audio.wav.mp3

audio/video are in sync but once you hit 'q' or it reaches the end it
crashes:

MPlayer dev-CVS-050419-09:25-3.3.5-20050130 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6,
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


Warning unknown option cache_min at line 144
Warning unknown option cache_prefill at line 147

Playing swdft-video.avi.
Cache fill:  5.27% (442368 bytes)    AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO:  [XVID]  512x272  12bpp  25.000 fps  581.9 kbps (71.0 kbyte/s)
Audio file detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local
display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/26212 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 512 x 272 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.74:1 - prescaling to correct movie aspect.
VO: [xv] 512x272 => 512x294 Planar YV12
*** glibc detected *** double free or corruption (!prev): 0x085c32e8 ***


MPlayer interrupted by signal 6 in module: free_demuxer
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We
can't and
  won't help unless you provide this information when reporting a
possible bug.


Muxing
##########################################################################

mencoder swdft-video.avi -audiofile swdft-audio.wav.mp3 -o swdft.avi
-oac copy -ovc copy

leads to a lot of "duplicate frame" messages, the result is totally out
of sync and it seems to crash, too (I think so because of the "*** glibc
detected *** double free or corruption (!prev): 0x085c49d8 ***"
message), allthough it doesn't crash hard as above:

MEncoder dev-CVS-050419-09:25-3.3.5-20050130 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6,
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

File not found: 'frameno.avi'
Failed to open frameno.avi
success: format: 0  data: 0x0 - 0x21c5d6
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO:  [XVID]  512x272  12bpp  25.000 fps  581.9 kbps (71.0 kbyte/s)
Audio file detected.
[V] filefmt:65536  fourcc:0x44495658  size:512x272  fps:25.00  ftime:=0.0400
videocodec: framecopy (512x272 12bpp fourcc=44495658)
audiocodec: framecopy (format=55 chans=2 rate=48000 bits=16 bps=0 sample-0)
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
Pos:   0.9s     22f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [0:127]
1 duplicate frame(s)!
Pos:   1.3s     32f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [602:127]
1 duplicate frame(s)!
Pos:   1.8s     42f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [573:127]
1 duplicate frame(s)!
Pos:   2.2s     52f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [520:127]
1 duplicate frame(s)!
Pos:   2.6s     62f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [491:127]
1 duplicate frame(s)!
Pos:   3.1s     72f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [486:128]
1 duplicate frame(s)!
Pos:   3.5s     82f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [462:128]
1 duplicate frame(s)!
Pos:   4.0s     92f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [442:127]
1 duplicate frame(s)!
Pos:   4.4s    102f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [543:128]
1 duplicate frame(s)!
Pos:   4.8s    112f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [561:127]
1 duplicate frame(s)!
Pos:   5.3s    122f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [572:128]
1 duplicate frame(s)!
Pos:   5.7s    132f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [565:127]
1 duplicate frame(s)!
Pos:   6.2s    142f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [558:128]
1 duplicate frame(s)!
Pos:   6.6s    152f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [559:128]
1 duplicate frame(s)!
Pos:   7.0s    162f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [561:128]
1 duplicate frame(s)!
Pos:   7.5s    172f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [556:128]
1 duplicate frame(s)!
Pos:   7.9s    182f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [553:127]
1 duplicate frame(s)!
Pos:   8.4s    192f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [550:127]
1 duplicate frame(s)!
Pos:   8.8s    202f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [548:128]
1 duplicate frame(s)!
Pos:   9.2s    212f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [544:127]
1 duplicate frame(s)!
Pos:   9.7s    222f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [542:128]
1 duplicate frame(s)!
Pos:  10.1s    232f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [539:128]
1 duplicate frame(s)!
Pos:  10.6s    242f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [534:128]
1 duplicate frame(s)!
Pos:  11.0s    252f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [526:128]
1 duplicate frame(s)!
Pos:  11.4s    262f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [519:128]
1 duplicate frame(s)!
Pos:  11.9s    272f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [513:128]
1 duplicate frame(s)!
Pos:  12.3s    282f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [507:128]
1 duplicate frame(s)!
Pos:  12.8s    292f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [501:128]
1 duplicate frame(s)!
Pos:  13.2s    302f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [497:128]
1 duplicate frame(s)!
Pos:  13.6s    312f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [495:128]
1 duplicate frame(s)!
Pos:  14.1s    322f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [496:127]
1 duplicate frame(s)!
Pos:  14.5s    332f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [497:128]
1 duplicate frame(s)!
Pos:  15.0s    342f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [500:127]
1 duplicate frame(s)!
Pos:  15.4s    352f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [508:127]
1 duplicate frame(s)!
Pos:  15.8s    362f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [501:128]
1 duplicate frame(s)!
Pos:  16.3s    372f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [496:128]
1 duplicate frame(s)!
Pos:  16.7s    382f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [490:127]
1 duplicate frame(s)!
Pos:  17.2s    392f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [485:127]
1 duplicate frame(s)!
Pos:  17.6s    402f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [483:128]
1 duplicate frame(s)!
Pos:  18.0s    412f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [483:127]
1 duplicate frame(s)!
Pos:  18.5s    422f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [484:127]
1 duplicate frame(s)!
Pos:  18.9s    432f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [480:128]
1 duplicate frame(s)!
Pos:  19.4s    442f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [477:127]
1 duplicate frame(s)!
Pos:  19.8s    452f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [488:127]
1 duplicate frame(s)!
Pos:  20.2s    462f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [498:128]
1 duplicate frame(s)!
Pos:  20.7s    472f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [500:128]
1 duplicate frame(s)!
Pos:  21.1s    482f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [506:127]
1 duplicate frame(s)!
Pos:  21.6s    492f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [517:128]
1 duplicate frame(s)!
Pos:  22.0s    502f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [518:128]
1 duplicate frame(s)!
Pos:  22.4s    512f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [521:127]
1 duplicate frame(s)!
Pos:  22.9s    522f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [523:128]
1 duplicate frame(s)!
Pos:  23.3s    532f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [527:128]
1 duplicate frame(s)!
Pos:  23.8s    542f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [531:128]
1 duplicate frame(s)!
Pos:  24.2s    552f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [536:127]
1 duplicate frame(s)!
Pos:  24.6s    562f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [541:128]
1 duplicate frame(s)!
Pos:  25.1s    572f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [546:128]
1 duplicate frame(s)!
Pos:  25.5s    582f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [548:127]
1 duplicate frame(s)!
Pos:  26.0s    592f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [548:128]
1 duplicate frame(s)!
Pos:  26.4s    602f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [550:128]
1 duplicate frame(s)!
Pos:  26.8s    612f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [551:127]
1 duplicate frame(s)!
Pos:  27.3s    622f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [552:128]
1 duplicate frame(s)!
Pos:  27.7s    632f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [551:128]
1 duplicate frame(s)!
Pos:  28.2s    642f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [549:127]
1 duplicate frame(s)!
Pos:  28.6s    652f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [548:128]
1 duplicate frame(s)!
Pos:  29.0s    662f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [547:128]
1 duplicate frame(s)!
Pos:  29.5s    672f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [547:127]
1 duplicate frame(s)!
Pos:  29.9s    682f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [549:128]
1 duplicate frame(s)!
Pos:  30.4s    692f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [548:128]
1 duplicate frame(s)!
Pos:  30.8s    702f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [542:128]
1 duplicate frame(s)!
Pos:  31.2s    712f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [537:128]
1 duplicate frame(s)!
Pos:  31.7s    722f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [535:128]
1 duplicate frame(s)!
Pos:  32.1s    732f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [532:128]
1 duplicate frame(s)!
Pos:  32.6s    742f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [531:128]
1 duplicate frame(s)!
Pos:  33.0s    752f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.084 [531:128]
1 duplicate frame(s)!
Pos:  33.1s    753f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.048 [529:128]
Writing AVI index...
Fixing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.

Video stream:  529.851 kbit/s  (66231 bps)  size: 2190934 bytes  33.080
secs  753 frames

Audio stream:  128.000 kbit/s  (16000 bps)  size: 481152 bytes  30.072 secs
*** glibc detected *** double free or corruption (!prev): 0x085c49d8 ***
Abgebrochen

Thanks for having a look at this!

Cheers

Sebastian
Comment 3 Sebastian 2005-04-30 11:38:02 UTC
Hello!

I posted this on the mplayer ml and Rich Felker read it and fixed it in CVS:

"Fixed. However, I know nothing about the a/v sync problem. Like I said
I could never confirm that one. But I did find and revert the
regression between pre6 and pre7 that made it crash for you.

Rich"

and 

"the bug was not causing mplayer to crash, except for the fact that
your system has a glibc memory-debugger enabled to catch the error and
intentionally crash the program. this is to help people find and
correct subtle bugs that could cause problems later on. i don't know
how to turn that on and off, but i'm sure there's a way you can
disable it. however, it's better to upgrade so that the bug is fixed.

rich"

I'll check out CVS, try it and report back.

Sebastian
Comment 4 Sebastian 2005-05-01 17:19:06 UTC
Ok,

this was partly fixed. The sync issue remains, but the crash was fixed in cvs. It's only a small fix, you'll find it here:

http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/libmpdemux/demuxer.c.diff?r1=1.186&r2=1.187

Cheers

Sebastian
Comment 5 Reimar Döffinger 2005-05-04 16:02:56 UTC
Please add -mc 0 -noskip and any other flags that you can find that disable the A-V sync code (it just doesn't make sense here I think)
Comment 6 Sebastian 2005-05-05 19:46:03 UTC
I uploaded three files:

http://www-users.rwth-aachen.de/sebastian.kemper/audio.wav.mp3
http://www-users.rwth-aachen.de/sebastian.kemper/vdrsync.avi
http://www-users.rwth-aachen.de/sebastian.kemper/sherlock.avi

The first is just the audio, the second just the video and the last is
the muxed result.

Now playing the audio-only and video-only streams streams simultaneously
works 100%:
mplayer vdrsync.avi -audiofile audio.wav.mp3
A/V is synced.

But after muxing the streams together they don't stay synced anymore:

mencoder vdrsync.avi -audiofile audio.wav.mp3 -ovc copy -oac copy -o
sherlock.avi

I've uploaded the resulting sherlock.avi, too, so you can see and hear
that something goes wrong. Does muxing the two streams using

mencoder vdrsync.avi -audiofile audio.wav.mp3 -ovc copy -oac copy -o
sherlock.avi

work for you on your box?
Comment 7 Sebastian 2005-05-06 11:53:11 UTC
-mc 0 works. Thanks. I'm gonna close this.

Cheers

Sebastian