VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Member
    Join Date
    Sep 2021
    Location
    Valencia
    Search Comp PM
    Hello:
    I can use the following command to download some live sports stream, like this:
    C:\Videos\Download>youtube-dl.exe https://m3u8.1proxy.xyz/media/g_03/playlist.m3u8 --external-downloader ffmpeg --referer "https://bingsport.com/" -o test_video.mp4
    But the live stream seem never ends, for example, for one soccer game, 99% of the games will end within 2 hours, unless it has over-time or even penalty shot out. Therefore, I want to set a time limit, like 2 hours (7200 seconds) for such M3U8 link, it seems ffmpeg has such option, but I don’t know how to convert the above command to ffmpeg.
    Please advise on how I can either convert the youtube-dl command to ffmpeg command, or if youtube-dl/YT-DLP has similar option to set a time limit like ffmpeg -t option.
    I have tried to Ctrl+C to stop the download, but the result file, no matter what name (like: test_video.mp4) I gave, it is not playable on any of the media I have.
    So, trying manually stop this kind of download is not working!
    Thanks,
    Last edited by zydjohn; 9th Nov 2021 at 16:16. Reason: Typo
    Quote Quote  
  2. here is another example:

    HTML Code:
    yt-dlp --external-downloader ffmpeg --external-downloader-args "ffmpeg:-t 02:00:00" --referer "https://bingsport.com/" -o test_video.mp4 "https://m3u8.1proxy.xyz/media/g_03/playlist_gtom.m3u8"
    or you can change 02:00:00 to 7200
    Last edited by sk8ordi3; 9th Nov 2021 at 16:27.
    Quote Quote  
  3. Member
    Join Date
    Sep 2021
    Location
    Valencia
    Search Comp PM
    Thank you very much, I have tested, and it work!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!