[MEncoder-users] Bug in mplayer/mencoder 1.0pre7 and CVS regarding -audiofile / seperate audio file leads to crash or async video, take 10 seconds and try yourself

Sebastian sebastian_ml at gmx.net
Thu Apr 21 15:51:44 CEST 2005


> 
> 
> Hi Richard!
> 
> 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

I had a convo in #mplayerdev with Compn today, and he has problems with
pre7 under win32, too:

"MPlayer interrupted by signal 11 in module: free_demuxer"
"pre6 doesent sig11"
"luckily it just exits here with the sig11 message, it keeps responding
(so i dont have to kill it)"
"its definitely something if pre6 works and pre7 doesent :)"


Cheers

Sebastian




More information about the MEncoder-users mailing list