VideoHelp Forum

Try DVDFab and copy Ultra HD Blu-rays and DVDs! Or rip iTunes movies and music! Download free trial !
+ Reply to Thread
Results 1 to 18 of 18
Thread
  1. Hi. I have a WMV file that plays fine. I want to edit/recode it but MeGUI can't index it. If I use a simple 'DirectShowSource' script the A/V goes out of sync. I ran the WMV file through wma2wav and it found errors (which it fixed so I now have a WAV file of 'good' audio).
    To make a good edit, here's what I've done:

    Made a low-quality, video only, copy of the WMV using XMRRecode then muxed it with the 'good audio' WAV file. Let's call this new file 'Alpha'.
    I edited the WMV file using DirectShowSource but with no audio (new file 'Bravo').
    I edited Alpha using the same frame numbers (new file 'Charlie').
    I then muxed Bravo with the audio from Charlie.

    Is there a better way of going about this? My thanks for any suggestions.
    Quote Quote  
  2. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Originally Posted by pooksahib View Post
    Made a low-quality, video only, copy of the WMV using XMRRecode then muxed it with the 'good audio' WAV file.
    Unless that WMV is VERY-old, you should be able to remux it losslessly to an intermediate AVI file through VirtualDub's direct stream-copy option.
    Since the release of Windows Media Player 11 and its codecs, all WMV9 files (i.e., with FourCC = WMV3 or WVC1) have constant frame rate and so they can be safely remuxed as .AVIs.

    P.S.: If you use DirectShowSource, make sure the DirectShow graph uses LAV Filters and not anything from Microsoft. FFVideoSource still is more reliable than DirectShowSource.
    Last edited by El Heggunte; 26th Mar 2020 at 04:10.
    "Like this facility, I don't exist."
    Quote Quote  
  3. Hi El Heggunte and thank you for that. I've downloaded VirtualDub 64bit portable from this forum but I can't load my WMV as "ASF files are not supported". My WMV is indeed WMV3. What do you think I'm doing wrong?
    Quote Quote  
  4. Try to load it in MKVToolnix gui and remux to mkv
    Quote Quote  
  5. That would be the ideal, ProWo, but toolnix has never accepted WMVs.
    Quote Quote  
  6. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    @pooksahib:

    there exists a WMV input plugin for VirtualDub; but you will also need a WMV VfW decoder

    ffdshow includes one, if you don't want to install the original (and ancient) WMV9 VfW codec from Microsoft.

    http://gral.y0.pl/~fcchandler/Plugins/WMV/index.html
    "Like this facility, I don't exist."
    Quote Quote  
  7. Many thanks, El Huggunte. The plugin was easily installed but the list of options when installing ffdshow was a bit daunting. I don't know if I ticked or unticked something that I shouldn't have but virtualdub continues to say 'missing codec' when I load the WMV.

    Where can I find the old Microsoft codec? Googling for it didn't help...
    Quote Quote  
  8. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by pooksahib View Post
    Many thanks, El Huggunte. The plugin was easily installed but the list of options when installing ffdshow was a bit daunting. I don't know if I ticked or unticked something that I shouldn't have but virtualdub continues to say 'missing codec' when I load the WMV.

    Where can I find the old Microsoft codec? Googling for it didn't help...
    look for the FFDshow VFW configuration/decoders
    enable all the WMV items
    Image Attached Thumbnails Click image for larger version

Name:	ffdshow.JPG
Views:	17
Size:	86.0 KB
ID:	52477  

    Quote Quote  
  9. Thanks, davexnet. How to get to that screen, though? There's nothing GUI-like in my ffdshow program folder...
    Quote Quote  
  10. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by pooksahib View Post
    Thanks, davexnet. How to get to that screen, though? There's nothing GUI-like in my ffdshow program folder...
    Didn't it create a program group accessible from the Start Button?

    I looked at the properties of the short cut and it says this (this is from a Windows XP system)
    C:\WINDOWS\SYSTEM32\rundll32.exe "C:\WINDOWS\system32\ff_vfw.dll",configureVFW
    Quote Quote  
  11. Thanks again. Change of plan, though - WMVs are so rare that, for the couple I have here, I'm just going to use the method described in my first post. It works well, if a tad convoluted.
    Quote Quote  
  12. Try to remux with my clever FFmpeg-GUI. I just loaded a WMV file and remuxt it into a MKV file. It worked.
    https://forum.videohelp.com/threads/396490-clever-FFmpeg-GUI-a-new-small-GUI-for-FFmpeg
    Quote Quote  
  13. Hi ProWo. That sounds good but I can't figure it out. After I load the source file, I click 'main', yes? Then 'multiplex'? When I click 'Do It' at this point, the program runs nicely but no new file is generated. I thought it might be because the Audio File section was blank so I put the source file in that box, too. After, 'Do It', all I got was an audio file.

    Any guidance much appreciated.
    Quote Quote  
  14. Here's what I propose:
    Select your "good WAV" as source file and recode to aac or ac3.
    Click on "Change source" and select your WMV file.
    Select "Multiplex" in the "MAIN" area.
    Your WMV is automatically selected as video source.
    Select your new created aac/Ac3 file as Audio source. The target file is automatically selected.
    Press "Do It" and the target file will be muxed.
    Last edited by ProWo; 8th Apr 2020 at 05:11.
    Quote Quote  
  15. Thanks for that. Unfortunately, with the original WMV in the 'Video file' box and the newly created aac in the 'Audio file' box, pressing Do It results in an audio-only file.
    Quote Quote  
  16. Cut 10 seconds of your WMV with my app and upload it here
    Quote Quote  
  17. It's OK, I've found the issue - you have to change 'Video Track' from '0' to '1'. However, the file it produces won't work with MeGUI so I'll continue with my own method. Nice GUI though, congratulations on it.
    Last edited by pooksahib; 8th Apr 2020 at 15:35.
    Quote Quote  
  18. Actually, the solution to my problem is much, much easier:
    -Index the wmv file (using MeGUI) with the audio track disabled.
    -Run the wmv file through wma2wav to create a good audio file.
    -And script like this:
    Code:
    a=FFVideoSource("E:\the original wmv file that wouldn't index.wmv", fpsnum=30000, fpsden=1001, threads=1)
    b=wavsource("E:\the audio file created by wma2wav.wav")
    audiodub(a,b)
    My grateful thanks go to member Selur.
    Quote Quote  



Similar Threads