[FFmpeg-trac] #1003(avformat:open): matroska file hits eof after any seek
FFmpeg
trac at avcodec.org
Fri Feb 17 20:06:04 CET 2012
#1003: matroska file hits eof after any seek
------------------------------------+------------------------------------
Reporter: DonMoir | Owner:
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: mkv | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Changes (by cehoyos):
* keywords: => mkv
* status: new => open
* version: unspecified => git-master
* reproduced: 0 => 1
Comment:
Fails differently if the file is cut.
Sample uploaded to http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket1003/
{{{
$ ffmpeg -ss 1 -i bad_seek_matroska_eof.mkv out.avi
ffmpeg version N-37956-gd493170 Copyright (c) 2000-2012 the FFmpeg
developers
built on Feb 17 2012 19:42:03 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
libavutil 51. 39.100 / 51. 39.100
libavcodec 54. 3.100 / 54. 3.100
libavformat 54. 1.100 / 54. 1.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 62.101 / 2. 62.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
Input #0, matroska,webm, from 'bad_seek_matroska_eof.mkv':
Metadata:
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], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
title :
Backstreet.Boys.Live.From.O2.Arena.2008.HDTVRip.1080p.-VoLoNa
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
(default)
Metadata:
title : AC3 5.1 at 384Kbps
[buffer @ 0x1a57d00] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1
sws_param:
Incompatible sample format 's16' for codec 'ac3', auto-selecting format
'flt'
Output #0, avi, to 'out.avi':
Metadata:
INAM :
Backstreet.Boys.Live.From.O2.Arena.2008.HDTVRip.1080p.-VoLoNa by
HDTVshek.HET
ISFT : Lavf54.1.100
Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080
[SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 tbn, 23.98 tbc (default)
Metadata:
title :
Backstreet.Boys.Live.From.O2.Arena.2008.HDTVRip.1080p.-VoLoNa
Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz,
5.1(side), flt, 128 kb/s (default)
Metadata:
title : AC3 5.1 at 384Kbps
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> mpeg4)
Stream #0:1 -> #0:1 (ac3 -> ac3)
Press [q] to stop, [?] for help
frame= 0 fps= 0 q=0.0 Lsize= 10kB time=00:00:00.00 bitrate=
0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used)
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1003#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list