Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Invalid duration of youtube video reported by --dump-json #22314
Comments
|
both videos report the correct duration.
|
Checklist
Verbose log
Description
WRITE DESCRIPTION HERE
The --dump-json reports duration=1 while the video is over 1 hour long.
Use this command:
youtube-dl -j 'https://www.youtube.com/watch?v=tUmWbZ2HCp4' > tUmWbZ2HCp4.json
Look into the json file and you'll see that duration is reported as 1.
If this is for some reason a 'nofix', then at least tell me how to determine when the duration field is invalid. Maybe youtube-dl should sum the formats/duration fields to calculate the final duration?