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 3 of 3
  1. Ret. Hippie Guitar Player Axel Slingerland's Avatar
    Join Date
    Jul 2020
    Location
    The Lost Coast
    Search Comp PM
    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'?
    Quote Quote  
  2. https://github.com/yt-dlp/yt-dlp#post-processing-options

    Code:
    yt-dlp --embed-metadata "video-url" -o output.mp4
    Quote Quote  
  3. Ret. Hippie Guitar Player Axel Slingerland's Avatar
    Join Date
    Jul 2020
    Location
    The Lost Coast
    Search Comp PM
    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.
    Quote Quote  



Similar Threads

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