[FFmpeg-trac] #5287(undetermined:new): Protocol not on whitelist 'file'! in m3u8 for local use

FFmpeg trac at avcodec.org
Sun Mar 6 14:38:49 CET 2016


#5287: Protocol not on whitelist 'file'! in m3u8 for local use
-------------------------------------+-------------------------------------
             Reporter:  remitamine   |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  hls          |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by remitamine):

 this is the link of the script:
 https://gist.github.com/remitamine/2e0cbef7d50e8e7ef2d2
 it depends on youtube-dl.
 try to download any m3u8 url or any site supported by youtube-dl that has
 only m3u8 formats (cbs, nbc, history, dcn...)
 it will download the segments and the create an m3u8 file that link to the
 local segements.
 something like this:
 {{{
 #EXTM3U
 #EXT-X-TARGETDURATION:10
 #EXT-X-ALLOW-CACHE:YES
 #EXT-X-KEY:METHOD=AES-128,URI="Connect Chat feat. Garth Brooks/crypt.key"
 #EXT-X-PLAYLIST-TYPE:VOD
 #EXT-X-VERSION:3
 #EXT-X-MEDIA-SEQUENCE:1
 #EXTINF:10.000,
 Connect Chat feat. Garth Brooks/segment1_1_av.ts
 #EXTINF:10.000,
 Connect Chat feat. Garth Brooks/segment2_1_av.ts
 #EXTINF:10.000,
 Connect Chat feat. Garth Brooks/segment3_1_av.ts
 #EXTINF:10.000,
 Connect Chat feat. Garth Brooks/segment4_1_av.ts
 #EXTINF:10.000,
 Connect Chat feat. Garth Brooks/segment5_1_av.ts
 #EXTINF:10.000,
 Connect Chat feat. Garth Brooks/segment6_1_av.ts
 #EXTINF:10.000,
 Connect Chat feat. Garth Brooks/segment7_1_av.ts
 #EXTINF:10.000,
 Connect Chat feat. Garth Brooks/segment8_1_av.ts
 #EXTINF:10.000,
 Connect Chat feat. Garth Brooks/segment9_1_av.ts
 #EXTINF:10.000,
 Connect Chat feat. Garth Brooks/segment10_1_av.ts
 #EXTINF:10.000,
 Connect Chat feat. Garth Brooks/segment11_1_av.ts
 #EXTINF:10.000,
 Connect Chat feat. Garth Brooks/segment12_1_av.ts
 #EXTINF:10.000,
 Connect Chat feat. Garth Brooks/segment13_1_av.ts
 }}}
 i was able to play the file with versions before 3.0, but now it didn't
 work.
 {{{
 [crypto @ 0x7fc00003b120] Protocol not on whitelist 'file'! f=0/0
 [hls,applehttp @ 0x7fc000009240] Failed to open segment of playlist 0
 [crypto @ 0x7fc00003b2c0] Protocol not on whitelist 'file'!
 [hls,applehttp @ 0x7fc000009240] Failed to open segment of playlist 0
 [crypto @ 0x7fc00003b3c0] Protocol not on whitelist 'file'!
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5287#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list