[FFmpeg-trac] #6925(avformat:new): Dash demuxer does not stop after -t <timeout> expires
FFmpeg
trac at avcodec.org
Sat Dec 23 03:56:38 EET 2017
#6925: Dash demuxer does not stop after -t <timeout> expires
----------------------------------+--------------------------------------
Reporter: tmm1 | Type: defect
Status: new | Priority: important
Component: avformat | Version: git-master
Keywords: dash | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
'''Summary of the bug:'''
When using `-t <timeout>` on an output being fed by a dash muxed input,
the ffmpeg process does not stop when the timeout is reached. No output
packets are created, but the input keeps reading until the source EOFs.
'''How to reproduce:'''
Below you can see that `time=00:00:01.96`, but fps and speed approach 0
while the process keeps running and printing out "Opening segment-XX.m4s"
{{{
./ffmpeg -f dash -i https://20skyfiregce-
vimeo.akamaized.net/exp\=1513997557\~acl\=%2F150608819%2F%2A\~hmac\=66533877b715b5446be24c122d9727f64046feac273cd7557ef9a825316b41cd/150608819/video/606502191,606502196,606502193,606502192/master.mpd\?base64_init\=1
-t 2 -c copy -f null /dev/null
ffmpeg version N-89577-gcdd72a654d Copyright (c) 2000-2017 the FFmpeg
developers
built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
configuration: --prefix=/tmp/ffmpeg-master --enable-libxml2 --enable-
shared --disable-static --disable-stripping
libavutil 56. 6.100 / 56. 6.100
libavcodec 58. 8.100 / 58. 8.100
libavformat 58. 3.100 / 58. 3.100
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 7.100 / 7. 7.100
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
[dash @ 0x7fbf7a003400] Opening 'https://20skyfiregce-
vimeo.akamaized.net/exp=1513997557~acl=%2F150608819%2F%2A~hmac=66533877b715b5446be24c122d9727f64046feac273cd7557ef9a825316b41cd/150608819/video/606502191/chop/segment-0.mp4'
for reading
[dash @ 0x7fbf7a003400] Could not read complete fragment.
[dash @ 0x7fbf7a003400] Opening 'https://20skyfiregce-
vimeo.akamaized.net/exp=1513997557~acl=%2F150608819%2F%2A~hmac=66533877b715b5446be24c122d9727f64046feac273cd7557ef9a825316b41cd/150608819/video/606502191/chop/segment-0.m4s'
for reading
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fbf7b014a00] Found duplicated MOOV Atom.
Skipped it
[dash @ 0x7fbf7a003400] Opening 'https://20skyfiregce-
vimeo.akamaized.net/exp=1513997557~acl=%2F150608819%2F%2A~hmac=66533877b715b5446be24c122d9727f64046feac273cd7557ef9a825316b41cd/150608819/video/606502191/chop/segment-1.m4s'
for reading
Input #0, dash, from 'https://20skyfiregce-
vimeo.akamaized.net/exp=1513997557~acl=%2F150608819%2F%2A~hmac=66533877b715b5446be24c122d9727f64046feac273cd7557ef9a825316b41cd/150608819/video/606502191,606502196,606502193,606502192/master.mpd?base64_init=1':
Duration: 00:14:59.00, start: 0.000000, bitrate: 0 kb/s
Program 0
Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv,
bt470bg/smpte170m/bt470bg), 640x360 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98
tbr, 24k tbn, 47.95 tbc
No Program
Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp
Output #0, null, to '/dev/null':
Metadata:
encoder : Lavf58.3.100
Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv,
bt470bg/smpte170m/bt470bg), 640x360 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps,
23.98 tbr, 24k tbn, 24k tbc
Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[dash @ 0x7fbf7a003400] DTS 0 < 141141 out of order
[https @ 0x7fbf7b809e00] Opening 'https://20skyfiregce-
vimeo.akamaized.net/exp=1513997557~acl=%2F150608819%2F%2A~hmac=66533877b715b5446be24c122d9727f64046feac273cd7557ef9a825316b41cd/150608819/video/606502191/chop/segment-2.m4s'
for reading
[dash @ 0x7fbf7a003400] Opening 'https://20skyfiregce-
vimeo.akamaized.net/exp=1513997557~acl=%2F150608819%2F%2A~hmac=66533877b715b5446be24c122d9727f64046feac273cd7557ef9a825316b41cd/150608819/video/606502191/chop/segment-2.m4s'
for reading
[https @ 0x7fbf7b809e00] Opening 'https://20skyfiregce-
vimeo.akamaized.net/exp=1513997557~acl=%2F150608819%2F%2A~hmac=66533877b715b5446be24c122d9727f64046feac273cd7557ef9a825316b41cd/150608819/video/606502191/chop/segment-3.m4s'
for reading
[dash @ 0x7fbf7a003400] Opening 'https://20skyfiregce-
vimeo.akamaized.net/exp=1513997557~acl=%2F150608819%2F%2A~hmac=66533877b715b5446be24c122d9727f64046feac273cd7557ef9a825316b41cd/150608819/video/606502191/chop/segment-3.m4s'
for reading
[https @ 0x7fbf7b809e00] Opening 'https://20skyfiregce-
vimeo.akamaized.net/exp=1513997557~acl=%2F150608819%2F%2A~hmac=66533877b715b5446be24c122d9727f64046feac273cd7557ef9a825316b41cd/150608819/video/606502191/chop/segment-4.m4s'
for reading
[dash @ 0x7fbf7a003400] Opening 'https://20skyfiregce-
vimeo.akamaized.net/exp=1513997557~acl=%2F150608819%2F%2A~hmac=66533877b715b5446be24c122d9727f64046feac273cd7557ef9a825316b41cd/150608819/video/606502191/chop/segment-4.m4s'
for reading
...
frame= 50 fps=0.4 q=-1.0 Lsize=N/A time=00:00:01.96 bitrate=N/A
speed=0.0173x
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6925>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list