#6888: HLS segmenter doesn't cut .m4s files at its expected duration ------------------------------------+------------------------------------ Reporter: beloko | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: HLS | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------
Comment (by beloko): No problem :) I just synchronised my local built repository with the latest GIT-Master repository. And here is the verbose log of my FFMPEG command line with this fresh version : {{{ C:\Users\Beloko\Desktop\FFMPEG>ffmpeg.exe -i "http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4" -loglevel verbose -threads 0 -an -sn -vcodec libx264 -force_key_frames "expr:gte(t,n_forced*4)" -sc_threshold 0 -r 25 -f hls -hls_time 4 -hls_list_size 99999 -start_number 1 -hls_segment_type fmp4 -hls_fmp4_init_filename "C:\inetpub\wwwroot\fmp4_x264\init.mp4" -t 30 "C:\inetpub\wwwroot\fmp4_x264\big_bunny.m3u8" ffmpeg version N-89404-gdc7d5f9-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. 2.103 / 58. 2.103 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 @ 000001cf0ea60240] 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)) Press [q] to stop, [?] for help [h264 @ 000001cf0ea4ab00] Reinit context to 1920x1088, pix_fmt: yuv420p [graph 0 input from stream 0:0 @ 000001cf10a1eb60] w:1920 h:1080 pixfmt:yuv420p tb:1/30000 fr:30/1 sar:1/1 sws_param:flags=2 [libx264 @ 000001cf10d10fa0] using SAR=1/1 [libx264 @ 000001cf10d10fa0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2 [libx264 @ 000001cf10d10fa0] profile High, level 4.0 [libx264 @ 000001cf10d10fa0] 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 [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\init.mp4' for writing Output #0, hls, to 'C:\inetpub\wwwroot\fmp4_x264\big_bunny.m3u8': 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.2.103 Stream #0:0(und): Video: h264 (libx264), 1 reference frame, yuv420p(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 *** 2 dup! Past duration 0.666664 too large Past duration 0.833321 too large Past duration 0.999992 too large *** 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 61 *** dropping frame 68 from stream 0 at ts 66 *** dropping frame 73 from stream 0 at ts 7100:00.56 bitrate=N/A dup=2 drop=12 speed=1.12x *** 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 *** 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:02.96 bitrate=N/A dup=2 drop=24 speed=2.91x *** 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 [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny1.m4s' for writing [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny.m3u8.tmp' for writing EXT-X-MEDIA-SEQUENCE:1 *** dropping frame 158 from stream 0 at ts 156 *** 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:04.44 bitrate=N/A dup=2 drop=32 speed=2.75x *** dropping frame 178 from stream 0 at ts 176 *** 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:05.32 bitrate=N/A dup=2 drop=36 speed= 2.5x *** dropping frame 198 from stream 0 at ts 196 *** dropping frame 203 from stream 0 at ts 201 *** dropping frame 208 from stream 0 at ts 206:05.84 bitrate=N/A dup=2 drop=39 speed=2.12x *** dropping frame 213 from stream 0 at ts 211 *** dropping frame 218 from stream 0 at ts 216:06.36 bitrate=N/A dup=2 drop=41 speed=1.93x *** dropping frame 223 from stream 0 at ts 221 *** dropping frame 228 from stream 0 at ts 226 *** dropping frame 233 from stream 0 at ts 231:06.96 bitrate=N/A dup=2 drop=44 speed=1.81x *** dropping frame 238 from stream 0 at ts 236 *** dropping frame 243 from stream 0 at ts 241 *** dropping frame 248 from stream 0 at ts 246:07.48 bitrate=N/A dup=2 drop=47 speed=1.71x *** dropping frame 253 from stream 0 at ts 251 [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny2.m4s' for writing [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny.m3u8.tmp' for writing EXT-X-MEDIA-SEQUENCE:1 *** dropping frame 258 from stream 0 at ts 256 *** dropping frame 263 from stream 0 at ts 261:08.16 bitrate=N/A dup=2 drop=50 speed=1.65x *** dropping frame 268 from stream 0 at ts 266 *** dropping frame 273 from stream 0 at ts 271 *** dropping frame 278 from stream 0 at ts 276:08.72 bitrate=N/A dup=2 drop=53 speed=1.59x *** dropping frame 283 from stream 0 at ts 281 *** dropping frame 288 from stream 0 at ts 286 *** dropping frame 293 from stream 0 at ts 291:09.36 bitrate=N/A dup=2 drop=56 speed=1.56x *** dropping frame 298 from stream 0 at ts 296 *** 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:10.04 bitrate=N/A dup=2 drop=60 speed=1.54x *** dropping frame 318 from stream 0 at ts 316 *** dropping frame 323 from stream 0 at ts 321:10.56 bitrate=N/A dup=2 drop=62 speed= 1.5x *** dropping frame 328 from stream 0 at ts 326 *** dropping frame 333 from stream 0 at ts 331 *** dropping frame 338 from stream 0 at ts 336:11.08 bitrate=N/A dup=2 drop=65 speed=1.45x *** dropping frame 343 from stream 0 at ts 341 *** dropping frame 348 from stream 0 at ts 346 *** dropping frame 353 from stream 0 at ts 351 [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny3.m4s' for writing [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny.m3u8.tmp' for writing EXT-X-MEDIA-SEQUENCE:1 *** dropping frame 358 from stream 0 at ts 356 *** 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:12.48 bitrate=N/A dup=2 drop=72 speed=1.44x *** dropping frame 378 from stream 0 at ts 376 *** 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:13.36 bitrate=N/A dup=2 drop=76 speed=1.45x *** dropping frame 398 from stream 0 at ts 396 *** dropping frame 403 from stream 0 at ts 401:13.76 bitrate=N/A dup=2 drop=78 speed=1.39x *** 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:14.56 bitrate=N/A dup=2 drop=82 speed= 1.4x *** 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:15.56 bitrate=N/A dup=2 drop=87 speed=1.42x *** dropping frame 453 from stream 0 at ts 451 [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny4.m4s' for writing [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny.m3u8.tmp' for writing EXT-X-MEDIA-SEQUENCE:1 *** 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:16.32 bitrate=N/A dup=2 drop=91 speed=1.41x *** 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:17.28 bitrate=N/A dup=2 drop=96 speed=1.41x *** dropping frame 498 from stream 0 at ts 496 *** dropping frame 503 from stream 0 at ts 501 *** 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:18.24 bitrate=N/A dup=2 drop=101 speed=1.41x *** dropping frame 523 from stream 0 at ts 521 *** dropping frame 528 from stream 0 at ts 526 *** dropping frame 533 from stream 0 at ts 531 *** dropping frame 538 from stream 0 at ts 536:19.16 bitrate=N/A dup=2 drop=105 speed=1.41x *** 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 [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny5.m4s' for writing [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny.m3u8.tmp' for writing EXT-X-MEDIA-SEQUENCE:1 *** dropping frame 558 from stream 0 at ts 556 *** dropping frame 563 from stream 0 at ts 561:20.16 bitrate=N/A dup=2 drop=110 speed=1.42x *** 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 *** 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:21.72 bitrate=N/A dup=2 drop=118 speed=1.47x *** dropping frame 608 from stream 0 at ts 606 *** dropping frame 613 from stream 0 at ts 611 *** 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:22.88 bitrate=N/A dup=2 drop=124 speed= 1.5x *** dropping frame 638 from stream 0 at ts 636 *** 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 [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny6.m4s' for writing [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny.m3u8.tmp' for writing EXT-X-MEDIA-SEQUENCE:1 *** dropping frame 658 from stream 0 at ts 656:23.96 bitrate=N/A dup=2 drop=129 speed= 1.5x *** 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 *** dropping frame 678 from stream 0 at ts 676 *** dropping frame 683 from stream 0 at ts 681:24.92 bitrate=N/A dup=2 drop=134 speed=1.45x *** dropping frame 688 from stream 0 at ts 686 *** dropping frame 693 from stream 0 at ts 691 *** dropping frame 698 from stream 0 at ts 696:25.48 bitrate=N/A dup=2 drop=137 speed=1.44x *** dropping frame 703 from stream 0 at ts 701 *** dropping frame 708 from stream 0 at ts 706 *** dropping frame 713 from stream 0 at ts 711 *** dropping frame 718 from stream 0 at ts 716:26.24 bitrate=N/A dup=2 drop=141 speed=1.43x *** dropping frame 723 from stream 0 at ts 721 *** dropping frame 728 from stream 0 at ts 726 *** dropping frame 733 from stream 0 at ts 731:26.92 bitrate=N/A dup=2 drop=144 speed=1.43x *** 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 No more output streams to write to, finishing.:27.64 bitrate=N/A dup=2 drop=148 speed=1.43x [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny7.m4s' for writing [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny.m3u8.tmp' for writing EXT-X-MEDIA-SEQUENCE:1 [hls @ 000001cf10d092a0] Opening 'C:\inetpub\wwwroot\fmp4_x264\big_bunny.m3u8.tmp' for writing EXT-X-MEDIA-SEQUENCE:1 frame= 750 fps= 36 q=-1.0 Lsize=N/A time=00:00:29.88 bitrate=N/A dup=2 drop=148 speed=1.45x video:12174kB audio:0kB 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): 907 packets read (11565677 bytes); 898 frames decoded; Input stream #0:1 (audio): 21 packets read (10080 bytes); Input stream #0:2 (audio): 1 packets read (1280 bytes); Total: 929 packets (11577037 bytes) demuxed Output file #0 (C:\inetpub\wwwroot\fmp4_x264\big_bunny.m3u8): Output stream #0:0 (video): 750 frames encoded; 750 packets muxed (12466439 bytes); Total: 750 packets (12466439 bytes) muxed [libx264 @ 000001cf10d10fa0] frame I:8 Avg QP:14.94 size:240506 [libx264 @ 000001cf10d10fa0] frame P:222 Avg QP:19.99 size: 37867 [libx264 @ 000001cf10d10fa0] frame B:520 Avg QP:24.33 size: 4106 [libx264 @ 000001cf10d10fa0] consecutive B-frames: 3.6% 8.5% 10.0% 77.9% [libx264 @ 000001cf10d10fa0] mb I I16..4: 33.7% 45.8% 20.5% [libx264 @ 000001cf10d10fa0] 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 @ 000001cf10d10fa0] 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 @ 000001cf10d10fa0] 8x8 transform intra:59.2% inter:63.1% [libx264 @ 000001cf10d10fa0] coded y,uvDC,uvAC intra: 30.3% 42.8% 23.4% inter: 5.7% 7.4% 1.7% [libx264 @ 000001cf10d10fa0] i16 v,h,dc,p: 66% 19% 6% 9% [libx264 @ 000001cf10d10fa0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 14% 32% 3% 4% 4% 5% 4% 4% [libx264 @ 000001cf10d10fa0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 15% 12% 7% 9% 9% 9% 8% 9% [libx264 @ 000001cf10d10fa0] i8c dc,h,v,p: 63% 19% 13% 6% [libx264 @ 000001cf10d10fa0] Weighted P-Frames: Y:8.6% UV:8.1% [libx264 @ 000001cf10d10fa0] ref P L0: 66.4% 12.6% 13.8% 7.2% 0.0% [libx264 @ 000001cf10d10fa0] ref B L0: 86.9% 10.8% 2.2% [libx264 @ 000001cf10d10fa0] ref B L1: 95.2% 4.8% [libx264 @ 000001cf10d10fa0] kb/s:3324.20 }}} The .m3u8 playlist content is : {{{ C:\Users\Beloko\Desktop\FFMPEG>type C:\inetpub\wwwroot\fmp4_x264\big_bunny.m3u8 #EXTM3U #EXT-X-VERSION:7 #EXT-X-TARGETDURATION:4 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-MAP:URI="init.mp4" #EXTINF:4.000000, big_bunny1.m4s #EXTINF:4.000000, big_bunny2.m4s #EXTINF:4.000000, big_bunny3.m4s #EXTINF:4.000000, big_bunny4.m4s #EXTINF:4.000000, big_bunny5.m4s #EXTINF:4.000000, big_bunny6.m4s #EXTINF:2.000000, big_bunny7.m4s #EXT-X-ENDLIST }}} The full duration for the sum of the seven .m4s files is : 4 + 4 + 4 + 4 + 4 + 4 + 2 = 26 seconds. It misses 4 seconds to get 30 seconds as expected by the ''-t 30'' parameter. ---- Then to be able to probe each .m4s file we have to glue the init.mp4 (video header) with each .m4s (video data stream). Like this : {{{ C:\Users\Beloko\Desktop\FFMPEG>ffmpeg.exe -i "concat:C:\inetpub\wwwroot\fmp4_x264\init.mp4|C:\inetpub\wwwroot\fmp4_x264\big_bunny1.m4s" -codec copy C:\inetpub\wwwroot\fmp4_x264\concated1.mp4 ffmpeg version N-89404-gdc7d5f9-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. 2.103 / 58. 2.103 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'concat:C:\inetpub\wwwroot\fmp4_x264\init.mp4|C:\inetpub\wwwroot\fmp4_x264\big_bunny1.m4s': Metadata: major_brand : iso5 minor_version : 512 compatible_brands: iso6mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure encoder : Lavf58.2.103 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation Duration: 00:00:08.08, start: 0.160000, bitrate: 1092 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1089 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler Output #0, mp4, to 'C:\inetpub\wwwroot\fmp4_x264\concated1.mp4': Metadata: major_brand : iso5 minor_version : 512 compatible_brands: iso6mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure genre : Animation comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net encoder : Lavf58.2.103 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1089 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default) Metadata: handler_name : VideoHandler Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 200 fps=0.0 q=-1.0 Lsize= 1078kB time=00:00:07.88 bitrate=1120.5kbits/s speed=3.97e+003x video:1074kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.317772% C:\Users\Beloko\Desktop\FFMPEG>ffmpeg.exe -i "concat:C:\inetpub\wwwroot\fmp4_x264\init.mp4|C:\inetpub\wwwroot\fmp4_x264\big_bunny2.m4s" -codec copy C:\inetpub\wwwroot\fmp4_x264\concated2.mp4 ffmpeg version N-89404-gdc7d5f9-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. 2.103 / 58. 2.103 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'concat:C:\inetpub\wwwroot\fmp4_x264\init.mp4|C:\inetpub\wwwroot\fmp4_x264\big_bunny2.m4s': Metadata: major_brand : iso5 minor_version : 512 compatible_brands: iso6mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure encoder : Lavf58.2.103 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation Duration: 00:00:12.08, start: 8.160000, bitrate: 1717 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1716 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler Output #0, mp4, to 'C:\inetpub\wwwroot\fmp4_x264\concated2.mp4': Metadata: major_brand : iso5 minor_version : 512 compatible_brands: iso6mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure genre : Animation comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net encoder : Lavf58.2.103 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1716 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default) Metadata: handler_name : VideoHandler Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 100 fps=0.0 q=-1.0 Lsize= 2533kB time=00:00:03.88 bitrate=5348.4kbits/s speed= 318x video:2531kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.088590% C:\Users\Beloko\Desktop\FFMPEG>ffmpeg.exe -i "concat:C:\inetpub\wwwroot\fmp4_x264\init.mp4|C:\inetpub\wwwroot\fmp4_x264\big_bunny3.m4s" -codec copy C:\inetpub\wwwroot\fmp4_x264\concated3.mp4 ffmpeg version N-89404-gdc7d5f9-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. 2.103 / 58. 2.103 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'concat:C:\inetpub\wwwroot\fmp4_x264\init.mp4|C:\inetpub\wwwroot\fmp4_x264\big_bunny3.m4s': Metadata: major_brand : iso5 minor_version : 512 compatible_brands: iso6mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure encoder : Lavf58.2.103 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation Duration: 00:00:16.08, start: 12.160000, bitrate: 1333 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1332 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler Output #0, mp4, to 'C:\inetpub\wwwroot\fmp4_x264\concated3.mp4': Metadata: major_brand : iso5 minor_version : 512 compatible_brands: iso6mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure genre : Animation comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net encoder : Lavf58.2.103 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1332 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default) Metadata: handler_name : VideoHandler Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 100 fps=0.0 q=-1.0 Lsize= 2617kB time=00:00:03.88 bitrate=5525.7kbits/s speed= 561x video:2615kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.088286% C:\Users\Beloko\Desktop\FFMPEG>ffmpeg.exe -i "concat:C:\inetpub\wwwroot\fmp4_x264\init.mp4|C:\inetpub\wwwroot\fmp4_x264\big_bunny4.m4s" -codec copy C:\inetpub\wwwroot\fmp4_x264\concated4.mp4 ffmpeg version N-89404-gdc7d5f9-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. 2.103 / 58. 2.103 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'concat:C:\inetpub\wwwroot\fmp4_x264\init.mp4|C:\inetpub\wwwroot\fmp4_x264\big_bunny4.m4s': Metadata: major_brand : iso5 minor_version : 512 compatible_brands: iso6mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure encoder : Lavf58.2.103 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation Duration: 00:00:20.08, start: 16.160000, bitrate: 957 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 956 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler Output #0, mp4, to 'C:\inetpub\wwwroot\fmp4_x264\concated4.mp4': Metadata: major_brand : iso5 minor_version : 512 compatible_brands: iso6mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure genre : Animation comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net encoder : Lavf58.2.103 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 956 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default) Metadata: handler_name : VideoHandler Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 100 fps=0.0 q=-1.0 Lsize= 2346kB time=00:00:03.88 bitrate=4954.0kbits/s speed=1.33e+003x video:2344kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.098818% C:\Users\Beloko\Desktop\FFMPEG>ffmpeg.exe -i "concat:C:\inetpub\wwwroot\fmp4_x264\init.mp4|C:\inetpub\wwwroot\fmp4_x264\big_bunny5.m4s" -codec copy C:\inetpub\wwwroot\fmp4_x264\concated5.mp4 ffmpeg version N-89404-gdc7d5f9-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. 2.103 / 58. 2.103 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'concat:C:\inetpub\wwwroot\fmp4_x264\init.mp4|C:\inetpub\wwwroot\fmp4_x264\big_bunny5.m4s': Metadata: major_brand : iso5 minor_version : 512 compatible_brands: iso6mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure encoder : Lavf58.2.103 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation Duration: 00:00:24.08, start: 20.160000, bitrate: 362 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 361 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler Output #0, mp4, to 'C:\inetpub\wwwroot\fmp4_x264\concated5.mp4': Metadata: major_brand : iso5 minor_version : 512 compatible_brands: iso6mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure genre : Animation comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net encoder : Lavf58.2.103 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 361 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default) Metadata: handler_name : VideoHandler Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 100 fps=0.0 q=-1.0 Lsize= 1066kB time=00:00:03.88 bitrate=2251.2kbits/s speed=1.2e+003x video:1064kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.214036% C:\Users\Beloko\Desktop\FFMPEG>ffmpeg.exe -i "concat:C:\inetpub\wwwroot\fmp4_x264\init.mp4|C:\inetpub\wwwroot\fmp4_x264\big_bunny6.m4s" -codec copy C:\inetpub\wwwroot\fmp4_x264\concated6.mp4 ffmpeg version N-89404-gdc7d5f9-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. 2.103 / 58. 2.103 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'concat:C:\inetpub\wwwroot\fmp4_x264\init.mp4|C:\inetpub\wwwroot\fmp4_x264\big_bunny6.m4s': Metadata: major_brand : iso5 minor_version : 512 compatible_brands: iso6mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure encoder : Lavf58.2.103 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation Duration: 00:00:28.08, start: 24.160000, bitrate: 337 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 336 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler Output #0, mp4, to 'C:\inetpub\wwwroot\fmp4_x264\concated6.mp4': Metadata: major_brand : iso5 minor_version : 512 compatible_brands: iso6mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure genre : Animation comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net encoder : Lavf58.2.103 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 336 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default) Metadata: handler_name : VideoHandler Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 100 fps=0.0 q=-1.0 Lsize= 1156kB time=00:00:03.88 bitrate=2440.7kbits/s speed= 658x video:1154kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.196028% C:\Users\Beloko\Desktop\FFMPEG>ffmpeg.exe -i "concat:C:\inetpub\wwwroot\fmp4_x264\init.mp4|C:\inetpub\wwwroot\fmp4_x264\big_bunny7.m4s" -codec copy C:\inetpub\wwwroot\fmp4_x264\concated7.mp4 ffmpeg version N-89404-gdc7d5f9-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. 2.103 / 58. 2.103 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'concat:C:\inetpub\wwwroot\fmp4_x264\init.mp4|C:\inetpub\wwwroot\fmp4_x264\big_bunny7.m4s': Metadata: major_brand : iso5 minor_version : 512 compatible_brands: iso6mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure encoder : Lavf58.2.103 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation Duration: 00:00:30.08, start: 28.160000, bitrate: 379 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 379 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler Output #0, mp4, to 'C:\inetpub\wwwroot\fmp4_x264\concated7.mp4': Metadata: major_brand : iso5 minor_version : 512 compatible_brands: iso6mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure genre : Animation comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net encoder : Lavf58.2.103 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 379 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default) Metadata: handler_name : VideoHandler Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 50 fps=0.0 q=-1.0 Lsize= 1394kB time=00:00:01.88 bitrate=6073.3kbits/s speed= 549x video:1392kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.122901% }}} I did it for all .m4s files. So I get 7 result files in my directory : . concated1.mp4 (as init.mp4 + big_bunny1.m4s) . concated2.mp4 (as init.mp4 + big_bunny2.m4s) . concated3.mp4 (as init.mp4 + big_bunny3.m4s) . concated4.mp4 (as init.mp4 + big_bunny4.m4s) . concated5.mp4 (as init.mp4 + big_bunny5.m4s) . concated6.mp4 (as init.mp4 + big_bunny6.m4s) . concated7.mp4 (as init.mp4 + big_bunny7.m4s) ---- Now here is the FFPROBE diagnostic for the seven files I just concatened : {{{ C:\Users\Beloko\Desktop\FFMPEG>ffprobe C:\inetpub\wwwroot\fmp4_x264\concated1.mp4 ffprobe version N-89404-gdc7d5f9-Reino Copyright (c) 2007-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. 2.103 / 58. 2.103 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\inetpub\wwwroot\fmp4_x264\concated1.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure encoder : Lavf58.2.103 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation Duration: 00:00:08.00, start: 0.000000, bitrate: 1103 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1100 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler C:\Users\Beloko\Desktop\FFMPEG>ffprobe C:\inetpub\wwwroot\fmp4_x264\concated2.mp4 ffprobe version N-89404-gdc7d5f9-Reino Copyright (c) 2007-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. 2.103 / 58. 2.103 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\inetpub\wwwroot\fmp4_x264\concated2.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure encoder : Lavf58.2.103 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation Duration: 00:00:04.00, start: 0.000000, bitrate: 5188 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 5183 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler C:\Users\Beloko\Desktop\FFMPEG>ffprobe C:\inetpub\wwwroot\fmp4_x264\concated3.mp4 ffprobe version N-89404-gdc7d5f9-Reino Copyright (c) 2007-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. 2.103 / 58. 2.103 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\inetpub\wwwroot\fmp4_x264\concated3.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure encoder : Lavf58.2.103 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation Duration: 00:00:04.00, start: 0.000000, bitrate: 5360 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 5355 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler C:\Users\Beloko\Desktop\FFMPEG>ffprobe C:\inetpub\wwwroot\fmp4_x264\concated4.mp4 ffprobe version N-89404-gdc7d5f9-Reino Copyright (c) 2007-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. 2.103 / 58. 2.103 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\inetpub\wwwroot\fmp4_x264\concated4.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure encoder : Lavf58.2.103 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation Duration: 00:00:04.00, start: 0.000000, bitrate: 4805 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4800 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler C:\Users\Beloko\Desktop\FFMPEG>ffprobe C:\inetpub\wwwroot\fmp4_x264\concated5.mp4 ffprobe version N-89404-gdc7d5f9-Reino Copyright (c) 2007-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. 2.103 / 58. 2.103 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\inetpub\wwwroot\fmp4_x264\concated5.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure encoder : Lavf58.2.103 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation Duration: 00:00:04.00, start: 0.000000, bitrate: 2183 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 2179 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler C:\Users\Beloko\Desktop\FFMPEG>ffprobe C:\inetpub\wwwroot\fmp4_x264\concated6.mp4 ffprobe version N-89404-gdc7d5f9-Reino Copyright (c) 2007-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. 2.103 / 58. 2.103 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\inetpub\wwwroot\fmp4_x264\concated6.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure encoder : Lavf58.2.103 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation Duration: 00:00:04.00, start: 0.000000, bitrate: 2367 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 2362 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler C:\Users\Beloko\Desktop\FFMPEG>ffprobe C:\inetpub\wwwroot\fmp4_x264\concated7.mp4 ffprobe version N-89404-gdc7d5f9-Reino Copyright (c) 2007-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. 2.103 / 58. 2.103 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\inetpub\wwwroot\fmp4_x264\concated7.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 composer : Sacha Goedegebure encoder : Lavf58.2.103 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation Duration: 00:00:02.00, start: 0.000000, bitrate: 5709 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 5702 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler }}} We can see : . concated1.mp4 duration is 00:00:08.00 . concated2.mp4 duration is 00:00:04.00 . concated3.mp4 duration is 00:00:04.00 . concated4.mp4 duration is 00:00:04.00 . concated5.mp4 duration is 00:00:04.00 . concated6.mp4 duration is 00:00:04.00 . concated7.mp4 duration is 00:00:02.00 The full duration of all segmented files is 30 seconds as expected. But the first segment is 8 seconds instead of 4 seconds as expected by the ''-hls_time 4'' parameter. And as set in the .m3u8 file. ---- I can provide more data and log files for all your needs. Just give me the parameter or the command line you're wainting for. -- Ticket URL: <https://trac.ffmpeg.org/ticket/6888#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://ffmpeg.org/mailman/listinfo/ffmpeg-trac