#11435: Added "-extension_picky" breaks various applications
------------------------------------+------------------------------------
             Reporter:  QFox        |                    Owner:  (none)
                 Type:  defect      |                   Status:  reopened
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  hls         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  1           |
------------------------------------+------------------------------------
Comment (by pal1000):

 My testing indicate that working around this with **-extension_picky 0**
 is more reliable than **-allowed_extensions ALL**. There are random
 streams for which the latter doesn't work for any good reason.
 {{{
 ffmpeg -hide_banner -allowed_extensions ALL -referer
 "https://onyx1.mofta.cfd/"; -i
 "https://onyx1.mofta.cfd/nike/usergenm24qrnd.m3u8"; -c copy -f mpegts - >
 nul
 [hls @ 000001fe1ceef5c0] Skip ('#EXT-X-VERSION:3')
 [hls @ 000001fe1ceef5c0] Opening 'https://onyx1.mofta.cfd/nike
 /usergenm24qrnd-got.htm' for reading
 [hls @ 000001fe1ceef5c0] Skip ('#EXT-X-VERSION:3')
 [hls @ 000001fe1ceef5c0] Opening
 'https://onyx1.mofta.cfd/nike/tokenized22193431userxqh2312lgx34v1gk.html'
 for reading
 [hls @ 000001fe1ceef5c0] Opening
 'https://onyx1.mofta.cfd/nike/tokenized22193440userxqh2402lgx34v1gk.html'
 for reading
 [hls @ 000001fe1ceef5c0] detected format mpegts extension none mismatches
 allowed extensions in url
 https://onyx1.mofta.cfd/nike/tokenized22193216userxqh2162lgx32v1gk.html
 [hls @ 000001fe1ceef5c0] Error when loading first segment
 'https://onyx1.mofta.cfd/nike/tokenized22193216userxqh2162lgx32v1gk.html'
 [in#0 @ 000001fe1ceef200] Error opening input: Invalid data found when
 processing input
 Error opening input file https://onyx1.mofta.cfd/nike/usergenm24qrnd.m3u8.
 Error opening input files: Invalid data found when processing input
 }}}
 {{{
 ffmpeg -hide_banner -extension_picky 0 -referer "https://onyx1.mofta.cfd/";
 -i "https://onyx1.mofta.cfd/nike/usergenm24qrnd.m3u8"; -c copy -f mpegts -
 > nul
 [hls @ 000001b1f384f580] Skip ('#EXT-X-VERSION:3')
 [hls @ 000001b1f384f580] Opening 'https://onyx1.mofta.cfd/nike
 /usergenm24qrnd-got.htm' for reading
 [hls @ 000001b1f384f580] Skip ('#EXT-X-VERSION:3')
 [hls @ 000001b1f384f580] Opening
 'https://onyx1.mofta.cfd/nike/tokenized22193525userxqh2252lgx35v1gk.html'
 for reading
 [hls @ 000001b1f384f580] Opening
 'https://onyx1.mofta.cfd/nike/tokenized22193534userxqh2342lgx35v1gk.html'
 for reading
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11435#comment:34>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to