VideoHelp Forum




+ Reply to Thread
Results 1 to 14 of 14
  1. I am downloading a live stream in N_m3u8. Now, how can I stop the download after
    a> specific time say 1 hour & 20 minutes has passed?
    b> occupying a specific space say 120 mb?
    Quote Quote  
  2. --live-record-limit 01:20:00
    Quote Quote  
  3. Originally Posted by lomero View Post
    --live-record-limit 01:20:00
    thanks. and any way to limit by storage?
    Quote Quote  
  4. nope. only for time or segments (like --custom-range 0-100)
    Quote Quote  
  5. Originally Posted by lomero View Post
    --live-record-limit 01:20:00
    Can I set the start time. Like start recording after 1:00:00 and till 1:10:00?
    Quote Quote  
  6. Originally Posted by Samudragupta View Post
    Originally Posted by lomero View Post
    --live-record-limit 01:20:00
    Can I set the start time. Like start recording after 1:00:00 and till 1:10:00?
    Code:
    >N_m3u8DL-RE --morehelp custom-range
    More Help:
    
      --custom-range
    
    Download only part of the segments when downloading vod content.
    
    Examples:
    # Download [0,10], a total of 11 segments
    --custom-range 0-10
    # Download subsequent segments starting from index 10
    --custom-range 10-
    # Download the first 100 segments
    --custom-range -99
    # Download content from the 05:00 to 20:00
    --custom-range 05:00-20:00
    The timestamps here refer to the exact moments in the video, not your local time of course.

    To do scheduling you can use:
    Code:
    --task-start-at <yyyyMMddHHmmss>
    Quote Quote  
  7. Originally Posted by white_snake View Post
    Originally Posted by Samudragupta View Post
    Originally Posted by lomero View Post
    --live-record-limit 01:20:00
    Can I set the start time. Like start recording after 1:00:00 and till 1:10:00?
    Code:
    >N_m3u8DL-RE --morehelp custom-range
    More Help:
    
      --custom-range
    
    Download only part of the segments when downloading vod content.
    
    Examples:
    # Download [0,10], a total of 11 segments
    --custom-range 0-10
    # Download subsequent segments starting from index 10
    --custom-range 10-
    # Download the first 100 segments
    --custom-range -99
    # Download content from the 05:00 to 20:00
    --custom-range 05:00-20:00
    The timestamps here refer to the exact moments in the video, not your local time of course.

    To do scheduling you can use:
    Code:
    --task-start-at <yyyyMMddHHmmss>

    I want to record a stream in chunks. I want to mux every 10 segments. Once I do --custom-range 0-9 I download 9 segments. Now, i want to download from this 9th segment. But after some time the earlier segments are lost and 9th segment might have become 8th or 7h or even 5th. How to download in chunks such that every muxed mp4 has say 10 segments each.
    Quote Quote  
  8. Originally Posted by Samudragupta View Post
    I want to record a stream in chunks. I want to mux every 10 segments. Once I do --custom-range 0-9 I download 9 segments. Now, i want to download from this 9th segment. But after some time the earlier segments are lost and 9th segment might have become 8th or 7h or even 5th. How to download in chunks such that every muxed mp4 has say 10 segments each.
    Not sure what you're trying to accomplish here, but --custom-range (while it can still work) is certainly not meant to be used with live streams, but rather with VODs, which already have a fixed segment count. If you want to record a live stream just use --live-pipe-mux.
    Quote Quote  
  9. Originally Posted by white_snake View Post
    Not sure what you're trying to accomplish here, but --custom-range (while it can still work) is certainly not meant to be used with live streams, but rather with VODs, which already have a fixed segment count. If you want to record a live stream just use --live-pipe-mux.
    Any way to download streams in chunks. That is, create a new mp4 for every 10th segment?
    Quote Quote  
  10. Originally Posted by white_snake View Post
    To do scheduling you can use:
    Code:
    --task-start-at <yyyyMMddHHmmss>
    that's an interesting post.
    if for example I want to record a live stream starting at 11:00 this day for 1 hour what is the correct syntax?
    N_m3u8DL-RE https://nameofthestream.mpd --use-shaka-packager --live-pipe-mux --live-record-limit 01:00:00 --task-start-at <20250418110000> --save-name pippo
    doesn't run
    Quote Quote  
  11. remove "<" and ">"
    Quote Quote  
  12. Originally Posted by cedric8528 View Post
    remove "<" and ">"
    yes it starts in this way but start immediately not a later time

    EDIT i made a mistake, it start at the desired time.

    Thanks a lot! Fantastic!
    Quote Quote  
  13. Add to your command

    Code:
    -sv best -sa best
    Glad it works
    Quote Quote  
  14. EDIT

    it wait and start later, but then it ask me the resolution.
    Supposed that I must write it before?
    Am I correct? And how?

    EDIT
    You just replied before!
    Thanks again, solved.
    Last edited by timetunnel; 18th Apr 2025 at 06:14.
    Quote Quote  



Similar Threads

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