Opened 5 years ago
Last modified 5 years ago
#7966 new defect
Application provided duration: -3 / timestamp: 1630179 is out of range for mov/mp4 format
Reported by: | Alfred | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
How to reproduce:
% Johns-MacBook-Pro:priv alfredh$ /usr/local/bin/ffmpeg -y -listen 1 -i rtmp://127.0.0.1:1935/live -f dash out.mpd ffmpeg version N-94063-g86f04b918c Copyright (c) 2000-2019 the FFmpeg developers built with Apple LLVM version 9.0.0 (clang-900.0.39.2) configuration: libavutil 56. 29.100 / 56. 29.100 libavcodec 58. 53.100 / 58. 53.100 libavformat 58. 27.103 / 58. 27.103 libavdevice 58. 7.100 / 58. 7.100 libavfilter 7. 55.100 / 7. 55.100 libswscale 5. 4.101 / 5. 4.101 libswresample 3. 4.100 / 3. 4.100 [rtmp @ 0x7f8f4c50b940] Unexpected stream bbbb, expecting live Last message repeated 1 times Input #0, flv, from 'rtmp://127.0.0.1:1935/live': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf58.27.103 Duration: 00:00:00.00, start: 0.017000, bitrate: N/A Stream #0:0: Video: h264 (Main), yuv420p(progressive), 854x480 [SAR 1:1 DAR 427:240], 502 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_videotoolbox)) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help [dash @ 0x7f8f4e810200] Opening 'init-stream0.mp4' for writing [dash @ 0x7f8f4e810200] Opening 'init-stream1.mp4' for writing Output #0, dash, to 'out.mpd': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf58.27.103 Stream #0:0: Video: h264 (h264_videotoolbox), yuv420p, 854x480 [SAR 1:1 DAR 427:240], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc Metadata: encoder : Lavc58.53.100 h264_videotoolbox Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s Metadata: encoder : Lavc58.53.100 aac [h264_videotoolbox @ 0x7f8f4e811a00] Color range not set for yuv420p. Using MPEG range. [dash @ 0x7f8f4e810200] Opening 'chunk-stream1-00001.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'chunk-stream0-00001.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'out.mpd.tmp' for writingate=N/A dup=1 drop=0 speed=1.39x [dash @ 0x7f8f4e810200] Opening 'chunk-stream0-00002.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'chunk-stream1-00002.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'out.mpd.tmp' for writingate=N/A dup=1 drop=0 speed=1.17x [dash @ 0x7f8f4e810200] Opening 'chunk-stream0-00003.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'chunk-stream1-00003.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'out.mpd.tmp' for writingate=N/A dup=1 drop=0 speed=1.11x [dash @ 0x7f8f4e810200] Opening 'chunk-stream0-00004.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'chunk-stream1-00004.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'out.mpd.tmp' for writingate=N/A dup=1 drop=0 speed=1.08x [dash @ 0x7f8f4e810200] Opening 'chunk-stream0-00005.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'chunk-stream1-00005.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'out.mpd.tmp' for writingate=N/A dup=1 drop=0 speed=1.06x [dash @ 0x7f8f4e810200] Opening 'chunk-stream0-00006.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'chunk-stream1-00006.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'out.mpd.tmp' for writingate=N/A dup=1 drop=0 speed=1.05x [dash @ 0x7f8f4e810200] Opening 'chunk-stream0-00007.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'chunk-stream1-00007.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'out.mpd.tmp' for writingate=N/A dup=1 drop=0 speed=1.04x [dash @ 0x7f8f4e810200] Opening 'chunk-stream0-00008.mp4.tmp' for writing [mp4 @ 0x7f8f4eb17400] Application provided duration: -3 / timestamp: 1630179 is out of range for mov/mp4 format .... step=2 duration=1024 [dash @ 0x7f8f4e810200] Opening 'chunk-stream1-00008.mp4.tmp' for writing [dash @ 0x7f8f4e810200] Opening 'out.mpd.tmp' for writingate=N/A dup=1 drop=0 speed=1.04x frame= 960 fps= 26 q=-0.0 Lsize=N/A time=00:00:38.36 bitrate=N/A dup=1 drop=0 speed=1.04x video:994kB audio:585kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [aac @ 0x7f8f4e812c00] Qavg: 2486.081 ffmpeg version N-94063-g86f04b918c built on 2019-06-20
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Change History (2)
comment:1 by , 5 years ago
Component: | avformat → undetermined |
---|---|
Keywords: | timestamps removed |
comment:2 by , 5 years ago
if I change the output from DASH to MP4 then the warning is NOT printed.
the warning is coming from the audio stream, possibly because the RTMP protocol
is truncating the timestamps to 1/1000 (milliseconds).
Note:
See TracTickets
for help on using tickets.
Is the issue also reproducible if you output to
mp4
ormov
?Is the issue also reproducible with the
x264
encoder?