[MPlayer-dev-eng] Bug in GUI of MPlayer
김승정
kuh3h3 at gmail.com
Mon Sep 28 07:51:37 CEST 2009
mediainfo /media/sdc1/vid12v3.avi
General
Complete name : /media/sdc1/vid12v3.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 2.07 MiB
Duration : 15s 1ms
Overall bit rate : 1 159 Kbps
Recorded date : April 7, 2006
Writing library : VirtualDub-MPEG2 build 24600/release
Video
ID : 0
Format : MPEG-4 Visual
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Muxing mode : Packed bitstream
Codec ID : DX50
Codec ID/Hint : DivX 5
Duration : 15s 1ms
Bit rate : 1 021 Kbps
Width : 640 pixels
Height : 352 pixels
Display aspect ratio : 16/9
Frame rate : 24.865 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.182
Stream size : 1.83 MiB (88%)
Writing library : DivX 5.2.0 (UTC 2004-07-15)
Audio
Format : WMA3
Codec ID : 162
Codec ID/Info : Windows Media Audio 3
Duration : 14s 861ms
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Resolution : 24 bits
Stream size : 232 KiB (11%)
Interleave, duration : 385 ms (9.56 video frames)
Interleave, preload duration : 743 ms
2009/9/28, 김승정 <kuh3h3 at gmail.com>:
> avcodec wmapro bug also still not fixed
>
> gdb mplayer
> GNU gdb (GDB) 6.8.50.20090828-cvs
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-pc-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /media/sdc1/wmapro/mplayer/mplayer...done.
> (gdb) r /media/sdc1/vid12v3.avi
> Starting program: /media/sdc1/wmapro/mplayer/mplayer
> /media/sdc1/vid12v3.avi
> [Thread debugging using libthread_db enabled]
> MPlayer SVN-r29725-4.3.3 (C) 2000-2009 MPlayer Team
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
>
> Playing /media/sdc1/vid12v3.avi.
> AVI file format detected.
> [aviheader] Video stream found, -vid 0
> [aviheader] Audio stream found, -aid 1
> VIDEO: [DX50] 640x352 24bpp 24.865 fps 1021.4 kbps (124.7 kbyte/s)
> Clip info:
> Creation Date: April 7, 2006
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 44100 Hz, 2 ch, floatle, 128.0 kbit/4.54% (ratio: 16002->352800)
> Selected audio codec: [ffwmapro] afm: ffmpeg (WMA Pro audio (FFmpeg))
> ==========================================================================
> <= some stuff removed
>
> DVB card number must be between 1 and 4
> AO: [null] 44100Hz 2ch floatle (4 bytes per sample)
> Starting playback...
> [mpeg4 @ 0x88a4c60]Invalid and inefficient vfw-avi packed B frames detected
> VDec: vo config request - 640 x 352 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
> VO: [xv] 640x352 => 640x352 Planar YV12
> [wmapro @ 0x88a4c60]frame[7] would have to skip -2699 bits?,?% 0 0
>
> <= here mplayer stuck.so have to ctrl +c
>
> Program received signal SIGINT, Interrupt.
> 0x083b8c58 in avcodec_decode_audio3 (avctx=0x8f5a5a0,
> samples=0xb46f1820, frame_size_ptr=0xbfff9dd0, avpkt=0xbfff9d3c) at
> utils.c:614
> 614 {
> (gdb) bt
> #0 0x083b8c58 in avcodec_decode_audio3 (avctx=0x8f5a5a0,
> samples=0xb46f1820, frame_size_ptr=0xbfff9dd0, avpkt=0xbfff9d3c) at
> utils.c:614
> #1 0x083b9dee in avcodec_decode_audio2 (avctx=0x8f5a5a0,
> samples=0xb46f1820, frame_size_ptr=0xbfff9dd0, buf=0xbfff9d3c "",
> buf_size=0)
> at utils.c:607
> #2 0x08296ff8 in decode_audio (sh_audio=0x8f459f8,
> buf=0xb46f1820
> "\262\262\222\273zYE\273\220Z\226\273dۜ\272zSY\273\027\023\272:\315[κc,O;\333\071\274\272\206#N;\204\344\t\273\271`%;\320=\361\272R\221\031;\022\tٺ\326v\347:Gn\\\273\240\331\r\271\206\006ǻe{\026\273\244\267\375\273\320\rL\273\264\257\005\274\262\005\067\273R\337\002\274ޗ%\273\330\036\345\273\372\036\026\273\247\361\245\273R\203\217\272\243\321C\273,\270\237:$\243\225\272\374\245v;$\256\032:\026ۺ;)\230\313:{[\333;\tQ\244:\225\342\337;\252\320~:\323\345\332;F\027\005;\031\316\335;x\215f;\237\243\342;)\254\204;\363\310\335;\030\376\204;\212\333\334;"...,
> minlen=59392, maxlen=2123776) at libmpcodecs/ad_ffmpeg.c:174
> #3 0x0818da41 in filter_n_bytes (sh_audio=0x8f459f8, minlen=65536) at
> libmpcodecs/dec_audio.c:372
> #4 decode_audio (sh_audio=0x8f459f8, minlen=65536) at
> libmpcodecs/dec_audio.c:450
> #5 0x080e23ed in fill_audio_out_buffers (argc=2, argv=0xbfffe1a4) at
> mplayer.c:2074
> #6 main (argc=2, argv=0xbfffe1a4) at mplayer.c:3710
> (gdb) i r
> eax 0x8f5a5a0 150316448
> ecx 0xbfff9d10 -1073767152
> edx 0x8f459f8 150231544
> ebx 0xbfff9d3c -1073767108
> esp 0xbfff9cfc 0xbfff9cfc
> ebp 0xbfff9d88 0xbfff9d88
> esi 0x8f48f00 150245120
> edi 0x13fa 5114
> eip 0x83b8c58 0x83b8c58 <avcodec_decode_audio3+10>
> eflags 0x200286 [ PF SF IF ID ]
> cs 0x73 115
> ss 0x7b 123
> ds 0x7b 123
> es 0x7b 123
> fs 0x0 0
> gs 0x33 51
> (gdb) q
> A debugging session is active.
>
> Inferior 1 [process 23211] will be killed.
>
> Quit anyway? (y or n) y
>
>
> 2009/9/28, 김승정 <kuh3h3 at gmail.com>:
>> still not fixed :(
>>
>> gdb gmplayer
>> GNU gdb (GDB) 6.8.50.20090828-cvs
>> Copyright (C) 2009 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later
>> <http://gnu.org/licenses/gpl.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law. Type "show
>> copying"
>> and "show warranty" for details.
>> This GDB was configured as "i686-pc-linux-gnu".
>> For bug reporting instructions, please see:
>> <http://www.gnu.org/software/gdb/bugs/>...
>> Reading symbols from /usr/bin/gmplayer...done.
>> (gdb) r
>> Starting program: /usr/bin/gmplayer
>> [Thread debugging using libthread_db enabled]
>> MPlayer SVN-r29725-4.3.3 (C) 2000-2009 MPlayer Team
>> mplayer: could not connect to socket
>> mplayer: No such file or directory
>> Failed to open LIRC support. You will not be able to use your remote
>> control.
>> [png @ 0x8f88f70]codec type or id mismatches
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x083b8f1a in avcodec_decode_video2 (avctx=0x8f88f70,
>> picture=0x8f89320, got_picture_ptr=0xbfff9688, avpkt=0xbfff95cc) at
>> utils.c:583
>> 583 if((avctx->codec->capabilities & CODEC_CAP_DELAY) ||
>> avpkt->size){
>> (gdb) bt
>> #0 0x083b8f1a in avcodec_decode_video2 (avctx=0x8f88f70,
>> picture=0x8f89320, got_picture_ptr=0xbfff9688, avpkt=0xbfff95cc) at
>> utils.c:583
>> #1 0x083b9e5a in avcodec_decode_video (avctx=0x8f88f70,
>> picture=0x8f89320, got_picture_ptr=0xbfff9688, buf=0xbfff95cc "",
>> buf_size=-1239092928) at utils.c:570
>> #2 0x08107f42 in pngRead (fname=0xbfff9708
>> "/usr/share/mplayer/skins/default/main", bf=0x8e4b704) at
>> gui/bitmap.c:56
>> #3 bpRead (fname=0xbfff9708 "/usr/share/mplayer/skins/default/main",
>> bf=0x8e4b704) at gui/bitmap.c:149
>> #4 0x081246dd in skinBPRead (fname=0xbfff9708
>> "/usr/share/mplayer/skins/default/main", bf=0x8e4b704) at
>> gui/skin/skin.c:101
>> #5 0x081257d2 in cmd_base (in=0xbfff9b59 "main,-2,-2") at
>> gui/skin/skin.c:169
>> #6 0x0812324e in skinRead (dname=0x8f88d08 "default") at
>> gui/skin/skin.c:738
>> #7 0x0810a0dd in guiInit () at gui/interface.c:215
>> #8 0x080e0ebc in main (argc=1, argv=0xbfffe1d4) at mplayer.c:2925
>> (gdb) i r
>> eax 0x0 0
>> ecx 0xbfff95a0 -1073769056
>> edx 0x0 0
>> ebx 0x8f88f70 150507376
>> esp 0xbfff9560 0xbfff9560
>> ebp 0xbfff9588 0xbfff9588
>> esi 0xbfff9688 -1073768824
>> edi 0xbfff95cc -1073769012
>> eip 0x83b8f1a 0x83b8f1a <avcodec_decode_video2+66>
>> eflags 0x210246 [ PF ZF IF RF ID ]
>> cs 0x73 115
>> ss 0x7b 123
>> ds 0x7b 123
>> es 0x7b 123
>> fs 0x0 0
>> gs 0x33 51
>> (gdb) q
>> A debugging session is active.
>>
>> Inferior 1 [process 22325] will be killed.
>>
>> Quit anyway? (y or n) y
>>
>>
>> 2009/9/27, 김승정 <kuh3h3 at gmail.com>:
>>> i think wmapro itself have no problem because this pr0n plays well
>>> before recent changes in
>>> ffmpeg by Michael .what did you do on ffmpeg? Michael
>>>
>>> 2009/9/27, 김승정 <kuh3h3 at gmail.com>:
>>>> :) that video file is pr0n.so difficult to upload somewhere.
>>>>
>>>> 2009/9/27, Sascha Sommer <saschasommer at freenet.de>:
>>>>> Hi,
>>>>>
>>>>> On Samstag, 26. September 2009, Grozdan wrote:
>>>>>> 2009/9/26 김승정 <kuh3h3 at gmail.com>:
>>>>>> > as well as gmplayer, mplayer has avcodec bug in new wmapro.
>>>>>> >
>>>>>> > $ mplayer "vid12v4.avi"
>>>>>> > MPlayer SVN-r29718-4.3.3 (C) 2000-2009 MPlayer Team
>>>>>> > mplayer: could not connect to socket
>>>>>> > mplayer: No such file or directory
>>>>>> > Failed to open LIRC support. You will not be able to use your
>>>>>> > remote
>>>>>> > control.
>>>>>> >
>>>>>> > Playing vid12v4.avi.
>>>>>> > AVI file format detected.
>>>>>> > [aviheader] Video stream found, -vid 0
>>>>>> > [aviheader] Audio stream found, -aid 1
>>>>>> > VIDEO: [DX50] 640x352 24bpp 24.865 fps 953.2 kbps (116.4
>>>>>> > kbyte/s)
>>>>>> > Clip info:
>>>>>> > Creation Date: April 7, 2006
>>>>>> > =========================================================================
>>>>>> >= Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
>>>>>> > Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
>>>>>> > =========================================================================
>>>>>> >=
>>>>>> > =========================================================================
>>>>>> >= Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
>>>>>> > AUDIO:
>>>>>> > 44100 Hz, 2 ch, floatle, 128.0 kbit/4.54% (ratio: 16002->352800)
>>>>>> > Selected
>>>>>> > audio codec: [ffwmapro] afm: ffmpeg (WMA Pro audio (FFmpeg))
>>>>>> >
>>>>>> > AO: [null] 44100Hz 2ch floatle (4 bytes per sample)
>>>>>> > Starting playback...
>>>>>> > [mpeg4 @ 0x89ecaa0]Invalid and inefficient vfw-avi packed B frames
>>>>>> > detected VDec: vo config request - 640 x 352 (preferred colorspace:
>>>>>> > Planar YV12) VDec: using Planar YV12 as output csp (no 0)
>>>>>> > Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
>>>>>> > VO: [xv] 640x352 => 640x352 Planar YV12
>>>>>> > [wmapro @ 0x89ecaa0]frame[7] would have to skip -2684 bits?,?% 0 0
>>>>>>
>>>>>> It's not a bug in mplayer but in libavcodec's wmapro decoder. Mans
>>>>>> was
>>>>>> yesterday talking about how bad this decoder is and he intends to
>>>>>> improve it
>>>>>>
>>>>>
>>>>> This problem looks like it caused by a misinterpreted bitstream. This
>>>>> may
>>>>> happen for samples that contain not yet discovered coding features.
>>>>> Can you upload the file somewhere? I don't know what Mans wants to
>>>>> improve
>>>>> but
>>>>> it probably will not fix this issue unlike he has access to the wmapro
>>>>> specification.
>>>>>
>>>>> Regards
>>>>>
>>>>> Sascha
>>>>> _______________________________________________
>>>>> MPlayer-dev-eng mailing list
>>>>> MPlayer-dev-eng at mplayerhq.hu
>>>>> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>>>>
>>>
>>
>
More information about the MPlayer-dev-eng
mailing list