Guys, for GF I need to download a movie from YouTube. Not a problem, ended up with (the best quality) webm file. The file contain a VP8 stream together with Vobris audio stream. So cenversion to avi is out of the possibility, sadly.
The videostream is not even opening / showing into VirtualDub, witch is kinda odd, because in the FFDshow I configured it:
rundll32.exe ff_vfw.dll,configureVFW
...using the VFW interface to be enabled (the VP8 decoding) and it therefore should work. For some reason it does not, witch suxx.
Never the less, I took a FFmpeg and tried this:
ffmpeg -i x.webm -vcodec copy -acodec copy -r 30 x.mkv
In theory, this should just convert the container to mkv from webm. In reality the file seems to be okay, but it never (again, sigh!) play.
What I'm doing wrong? How can I convert webm w/o losing quality by yet another reencode into some usable (read - playable) format?
Why VirtualDub does not show the VP8 video? Who is to blame, FFDshow or VD? No idea... but something IS wrong there.
+ Reply to Thread
Results 1 to 7 of 7
-
"I believe that all the people who stand to profit by a war and who help provoke it should be shot on the first day it starts..." - Hemingway :) my config
-
Hi trodas ,
Below an example of how-to . Change '2mMTziHh9DU' by yours .
4 batch files to be created .
Code:@echo on rem Liste des formats disponibles pour la 'vidéo' . youtube-dl --list-formats https://www.youtube.com/watch?v=2mMTziHh9DU pause :fin
Code:=== Résultat === qui va servir au choix des formats ( utile pour la suite ) . [youtube] Setting language [youtube] Confirming age [youtube] 2mMTziHh9DU: Downloading webpage [youtube] 2mMTziHh9DU: Downloading video info webpage [youtube] 2mMTziHh9DU: Extracting video information [youtube] 2mMTziHh9DU: Downloading DASH manifest [info] Available formats for 2mMTziHh9DU: format code extension resolution note 139 m4a audio only DASH audio 49k , audio@ 48k (22050Hz), 2.01MiB (worst) 140 m4a audio only DASH audio 129k , audio@128k (44100Hz), 5.34MiB 171 webm audio only DASH audio 159k , audio@128k (44100Hz), 5.53MiB 172 webm audio only DASH audio 233k , audio@256k (44100Hz), 8.14MiB 141 m4a audio only DASH audio 255k , audio@256k (44100Hz), 10.61MiB 278 webm 256x144 DASH video 133k , webm container, VP9, video only, 3.94MiB 160 mp4 256x144 DASH video 116k , video only, 4.60MiB 242 webm 426x240 DASH video 231k , video only, 6.92MiB 133 mp4 426x240 DASH video 264k , video only, 10.24MiB 243 webm 640x360 DASH video 433k , video only, 12.85MiB 134 mp4 640x360 DASH video 624k , video only, 18.04MiB 244 webm 854x480 DASH video 974k , video only, 27.38MiB 135 mp4 854x480 DASH video 1142k , video only, 36.71MiB 247 webm 1280x720 DASH video 1890k , video only, 52.89MiB 136 mp4 1280x720 DASH video 2290k , video only, 72.88MiB 248 webm 1920x1080 DASH video 3122k , video only, 84.84MiB 137 mp4 1920x1080 DASH video 4275k , video only, 143.76MiB 302 unknown_video?x1280 3302k , 87.22MiB 298 unknown_video?x1280 3348k , 122.31MiB 299 unknown_video?x1920 5624k , 222.43MiB 303 unknown_video?x1920 6080k , 148.88MiB 17 3gp 176x144 36 3gp 320x240 5 flv 400x240 43 webm 640x360 18 mp4 640x360 22 mp4 1280x720 (best)
you could go faster with :
youtube-dl -f 248+141 https://...DU -o video_complete_1920x1080.mp4
But it is not the goal of this try .
!!!
Code:@echo on rem le format 248 correspond à du webm 1920x1080 youtube-dl -f 248 https://www.youtube.com/watch?v=2mMTziHh9DU -o video_seule_1920x1080.mp4 pause :fin
Code:@echo on rem le format 141 correspond à du m4a 256k/44100Hz youtube-dl -f 141 https://www.youtube.com/watch?v=2mMTziHh9DU -o audio_seule_256k_44100.aac pause :fin
Code:@echo on rem assemblage de video_seule_1920x1080.mp4 et de audio_et_video.mp4 ffmpeg -i video_seule_1920x1080.mp4 -i audio_seule_256k_44100.aac -f mp4 audio_et_video.mp4 pause :fin
JE SUIS CHARLIE !!! -
You can simply just re-name the extension from .webm to .mkv and it will work just fine. The reason you can't open it in Virtualdub, is because you don't have vp8 decoder installed. Use ffmpeg input driver instead of DirectShow. You should be able to play them fine in MPC-HC.
Got my retirement plans all set. Looks like I only have to work another 5 years after I die........ -
-
aazerty -
youtube-dl is a small command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter (2.6, 2.7, or 3.2+)...
Also it looks like it basically does nothing with the VP8, it just choose to download .mp4 format ... witch for sure can be done with other programs too. The catch is to get VP8 working in *normal* old BSplayer 1.41 as all other formats work just fine. Except the cursed VP8... damn.
Maybe my FFDshow rev 4530_20140209 are outdated?
El Heggunte -Just use MKVtoolnix.
Remuxed to MKV. Same as before - video doest NOT show up, audio works just fine.
racer-x -You can simply just re-name the extension from .webm to .mkv and it will work just fine.
The reason you can't open it in Virtualdub, is because you don't have vp8 decoder installed. Use ffmpeg input driver instead of DirectShow. You should be able to play them fine in MPC-HC.
http://codecpack.co/download/FFInputDriver.html
...and yes, it then does open the video into VirtualDub. But that cannot let me save it in AVI or any other usable format...
I starting to fear that FFDshow have a problem with VP8 codec.
Are there some more updated FFDshow that is *guaranteed to work* with VP8?Last edited by trodas; 11th May 2015 at 14:34.
"I believe that all the people who stand to profit by a war and who help provoke it should be shot on the first day it starts..." - Hemingway :) my config -
Well, I still am not sure of what you really want
"Converting" without losing quality? Remuxing to MKV has already done it.
"Converting" with loss of quality? All right, but why do you have to use VirtualDub
And in this case, why not use an intermediate Avisynth script as well?
FWIW: below is the last build of MKVtoolnix compatible with Windows XP.
Similar Threads
-
Best Container / Video Codec for In-Stream Video Preroll
By Morales in forum Newbie / General discussionsReplies: 8Last Post: 27th Mar 2014, 10:42 -
convert h264 avi container to mp4 container
By azukich in forum Video ConversionReplies: 0Last Post: 6th Apr 2013, 16:09 -
Video Container Changer don't work! Help!
By Stears555 in forum Video ConversionReplies: 1Last Post: 11th Mar 2013, 02:33 -
need to put content of FLV container into MP4 container
By arraboy in forum Newbie / General discussionsReplies: 3Last Post: 29th Jun 2012, 19:52 -
Change DV stream from .mov to .dv container without reencoding
By DavidCasillas in forum MacReplies: 3Last Post: 16th Sep 2011, 02:18