Opened 4 months ago

Last modified 4 days ago

#7023 new defect

mediastreamvalidator failed with "Error injecting segment data"

Reported by: loki5100 Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: hls
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

When i do with ffmpeg 3.4.1 the instructions below :

ffmpeg.exe ^
-i "C:\Temp\ffmpeg\big_buck_bunny.avi" ^
-an ^
-sn ^
-c:v hevc ^
-x265-params "keyint=30:min-keyint=30:open-gop=0:scenecut=0" ^
-hls_time 4 ^
-hls_list_size 0 ^
-hls_segment_type fmp4 ^
-hls_fmp4_init_filename "C:\Temp\ffmpeg\result_init.mp4" ^
-t 30 ^
"C:\Temp\ffmpeg\result.m3u8"

Then i have exactly the same bug as mentionned here : https://trac.ffmpeg.org/ticket/6888 => I have in mediastreamvalidator

Error: Playlist vs segment duration mismatch
--> Detail:  Segment duration 2.0000, Playlist duration: 1.0000
--> Source:  http://api.kiskis.club/test/result.m3u8 - result0.m4s

So I try the last version ( N-90056-gdc77e64f2d downloaded today) and now with the same command I have another bug, now mediastreamvalidator report me:

[/test/result.m3u8] Started root playlist download
[/test/result.m3u8] Started media playlist download
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
[/test/result.m3u8] All media files delivered and have end tag, stopping

any workaround ?

Change History (6)

comment:1 Changed 4 months ago by cehoyos

  • Component changed from ffmpeg to undetermined
  • Keywords hls added
  • Priority changed from critical to normal

Is the issue only reproducible with hevc encoding?
Please provide the command line you tested together with the complete, uncut console output to make this a valid ticket.

comment:2 Changed 4 months ago by loki5100

The command line with the complete, uncut console output :

C:\Temp\ffmpeg>ffmpeg.exe -i "http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4" -loglevel verbose -c:a aac -b:a 128k -
c:v hevc -b:v 4977k -maxrate 4977k -bufsize 7466k -x265-params "keyint=60:min-keyint=60:open-gop=0:scenecut=0" -r 483570000/16117951 -t 30 -sn -movflags faststa
rt -preset ultrafast -pix_fmt yuv420p -hls_time 4 -hls_segment_type fmp4 -hls_list_size 0 -hls_fmp4_init_filename C:\temp\ffmpeg\bbb_init.mp4 C:\temp\ffmpeg\bbb
.m3u8
ffmpeg version N-90056-gdc77e64f2d Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libblur
ay --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enab
le-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --en
able-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enabl
e-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
  libavutil      56.  7.101 / 56.  7.101
  libavcodec     58. 11.101 / 58. 11.101
  libavformat    58.  9.100 / 58.  9.100
  libavdevice    58.  1.100 / 58.  1.100
  libavfilter     7. 12.100 /  7. 12.100
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[h264 @ 000000cb8fda0c80] 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
Matched encoder 'libx265' for codec 'hevc'.
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
  Stream #0:2 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
[h264 @ 000000cb8fd8ae40] Reinit context to 1920x1088, pix_fmt: yuv420p
[graph 0 input from stream 0:0 @ 000000cb90538cc0] w:1920 h:1080 pixfmt:yuv420p tb:1/30000 fr:30/1 sar:1/1 sws_param:flags=2
x265 [info]: HEVC encoder version 2.6+37-1949157705ce
x265 [info]: build info [Windows][GCC 7.2.0][64 bit] 8bit+10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(34 rows)
x265 [info]: Coding QT: max CU size, min CU size : 32 / 16
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : dia / 57 / 0 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 60 / 60 / 0 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 5 / 3 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 0 / 0
x265 [info]: References / ref-limit  cu / depth  : 1 / off / off
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 0.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-4977 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock
*** 2 dup!
[graph_1_in_0_2 @ 000000cb9082b600] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x60f
[aac @ 000000cb9082dd80] Using a PCE to encode channel layout
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb_init.mp4' for writing
Output #0, hls, to 'C:\temp\ffmpeg\bbb.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.9.100
    Stream #0:0(und): Video: hevc (libx265), 1 reference frame, yuv420p(progressive, left), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 4977 kb/s, 30 fps, 998795.00 t
