[FFmpeg-user] hls stream: remove EXT-X-ALLOW-CACHE

Zsolt zsocam at gmail.com
Wed Feb 24 12:53:44 CET 2016


On Wed, Feb 24, 2016 at 12:40 PM Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Zsolt <zsocam <at> gmail.com> writes:
>
> > my question is, how can I remove the EXT-X-ALLOW-CACHE line from
> > the m3u8 list file, since Apple's Media Stream Validator says
> > it's deprecated?
>
> (Complete, uncut console output missing.)
> Remove "-hls_allow_cache 0" from your command line.
>

I've removed, now it says EXT-X-ALLOW-CACHE:YES.
I'd like to remove the allow cache param.

Output attached .

Zsolt


>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
-------------- next part --------------
ffmpeg version N-77727-gf4c1a48 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/home/mediaadmin/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/mediaadmin/ffmpeg_build/include --extra-ldflags=-L/home/mediaadmin/ffmpeg_build/lib --bindir=/home/mediaadmin/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-nonfree --enable-decklink --extra-cflags=-I/home/mediaadmin/bmd_sdk_10-5-2/Linux/include --extra-ldflags=-L/home/mediaadmin/bmd_sdk_10-5-2/Linux/include
  libavutil      55. 12.100 / 55. 12.100
  libavcodec     57. 22.100 / 57. 22.100
  libavformat    57. 21.101 / 57. 21.101
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 23.100 /  6. 23.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[NULL @ 0x3971140] non-existing SPS 0 referenced in buffering period
[NULL @ 0x3971140] non-existing PPS 0 referenced
[h264 @ 0x3971140] non-existing SPS 0 referenced in buffering period
[h264 @ 0x3971140] non-existing PPS 0 referenced
[h264 @ 0x3971140] decode_slice_header error
[h264 @ 0x3971140] non-existing PPS 0 referenced
[.....]
[h264 @ 0x3971140] mmco: unref short failure
[h264 @ 0x393ffc0] mmco: unref short failure
[h264 @ 0x3a43400] mmco: unref short failure
[mpegts @ 0x3915c40] Could not find codec parameters for stream 4 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'udp://':
  Duration: N/A, start: 14280.321333, bitrate: N/A
  Program 100 
    Metadata:
      service_name    : M1 HD
      service_provider: Magyar Telev��zi��
    Stream #0:14[0x3e9]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1440x1080 [SAR 4:3 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:16[0x3ea](hun): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
    Stream #0:13[0x3ec](hun): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
    Stream #0:18[0x3ee](mul): Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
    Stream #0:3[0x3eb](hun): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:4[0x3ed]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 101 
    Metadata:
      service_name    : M4 Sport HD
      service_provider: Magyar Telev��zi��
    Stream #0:19[0x3f3]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1440x1080 [SAR 4:3 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:20[0x3f4](hun): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
    Stream #0:8[0x3f6](hun): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
    Stream #0:12[0x3fa](mul): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
    Stream #0:3[0x3eb](hun): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:4[0x3ed]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 120 
    Metadata:
      service_name    : Duna World
      service_provider: Duna Telev��zi��
    Stream #0:0[0x4b1]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg), 720x576 [SAR 12:11 DAR 15:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x4b2](hun): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
    Stream #0:2[0x4b6](mul): Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
    Stream #0:3[0x3eb](hun): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:4[0x3ed]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 121 
    Metadata:
      service_name    : Duna HD
      service_provider: Duna Telev��zi��
    Stream #0:5[0x4bb]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1440x1080 [SAR 4:3 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:10[0x4bc](hun): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
    Stream #0:11[0x4be](hun): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
    Stream #0:7[0x4c2](mul): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
    Stream #0:3[0x3eb](hun): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:4[0x3ed]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 130 
    Metadata:
      service_name    : Kossuth Radio
      service_provider: Magyar R��di��
    Stream #0:9[0x516](hun): Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
    Stream #0:4[0x3ed]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 131 
    Metadata:
      service_name    : Petofi Radio
      service_provider: Magyar R��di��
    Stream #0:15[0x520](hun): Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
    Stream #0:4[0x3ed]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 132 
    Metadata:
      service_name    : Bartok Radio
      service_provider: Magyar R��di��
    Stream #0:17[0x52a](hun): Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
    Stream #0:4[0x3ed]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 133 
    Metadata:
      service_name    : Danko Radio
      service_provider: Magyar R��di��
    Stream #0:6[0x534](hun): Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
    Stream #0:4[0x3ed]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 170 
    Metadata:
      service_name    : DataService_A
      service_provider: Antenna Hung��ria
