[MPlayer-dev-eng] [Tested] bug in loading ac3 by -audiofile: seeking, time position

Rafał Miłecki zajec5 at gmail.com
Sun Apr 24 23:53:31 CEST 2011


2011/4/24 Reimar Döffinger <Reimar.Doeffinger at gmx.de>:
> On Sun, Apr 24, 2011 at 09:29:20PM +0200, Rafał Miłecki wrote:
>> I've some movie which works fine when playing without any extra
>> options. I can seek it, OSD displays current time position fine, no a
>> single problem with it. Let me underline that even seeking does not
>> cause any out of sync for a/v.
>>
>> 1) -audiofile file.ac3
>> Just playing does not cause any out of sync. Problems:
>> a) OSD displays current time position as "00:00:00" all the time
>> b) Seeking does not change time position, it's "00:00:00" all the time
>> c) Any seeking causes audio to be played from the beginning
>
> FFmpeg ac3 demuxer has a bug I have worked around now.
> FFmpeg mkv demuxer (IMO) has a bug as well, -demuxer mkv might work as a workaround.

Thanks for your help. Using -demuxer mkv does not fix
seeking-causes-audio-start-from-0 and does not help with "00:00:00"
being current time position all the time.


>> Could someone take a look at this and fix this? Can I provide more info?
>
> At least what kind of video file you're trying to play.

Sorry for not providing this at beginning. This it mkv as you guessed,
here is some additional info:

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[h264 @ 0x8933b80]Unsupported bit depth: 0
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)

Starting playback...
Increasing filtered audio buffer size from 0 to 50048
Unsupported PixelFormat 61
Unsupported PixelFormat 53
[h264 @ 0x8933b80]no picture
[h264 @ 0x8933b80]no picture
[ffmpeg] aspect_ratio: 1.748634
VDec: vo config request - 1280 x 732 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.75:1 - prescaling to correct movie aspect.
VO Config (1280x732->1280x732,flags=0,'MPlayer',0x32315659)
VO: [xv] 1280x732 => 1280x732 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 63 for hw scaling
*** [vo] Exporting mp_image_t, 1280x732x12bpp YUV planar, 1405440 bytes

mkvinfo:
|+ Segment tracks
| + A track
|  + Track number: 1
|  + Track UID: 1212657556
|  + Track type: video
|  + Lacing flag: 0
|  + MinCache: 1
|  + Codec ID: V_MPEG4/ISO/AVC
|  + CodecPrivate, length 42
|  + Default duration: 41.708ms (23.976 fps for a video track)
|  + Name: Tan...
|  + Video track
|   + Pixel width: 1280
|   + Pixel height: 732
|   + Display width: 1280
|   + Display height: 732

-- 
Rafał


More information about the MPlayer-dev-eng mailing list