[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
youtube-dl
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 12
Thread images: 2
File: maxresdefault_.jpg (100 KB, 1280x720) Image search: [Google]
maxresdefault_.jpg
100 KB, 1280x720
youtube-dl -f bestvideo+bestaudio/best https://www.youtube.com/watch?v=e-ORhEE9VVg

This creates a (video+audio).mkv file

How do I make so I end up with an mp4 file?

youtube-dl -f bestvideo+bestaudio/best --merge-output-format mp4 https://www.youtube.com/watch?v=e-ORhEE9VVg

This creates a 28 bytes .mp4 file and leaves me with a (video).webm and an (audio).m4a file.


   ftypisom   isomiso2mp41

is written in that 28 bytes file


I use Windows btw and both youtube-dl.exe and ffmpeg.exe are in the same directory.

Please help :) I know this is not tech support but I could not find a proper answer on Google. At least tell me if it's possible what I want to do so I'll lurk more, if not I'll leave it as it is, my brain hurts already.
>>
>>51881482
>I know this is not tech support
You obviously don't or you wouldn't be asking for tech support.
It doesn't suddenly start being allowed just because you acknowledge that it isn't allowed here.
>>
use -F instead and you'll see a mp4 option to download.

then use that with -f(number)
>>
File: 12123523534.png (1 MB, 784x852) Image search: [Google]
12123523534.png
1 MB, 784x852
Read the sticky and fuck off.
>>
>>51881655

Thank you!

youtube-dl -f 137+141 --merge-output-format mp4 https://www.youtube.com/watch?v=e-ORhEE9VVg


Worked. I didn't know webm and m4a can't be merged into mp4.
>>
>>51881550
>>51881691

Well, probably others might see this and switch to free software now that they know (see here) how to use it.
>>
>>51881784
Yes I like youtube-dl.
I like to also get music from youtube.
youtube-dl -x --audio-format mp3 https://blabla

Or sometimes just stream videos in vlc.
vlc $(youtube-dl -g https://blabla)
>>
>>51881482
Use mkv faggot, it's a better format than mp4.
>>
>>51884496
i thought mkv was simply a container type anon?
>>
>>51884496
>>51884547
>not downloading webms
>>
>>51884496
I want compatibility. Also this: >>51884547
>>
>>51884630
This.
Thread replies: 12
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.