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 | ~42m34sCode: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"
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 2 of 2
-
-
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.
Similar Threads
-
N_m3u8DL-RE Tutorial
By Subtitles in forum Video Streaming DownloadingReplies: 13Last Post: 28th May 2025, 08:19 -
N_m3u8DL-RE on Mac
By phineferb98 in forum Video Streaming DownloadingReplies: 19Last Post: 17th Dec 2024, 13:15 -
N_m3u8DL-RE: Giving It A Try
By Tom Saurus in forum Video Streaming DownloadingReplies: 104Last Post: 10th Dec 2024, 08:17 -
Testing N_m3u8DL-RE
By Subtitles in forum Video Streaming DownloadingReplies: 2Last Post: 11th Sep 2023, 12:12 -
Help with N_m3u8DL-RE and MPD
By sparklescale in forum Video Streaming DownloadingReplies: 4Last Post: 20th Jun 2023, 23:31