Hello
I'd like to be able to know (and display) the total number of fragments of a video without downloading it.
I've tried some code combinations with yt-dlp but it didn't work.
Could you please help me?
Thanks in advance
+ Reply to Thread
Results 1 to 11 of 11
-
-
Easiest I can think of is something along
Code:yt-dlp -j <url> | jq '.formats[0].fragments|length'
-
-
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
another easy way is put mpd/m3u8 link on N_m3u8DL-RE and you will be able to see from cmd segments number
[Attachment 85008 - Click to enlarge] -
Thank you very much
I am testing the 2 solutions
For 'N_m3u8DL-RE.exe URL --skip-download --no-log --no-date-info --auto-select'
I have far too much info and would like to reduce (to what I need).
Is this possible?
..And that it doesn't create a folder with the date and time of the action every time please?Last edited by Gene; 21st Jan 2025 at 13:48.
-
-
You most likely have it already on windows 10/11. But if you need to install it, you can read
https://learn.microsoft.com/en-us/windows/package-manager/winget/--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
-
Last edited by Gene; 22nd Jan 2025 at 13:58.
Similar Threads
-
Getting just 10 fragments from MPD
By vidownlod in forum Video Streaming DownloadingReplies: 3Last Post: 19th Jan 2024, 06:01 -
Automation of cutting thousands of vid fragments
By PaulSilentin in forum EditingReplies: 0Last Post: 6th Nov 2023, 16:07 -
The verification of the number of fragments failed, a total of 732, and 731
By cok07310 in forum Video Streaming DownloadingReplies: 9Last Post: 24th Aug 2023, 08:04 -
Help with this video fragments m4s mwEmbed
By HmWtmfv in forum Video Streaming DownloadingReplies: 6Last Post: 14th Dec 2022, 15:18 -
ffmpeg fails on some fragments or 503 error
By Hammer in forum Video Streaming DownloadingReplies: 10Last Post: 5th Mar 2022, 15:59