Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#621 closed defect (fixed)

Seeking broken for audio-only Matroska files

Reported by: stu50460@… Owned by: r_togni@…
Priority: normal Component: demuxer
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

When trying to switch chapters back and forth with @ and ! while playing a
audio-only-Matroska (MKA) mplayer doesn't go back and forth in chapters but
jumps about 1 second ahead in time.
The MKA was created with mkvtoolnix 1.7 and includes a FLAC stream, while the
chapter file was a .cue. File plays fine in foobar2000 on Windows/wine.
Here is the output of mplayer -v:

MPlayer dev-SVN-r20666-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3700+ (Family: 15, Model: 39, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
[...]
Playing 2001-07-31 - Megaton Shotblast!.mka.
[file] File size is 337496517 bytes
STREAM: [file] 2001-07-31 - Megaton Shotblast!.mka
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo?
Checking for REAL
Checking for SMJPEG
[mkv] Found the head...
[mkv] + a segment...
[mkv] /---- [ parsing seek head ] ---------
[mkv] /---- [ parsing seek head ] ---------
[mkv] \---- [ parsing seek head ] ---------
[mkv] /---- [ parsing cues ] -----------
[mkv] \---- [ parsing cues ] -----------
[mkv] /---- [ parsing chapters ] ---------
[mkv] Chapter 0 from 00:00:00.000 to 00:00:00.000, De Facto - Manual Dexterity
[mkv] Chapter 1 from 00:02:21.666 to 00:00:00.000, De Facto - Cordova
[mkv] Chapter 2 from 00:12:39.426 to 00:00:00.000, De Facto - El Professor
Contra De Facto
[mkv] Chapter 3 from 00:17:38.760 to 00:00:00.000, De Facto - Fingertrap
[mkv] Chapter 4 from 00:20:52.613 to 00:00:00.000, De Facto - Descarga De Facto
[mkv] Chapter 5 from 00:29:11.133 to 00:00:00.000, De Facto - Mitchel Edward
Klik Enters A Dreamlike State... And It's Fucking Scandalous
[mkv] Chapter 6 from 00:33:38.613 to 00:00:00.000, De Facto - Thick Vinyl Plate
[mkv] Chapter 7 from 00:40:28.413 to 00:00:00.000, De Facto - Coaxial
[mkv] Chapter 8 from 00:47:43.680 to 00:00:00.000, De Facto - Simian Cobblestone
[mkv] Chapter 9 from 00:52:07.306 to 00:00:00.000, De Facto - Rodche Defects
[mkv] \---- [ parsing chapters ] ---------
[mkv] \---- [ parsing seek head ] ---------
[mkv] |+ segment information...
[mkv] | + timecode scale: 22674
[mkv] | + duration: 3365.227s
[mkv] |+ segment tracks...
[mkv] | + a track...
[mkv] | + Track number: 1
[mkv] | + Track type: Audio
[mkv] | + Default flag: 1
[mkv] | + Codec ID: A_FLAC
[mkv] | + CodecPrivate?, length 10238
[mkv] | + Default duration: 104.490ms ( = 9.570 fps)
[mkv] | + Language: und
[mkv] | + Audio track
[mkv] | + Sampling frequency: 44100.000000
[mkv] | + Channels: 2
[mkv] | + Bit depth: 16
[mkv] /---- [ parsing attachments ] ---------
[mkv] | + an attachment...
[mkv] | + FileName?: Megaton Shotblast!.flac.cue
[mkv] | + FileMimeType?: text/plain
[mkv] | + FileData?, length 1402
[mkv] Attachment: Megaton Shotblast!.flac.cue, text/plain, 1402 bytes
[mkv] | + an attachment...
[mkv] | + FileName?: Megaton Shotblast!.log
[mkv] | + FileMimeType?: text/plain
[mkv] | + FileData?, length 859
[mkv] Attachment: Megaton Shotblast!.log, text/plain, 859 bytes
[mkv] | + an attachment...
[mkv] | + FileName?: Megaton Shotblast!.jpg
[mkv] | + FileMimeType?: image/jpeg
[mkv] | + FileData?, length 27814
[mkv] Attachment: Megaton Shotblast!.jpg, image/jpeg, 27814 bytes
[mkv] \---- [ parsing attachments ] ---------
[mkv] |+ found cluster, headers are parsed completely :)
==> Found audio stream: 1
[mkv] Track ID 1: audio (A_FLAC), -aid 0, -alang und
[mkv] No video track found/wanted.
Matroska file format detected.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
AUDIO: 44100 Hz, 2 ch, s16le, 200.0 kbit/14.17% (ratio: 25000->176400)
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio decoder)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
ao2: 44100 Hz 2 chans s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 8/8 (8192 bytes/frag) free: 65536
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...

somehow the chapterends aren't found correctly, maybe this is related?

Change History (3)

comment:1 Changed 13 years ago by reimar

Please upload this file to ftp://upload.mplayerhq.hu/MPlayer/incoming.

comment:2 Changed 13 years ago by stu50460@…

(In reply to comment #1)

Please upload this file to ftp://upload.mplayerhq.hu/MPlayer/incoming.

done

comment:3 Changed 13 years ago by reimar

  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from No chapter seeking in Audio-only-Matroska files to Seeking broken for audio-only Matroska files

Seeking did not work right at all for audio-only mkv files. Fixed in SVN
r20728. Sample moved to
http://samples.mplayerhq.hu/Matroska/chapters/audio_only_chapter_seekbroken.mka

Note: See TracTickets for help on using tickets.