FFmpeg&Video DownloadHelper downloads web page HLS streaming video

  • Get the streaming address of the video:   

    • If it is an Edge browser, directly search for Video DownloadHelper in the extended market;
    • If it is Chrome or a Chrome-based browser (such as the vivaldi I use), you can download the resources I uploaded . After decompression, load them in vivaldi://extensions/ (if it is Chrome, it is chrome://extensions/) The decompressed extension program, Video DownloadHelper is successfully added as a browser extension;
    • It is worth mentioning that Video DownloadHelper itself supports web video downloads other than HLS, so this blog is published.

  • Install ffmpeg:
    • Official website download;
    • If you find it troublesome to download from the official website, you can download the resources I uploaded, unzip them directly after the download is complete, and then configure the environment variables to be OK, which is very convenient.
    • Open the terminal and enter the command "ffmpeg –version". If the command prompt window returns the version information of FFmpeg, then the installation is successful.
环境变量配置方法:
1.点击系统属性窗口中的环境变量按钮;
2.在“用户变量”区域选择Path变量;
3.点击编辑按钮,在其原始内容后加入ffmpeg的bin路径。

  • Download with ffmpeg:
    • At this point, you can enter in the terminal
    • ffmpeg -i "HLS流媒体地址" a.mp4
    •  Among them, "HLS streaming media address" fills in the streaming media address of the HLS that needs to be downloaded obtained through Video DownloadHelper, and a.mp4 is the name of the downloaded file locally, and you can also modify it to the name and format you need.

At this point, you're done!

Guess you like

Origin blog.csdn.net/weixin_48144018/article/details/128103125