[FFmpeg-trac] #5977(avformat:open): Impossible to play incomplete mkv videos (was: Impossible to play incomplete H.264 "mkv" or "ts" videos)
FFmpeg
trac at avcodec.org
Thu Nov 24 12:05:41 EET 2016
#5977: Impossible to play incomplete mkv videos
-------------------------------------+-------------------------------------
Reporter: thagoodboy | Owner:
Type: defect | Status: open
Priority: important | Component: avformat
Version: git-master | Resolution:
Keywords: mkv | Blocked By:
regression | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* status: new => open
* reproduced: 0 => 1
* component: undetermined => avformat
* priority: normal => important
* version: unspecified => git-master
* keywords: => mkv regression
Comment:
For future tickets: Please remember to always provide a minimal command
line that allows to reproduce the issue together with the complete, uncut
console output.
Regression since ee888cfbe777cd2916a3548c750e433ab8f8e6a5
{{{
$ ffmpeg -f lavfi -i testsrc out.mkv
ffmpeg version N-82629-g9955123 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 41.101 / 55. 41.101
libavcodec 57. 66.107 / 57. 66.107
libavformat 57. 58.100 / 57. 58.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 67.100 / 6. 67.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
Input #0, lavfi, from 'testsrc':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
[SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Output #0, matroska, to 'out.mkv':
Metadata:
encoder : Lavf57.58.100
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240 [SAR
1:1 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc
Metadata:
encoder : Lavc57.66.107 mpeg4
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
frame= 6069 fps=1286 q=9.9 Lsize= 6265kB time=00:04:02.72 bitrate=
211.4kbits/s speed=51.4x
}}}
{{{
$ ffmpeg -i out.mkv
ffmpeg version N-82629-g9955123 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 41.101 / 55. 41.101
libavcodec 57. 66.107 / 57. 66.107
libavformat 57. 58.100 / 57. 58.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 67.100 / 6. 67.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
[matroska,webm @ 0x204b280] Duplicate element
Input #0, matroska,webm, from 'out.mkv':
Duration: N/A, bitrate: N/A
At least one output file must be specified
}}}
It is unlikely that such an issue is reproducible with mpegts output.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5977#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list