VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Searching for knowledge. trodas's Avatar
    Join Date
    Feb 2008
    Location
    Czech Republic
    Search Comp PM
    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.
    "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
    Quote Quote  
  2. 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
    You'll get something like this :
    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
    Cheers .
    JE SUIS CHARLIE !!!
    Quote Quote  
  3. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Just use MKVtoolnix.
    Quote Quote  
  4. Member racer-x's Avatar
    Join Date
    Mar 2003
    Location
    3rd Rock from the Sun
    Search Comp PM
    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........
    Quote Quote  
  5. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Originally Posted by racer-x View Post
    The reason you can't open it in Virtualdub, is because you don't have vp8 decoder installed.
    Nope, it's because the Matroska input plugin does not support V_VP8
    Quote Quote  
  6. Searching for knowledge. trodas's Avatar
    Join Date
    Feb 2008
    Location
    Czech Republic
    Search Comp PM
    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+)...
    This looks interesting, however it requires some obscure Python interpreter stuff, so this is a big NO-NO for me. I hate installing such big things, so I have to pass on this solution.
    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.
    Updated to new version 7.9.0 just to realize that it does NOT work on WinXP Sp3. Useless. Back to the old version 6.9.1 that works just fine.

    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.
    Nope, tried that. Just audio will play, NO VIDEO

    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.
    Hmmm, will try. But on the link, there is ONLY the executables, no VD plugin... there is the plugin link:
    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
    Quote Quote  
  7. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    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.
    Image Attached Files
    Quote Quote  



Similar Threads

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