Youtube-dl downloads as webm not mp4






















Source: github. To avoid that, I would manage this differently, not forcing a single container format on every downloaded file. Show 5 more comments. Specify indices of the videos in the playlist separated by commas like: "--playlist-items 1,2,5,8" if you want to download videos indexed 1, 2, 5, 8 in the playlist.

You can specify range: "--playlist-items ,7,", it will download the videos at index 1, 2, 3, 7, 10, 11, 12 and Specify any key see help for -o for a list of available keys to match if the key is present,!

Values which are not known are excluded unless you put a question mark? Record the IDs of all downloaded videos in it. Benjamin M Berwien - berwiecom 5 4 4 bronze badges. When I download video on playlist, through "youtube-dl -itcv --yes-playlist url" exist some videos which didn't download. How can I do around this? Or, this problem existed because I didn't use parameter "-f mp4" and occurred a error when the program choose the best format to download?

The playlist has I try download indicate 42 videos on youtube. But only 34 videos was download. The output this is: [youtube:playlist] playlist Name Playlist: Downloading 34 videos — Edgar Oliveira. EdgarOliveira often in playlists there are some deleted videos yet youtube continues to include in playlist According to this comment by glenn-slayden, an mp4 format with highest video quality is obtained as follows: I realize this thread is a bit old, but I think the situation has changed somewhat.

For my goal: first and foremost always take the best available video quality regardless of format; but then never let the audio format alone cause you to lose mp4. Community Bot 1. Frank Breitling Frank Breitling 3 3 gold badges 12 12 silver badges 24 24 bronze badges. While the other answers will download the highest quality available mp4 - this answer results in the highest quality mp4 possible despite conversion in some cases. Instead of using this to download an. The Overflow Blog.

Connect and share knowledge within a single location that is structured and easy to search. I don't understand why does it do it because in code I added preferences and in them put only audio and said that format is mp3. How are we doing? Please help us improve Stack Overflow. Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Trouble with downloading with youtube-dl Ask Question. Asked 11 months ago. Since this step is performed prior to the thumbnail embedding via AtomicParsley An error is thrown, because MKV are not supported for thumbnail embedding. In order to force this conversion you must add "--strict 2" to ffmpeg can be passed in via a youtube-dl parameter.

Once I did this, all I simply needed to do was add "--merge-output-format mp4" to my youtube-dl command as recommended by the marked answer. If not Like I could have youtube-dl download the audio, video, metadata and thumbnail to file, and then write a powershell script that does all I need to do.

Maybe have youtube-dl call the powershell script after each iteration. One of mkv, mp4, ogg, webm, flv. Ignored if no merge is required. The problem with that is that it might not be available. Here is a simple table of formats I've compiled I may have missed some :.

I've never encountered a video that isn't available in format 18 though that is often not suitable for videos that include text on a screen, such as programming tutorials. Sign up to join this community.

The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 1 year, 9 months ago. Active 9 months ago. Viewed 15k times. Improve this question.



0コメント

  • 1000 / 1000