Ok, don't laugh... Newbie question alert!
Every now and then a video I download does not display the duration in Windows Explorer (I have Win7 Home, by the way) when I download with yt-dlp using this command:
yt-dlp.exe --output %%(title)s.%%(ext)s http://path-to-video
I've tried adding --embed-metadata to the command but it doesn't help. It's as if no metadata is available to download. But that's the thing, I know there is. If I download the video with TVDownloader and I check the box for 'Write Metadata', the downloaded video displays the duration in Windows Explorer just fine. So that shows that there is in fact metadata present.
So my question is, what is the command to instruct yt-dlp to 'Write Metadata'?
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 3 of 3
-
-
https://github.com/yt-dlp/yt-dlp#post-processing-options
Code:yt-dlp --embed-metadata "video-url" -o output.mp4
-
More or less, that's the same thing as what I wrote before. It's just using -o with a specific filename instead of --output with %%(title)s.%%(ext)s, which sets the downloaded video's filename based on the video's filename on the server you're downloading from. In any case, it works the same way. Or rather, it doesn't work the same way.
So while I don't know why it doesn't work (and that was the point, I wanted to learn why) TVDownloader does it right, it's just a bit slower. But I can make it use yt-dlp instead of youtube-dl, so perhaps that might speed it up.
However, I wonder if there might be some other reason why it does that. So I will keep looking for a solution, just because...
Thanks anyway!Last edited by Axel Slingerland; 3rd Jun 2022 at 12:57.
Similar Threads
-
No Metadata in MP4?
By mlitty in forum Video ConversionReplies: 7Last Post: 28th Mar 2021, 04:46 -
How to get HDR10 metadata from mp4
By Pavel_P in forum ProgrammingReplies: 1Last Post: 28th Nov 2018, 04:23 -
Backup MiniDV WITH metadata
By TechLord in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 6Last Post: 22nd Oct 2017, 23:00 -
metadata of HDR10
By namdvt in forum Newbie / General discussionsReplies: 8Last Post: 28th Sep 2017, 15:30 -
How to hide x264's metadata
By ben45 in forum Video ConversionReplies: 6Last Post: 26th Jul 2017, 19:39