尝试下载 m3u8/HLS 流时出现错误

尝试下载 m3u8/HLS 流时出现错误

我正在尝试下载 HLS 视频,但收到错误。通过谷歌搜索,我发现它与加密有关?但我找不到确认或绕过它的方法。我尝试过在 URL 中使用和不使用用户名和密码两种方式。我希望有人能帮助我找出正确的命令。提前谢谢!

ffmpeg -i https:\u002F\u002Fcloudflarestream.com\u002FeyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJraWQiOiJiMjU5ZDVlMGNmNjMzMDVkOWU0MDYxNjYxNzJjMTVhZCIsInN1YiI6IjQ4MTBmMjFjYTkxMzMyNGRkMTBjYzJmM2RjOTFmYjkxIiwiZXhwIjoxNjc4NTg2NDI4LCJkb3dubG9hZGFibGUiOnRydWUsImFjY2Vzc1J1bGVzIjpbXX0.CeLLYbhjyezE8yC4Cu_tNf7OfvHl9gbd0rGmpGLy_aLxWWwSeoCUYZU5V7eYRNXYKKhugU1MZvs8etWDYamjVtpq3fldyVI9p6MkTJYl26D4Qb8XIlUL9VnpWbjWgNMYwLF_okPtausmMNVe7m9mP7A4jtnF2fTm0-Ql0j_F_98oGMGLV9cWiAh9TZY1cRAmaNFALSZL9i_rTuX7WCukqQFiMxcJVHmXFxqUpItaWMpNgMBB1V6T7cR38GbQ9PH_cBkpXtN4NHnFQ_gT2XDnx81Fs0CTwTyrIgwhcNDF0cDeWn9Jz-NfAge4fqY63ZgPk0bBeinfJzhx3LScXVojvA\u002Fmanifest\u002Fvideo.m3u8 -map p:6 -c copy -t 60 -f segment -segment_list out.list out%03d.ts
ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/5.1.2_6 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-neon
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[tcp @ 0x12d605af0] Port missing in uri

凭凭证:

ffmpeg -i https:\USERNAME:PASSWORD@u002F\u002Fcloudflarestream.com\u002FeyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJraWQiOiJiMjU5ZDVlMGNmNjMzMDVkOWU0MDYxNjYxNzJjMTVhZCIsInN1YiI6IjQ4MTBmMjFjYTkxMzMyNGRkMTBjYzJmM2RjOTFmYjkxIiwiZXhwIjoxNjc4NTg2NDI4LCJkb3dubG9hZGFibGUiOnRydWUsImFjY2Vzc1J1bGVzIjpbXX0.CeLLYbhjyezE8yC4Cu_tNf7OfvHl9gbd0rGmpGLy_aLxWWwSeoCUYZU5V7eYRNXYKKhugU1MZvs8etWDYamjVtpq3fldyVI9p6MkTJYl26D4Qb8XIlUL9VnpWbjWgNMYwLF_okPtausmMNVe7m9mP7A4jtnF2fTm0-Ql0j_F_98oGMGLV9cWiAh9TZY1cRAmaNFALSZL9i_rTuX7WCukqQFiMxcJVHmXFxqUpItaWMpNgMBB1V6T7cR38GbQ9PH_cBkpXtN4NHnFQ_gT2XDnx81Fs0CTwTyrIgwhcNDF0cDeWn9Jz-NfAge4fqY63ZgPk0bBeinfJzhx3LScXVojvA\u002Fmanifest\u002Fvideo.m3u8 -map p:6 -c copy -t 60 -f segment -segment_list out.list out%03d.ts
zsh: no matches found: https:USERNAME:PASSWORD@u002Fu002Fcloudflarestream.comu002FeyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJraWQiOiJiMjU5ZDVlMGNmNjMzMDVkOWU0MDYxNjYxNzJjMTVhZCIsInN1YiI6IjQ4MTBmMjFjYTkxMzMyNGRkMTBjYzJmM2RjOTFmYjkxIiwiZXhwIjoxNjc4NTg2NDI4LCJkb3dubG9hZGFibGUiOnRydWUsImFjY2Vzc1J1bGVzIjpbXX0.CeLLYbhjyezE8yC4Cu_tNf7OfvHl9gbd0rGmpGLy_aLxWWwSeoCUYZU5V7eYRNXYKKhugU1MZvs8etWDYamjVtpq3fldyVI9p6MkTJYl26D4Qb8XIlUL9VnpWbjWgNMYwLF_okPtausmMNVe7m9mP7A4jtnF2fTm0-Ql0j_F_98oGMGLV9cWiAh9TZY1cRAmaNFALSZL9i_rTuX7WCukqQFiMxcJVHmXFxqUpItaWMpNgMBB1V6T7cR38GbQ9PH_cBkpXtN4NHnFQ_gT2XDnx81Fs0CTwTyrIgwhcNDF0cDeWn9Jz-NfAge4fqY63ZgPk0bBeinfJzhx3LScXVojvAu002Fmanifestu002Fvideo.m3u8

相关内容