[FFmpeg-trac] #7207(avformat:new): FFmpeg segmented output does not work
FFmpeg
trac at avcodec.org
Mon May 14 15:24:27 EEST 2018
#7207: FFmpeg segmented output does not work
-------------------------------------+-------------------------------------
Reporter: monakov | Owner:
Type: defect | Status: new
Priority: normal | Component: avformat
Version: unspecified | Resolution:
Keywords: segment pts | Blocked By:
av_read_frame | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by monakov):
Test command line (added -re option for confidence):
{{{
% ffmpeg -re -i http://bitmovin-a.akamaihd.net/content/playhouse-
vr/m3u8s/105560_video_1920_9000000.m3u8 -c copy -f segment -segment_time
10 part%03d.mp4
}}}
Complete ffmpeg output:
{{{
ffmpeg version N-91076-g10ed9f2 Copyright (c) 2000-2018 the FFmpeg
developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
configuration:
libavutil 56. 18.102 / 56. 18.102
libavcodec 58. 19.101 / 58. 19.101
libavformat 58. 13.102 / 58. 13.102
libavdevice 58. 4.100 / 58. 4.100
libavfilter 7. 22.100 / 7. 22.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
[hls,applehttp @ 0x3acc4c0] Opening
'http://bitmovin-a.akamaihd.net/content/playhouse-
vr/video/1920_9000000/hls/segment_0.ts' for reading
[hls,applehttp @ 0x3acc4c0] Opening
'http://bitmovin-a.akamaihd.net/content/playhouse-
vr/video/1920_9000000/hls/segment_1.ts' for reading
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_2.ts' for reading
Input #0, hls,applehttp, from 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/m3u8s/105560_video_1920_9000000.m3u8':
Duration: 00:02:17.00, start: 0.066733, bitrate: 0 kb/s
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p,
3840x1920 [SAR 1:1 DAR 2:1], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Metadata:
variant_bitrate : 0
[segment @ 0x3b87f80] Opening 'part000.mp4' for writing
Output #0, segment, to 'part%03d.mp4':
Metadata:
encoder : Lavf58.13.102
Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p,
3840x1920 [SAR 1:1 DAR 2:1], q=2-31, 29.97 fps, 29.97 tbr, 11988 tbn,
29.97 tbc
Metadata:
variant_bitrate : 0
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[segment @ 0x3b87f80] Timestamps are unset in a packet for stream 0. This
is deprecated and will stop working in the future. Fix your code to set
the timestamps properly
[mp4 @ 0x3b2bd40] Timestamps are unset in a packet for stream 0. This is
deprecated and will stop working in the future. Fix your code to set the
timestamps properly
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_3.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_4.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_5.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_6.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_7.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_8.ts' for reading
[mp4 @ 0x3b2bd40] pts has no valueA time=00:00:27.89 bitrate=N/A speed=
1x
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_9.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_10.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_11.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_12.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_13.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_14.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_15.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_16.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_17.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_18.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_19.ts' for reading
[mp4 @ 0x3b2bd40] pts has no valueA time=00:01:11.93 bitrate=N/A speed=
1x
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_20.ts' for reading
[mp4 @ 0x3b2bd40] pts has no valueA time=00:01:15.97 bitrate=N/A speed=
1x
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_21.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_22.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_23.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_24.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_25.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_26.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_27.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_28.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_29.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_30.ts' for reading
[mp4 @ 0x3b2bd40] pts has no valueA time=00:01:55.98 bitrate=N/A speed=
1x
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_31.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_32.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3af1a40] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_33.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[http @ 0x3ad71c0] Opening 'http://bitmovin-a.akamaihd.net/content
/playhouse-vr/video/1920_9000000/hls/segment_34.ts' for reading
[mp4 @ 0x3b2bd40] pts has no value
[mp4 @ 0x3b2bd40] pts has no valueA time=00:02:15.70 bitrate=N/A speed=
1x
frame= 4118 fps= 30 q=-1.0 Lsize=N/A time=00:02:17.30 bitrate=N/A speed=
1x
video:150714kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
FFmpeg was built from current github master:
https://github.com/FFmpeg/FFmpeg/commit/10ed9f2b12936a51047124358dffcee7dab8f421
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7207#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list