[FFmpeg-trac] #6915(avformat:open): DASH audio segments duration doesn't match exactly with video segments duration.
FFmpeg
trac at avcodec.org
Fri Dec 22 02:34:29 EET 2017
#6915: DASH audio segments duration doesn't match exactly with video segments
duration.
------------------------------------+-------------------------------------
Reporter: beloko | Owner: stevenliu
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-------------------------------------
Comment (by stevenliu):
Replying to [comment:43 beloko]:
> What's lrint(1.50) will return ?
> 1 or 2
maybe need more check about it. :(
Whatever, applied j_karthic first, if there have player or user report the
bug, then fix bug is ok :D
{{{
MacBook:xxx StevenLiu$ ./ffmpeg -hide_banner -i
~/bbb_sunflower_1080p_30fps_normal.mp4 -g 40 -r 25 -x264opts "scenecut=-1"
-t 5 -vcodec libx264 -f mpegts a.ts
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/StevenLiu/bbb_sunflower_1080p_30fps_normal.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2013-12-16T17:44:39.000000Z
title : Big Buck Bunny, Sunflower version
artist : Blender Foundation 2008, Janus Bager Kristensen 2013
comment : Creative Commons Attribution 3.0 -
http://bbb3d.renderfarming.net
genre : Animation
composer : Sacha Goedegebure
Duration: 00:10:34.53, start: 0.000000, bitrate: 3481 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 2998 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc
(default)
Metadata:
creation_time : 2013-12-16T17:44:39.000000Z
handler_name : GPAC ISO Video Handler
Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo,
s16p, 160 kb/s (default)
Metadata:
creation_time : 2013-12-16T17:44:42.000000Z
handler_name : GPAC ISO Audio Handler
Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side),
fltp, 320 kb/s (default)
Metadata:
creation_time : 2013-12-16T17:44:42.000000Z
handler_name : GPAC ISO Audio Handler
Side data:
audio service type: main
File 'a.ts' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:2 -> #0:1 (ac3 (native) -> mp2 (native))
Press [q] to stop, [?] for help
[libx264 @ 0x7fcb0204b800] using SAR=1/1
[libx264 @ 0x7fcb0204b800] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x7fcb0204b800] profile High, level 4.0
Past duration 0.666664 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Output #0, mpegts, to 'a.ts':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
composer : Sacha Goedegebure
title : Big Buck Bunny, Sunflower version
artist : Blender Foundation 2008, Janus Bager Kristensen 2013
comment : Creative Commons Attribution 3.0 -
http://bbb3d.renderfarming.net
genre : Animation
encoder : Lavf58.3.100
Stream #0:0(und): Video: h264 (libx264), yuv420p(progressive),
1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 90k tbn, 25 tbc (default)
Metadata:
creation_time : 2013-12-16T17:44:39.000000Z
handler_name : GPAC ISO Video Handler
encoder : Lavc58.8.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1(und): Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
(default)
Metadata:
creation_time : 2013-12-16T17:44:42.000000Z
handler_name : GPAC ISO Audio Handler
encoder : Lavc58.8.100 mp2
Side data:
audio service type: main
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 0kB time=00:00:01.45 bitrate=
0.0kbits/s dup=0 drop=6 speed=2.88x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 0kB time=00:00:01.93 bitrate=
0.0kbits/s dup=0 drop=8 speed=1.71x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 79kB time=00:00:02.41 bitrate=
267.3kbits/s dup=0 drop=11 speed=1.46x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 132kB time=00:00:02.89 bitrate=
373.1kbits/s dup=0 drop=15 speed=1.34x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 219kB time=00:00:03.85 bitrate=
464.8kbits/s dup=0 drop=19 speed=1.39x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 252kB time=00:00:04.33 bitrate=
477.2kbits/s dup=0 drop=21 speed=1.32x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
frame= 123 fps= 22 q=-1.0 Lsize= 711kB time=00:00:05.00
bitrate=1162.7kbits/s dup=0 drop=24 speed=0.881x
video:401kB audio:235kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 11.713006%
[libx264 @ 0x7fcb0204b800] frame I:4 Avg QP:14.69 size: 34222
[libx264 @ 0x7fcb0204b800] frame P:46 Avg QP:16.78 size: 4717
[libx264 @ 0x7fcb0204b800] frame B:73 Avg QP:19.06 size: 776
[libx264 @ 0x7fcb0204b800] consecutive B-frames: 18.7% 4.9% 4.9% 71.5%
[libx264 @ 0x7fcb0204b800] mb I I16..4: 82.3% 12.4% 5.4%
[libx264 @ 0x7fcb0204b800] mb P I16..4: 15.6% 4.0% 0.2% P16..4: 4.8%
0.4% 0.4% 0.0% 0.0% skip:74.6%
[libx264 @ 0x7fcb0204b800] mb B I16..4: 4.7% 0.1% 0.0% B16..8: 0.9%
0.1% 0.0% direct: 3.6% skip:90.6% L0:37.6% L1:56.9% BI: 5.5%
[libx264 @ 0x7fcb0204b800] 8x8 transform intra:14.5% inter:60.5%
[libx264 @ 0x7fcb0204b800] coded y,uvDC,uvAC intra: 4.0% 12.3% 3.0% inter:
0.6% 4.2% 0.4%
[libx264 @ 0x7fcb0204b800] i16 v,h,dc,p: 86% 10% 3% 1%
[libx264 @ 0x7fcb0204b800] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 14% 58% 2%
3% 2% 3% 1% 2%
[libx264 @ 0x7fcb0204b800] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 24% 24% 4%
4% 5% 5% 3% 4%
[libx264 @ 0x7fcb0204b800] i8c dc,h,v,p: 79% 12% 8% 1%
[libx264 @ 0x7fcb0204b800] Weighted P-Frames: Y:45.7% UV:43.5%
[libx264 @ 0x7fcb0204b800] ref P L0: 84.4% 5.6% 8.2% 1.7% 0.2%
[libx264 @ 0x7fcb0204b800] ref B L0: 73.0% 23.8% 3.3%
[libx264 @ 0x7fcb0204b800] ref B L1: 94.6% 5.4%
[libx264 @ 0x7fcb0204b800] kb/s:667.49
MacBook:xxx StevenLiu$ rm -rf fileSequence* *.m3u8
MacBook:xxx StevenLiu$ mediafilesegmenter -A -t 1 a.ts
Dec 22 2017 08:28:11.281: Processing file
/Users/StevenLiu/multimedia/ffmpeg/xxx/a.ts
Dec 22 2017 08:28:11.298: Finalized fileSequence0.ts
Dec 22 2017 08:28:11.298: segment bitrate 498.20 kbits/sec is new max
Dec 22 2017 08:28:11.299: Finalized fileSequence1.ts
Dec 22 2017 08:28:11.301: Finalized fileSequence2.ts
Dec 22 2017 08:28:11.301: segment does not contain sync frame
Dec 22 2017 08:28:11.303: Finalized fileSequence3.ts
Dec 22 2017 08:28:11.309: Finalized fileSequence4.ts
Dec 22 2017 08:28:11.309: segment bitrate 2.05 Mbits/sec is new max
Dec 22 2017 08:28:11.311: average bit rate is 693.92 kbits/sec - max file
bit rate is 2.05 Mbits/sec
MacBook:xxx StevenLiu$ cat prog_index.m3u8
#EXTM3U
#EXT-X-TARGETDURATION:1
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:0.96000,
fileSequence0.ts
#EXTINF:1.00000,
fileSequence1.ts
#EXTINF:1.00000,
fileSequence2.ts
#EXTINF:1.00000,
fileSequence3.ts
#EXTINF:0.96000,
fileSequence4.ts
#EXT-X-ENDLIST
MacBook:xxx StevenLiu$ cat iframe_index.m3u8
#EXTM3U
#EXT-X-TARGETDURATION:1
#EXT-X-VERSION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-I-FRAMES-ONLY
#EXTINF:1.60000,
#EXT-X-BYTERANGE:1316 at 376
fileSequence0.ts
#EXTINF:1.60000,
#EXT-X-BYTERANGE:32900 at 12408
fileSequence1.ts
#EXTINF:1.60000,
#EXT-X-BYTERANGE:28388 at 1504
fileSequence3.ts
#EXTINF:0.04000,
#EXT-X-BYTERANGE:78020 at 165816
fileSequence4.ts
#EXT-X-ENDLIST
MacBook:xxx StevenLiu$ ./ffmpeg -hide_banner -i
~/bbb_sunflower_1080p_30fps_normal.mp4 -g 48 -r 25 -x264opts "scenecut=-1"
-t 5 -vcodec libx264 -f mpegts a.ts
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/StevenLiu/bbb_sunflower_1080p_30fps_normal.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2013-12-16T17:44:39.000000Z
title : Big Buck Bunny, Sunflower version
artist : Blender Foundation 2008, Janus Bager Kristensen 2013
comment : Creative Commons Attribution 3.0 -
http://bbb3d.renderfarming.net
genre : Animation
composer : Sacha Goedegebure
Duration: 00:10:34.53, start: 0.000000, bitrate: 3481 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 2998 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc
(default)
Metadata:
creation_time : 2013-12-16T17:44:39.000000Z
handler_name : GPAC ISO Video Handler
Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo,
s16p, 160 kb/s (default)
Metadata:
creation_time : 2013-12-16T17:44:42.000000Z
handler_name : GPAC ISO Audio Handler
Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side),
fltp, 320 kb/s (default)
Metadata:
creation_time : 2013-12-16T17:44:42.000000Z
handler_name : GPAC ISO Audio Handler
Side data:
audio service type: main
File 'a.ts' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:2 -> #0:1 (ac3 (native) -> mp2 (native))
Press [q] to stop, [?] for help
[libx264 @ 0x7f8eb6040800] using SAR=1/1
[libx264 @ 0x7f8eb6040800] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x7f8eb6040800] profile High, level 4.0
Past duration 0.666664 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Output #0, mpegts, to 'a.ts':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
composer : Sacha Goedegebure
title : Big Buck Bunny, Sunflower version
artist : Blender Foundation 2008, Janus Bager Kristensen 2013
comment : Creative Commons Attribution 3.0 -
http://bbb3d.renderfarming.net
genre : Animation
encoder : Lavf58.3.100
Stream #0:0(und): Video: h264 (libx264), yuv420p(progressive),
1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 90k tbn, 25 tbc (default)
Metadata:
creation_time : 2013-12-16T17:44:39.000000Z
handler_name : GPAC ISO Video Handler
encoder : Lavc58.8.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1(und): Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
(default)
Metadata:
creation_time : 2013-12-16T17:44:42.000000Z
handler_name : GPAC ISO Audio Handler
encoder : Lavc58.8.100 mp2
Side data:
audio service type: main
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 0kB time=00:00:01.93 bitrate=
0.0kbits/s dup=0 drop=8 speed=1.78x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 84kB time=00:00:02.41 bitrate=
284.1kbits/s dup=0 drop=12 speed=1.47x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 144kB time=00:00:03.37 bitrate=
349.9kbits/s dup=0 drop=16 speed=1.54x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 219kB time=00:00:03.85 bitrate=
465.6kbits/s dup=0 drop=19 speed=1.41x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 256kB time=00:00:04.33 bitrate=
483.9kbits/s dup=0 drop=22 speed=1.32x
Past duration 0.999992 too large
Past duration 0.833321 too large
frame= 123 fps= 22 q=-1.0 Lsize= 627kB time=00:00:05.00
bitrate=1025.4kbits/s dup=0 drop=24 speed=0.901x
video:323kB audio:235kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 12.195335%
[libx264 @ 0x7f8eb6040800] frame I:3 Avg QP:15.49 size: 16217
[libx264 @ 0x7f8eb6040800] frame P:48 Avg QP:16.97 size: 4849
[libx264 @ 0x7f8eb6040800] frame B:72 Avg QP:19.26 size: 690
[libx264 @ 0x7f8eb6040800] consecutive B-frames: 19.5% 6.5% 2.4% 71.5%
[libx264 @ 0x7f8eb6040800] mb I I16..4: 95.0% 0.7% 4.3%
[libx264 @ 0x7f8eb6040800] mb P I16..4: 15.6% 4.4% 0.2% P16..4: 5.1%
0.5% 0.4% 0.0% 0.0% skip:73.9%
[libx264 @ 0x7f8eb6040800] mb B I16..4: 3.7% 0.0% 0.0% B16..8: 0.9%
0.1% 0.0% direct: 2.8% skip:92.4% L0:40.4% L1:55.0% BI: 4.6%
[libx264 @ 0x7f8eb6040800] 8x8 transform intra:14.0% inter:62.0%
[libx264 @ 0x7f8eb6040800] coded y,uvDC,uvAC intra: 3.0% 10.9% 2.1% inter:
0.6% 3.8% 0.4%
[libx264 @ 0x7f8eb6040800] i16 v,h,dc,p: 85% 11% 3% 1%
[libx264 @ 0x7f8eb6040800] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 13% 62% 2%
2% 2% 2% 1% 1%
[libx264 @ 0x7f8eb6040800] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 25% 28% 4%
3% 4% 3% 2% 3%
[libx264 @ 0x7f8eb6040800] i8c dc,h,v,p: 79% 12% 8% 0%
[libx264 @ 0x7f8eb6040800] Weighted P-Frames: Y:47.9% UV:45.8%
[libx264 @ 0x7f8eb6040800] ref P L0: 80.9% 6.1% 11.2% 1.6% 0.2%
[libx264 @ 0x7f8eb6040800] ref B L0: 69.0% 28.0% 3.0%
[libx264 @ 0x7f8eb6040800] ref B L1: 93.6% 6.4%
[libx264 @ 0x7f8eb6040800] kb/s:538.42
MacBook:xxx StevenLiu$ rm -rf fileSequence* *.m3u8
MacBook:xxx StevenLiu$ mediafilesegmenter -A -t 1 a.ts
Dec 22 2017 08:29:16.221: Processing file
/Users/StevenLiu/multimedia/ffmpeg/xxx/a.ts
Dec 22 2017 08:29:16.239: Finalized fileSequence0.ts
Dec 22 2017 08:29:16.239: segment bitrate 498.20 kbits/sec is new max
Dec 22 2017 08:29:16.240: Finalized fileSequence1.ts
Dec 22 2017 08:29:16.241: Finalized fileSequence2.ts
Dec 22 2017 08:29:16.241: segment does not contain sync frame
Dec 22 2017 08:29:16.242: Finalized fileSequence3.ts
Dec 22 2017 08:29:16.244: Finalized fileSequence4.ts
Dec 22 2017 08:29:16.244: segment bitrate 1.53 Mbits/sec is new max
Dec 22 2017 08:29:16.244: segment does not contain sync frame
Dec 22 2017 08:29:16.245: average bit rate is 561.55 kbits/sec - max file
bit rate is 1.53 Mbits/sec
MacBook:xxx StevenLiu$ cat prog_index.m3u8
#EXTM3U
#EXT-X-TARGETDURATION:1
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:0.96000,
fileSequence0.ts
#EXTINF:1.00000,
fileSequence1.ts
#EXTINF:1.00000,
fileSequence2.ts
#EXTINF:1.00000,
fileSequence3.ts
#EXTINF:0.96000,
fileSequence4.ts
#EXT-X-ENDLIST
MacBook:xxx StevenLiu$ cat iframe_index.m3u8
#EXTM3U
#EXT-X-TARGETDURATION:1
#EXT-X-VERSION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-I-FRAMES-ONLY
#EXTINF:1.92000,
#EXT-X-BYTERANGE:1316 at 376
fileSequence0.ts
#EXTINF:1.92000,
#EXT-X-BYTERANGE:32336 at 15228
fileSequence1.ts
#EXTINF:1.00000,
#EXT-X-BYTERANGE:16544 at 22936
fileSequence3.ts
#EXT-X-ENDLIST
MacBook:xxx StevenLiu$ ./ffmpeg -hide_banner -i
~/bbb_sunflower_1080p_30fps_normal.mp4 -g 49 -r 25 -x264opts "scenecut=-1"
-t 5 -vcodec libx264 -f mpegts a.ts
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/StevenLiu/bbb_sunflower_1080p_30fps_normal.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2013-12-16T17:44:39.000000Z
title : Big Buck Bunny, Sunflower version
artist : Blender Foundation 2008, Janus Bager Kristensen 2013
comment : Creative Commons Attribution 3.0 -
http://bbb3d.renderfarming.net
genre : Animation
composer : Sacha Goedegebure
Duration: 00:10:34.53, start: 0.000000, bitrate: 3481 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 2998 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc
(default)
Metadata:
creation_time : 2013-12-16T17:44:39.000000Z
handler_name : GPAC ISO Video Handler
Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo,
s16p, 160 kb/s (default)
Metadata:
creation_time : 2013-12-16T17:44:42.000000Z
handler_name : GPAC ISO Audio Handler
Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side),
fltp, 320 kb/s (default)
Metadata:
creation_time : 2013-12-16T17:44:42.000000Z
handler_name : GPAC ISO Audio Handler
Side data:
audio service type: main
File 'a.ts' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:2 -> #0:1 (ac3 (native) -> mp2 (native))
Press [q] to stop, [?] for help
[libx264 @ 0x7f82bc0a1c00] using SAR=1/1
[libx264 @ 0x7f82bc0a1c00] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x7f82bc0a1c00] profile High, level 4.0
Past duration 0.666664 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Output #0, mpegts, to 'a.ts':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
composer : Sacha Goedegebure
title : Big Buck Bunny, Sunflower version
artist : Blender Foundation 2008, Janus Bager Kristensen 2013
comment : Creative Commons Attribution 3.0 -
http://bbb3d.renderfarming.net
genre : Animation
encoder : Lavf58.3.100
Stream #0:0(und): Video: h264 (libx264), yuv420p(progressive),
1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 90k tbn, 25 tbc (default)
Metadata:
creation_time : 2013-12-16T17:44:39.000000Z
handler_name : GPAC ISO Video Handler
encoder : Lavc58.8.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1(und): Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
(default)
Metadata:
creation_time : 2013-12-16T17:44:42.000000Z
handler_name : GPAC ISO Audio Handler
encoder : Lavc58.8.100 mp2
Side data:
audio service type: main
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 0kB time=00:00:01.45 bitrate=
0.0kbits/s dup=0 drop=6 speed= 2.9x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 0kB time=00:00:01.64 bitrate=
0.0kbits/s dup=0 drop=8 speed=1.64x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 62kB time=00:00:01.93 bitrate=
261.3kbits/s dup=0 drop=10 speed=1.29x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 122kB time=00:00:02.89 bitrate=
344.6kbits/s dup=0 drop=14 speed=1.44x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 176kB time=00:00:03.85 bitrate=
374.2kbits/s dup=0 drop=18 speed= 1.5x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large 247kB time=00:00:04.33 bitrate=
467.1kbits/s dup=0 drop=21 speed=1.41x
Past duration 0.999992 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
Past duration 0.833321 too large
frame= 123 fps= 21 q=-1.0 Lsize= 633kB time=00:00:05.00
bitrate=1036.2kbits/s dup=0 drop=24 speed=0.87x
video:328kB audio:235kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 12.390260%
[libx264 @ 0x7f82bc0a1c00] frame I:3 Avg QP:15.18 size: 15726
[libx264 @ 0x7f82bc0a1c00] frame P:46 Avg QP:17.19 size: 5047
[libx264 @ 0x7f82bc0a1c00] frame B:74 Avg QP:19.54 size: 768
[libx264 @ 0x7f82bc0a1c00] consecutive B-frames: 17.9% 3.3% 7.3% 71.5%
[libx264 @ 0x7f82bc0a1c00] mb I I16..4: 95.1% 0.6% 4.2%
[libx264 @ 0x7f82bc0a1c00] mb P I16..4: 17.7% 4.6% 0.2% P16..4: 5.2%
0.5% 0.4% 0.0% 0.0% skip:71.4%
[libx264 @ 0x7f82bc0a1c00] mb B I16..4: 4.6% 0.1% 0.0% B16..8: 0.9%
0.1% 0.0% direct: 3.5% skip:90.7% L0:39.3% L1:55.7% BI: 5.0%
[libx264 @ 0x7f82bc0a1c00] 8x8 transform intra:12.8% inter:63.1%
[libx264 @ 0x7f82bc0a1c00] coded y,uvDC,uvAC intra: 2.7% 10.2% 1.9% inter:
0.6% 4.4% 0.4%
[libx264 @ 0x7f82bc0a1c00] i16 v,h,dc,p: 87% 10% 3% 1%
[libx264 @ 0x7f82bc0a1c00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 12% 62% 2%
2% 2% 2% 1% 1%
[libx264 @ 0x7f82bc0a1c00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 25% 28% 4%
3% 4% 3% 2% 3%
[libx264 @ 0x7f82bc0a1c00] i8c dc,h,v,p: 81% 12% 7% 0%
[libx264 @ 0x7f82bc0a1c00] Weighted P-Frames: Y:45.7% UV:43.5%
[libx264 @ 0x7f82bc0a1c00] ref P L0: 81.3% 5.5% 11.3% 1.6% 0.2%
[libx264 @ 0x7f82bc0a1c00] ref B L0: 68.1% 28.9% 3.0%
[libx264 @ 0x7f82bc0a1c00] ref B L1: 94.2% 5.8%
[libx264 @ 0x7f82bc0a1c00] kb/s:546.60
MacBook:xxx StevenLiu$ rm -rf fileSequence* *.m3u8
MacBook:xxx StevenLiu$ mediafilesegmenter -A -t 1 a.ts
Dec 22 2017 08:30:10.508: Processing file
/Users/StevenLiu/multimedia/ffmpeg/xxx/a.ts
Dec 22 2017 08:30:10.526: Finalized fileSequence0.ts
Dec 22 2017 08:30:10.526: segment bitrate 498.20 kbits/sec is new max
Dec 22 2017 08:30:10.527: Finalized fileSequence1.ts
Dec 22 2017 08:30:10.528: segment does not contain sync frame
Dec 22 2017 08:30:10.529: Finalized fileSequence2.ts
Dec 22 2017 08:30:10.532: Finalized fileSequence3.ts
Dec 22 2017 08:30:10.539: Finalized fileSequence4.ts
Dec 22 2017 08:30:10.540: segment bitrate 1.54 Mbits/sec is new max
Dec 22 2017 08:30:10.540: segment does not contain sync frame
Dec 22 2017 08:30:10.541: average bit rate is 569.50 kbits/sec - max file
bit rate is 1.54 Mbits/sec
MacBook:xxx StevenLiu$ cat prog_index.m3u8
#EXTM3U
#EXT-X-TARGETDURATION:1
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:0.96000,
fileSequence0.ts
#EXTINF:1.00000,
fileSequence1.ts
#EXTINF:1.00000,
fileSequence2.ts
#EXTINF:1.00000,
fileSequence3.ts
#EXTINF:0.96000,
fileSequence4.ts
#EXT-X-ENDLIST
MacBook:xxx StevenLiu$ cat iframe_index.m3u8
#EXTM3U
#EXT-X-TARGETDURATION:1
#EXT-X-VERSION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-I-FRAMES-ONLY
#EXTINF:1.96000,
#EXT-X-BYTERANGE:1316 at 376
fileSequence0.ts
#EXTINF:1.96000,
#EXT-X-BYTERANGE:32336 at 376
fileSequence2.ts
#EXTINF:0.92000,
#EXT-X-BYTERANGE:15040 at 30456
fileSequence3.ts
#EXT-X-ENDLIST
MacBook:xxx StevenLiu$
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6915#comment:45>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list