#11526: cmfv and cmfa not in hls allowed_extensions ------------------------------------+------------------------------------ Reporter: gamer191 | Owner: (none) Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Description changed by gamer191:
Old description: > Summary of the bug: > Cmfv and cmfa are not in ffmpeg's HLS demuxer's list of > allowed_extensions. This causes issues when downloading niconico videos > using yt-dlp. > > This can be reproduced with `yt-dlp > "https://www.nicovideo.jp/watch/sm44612421" --downloader ffmpeg` (the > cmfa issue can be reproduced using `yt-dlp > "https://www.nicovideo.jp/watch/sm44612421" --downloader ffmpeg -f > bestaudio`). Alternatively, you can create a .m3u8 file containing > {{{ > #EXTM3U > #EXT-X-TARGETDURATION:174 > #EXTINF:135, > https://example.com/file.cmfv > }}} > and then run > {{{ > % ffmpeg -i file.m3u8 > ffmpeg version N-118897-gfc44ccd981-20250323 Copyright (c) 2000-2025 the > FFmpeg developers > built with gcc 14.2.0 (crosstool-NG 1.27.0.18_7458341) > configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static > --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 > --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug > --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib > --enable-libfreetype --enable-libfribidi --enable-gmp --enable-libxml2 > --enable-lzma --enable-fontconfig --enable-libharfbuzz --enable-libvorbis > --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb > --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable- > avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 > --enable-libdvdread --enable-libdvdnav --disable-libfdk-aac --enable- > ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable- > libkvazaar --enable-libaribcaption --enable-libass --enable-libbluray > --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist > --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp > --enable-libzmq --enable-lv2 --enable-libvpl --enable-openal --enable- > libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 > --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable- > librubberband --enable-schannel --enable-sdl2 --enable-libsnappy > --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame > --enable-libuavs3d --disable-libdrm --enable-vaapi --enable-libvidstab > --enable-vulkan --enable-libshaderc --enable-libplacebo --disable- > libvvenc --enable-libx264 --enable-libx265 --enable-libxavs2 --enable- > libxvid --enable-libzimg --enable-libzvbi --extra- > cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs=-lgomp --extra- > ldflags=-pthread --extra-ldexeflags= --cc=x86_64-w64-mingw32-gcc > --cxx=x86_64-w64-mingw32-g++ --ar=x86_64-w64-mingw32-gcc-ar > --ranlib=x86_64-w64-mingw32-gcc-ranlib --nm=x86_64-w64-mingw32-gcc-nm > --extra-version=20250323 > libavutil 59. 60.100 / 59. 60.100 > libavcodec 61. 33.102 / 61. 33.102 > libavformat 61. 9.107 / 61. 9.107 > libavdevice 61. 4.100 / 61. 4.100 > libavfilter 10. 9.100 / 10. 9.100 > libswscale 8. 13.103 / 8. 13.103 > libswresample 5. 4.100 / 5. 4.100 > libpostproc 58. 4.100 / 58. 4.100 > [hls @ 00000257b8f1be40] URL https://example.com/file.cmfv is not in > allowed_extensions > [in#0 @ 00000257b8eb9f40] Error opening input: Invalid data found when > processing input > Error opening input file C:\Users\REDACTED\file.m3u8. > Error opening input files: Invalid data found when processing input > }}} > Patches should be submitted to the ffmpeg-devel mailing list and not this > bug tracker. New description: Summary of the bug: Cmfv and cmfa are not in ffmpeg's HLS demuxer's list of allowed_extensions. This causes issues when downloading niconico videos using yt-dlp. This can be reproduced with `yt-dlp "https://www.nicovideo.jp/watch/sm44612421" --downloader ffmpeg` (the cmfa issue can be reproduced using `yt-dlp "https://www.nicovideo.jp/watch/sm44612421" --downloader ffmpeg -f bestaudio`). Alternatively, you can create a .m3u8 file containing {{{ #EXTM3U #EXT-X-TARGETDURATION:174 #EXTINF:135, https://example.com/file.cmfv }}} and then run {{{ % ffmpeg -v 9 -loglevel 99 -i "C:\Users\REDACTED\file.m3u8" ffmpeg version N-118897-gfc44ccd981-20250323 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 14.2.0 (crosstool-NG 1.27.0.18_7458341) configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-libxml2 --enable-lzma --enable-fontconfig --enable-libharfbuzz --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable- avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --enable-libdvdread --enable-libdvdnav --disable-libfdk-aac --enable- ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable- libkvazaar --enable-libaribcaption --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-libzmq --enable-lv2 --enable-libvpl --enable-openal --enable- libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable- librubberband --enable-schannel --enable-sdl2 --enable-libsnappy --enable- libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable- libuavs3d --disable-libdrm --enable-vaapi --enable-libvidstab --enable- vulkan --enable-libshaderc --enable-libplacebo --disable-libvvenc --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs=-lgomp --extra-ldflags=-pthread --extra- ldexeflags= --cc=x86_64-w64-mingw32-gcc --cxx=x86_64-w64-mingw32-g++ --ar=x86_64-w64-mingw32-gcc-ar --ranlib=x86_64-w64-mingw32-gcc-ranlib --nm=x86_64-w64-mingw32-gcc-nm --extra-version=20250323 libavutil 59. 60.100 / 59. 60.100 libavcodec 61. 33.102 / 61. 33.102 libavformat 61. 9.107 / 61. 9.107 libavdevice 61. 4.100 / 61. 4.100 libavfilter 10. 9.100 / 10. 9.100 libswscale 8. 13.103 / 8. 13.103 libswresample 5. 4.100 / 5. 4.100 libpostproc 58. 4.100 / 58. 4.100 Splitting the commandline. Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'. Reading option '-i' ... matched as input url with argument 'C:\Users\REDACTED\file.m3u8'. Finished splitting the commandline. Parsing a group of options: global . Applying option v (set logging level) with argument 9. Successfully parsed a group of options. Parsing a group of options: input url C:\Users\REDACTED\file.m3u8. Successfully parsed a group of options. Opening an input file: C:\Users\REDACTED\file.m3u8. [AVFormatContext @ 0000022059d7de40] Opening 'C:\Users\REDACTED\file.m3u8' for reading [file @ 0000022059d29380] Setting default whitelist 'file,crypto,data' Probing hls score:100 size:77 [hls @ 0000022059d7de40] Format hls probed with size=2048 and score=100 [hls @ 0000022059d7de40] URL https://example.com/file.cmfv is not in allowed_extensions [AVIOContext @ 0000022059d37c40] Statistics: 77 bytes read, 0 seeks [in#0 @ 0000022059d38480] Error opening input: Invalid data found when processing input Error opening input file C:\Users\REDACTED\file.m3u8. Error opening input files: Invalid data found when processing input }}} Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker. -- -- Ticket URL: <https://trac.ffmpeg.org/ticket/11526#comment:1> 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".