bn, 30 tbc (default)
    Metadata:
      creation_time   : 2013-12-16T17:44:39.000000Z
      handler_name    : GPAC ISO Video Handler
      encoder         : Lavc58.11.101 libx265
    Stream #0:1(und): Audio: aac (LC), 48000 Hz, 5.1(side), fltp, delay 1024, 128 kb/s (default)
    Metadata:
      creation_time   : 2013-12-16T17:44:42.000000Z
      handler_name    : GPAC ISO Audio Handler
      encoder         : Lavc58.11.101 aac
    Side data:
      audio service type: main
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb0.m4s' for writing drop=0 speed=2.47x
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb1.m4s' for writing drop=0 speed=2.17x
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb2.m4s' for writing drop=0 speed=1.98x
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb3.m4s' for writing drop=0 speed=1.89x
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb4.m4s' for writing drop=0 speed=1.84x
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb5.m4s' for writing drop=0 speed=1.85x
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb6.m4s' for writing drop=0 speed=1.93x
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
No more output streams to write to, finishing.:29.73 bitrate=N/A dup=2 drop=0 speed=1.95x
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb7.m4s' for writing
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb8.m4s' for writing
[hls @ 000000cb905400c0] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
frame=  901 fps= 57 q=-0.0 Lsize=N/A time=00:00:30.01 bitrate=N/A dup=2 drop=0 speed=1.91x
video:23439kB audio:470kB subtitle:0kB other streams:0kB global headers:2kB muxing overhead: unknown
Input file #0 (http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4):
  Input stream #0:0 (video): 910 packets read (11573775 bytes); 901 frames decoded;
  Input stream #0:1 (audio): 21 packets read (10080 bytes);
  Input stream #0:2 (audio): 946 packets read (1210880 bytes); 946 frames decoded (1453056 samples);
  Total: 1877 packets (12794735 bytes) demuxed
Output file #0 (C:\temp\ffmpeg\bbb.m3u8):
  Output stream #0:0 (video): 901 frames encoded; 901 packets muxed (24001991 bytes);
  Output stream #0:1 (audio): 1407 frames encoded (1440000 samples); 1408 packets muxed (481577 bytes);
  Total: 2309 packets (24483568 bytes) muxed
x265 [info]: frame I:     16, Avg QP:19.38  kb/s: 54461.61
x265 [info]: frame P:    227, Avg QP:20.80  kb/s: 15128.22
x265 [info]: frame B:    658, Avg QP:23.70  kb/s: 2210.48
x265 [info]: consecutive B-frames: 7.4% 0.8% 5.3% 86.4%

encoded 901 frames in 15.71s (57.33 fps), 6392.88 kb/s, Avg QP:22.90
[aac @ 000000cb9082dd80] Qavg: 134.647

the output of mediastreamvalidator :

mediastreamvalidator: Version 1.2(170822)

[ /test/bbb.m3u8 ] Started root playlist download
[ /test/bbb.m3u8 ] Started media playlist download
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
[ /test/bbb.m3u8 ] All media files delivered and have end tag, stopping

Processed 0 out of 9 segments
Average segment duration: 3.336820
Total segment bitrates (all discontinuities): average: 6527.13 kb/s, max: 15905.52 kb/s


Discontinuity: sequence: 0, parsed segment count: 0 of 9, duration: 30.031 sec, average: 6527.13 kb/s, max: 15905.52 kb/s