[libx264 @ 0x3bb0ea0] VBV maxrate unspecified, assuming CBR
[libx264 @ 0x3bb0ea0] using SAR=1/1
[libx264 @ 0x3bb0ea0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x3bb0ea0] profile High, level 4.0
[libx264 @ 0x3bb0ea0] 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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=126 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=2700 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=2700 vbv_bufsize=2700 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0x39d3fe0] VBV maxrate unspecified, assuming CBR
[libx264 @ 0x39d3fe0] using SAR=1280/1281
[libx264 @ 0x39d3fe0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x39d3fe0] profile Main, level 3.1
[libx264 @ 0x39d3fe0] 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 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=126 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=1300 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=1300 vbv_bufsize=1300 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0x3ac70e0] VBV maxrate unspecified, assuming CBR
[libx264 @ 0x3ac70e0] using SAR=1/1
[libx264 @ 0x3ac70e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x3ac70e0] profile Main, level 3.1
[libx264 @ 0x3ac70e0] 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 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=126 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=1000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=1000 vbv_bufsize=1000 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0x3bac420] VBV maxrate unspecified, assuming CBR
[libx264 @ 0x3bac420] using SAR=1/1
[libx264 @ 0x3bac420] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x3bac420] profile Constrained Baseline, level 3.0
[libx264 @ 0x3bac420] 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 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=0 weightp=0 keyint=250 keyint_min=126 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=600 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=600 vbv_bufsize=600 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0x3935500] VBV maxrate unspecified, assuming CBR
[libx264 @ 0x3935500] using SAR=1/1
[libx264 @ 0x3935500] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x3935500] profile Constrained Baseline, level 3.0
[libx264 @ 0x3935500] 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=126 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=300 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=300 vbv_bufsize=300 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
Output #0, stream_segment,ssegment, to '/dev/shm/live/segment_2700k_%01d.ts':
  Metadata:
    encoder         : Lavf57.21.101
    Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 2700 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.22.100 libx264
    Side data:
      unknown side data type 10 (24 bytes)
    Stream #0:1(hun): Audio: aac (libfdk_aac), 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
      encoder         : Lavc57.22.100 libfdk_aac
Output #1, stream_segment,ssegment, to '/dev/shm/live/segment_1300k_%01d.ts':
  Metadata:
    encoder         : Lavf57.21.101
    Stream #1:0: Video: h264 (libx264), yuv420p, 854x480 [SAR 1280:1281 DAR 16:9], q=-1--1, 1300 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.22.100 libx264
    Side data:
      unknown side data type 10 (24 bytes)
    Stream #1:1(hun): Audio: aac (libfdk_aac), 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
      encoder         : Lavc57.22.100 libfdk_aac
Output #2, stream_segment,ssegment, to '/dev/shm/live/segment_1000k_%01d.ts':
  Metadata:
    encoder         : Lavf57.21.101
    Stream #2:0: Video: h264 (libx264), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 1000 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.22.100 libx264
    Side data:
      unknown side data type 10 (24 bytes)
    Stream #2:1(hun): Audio: aac (libfdk_aac), 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
      encoder         : Lavc57.22.100 libfdk_aac
Output #3, stream_segment,ssegment, to '/dev/shm/live/segment_600k_%01d.ts':
  Metadata:
    encoder         : Lavf57.21.101
    Stream #3:0: Video: h264 (libx264), yuv420p, 480x270 [SAR 1:1 DAR 16:9], q=-1--1, 600 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.22.100 libx264
    Side data:
      unknown side data type 10 (24 bytes)
    Stream #3:1(hun): Audio: aac (libfdk_aac), 48000 Hz, stereo, s16, 64 kb/s
    Metadata:
      encoder         : Lavc57.22.100 libfdk_aac
