[FFmpeg-trac] #6915(avformat:new): DASH audio segments duration doesn't match exactly with video segments duration.
FFmpeg
trac at avcodec.org
Thu Dec 14 23:28:02 EET 2017
#6915: DASH audio segments duration doesn't match exactly with video segments
duration.
----------------------------------+--------------------------------------
Reporter: beloko | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
I tried to produce an HLS fMP4 stream through DASH segmenter. Using its
new parameter -hls_playlist 1. Also I set segments duration to 4 seconds.
Using the -force_key_frames "expr:gte(t,n_forced*4)" parameter and the
-min_seg_duration 4000000 parameter.
Here is my command line processed :
{{{
ffmpeg.exe -i
"http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4"
-loglevel verbose -threads 0 -c:a libfdk_aac -sn -c:v libx264 -x264opts
scenecut=-1 -force_key_frames "expr:gte(t,n_forced*4)" -r 25
-min_seg_duration 4000000 -window_size 99999 -t 30 -hls_playlist 1
"C:\inetpub\wwwroot\fmp4_x264\big_bunny.mpd"
ffmpeg version N-89478-g2e391a5-Reino Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 7.1.0 (GCC)
configuration: --arch=x86_64 --target-os=mingw32 --cross-
prefix=/home/beloko/FFMpeg_Builder/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-
--pkg-config=pkg-config --pkg-config-flags=--static --extra-version=Reino
--enable-gray --enable-version3 --disable-debug --disable-doc --disable-
htmlpages --disable-manpages --disable-podpages --disable-txtpages
--disable-w32threads --enable-fontconfig --enable-gmp --enable-gnutls
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libflite --enable-libfreetype --enable-libfribidi --enable-libgme
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-
libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-
libtwolame --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwebp --enable-libzimg --enable-libzvbi --extra-
cflags=-DLIBTWOLAME_STATIC --extra-cflags=-DMODPLUG_STATIC --extra-
cflags=-DCACA_STATIC --enable-gpl --enable-avisynth --enable-frei0r
--enable-filter=frei0r --enable-librubberband --enable-libvidstab
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable-libmfx --enable-avresample --extra-cflags='-mtune=generic'
--extra-cflags=-O3 --enable-static --disable-shared
--prefix=/home/beloko/FFMpeg_Builder/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32
--enable-nonfree --enable-decklink --enable-libfdk-aac
libavutil 56. 5.100 / 56. 5.100
libavcodec 58. 6.103 / 58. 6.103
libavformat 58. 3.100 / 58. 3.100
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 7.100 / 7. 7.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
[h264 @ 0000025fc6d6fe60] Reinit context to 1920x1088, pix_fmt: yuv420p
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'http://distribution.bbb3d.renderfarming.net/video/mp4/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), 1 reference frame (avc1 /
0x31637661), yuv420p(left), 1920x1080 (1920x1088) [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
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:2 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[h264 @ 0000025fc6d5a800] Reinit context to 1920x1088, pix_fmt: yuv420p
[graph 0 input from stream 0:0 @ 0000025fc77caf00] w:1920 h:1080
pixfmt:yuv420p tb:1/30000 fr:30/1 sar:1/1 sws_param:flags=2
[libx264 @ 0000025fc77d7ea0] using SAR=1/1
[libx264 @ 0000025fc77d7ea0] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0000025fc77d7ea0] profile High, level 4.0
[libx264 @ 0000025fc77d7ea0] 264 - core 148 r2795M aaa9aa8 - H.264/MPEG-4
AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html -
options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7
psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12
lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
scenecut=0 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
*** 2 dup!
Past duration 0.666664 too large
Past duration 0.833321 too large
Past duration 0.999992 too large
[graph_1_in_0_2 @ 0000025fc77d7d40] tb:1/48000 samplefmt:fltp
samplerate:48000 chlayout:0x60f
[format_out_0_1 @ 0000025fcb10ee40] auto-inserting filter
'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter
'format_out_0_1'
[auto_resampler_0 @ 0000025fc77d5ba0] ch:6 chl:5.1(side) fmt:fltp
r:48000Hz -> ch:6 chl:5.1 fmt:s16 r:48000Hz
[dash @ 0000025fc744d8c0] No bit rate set for stream 0
[dash @ 0000025fc744d8c0] Opening 'init-stream0.m4s' for writing
[mp4 @ 0000025fdd592300] Empty MOOV enabled; disabling automatic bitstream
filtering
[dash @ 0000025fc744d8c0] Representation 0 init segment will be written
to: init-stream0.m4s
[dash @ 0000025fc744d8c0] Opening 'init-stream1.m4s' for writing
[mp4 @ 0000025fdd5d4b80] Empty MOOV enabled; disabling automatic bitstream
filtering
[dash @ 0000025fc744d8c0] Representation 1 init segment will be written
to: init-stream1.m4s
[dash @ 0000025fc744d8c0] Opening
'C:\inetpub\wwwroot\fmp4_x264\big_bunny.mpd.tmp' for writing
Bandwidth info not available, set audio and video bitrates
[dash @ 0000025fc744d8c0] Manifest written to:
C:\inetpub\wwwroot\fmp4_x264\big_bunny.mpd
Output #0, dash, to 'C:\inetpub\wwwroot\fmp4_x264\big_bunny.mpd':
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), 1 reference frame,
yuv420p(progressive, left), 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps,
12800 tbn, 25 tbc (default)
Metadata:
creation_time : 2013-12-16T17:44:39.000000Z
handler_name : GPAC ISO Video Handler
encoder : Lavc58.6.103 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1(und): Audio: aac (libfdk_aac), 48000 Hz, 5.1, s16, delay
2048, 488 kb/s (default)
Metadata:
creation_time : 2013-12-16T17:44:42.000000Z
handler_name : GPAC ISO Audio Handler
encoder : Lavc58.6.103 libfdk_aac
Side data:
audio service type: main
*** dropping frame 13 from stream 0 at ts 11
*** dropping frame 18 from stream 0 at ts 16
*** dropping frame 23 from stream 0 at ts 21
*** dropping frame 28 from stream 0 at ts 26
*** dropping frame 33 from stream 0 at ts 31
*** dropping frame 38 from stream 0 at ts 36
*** dropping frame 43 from stream 0 at ts 41
*** dropping frame 48 from stream 0 at ts 46
*** dropping frame 53 from stream 0 at ts 51
*** dropping frame 58 from stream 0 at ts 56
*** dropping frame 63 from stream 0 at ts 6100:02.38 bitrate=N/A dup=2
drop=10 speed=4.76x
*** dropping frame 68 from stream 0 at ts 66
*** dropping frame 73 from stream 0 at ts 71
*** dropping frame 78 from stream 0 at ts 76
*** dropping frame 83 from stream 0 at ts 81
*** dropping frame 88 from stream 0 at ts 86
*** dropping frame 93 from stream 0 at ts 91
*** dropping frame 98 from stream 0 at ts 96
*** dropping frame 103 from stream 0 at ts 101
*** dropping frame 108 from stream 0 at ts 106
*** dropping frame 113 from stream 0 at ts 111
*** dropping frame 118 from stream 0 at ts 116:04.77 bitrate=N/A dup=2
drop=21 speed=4.75x
*** dropping frame 123 from stream 0 at ts 121
*** dropping frame 128 from stream 0 at ts 126
*** dropping frame 133 from stream 0 at ts 131
*** dropping frame 138 from stream 0 at ts 136
*** dropping frame 143 from stream 0 at ts 141
*** dropping frame 148 from stream 0 at ts 146
*** dropping frame 153 from stream 0 at ts 151
[dash @ 0000025fc744d8c0] Opening 'chunk-stream0-00001.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 0 media segment 2 written to:
chunk-stream0-00001.m4s
[dash @ 0000025fc744d8c0] Opening 'chunk-stream1-00001.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 1 media segment 2 written to:
chunk-stream1-00001.m4s
[dash @ 0000025fc744d8c0] Opening
'C:\inetpub\wwwroot\fmp4_x264\big_bunny.mpd.tmp' for writing
EXT-X-MEDIA-SEQUENCE:1
Last message repeated 1 times
*** dropping frame 158 from stream 0 at ts 156:06.22 bitrate=N/A dup=2
drop=29 speed=4.07x
*** dropping frame 163 from stream 0 at ts 161
*** dropping frame 168 from stream 0 at ts 166
*** dropping frame 173 from stream 0 at ts 171
*** dropping frame 178 from stream 0 at ts 176:06.69 bitrate=N/A dup=2
drop=33 speed= 3.3x
*** dropping frame 183 from stream 0 at ts 181
*** dropping frame 188 from stream 0 at ts 186
*** dropping frame 193 from stream 0 at ts 191
*** dropping frame 198 from stream 0 at ts 196
*** dropping frame 203 from stream 0 at ts 201:07.65 bitrate=N/A dup=2
drop=38 speed=2.98x
*** dropping frame 208 from stream 0 at ts 206
*** dropping frame 213 from stream 0 at ts 211:08.14 bitrate=N/A dup=2
drop=40 speed=2.65x
*** dropping frame 218 from stream 0 at ts 216
*** dropping frame 223 from stream 0 at ts 221:08.61 bitrate=N/A dup=2
drop=42 speed=2.39x
*** dropping frame 228 from stream 0 at ts 226
*** dropping frame 233 from stream 0 at ts 231
*** dropping frame 238 from stream 0 at ts 236:09.17 bitrate=N/A dup=2
drop=45 speed=2.23x
*** dropping frame 243 from stream 0 at ts 241
*** dropping frame 248 from stream 0 at ts 246
*** dropping frame 253 from stream 0 at ts 251:09.62 bitrate=N/A dup=2
drop=48 speed=2.09x
[dash @ 0000025fc744d8c0] Opening 'chunk-stream0-00002.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 0 media segment 3 written to:
chunk-stream0-00002.m4s
[dash @ 0000025fc744d8c0] Opening 'chunk-stream1-00002.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 1 media segment 3 written to:
chunk-stream1-00002.m4s
[dash @ 0000025fc744d8c0] Opening
'C:\inetpub\wwwroot\fmp4_x264\big_bunny.mpd.tmp' for writing
EXT-X-MEDIA-SEQUENCE:1
Last message repeated 1 times
*** dropping frame 258 from stream 0 at ts 256
*** dropping frame 263 from stream 0 at ts 261
*** dropping frame 268 from stream 0 at ts 266:10.53 bitrate=N/A dup=2
drop=51 speed=2.03x
*** dropping frame 273 from stream 0 at ts 271
*** dropping frame 278 from stream 0 at ts 276
*** dropping frame 283 from stream 0 at ts 281:11.02 bitrate=N/A dup=2
drop=54 speed=1.92x
*** dropping frame 288 from stream 0 at ts 286
*** dropping frame 293 from stream 0 at ts 291
*** dropping frame 298 from stream 0 at ts 296:11.49 bitrate=N/A dup=2
drop=57 speed=1.84x
*** dropping frame 303 from stream 0 at ts 301
*** dropping frame 308 from stream 0 at ts 306
*** dropping frame 313 from stream 0 at ts 311:12.45 bitrate=N/A dup=2
drop=60 speed=1.83x
*** dropping frame 318 from stream 0 at ts 316
*** dropping frame 323 from stream 0 at ts 321
*** dropping frame 328 from stream 0 at ts 326:12.94 bitrate=N/A dup=2
drop=63 speed=1.75x
*** dropping frame 333 from stream 0 at ts 331
*** dropping frame 338 from stream 0 at ts 336
*** dropping frame 343 from stream 0 at ts 341
*** dropping frame 348 from stream 0 at ts 346:13.41 bitrate=N/A dup=2
drop=67 speed= 1.7x
*** dropping frame 353 from stream 0 at ts 351
[dash @ 0000025fc744d8c0] Opening 'chunk-stream0-00003.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 0 media segment 4 written to:
chunk-stream0-00003.m4s
[dash @ 0000025fc744d8c0] Opening 'chunk-stream1-00003.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 1 media segment 4 written to:
chunk-stream1-00003.m4s
[dash @ 0000025fc744d8c0] Opening
'C:\inetpub\wwwroot\fmp4_x264\big_bunny.mpd.tmp' for writing
EXT-X-MEDIA-SEQUENCE:1
Last message repeated 1 times
*** dropping frame 358 from stream 0 at ts 356:14.10 bitrate=N/A dup=2
drop=69 speed=1.68x
*** dropping frame 363 from stream 0 at ts 361
*** dropping frame 368 from stream 0 at ts 366
*** dropping frame 373 from stream 0 at ts 371
*** dropping frame 378 from stream 0 at ts 376:14.86 bitrate=N/A dup=2
drop=73 speed=1.67x
*** dropping frame 383 from stream 0 at ts 381
*** dropping frame 388 from stream 0 at ts 386
*** dropping frame 393 from stream 0 at ts 391:15.33 bitrate=N/A dup=2
drop=76 speed=1.63x
*** dropping frame 398 from stream 0 at ts 396
*** dropping frame 403 from stream 0 at ts 401:15.82 bitrate=N/A dup=2
drop=78 speed=1.59x
*** dropping frame 408 from stream 0 at ts 406
*** dropping frame 413 from stream 0 at ts 411
*** dropping frame 418 from stream 0 at ts 416
*** dropping frame 423 from stream 0 at ts 421:16.78 bitrate=N/A dup=2
drop=82 speed= 1.6x
*** dropping frame 428 from stream 0 at ts 426
*** dropping frame 433 from stream 0 at ts 431
*** dropping frame 438 from stream 0 at ts 436
*** dropping frame 443 from stream 0 at ts 441
*** dropping frame 448 from stream 0 at ts 446:17.74 bitrate=N/A dup=2
drop=87 speed=1.62x
*** dropping frame 453 from stream 0 at ts 451
[dash @ 0000025fc744d8c0] Opening 'chunk-stream0-00004.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 0 media segment 5 written to:
chunk-stream0-00004.m4s
[dash @ 0000025fc744d8c0] Opening 'chunk-stream1-00004.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 1 media segment 5 written to:
chunk-stream1-00004.m4s
[dash @ 0000025fc744d8c0] Opening
'C:\inetpub\wwwroot\fmp4_x264\big_bunny.mpd.tmp' for writing
EXT-X-MEDIA-SEQUENCE:1
Last message repeated 1 times
*** dropping frame 458 from stream 0 at ts 456
*** dropping frame 463 from stream 0 at ts 461
*** dropping frame 468 from stream 0 at ts 466:18.70 bitrate=N/A dup=2
drop=91 speed=1.61x
*** dropping frame 473 from stream 0 at ts 471
*** dropping frame 478 from stream 0 at ts 476
*** dropping frame 483 from stream 0 at ts 481
*** dropping frame 488 from stream 0 at ts 486
*** dropping frame 493 from stream 0 at ts 491:19.22 bitrate=N/A dup=2
drop=96 speed=1.58x
*** dropping frame 498 from stream 0 at ts 496
*** dropping frame 503 from stream 0 at ts 501:20.13 bitrate=N/A dup=2
drop=98 speed=1.58x
*** dropping frame 508 from stream 0 at ts 506
*** dropping frame 513 from stream 0 at ts 511
*** dropping frame 518 from stream 0 at ts 516
*** dropping frame 523 from stream 0 at ts 521
*** dropping frame 528 from stream 0 at ts 526:21.09 bitrate=N/A dup=2
drop=103 speed=1.58x
*** dropping frame 533 from stream 0 at ts 531
*** dropping frame 538 from stream 0 at ts 536
*** dropping frame 543 from stream 0 at ts 541
*** dropping frame 548 from stream 0 at ts 546
*** dropping frame 553 from stream 0 at ts 551:22.05 bitrate=N/A dup=2
drop=108 speed=1.58x
[dash @ 0000025fc744d8c0] Opening 'chunk-stream0-00005.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 0 media segment 6 written to:
chunk-stream0-00005.m4s
[dash @ 0000025fc744d8c0] Opening 'chunk-stream1-00005.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 1 media segment 6 written to:
chunk-stream1-00005.m4s
[dash @ 0000025fc744d8c0] Opening
'C:\inetpub\wwwroot\fmp4_x264\big_bunny.mpd.tmp' for writing
EXT-X-MEDIA-SEQUENCE:1
Last message repeated 1 times
*** dropping frame 558 from stream 0 at ts 556
*** dropping frame 563 from stream 0 at ts 561
*** dropping frame 568 from stream 0 at ts 566
*** dropping frame 573 from stream 0 at ts 571
*** dropping frame 578 from stream 0 at ts 576:23.01 bitrate=N/A dup=2
drop=113 speed=1.59x
*** dropping frame 583 from stream 0 at ts 581
*** dropping frame 588 from stream 0 at ts 586
*** dropping frame 593 from stream 0 at ts 591
*** dropping frame 598 from stream 0 at ts 596
*** dropping frame 603 from stream 0 at ts 601
*** dropping frame 608 from stream 0 at ts 606
*** dropping frame 613 from stream 0 at ts 611:24.02 bitrate=N/A dup=2
drop=120 speed= 1.6x
*** dropping frame 618 from stream 0 at ts 616
*** dropping frame 623 from stream 0 at ts 621
*** dropping frame 628 from stream 0 at ts 626
*** dropping frame 633 from stream 0 at ts 631
*** dropping frame 638 from stream 0 at ts 636:25.42 bitrate=N/A dup=2
drop=125 speed=1.64x
*** dropping frame 643 from stream 0 at ts 641
*** dropping frame 648 from stream 0 at ts 646
*** dropping frame 653 from stream 0 at ts 651
[dash @ 0000025fc744d8c0] Opening 'chunk-stream0-00006.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 0 media segment 7 written to:
chunk-stream0-00006.m4s
[dash @ 0000025fc744d8c0] Opening 'chunk-stream1-00006.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 1 media segment 7 written to:
chunk-stream1-00006.m4s
[dash @ 0000025fc744d8c0] Opening
'C:\inetpub\wwwroot\fmp4_x264\big_bunny.mpd.tmp' for writing
EXT-X-MEDIA-SEQUENCE:1
Last message repeated 1 times
*** dropping frame 658 from stream 0 at ts 656
*** dropping frame 663 from stream 0 at ts 661
*** dropping frame 668 from stream 0 at ts 666
*** dropping frame 673 from stream 0 at ts 671:26.47 bitrate=N/A dup=2
drop=132 speed=1.66x
*** dropping frame 678 from stream 0 at ts 676
*** dropping frame 683 from stream 0 at ts 681
*** dropping frame 688 from stream 0 at ts 686:27.34 bitrate=N/A dup=2
drop=135 speed=1.65x
*** dropping frame 693 from stream 0 at ts 691
*** dropping frame 698 from stream 0 at ts 696
*** dropping frame 703 from stream 0 at ts 701
*** dropping frame 708 from stream 0 at ts 706:27.94 bitrate=N/A dup=2
drop=139 speed=1.64x
*** dropping frame 713 from stream 0 at ts 711
*** dropping frame 718 from stream 0 at ts 716
*** dropping frame 723 from stream 0 at ts 721
*** dropping frame 728 from stream 0 at ts 726:28.77 bitrate=N/A dup=2
drop=143 speed=1.64x
*** dropping frame 733 from stream 0 at ts 731
*** dropping frame 738 from stream 0 at ts 736
*** dropping frame 743 from stream 0 at ts 741
*** dropping frame 748 from stream 0 at ts 746:29.73 bitrate=N/A dup=2
drop=147 speed=1.64x
No more output streams to write to, finishing.
[dash @ 0000025fc744d8c0] Opening 'chunk-stream0-00007.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 0 media segment 8 written to:
chunk-stream0-00007.m4s
[dash @ 0000025fc744d8c0] Opening 'chunk-stream1-00007.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 1 media segment 8 written to:
chunk-stream1-00007.m4s
[dash @ 0000025fc744d8c0] Opening
'C:\inetpub\wwwroot\fmp4_x264\big_bunny.mpd.tmp' for writing
EXT-X-MEDIA-SEQUENCE:1
Last message repeated 1 times
[dash @ 0000025fc744d8c0] Opening 'chunk-stream0-00008.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 0 media segment 9 written to:
chunk-stream0-00008.m4s
[dash @ 0000025fc744d8c0] Opening 'chunk-stream1-00008.m4s.tmp' for
writing
[dash @ 0000025fc744d8c0] Representation 1 media segment 9 written to:
chunk-stream1-00008.m4s
[dash @ 0000025fc744d8c0] Opening
'C:\inetpub\wwwroot\fmp4_x264\big_bunny.mpd.tmp' for writing
EXT-X-MEDIA-SEQUENCE:1
Last message repeated 1 times
frame= 750 fps= 39 q=-1.0 Lsize=N/A time=00:00:30.01 bitrate=N/A dup=2
drop=148 speed=1.54x
video:12174kB audio:1793kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: unknown
Input file #0
(http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4):
Input stream #0:0 (video): 909 packets read (11571340 bytes); 900 frames
decoded;
Input stream #0:1 (audio): 21 packets read (10080 bytes);
Input stream #0:2 (audio): 939 packets read (1201920 bytes); 939 frames
decoded (1442304 samples);
Total: 1869 packets (12783340 bytes) demuxed
Output file #0 (C:\inetpub\wwwroot\fmp4_x264\big_bunny.mpd):
Output stream #0:0 (video): 750 frames encoded; 750 packets muxed
(12466439 bytes);
Output stream #0:1 (audio): 1407 frames encoded (1440000 samples); 1409
packets muxed (1836311 bytes);
Total: 2159 packets (14302750 bytes) muxed
[libx264 @ 0000025fc77d7ea0] frame I:8 Avg QP:14.94 size:240506
[libx264 @ 0000025fc77d7ea0] frame P:222 Avg QP:19.99 size: 37867
[libx264 @ 0000025fc77d7ea0] frame B:520 Avg QP:24.33 size: 4106
[libx264 @ 0000025fc77d7ea0] consecutive B-frames: 3.6% 8.5% 10.0% 77.9%
[libx264 @ 0000025fc77d7ea0] mb I I16..4: 33.7% 45.8% 20.5%
[libx264 @ 0000025fc77d7ea0] mb P I16..4: 3.1% 7.9% 0.9% P16..4:
23.0% 8.3% 6.6% 0.0% 0.0% skip:50.2%
[libx264 @ 0000025fc77d7ea0] mb B I16..4: 0.5% 0.4% 0.0% B16..8:
23.8% 1.4% 0.4% direct: 1.4% skip:72.1% L0:45.5% L1:49.5% BI: 5.1%
[libx264 @ 0000025fc77d7ea0] 8x8 transform intra:59.2% inter:63.1%
[libx264 @ 0000025fc77d7ea0] coded y,uvDC,uvAC intra: 30.3% 42.8% 23.4%
inter: 5.7% 7.4% 1.7%
[libx264 @ 0000025fc77d7ea0] i16 v,h,dc,p: 66% 19% 6% 9%
[libx264 @ 0000025fc77d7ea0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 14% 32%
3% 4% 4% 5% 4% 4%
[libx264 @ 0000025fc77d7ea0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 15% 12%
7% 9% 9% 9% 8% 9%
[libx264 @ 0000025fc77d7ea0] i8c dc,h,v,p: 63% 19% 13% 6%
[libx264 @ 0000025fc77d7ea0] Weighted P-Frames: Y:8.6% UV:8.1%
[libx264 @ 0000025fc77d7ea0] ref P L0: 66.4% 12.6% 13.8% 7.2% 0.0%
[libx264 @ 0000025fc77d7ea0] ref B L0: 86.9% 10.8% 2.2%
[libx264 @ 0000025fc77d7ea0] ref B L1: 95.2% 4.8%
[libx264 @ 0000025fc77d7ea0] kb/s:3324.20
}}}
The DASH segmenter produce two separated streams.
First stream as video and second stream as audio.
Here is the HLS playlist content created for the video stream :
{{{
C:\Users\Beloko\Desktop\FFMPEG>type
"C:\inetpub\wwwroot\fmp4_x264\media_0.m3u8"
#EXTM3U
#EXT-X-VERSION:6
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-MAP:URI="init-stream0.m4s"
#EXTINF:4.000000,
chunk-stream0-00001.m4s
#EXTINF:4.000000,
chunk-stream0-00002.m4s
#EXTINF:4.000000,
chunk-stream0-00003.m4s
#EXTINF:4.000000,
chunk-stream0-00004.m4s
#EXTINF:4.000000,
chunk-stream0-00005.m4s
#EXTINF:4.000000,
chunk-stream0-00006.m4s
#EXTINF:4.000000,
chunk-stream0-00007.m4s
#EXTINF:2.000000,
chunk-stream0-00008.m4s
#EXT-X-ENDLIST
}}}
Segment duration is exactly 4 seconds for each .m4s files.
Verified with FFPROBE : its perfect.
But here is the HLS playlist content created for the audio stream :
{{{
C:\Users\Beloko\Desktop\FFMPEG>type
"C:\inetpub\wwwroot\fmp4_x264\media_1.m3u8"
#EXTM3U
#EXT-X-VERSION:6
#EXT-X-TARGETDURATION:5
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-MAP:URI="init-stream1.m4s"
#EXTINF:3.925333,
chunk-stream1-00001.m4s
#EXTINF:4.010667,
chunk-stream1-00002.m4s
#EXTINF:3.989333,
chunk-stream1-00003.m4s
#EXTINF:4.010667,
chunk-stream1-00004.m4s
#EXTINF:3.989333,
chunk-stream1-00005.m4s
#EXTINF:4.010667,
chunk-stream1-00006.m4s
#EXTINF:3.989333,
chunk-stream1-00007.m4s
#EXTINF:2.074667,
chunk-stream1-00008.m4s
#EXT-X-ENDLIST
}}}
Segments durations are around 4 seconds but not exactly 4 seconds.
Verified with FFPROBE : .m4s audio segments durations are longer or
shorter than the expected 4 seconds.
To be compliant with the Apple mediastreamvalidator tool, video segments
and audio segments should have the same duration. And the
#EXT-X-TARGETDURATION tag should have the value 4 instead of 5.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6915>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list