VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Oct 2023
    Location
    Afghanistan
    Search PM
    One of the sites I have been looking at over the last few weeks has multiple video and audio streams listed. I was manually choosing the ones I wanted to get the best quality and correct duration, but have since figured out I can use something like the below to choose a video and audio duration of > than 5 mins. This knocks out all the rubbish and gives me what I want.

    Is there a more elegant way to run the command or is this a reasonable solution ?

    Code:
    15:42:08.093 INFO : Parsing streams...
    15:42:08.133 WARN : Writing meta json
    15:42:08.133 INFO : Extracted, there are 31 streams, with 27 basic streams, 3 audio streams, 1 subtitle streams
    15:42:08.134 INFO : Vid 1920x1080 | 5910 Kbps | 3-1701fc0fc9752db51a91a966eb0924f2 | avc1.640028 | 10 Segments | ~00m30s
    15:42:08.134 INFO : Vid 1920x1080 | 5795 Kbps | 1-1701fc0fc9752db51a91a966eb0924f2 | avc1.640028 | 5 Segments | ~00m15s
    15:42:08.134 INFO : Vid *CENC 1920x1080 | 5778 Kbps | video=5778000 | avc1.640028 | 852 Segments | ~42m34s
    15:42:08.135 INFO : Vid 1920x1080 | 4380 Kbps | 3-5dab5ea3f1d47f0a0676c9323e4b14db | avc1.640028 | 10 Segments | ~00m30s
    15:42:08.135 INFO : Vid 1920x1080 | 4296 Kbps | 1-5dab5ea3f1d47f0a0676c9323e4b14db | avc1.640028 | 5 Segments | ~00m15s
    15:42:08.135 INFO : Vid *CENC 1920x1080 | 4285 Kbps | video=4285000 | avc1.640028 | 852 Segments | ~42m34s
    15:42:08.135 INFO : Vid 1280x720 | 3910 Kbps | 3-319a738568bef73c4020278be7d5af3e | avc1.64001F | 10 Segments | ~00m30s
    15:42:08.136 INFO : Vid 1280x720 | 3846 Kbps | 1-319a738568bef73c4020278be7d5af3e | avc1.64001F | 5 Segments | ~00m15s
    15:42:08.136 INFO : Vid *CENC 1280x720 | 3833 Kbps | video=3833000 | avc1.64001F | 852 Segments | ~42m34s
    15:42:08.136 INFO : Vid 1280x720 | 3047 Kbps | 3-5ce1ebf148b5197e74bb552c7fcb3d22 | avc1.64001F | 10 Segments | ~00m30s
    15:42:08.136 INFO : Vid 1280x720 | 2996 Kbps | 1-5ce1ebf148b5197e74bb552c7fcb3d22 | avc1.64001F | 5 Segments | ~00m15s
    15:42:08.137 INFO : Vid *CENC 1280x720 | 2986 Kbps | video=2986000 | avc1.64001F | 852 Segments | ~42m34s
    15:42:08.137 INFO : Vid 1024x576 | 2536 Kbps | 3-c701f080fb461a239704eb60878e0de6 | avc1.64001F | 10 Segments | ~00m30s
    15:42:08.137 INFO : Vid 1024x576 | 2496 Kbps | 1-c701f080fb461a239704eb60878e0de6 | avc1.64001F | 5 Segments | ~00m15s
    15:42:08.137 INFO : Vid *CENC 1024x576 | 2488 Kbps | video=2488000 | avc1.64001F | 852 Segments | ~42m34s
    15:42:08.137 INFO : Vid 852x480 | 1823 Kbps | 3-0205691532f9fe223154e9fbabb362e8 | avc1.64001E | 10 Segments | ~00m30s
    15:42:08.138 INFO : Vid 852x480 | 1796 Kbps | 1-0205691532f9fe223154e9fbabb362e8 | avc1.64001E | 5 Segments | ~00m15s
    15:42:08.138 INFO : Vid *CENC 852x480 | 1790 Kbps | video=1790000 | avc1.64001E | 852 Segments | ~42m34s
    Code:
    N_m3u8DL-RE.exe "https://mpdlink" --key xxxx --save-name "S01E01" -sv plistDurMin=5m:for=best -sa plistDurMin=5m:for=best -ss all -M format=mkv -mt --save-dir "D:\Downloads"
    Quote Quote  
  2. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    I actually think your command is pretty good. Does the trick. Perhaps just set it as a variable so you can prompt for the value in a batch file/python script/bash script.
    Quote Quote  



Similar Threads

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