With the x264 encoding i have different error (error: Zero sample count and Can't deal with multiple sample timings per sample buffer)

C:\Temp\ffmpeg>ffmpeg.exe -i "http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4" -loglevel verbose -c:a aac -b:a 128k -
c:v libx264 -b:v 4977k -maxrate 4977k -bufsize 7466k -x264opts "keyint=60:min-keyint=60:scenecut=0" -r 483570000/16117951 -t 30 -sn -movflags faststart -preset
ultrafast -pix_fmt yuv420p -hls_time 4 -hls_segment_type fmp4 -hls_list_size 0 -hls_fmp4_init_filename C:\temp\ffmpeg\bbb_init.mp4 C:\temp\ffmpeg\bbb.m3u8
ffmpeg version N-90056-gdc77e64f2d Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libblur
ay --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enab
le-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --en
able-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enabl
e-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
  libavutil      56.  7.101 / 56.  7.101
  libavcodec     58. 11.101 / 58. 11.101
  libavformat    58.  9.100 / 58.  9.100
  libavdevice    58.  1.100 / 58.  1.100
  libavfilter     7. 12.100 /  7. 12.100
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[h264 @ 00000042f3c40c00] 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 (native))
Press [q] to stop, [?] for help
[h264 @ 00000042f3c2af40] Reinit context to 1920x1088, pix_fmt: yuv420p
[graph 0 input from stream 0:0 @ 00000042f444ccc0] w:1920 h:1080 pixfmt:yuv420p tb:1/30000 fr:30/1 sar:1/1 sws_param:flags=2
[libx264 @ 00000042f3c4a000] using SAR=1/1
[libx264 @ 00000042f3c4a000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 00000042f3c4a000] profile Constrained Baseline, level 4.0
[libx264 @ 00000042f3c4a000] 264 - core 155 r2901 7d0ff22 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=0 r
ef=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 ch
roma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60
keyint_min=31 scenecut=0 intra_refresh=0 rc_lookahead=0 rc=cbr mbtree=0 bitrate=4977 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=4977 vbv_bufsi
ze=7466 nal_hrd=none filler=0 ip_ratio=1.40 aq=0
*** 2 dup!
[graph_1_in_0_2 @ 00000042f8bcee00] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x60f
[aac @ 00000042f4747b40] Using a PCE to encode channel layout
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb_init.mp4' for writing
Output #0, hls, to 'C:\temp\ffmpeg\bbb.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.9.100
    Stream #0:0(und): Video: h264 (libx264), 1 reference frame, yuv420p(progressive, left), 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 4977 kb/s, 30 fps, 998795.00
tbn, 30 tbc (default)
    Metadata:
      creation_time   : 2013-12-16T17:44:39.000000Z
      handler_name    : GPAC ISO Video Handler
      encoder         : Lavc58.11.101 libx264
    Side data:
      cpb: bitrate max/min/avg: 4977000/0/4977000 buffer size: 7466000 vbv_delay: -1
    Stream #0:1(und): Audio: aac (LC), 48000 Hz, 5.1(side), fltp, delay 1024, 128 kb/s (default)
    Metadata:
      creation_time   : 2013-12-16T17:44:42.000000Z
      handler_name    : GPAC ISO Audio Handler
      encoder         : Lavc58.11.101 aac
    Side data:
      audio service type: main
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb0.m4s' for writingdrop=0 speed=5.71x
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb1.m4s' for writing drop=0 speed=5.86x
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb2.m4s' for writing
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb3.m4s' for writing drop=0 speed=5.71x
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb4.m4s' for writing drop=0 speed=5.67x
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb5.m4s' for writing drop=0 speed=5.46x
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb6.m4s' for writing drop=0 speed=5.49x
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb7.m4s' for writing drop=0 speed=5.59x
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
No more output streams to write to, finishing.
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb8.m4s' for writing
[hls @ 00000042f472b040] Opening 'C:\temp\ffmpeg\bbb.m3u8.tmp' for writing
EXT-X-MEDIA-SEQUENCE:0
frame=  901 fps=163 q=-1.0 Lsize=N/A time=00:00:30.01 bitrate=N/A dup=2 drop=0 speed=5.42x
video:16798kB audio:470kB 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): 910 packets read (11573775 bytes); 901 frames decoded;
  Input stream #0:1 (audio): 21 packets read (10080 bytes);
  Input stream #0:2 (audio): 946 packets read (1210880 bytes); 946 frames decoded (1453056 samples);
  Total: 1877 packets (12794735 bytes) demuxed
