matroska file hits eof after any seek
|Reported by:||DonMoir||Owned by:|
|Blocking:||Reproduced by developer:||yes|
|Analyzed by developer:||no|
This file is probably a "bad" file.
http://sms.pangolin.com/temp/bad_seek_matroska_eof.mkv (103 mb)
VLC can seek into it effectively but it will end up breaking down with distorted frames.
ffdshow can seek into it but it is very slow.
Use avformat_seek_file at any timestamp including zero and the next packet read will fail.
avformat_seek_file returns zero as an indication of success.
The only recovery is to shut the file down and reopen it.
Any seek with ffplay, smplayer, my own app, just stops playback (because it will hit EOF) and you can't get out of it without closing the file.
If nothing else can be done about it, then at least a failure by avformat_seek_file would be good as long as it was able to continue to playback.
no errors reported by ffplay or ffmpeg. If you do ffmpeg -ss 10... it will claim nothing was encoded.
ffplay version N-37771-gfd0b8d5 Copyright (c) 2003-2012 the FFmpeg developers
built on Feb 11 2012 13:42:37 with gcc 4.6.2
libavutil 51. 39.100 / 51. 39.100
libavcodec 54. 1.100 / 54. 1.100
libavformat 54. 0.100 / 54. 0.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 62.100 / 2. 62.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, matroska,webm, from 'bad_seek_matroska_eof.mkv':
title : Backstreet.Boys.Live.From.O2.Arena.2008.HDTVRip.1080p.-VoLoNa? by HDTVshek.HET
Duration: 00:01:50.84, start: 0.000000, bitrate: 7683 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9],
Change History (3)
comment:1 Changed 5 years ago by cehoyos
- Keywords mkv added
- Reproduced by developer set
- Status changed from new to open
- Version changed from unspecified to git-master