Output #4, stream_segment,ssegment, to '/dev/shm/live/segment_300k_%01d.ts':
  Metadata:
    encoder         : Lavf57.21.101
    Stream #4:0: Video: h264 (libx264), yuv420p, 320x180 [SAR 1:1 DAR 16:9], q=-1--1, 300 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.22.100 libx264
    Side data:
      unknown side data type 10 (24 bytes)
    Stream #4:1(hun): Audio: aac (libfdk_aac), 48000 Hz, stereo, s16, 64 kb/s
    Metadata:
      encoder         : Lavc57.22.100 libfdk_aac
Stream mapping:
  Stream #0:19 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:8 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
  Stream #0:19 -> #1:0 (h264 (native) -> h264 (libx264))
  Stream #0:8 -> #1:1 (ac3 (native) -> aac (libfdk_aac))
  Stream #0:19 -> #2:0 (h264 (native) -> h264 (libx264))
  Stream #0:8 -> #2:1 (ac3 (native) -> aac (libfdk_aac))
  Stream #0:19 -> #3:0 (h264 (native) -> h264 (libx264))
  Stream #0:8 -> #3:1 (ac3 (native) -> aac (libfdk_aac))
  Stream #0:19 -> #4:0 (h264 (native) -> h264 (libx264))
  Stream #0:8 -> #4:1 (ac3 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[h264 @ 0x1143d240] co located POCs unavailable
    Last message repeated 5 times
[h264 @ 0x11687f80] mmco: unref short failure
[h264 @ 0x115f9cc0] reference picture missing during reorder
[h264 @ 0x115f9cc0] Missing reference picture, default is 65510
    Last message repeated 1 times
[h264 @ 0x115f9cc0] reference picture missing during reorder
[h264 @ 0x115f9cc0] Missing reference picture, default is 65510
    Last message repeated 1 times
[h264 @ 0x11687f80] mmco: unref short failure
[h264 @ 0x115f9cc0] reference picture missing during reorder
[h264 @ 0x115f9cc0] Missing reference picture, default is 65510
    Last message repeated 1 times
[h264 @ 0x115f9cc0] reference picture missing during reorder
[h264 @ 0x115f9cc0] Missing reference picture, default is 65510
    Last message repeated 1 times
[h264 @ 0x115f9cc0] reference picture missing during reorder
[h264 @ 0x115f9cc0] Missing reference picture, default is 65510
    Last message repeated 1 times
[h264 @ 0x115f9cc0] reference picture missing during reorder
[h264 @ 0x115f9cc0] Missing reference picture, default is 65510
    Last message repeated 1 times
frame=   60 fps=0.0 q=16.0 q=17.0 q=17.0 q=19.0 q=17.0 size=N/A time=00:00:02.34 bitrate=N/A dup=205 drop=0 speed=4.58x    
frame=   81 fps= 78 q=14.0 q=14.0 q=13.0 q=7.0 q=4.0 size=N/A time=00:00:03.09 bitrate=N/A dup=205 drop=0 speed=2.99x    
frame=   98 fps= 64 q=45.0 q=45.0 q=44.0 q=31.0 q=34.0 size=N/A time=00:00:03.62 bitrate=N/A dup=205 drop=0 speed=2.35x    
frame=  109 fps= 53 q=29.0 q=27.0 q=25.0 q=24.0 q=25.0 size=N/A time=00:00:04.11 bitrate=N/A dup=205 drop=0 speed=2.01x    
frame=  122 fps= 48 q=27.0 q=26.0 q=25.0 q=29.0 q=29.0 size=N/A time=00:00:04.65 bitrate=N/A dup=205 drop=0 speed=1.81x    
frame=  130 fps= 42 q=26.0 q=26.0 q=24.0 q=27.0 q=27.0 size=N/A time=00:00:05.09 bitrate=N/A dup=205 drop=0 speed=1.66x    
frame=  142 fps= 40 q=26.0 q=26.0 q=25.0 q=27.0 q=28.0 size=N/A time=00:00:05.67 bitrate=N/A dup=205 drop=0 speed=1.58x    
frame=  153 fps= 37 q=26.0 q=26.0 q=25.0 q=27.0 q=28.0 size=N/A time=00:00:06.16 bitrate=N/A dup=205 drop=0 speed= 1.5x    


More information about the ffmpeg-user mailing list