Output file #0 (C:\temp\ffmpeg\bbb.m3u8):
  Output stream #0:0 (video): 901 frames encoded; 901 packets muxed (17201197 bytes);
  Output stream #0:1 (audio): 1407 frames encoded (1440000 samples); 1408 packets muxed (481577 bytes);
  Total: 2309 packets (17682774 bytes) muxed
[libx264 @ 00000042f3c4a000] frame I:16    Avg QP:23.18  size:141013
[libx264 @ 00000042f3c4a000] frame P:885   Avg QP:25.75  size: 16886
[libx264 @ 00000042f3c4a000] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 00000042f3c4a000] mb P  I16..4:  5.7%  0.0%  0.0%  P16..4: 21.1%  0.0%  0.0%  0.0%  0.0%    skip:73.2%
[libx264 @ 00000042f3c4a000] coded y,uvDC,uvAC intra: 22.2% 31.5% 13.1% inter: 9.1% 7.0% 1.0%
[libx264 @ 00000042f3c4a000] i16 v,h,dc,p: 62% 17% 12%  9%
[libx264 @ 00000042f3c4a000] i8c dc,h,v,p: 65% 18% 12%  5%
[libx264 @ 00000042f3c4a000] kb/s:4582.01
[aac @ 00000042f4747b40] Qavg: 134.647

and mediaStreamValidator return me :

mediastreamvalidator: Version 1.2(170822)

[ /test/bbb.m3u8 ] Started root playlist download
[ /test/bbb.m3u8 ] Started media playlist download
Can't deal with multiple sample timings per sample buffer
Can't deal with multiple sample timings per sample buffer
Can't deal with multiple sample timings per sample buffer
Can't deal with multiple sample timings per sample buffer
[ /test/bbb.m3u8 ] All media files delivered and have end tag, stopping

Processed 9 out of 9 segments
Average segment duration: 3.336820
Total segment bitrates (all discontinuities): average: 4714.62 kb/s, max: 6340.88 kb/s


Discontinuity: sequence: 0, parsed segment count: 9 of 9, duration: 30.031 sec, average: 4714.62 kb/s, max: 6340.88 kb/s
Track ID: 1
Video Codec: avc1
Video profile: Baseline
Video level: 4.0
Video resolution: 1920x1080
Video average IDR interval: 1.999870, Standard deviation: 0.000000
Video frame rate: 30.002
Track ID: 2
Audio Codec: AAC-LC
Audio sample rate: 48000 Hz
Audio channels: 0
Audio channel layout: (null)

--------------------------------------------------------------------------------
MUST fix issues
--------------------------------------------------------------------------------

Error: Zero sample count
--> Detail:  Track ID 551
--> Source:  bbb.m3u8 - bbb8.m4s

comment:3 Changed 3 months ago by stevenliu

try this patch set please: https://patchwork.ffmpeg.org/patch/7960/

comment:4 Changed 3 months ago by loki5100

Sad I can't compile it because I don't have the tool to do it :( maybe you can gave me a link the the compiled exe that i can try ?

comment:5 Changed 3 months ago by loki5100

Is their any way that i can get access to the compiled ffmpeg with this patch included ? I try to download the compiled version 20180313-b173e03 at https://ffmpeg.zeranoe.com/builds/ but it's seam it's not include this patch :(

comment:6 Changed 4 days ago by loki5100

Hello, is their any new about the resolution of this bug? How can i help ?

Note: See TracTickets for help on using tickets.