+ Reply to Thread
Page 1 of 3
1 2 3 LastLast
Results 1 to 30 of 66
Thread
  1. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date: Aug 2000
    Location: Sweden
    How to open/import MP4,MKV,WMV,RM,MOV,OGM with any editor,encoder like Virtualdub, Tmpgenc, Windows Media Encoder, etc using Avisynth. It may not work for all above formats, it depends what kind of audio and video codec that is used.

    Be sure that you can play the video in Windows Media Player.
    Install Windows Media Player 10 for WMV9.
    Install haali media splitter for MP4, OGM, MKV.
    Install xvid codec or divx codec for MP4,MKV with divx,xvid.
    Install ffdshow for MP4,MKV with h264/x264.
    Install Real Alternative for RM,RMVB,RAM video.
    Install Quicktime Alternative for MOV video.

    Install avisynth, http://prdownloads.sourceforge.net/a...6.exe?download
    Start notepad.
    Type

    DirectShowSource("c:\locationto\video.mp4")

    replace c:\locationto\video.mp4 with the location to your video file.

    File>Save as
    Select Save as type: All files
    Save as video.avs


    Open the video.avs with Windows Media Player and it should play.

    You can now import the video.avs file in for example Virtualdub, Tmpgenc, Windows Media Encoder or most other editors. When you import the file in your tool select All files under Files of type to see the .avs file.
    Quote Quote  

  2. Member dipstick's Avatar
    Join Date: Jan 2005
    Location: Dark side of the Moon
    Great!

    And it works for the MOV out of my Digital Camera in conjunction with Quicktime Alternative. Now I can finaly edit them in Virtualdub.
    I stand up next a mountain and chop it down with the ledge of my hand........ I'm a Voodoo child.... Jimi Hendrix,
    Quote Quote  

  3. Member BJ_M's Avatar
    Join Date: Jul 2002
    Location: Canada
    doesnt seem to work with premiere, vegas, avid ....
    "Each problem that I solved became a rule which served afterwards to solve other problems." - Rene Descartes (1596-1650)
    Quote Quote  

  4. Member dipstick's Avatar
    Join Date: Jan 2005
    Location: Dark side of the Moon
    Probably because they don't support AVS. I know Premiere Pro does'nt.

    Wax2 handles AVS just fine.
    I stand up next a mountain and chop it down with the ledge of my hand........ I'm a Voodoo child.... Jimi Hendrix,
    Quote Quote  

  5. doesnt seem to work with premiere
    Would something like this work? (i'm not a Premiere user)
    http://videoeditorskit.sourceforge.net/

    It appears to be an attempt to update this project;
    http://neuron2.net/www.math.berkeley...-premiere.html
    .
    Quote Quote  

  6. Member
    Join Date: Oct 2005
    Location: usa
    if it said: I can't determine the frame rate of the video, you must use the "fps" parameter...
    what should i do?
    Quote Quote  

  7. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date: Aug 2000
    Location: Sweden
    vfapi reader ->open avs -> premiere?

    gimami: try DirectShowSource("F:\test.rmvb", fps=24, convertfps=true)
    Quote Quote  

  8. Member
    Join Date: Oct 2005
    Location: usa
    do i need to install vfapi reader?
    Quote Quote  

  9. Member BJ_M's Avatar
    Join Date: Jul 2002
    Location: Canada
    yes vfapi works always with premiere and vegas - BUT it really cripples speed and also also forces a color conversion in most cases ...

    but it is a worthwhile option in many cases ...
    "Each problem that I solved became a rule which served afterwards to solve other problems." - Rene Descartes (1596-1650)
    Quote Quote  

  10. Member Safesurfer's Avatar
    Join Date: Mar 2004
    Location: United States
    FFDSHOW also comes with a program called MakeAVIS for creating dummy AVI files, but it's dependent on using FFDSHOW for decoding.
    "Just another sheep boy, duck call, swan
    song, idiot son of donkey kong - Julian Cope"
    Quote Quote  

  11. Member
    Join Date: Dec 2005
    Location: United States
    I'm a relative newbie at this, so maybe someone could answer a question for me. I tried this out on a wmv HD file. I could open up the file and edit it fine with virtualbub. The problem comes when I try to save the edited file. I go to "Save as AVI" and then change the file type to "All files", then specify the file name as ****.wmv. It proceeds to save but starts creating a huge file... many times bigger than the original. I have the video options in virtual dub set to "direct stream copy" that normally works fine for avi files. I tried other video options too, but couldn't get it to work.
    Can anyone tell me the procedure to save the wmv file without creating an enormous file?

    Thanks
    Quote Quote  

  12. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date: Aug 2000
    Location: Sweden
    you can't use direct stream copy(no reencoding) for wmv files or avisynth frameserved files. use a compression under video->compression.
    Quote Quote  

  13. Member
    Join Date: Nov 2002
    Location: United States
    Originally Posted by veloslacker
    I'm a relative newbie at this, so maybe someone could answer a question for me. I tried this out on a wmv HD file. I could open up the file and edit it fine with virtualbub. The problem comes when I try to save the edited file. I go to "Save as AVI" and then change the file type to "All files", then specify the file name as ****.wmv...
    Wow, hold it.

    Your mistake is trying to 'force" a filetype by renaming the extension. AVI is NOT WMV, so that by itself would have already messed you up, as the result will NOT be readable.

    It proceeds to save but starts creating a huge file... many times bigger than the original. I have the video options in virtual dub set to "direct stream copy" that normally works fine for avi files.
    Thanks[
    VDub by default saves an AVI file as "Uncompressed RGB" which results in a huge file size. Direct Stream Copy only works when you are NOT using AVISynth to trick VDub into accepting other formats. If you are using AVISynth, you pretty much HAVE to use full processing and select a codec for compression. I've found that the Microsoft MPEG4 V3 codec seems to work well enogh, as well as DIVX5.1 codec. Of course, generating those files through codecs will take time.
    Quote Quote  

  14. Member
    Join Date: Dec 2005
    Location: United States
    Thank you everyone for the replies to my question. Ok I think I sort of understand you... the virtualdub/avisynth method won't work for editing wmv files without compressing/re-encoding, right? Is there another tool that can be used for editing wmv that is reasonably user-friendly, and does it in as few steps as possible. I usually just need to remove a few sections from the files.

    Thanks in advance
    Quote Quote  

  15. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date: Aug 2000
    Location: Sweden
    you can try asfbin if you want to cut wmv.
    Quote Quote  

  16. This method worked to get Virtualdub to play the file, but the video has a severe delay behind the audio.....
    Quote Quote  

  17. Member
    Join Date: Nov 2002
    Location: United States
    If you let VDUB do the full render to a file the file should play fine.
    Quote Quote  

  18. Still no luck with MP4 video (Diggnation epsidoes in m4v to be exact)....I've tried Graphedit, Virtual Dub, and Canopus - all process with the audio way out of sync - evn though they all show the total time of the audio and video to be the same. I tried doing the cideo seperate from the audio - they both show the same time...but both end up wildly out of sync.....
    Quote Quote  

  19. Member
    Join Date: Nov 2002
    Location: United States
    M4V? That thing may be using AAC audio codec. You may need to turn that back into MP3 or even PCM, then mux them back. Use VideoDetective on the file first...
    Quote Quote  

  20. Member
    Join Date: Nov 2005
    Location: United States
    I've tried doing this with a real media file but it doesn't seem to work, I keep getting an error that says Avi synth open failure: Script error: (C:\Documents and Settings\baconharvester\Desktop\video.avs, line 1, column 1) Someone also recommended that I add in the frame rate, but how would I find it? And is it ok if I use wordpad instead of notepad, because I don't have notepad on this computer anymore.
    Quote Quote  

  21. Member
    Join Date: Nov 2002
    Location: United States
    Originally Posted by baconharvester
    I've tried doing this with a real media file but it doesn't seem to work, I keep getting an error that says Avi synth open failure: Script error: (C:\Documents and Settings\baconharvester\Desktop\video.avs, line 1, column 1) Someone also recommended that I add in the frame rate, but how would I find it? And is it ok if I use wordpad instead of notepad, because I don't have notepad on this computer anymore.
    Here's my version, replace the bolded section with your own filename

    #ASYNTHER DirectShow_NTSC, just a comment
    DirectShowSource("C:\My Documents\SomeVideoName.rmvb", fps=29.97, convertfps=true)
    Note the fps parameter, and the convertfps parameter. This is for NTSC 29.97 fps, so that's why the setting. If you are outputing to some other fps then you'll need to change it.

    As long as you use TEXT/ASCII format you're fine, but how can you NOT have Notepad on your machine? Download a replacement like EDITPAD or something. You can't live without it!
    Quote Quote  

  22. VH Veteran jimmalenko's Avatar
    Join Date: Aug 2003
    Location: Down under
    Originally Posted by kschang
    ... but how can you NOT have Notepad on your machine?
    I'm sure I've seen a number of apps of similar ilk to TweakXP that allow you to uninstall a lot of Windows "optional" features and accessories. Heck, even Add/Remove Programs > Windows Components would probably let you uninstall it too.

    Originally Posted by kschang
    You can't live without it!
    ... the minute you start doing any scripting/coding, that's for sure !
    If in doubt, Google it.
    Quote Quote  

  23. Member BJ_M's Avatar
    Join Date: Jul 2002
    Location: Canada
    freeware version of notepad

    http://www.flos-freeware.ch/notepad2.html
    "Each problem that I solved became a rule which served afterwards to solve other problems." - Rene Descartes (1596-1650)
    Quote Quote  

  24. Video Restorer lordsmurf's Avatar
    Join Date: Jun 2003
    Location: Want my advice? PM me.
    Good guide.
    Quote Quote  

  25. Member FulciLives's Avatar
    Join Date: May 2003
    Location: Pittsburgh, PA in the USA
    I have a MKV video file that plays back A-OK with MEDIA PLAYER CLASSIC but it will not play with WMP 10 or BSPlayer or anything else.

    I tried this (rather simple) AviSynth script but I get a "no-go" trying to open it up in VirtualDubMod as well as TMPGEnc Plus.

    Any ideas?

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  

  26. Two ideas

    1. MPC has filters built into it doesn't it?

    The file might play with MPC even though your system doesn't have a DirectShow decoder for it.

    2. Occasionally, multiple audio streams appear in Matroska files. I've had trouble in the past using AviSynth with them. Remux to a single Audio/Video stream.
    .
    Quote Quote  

  27. Member FulciLives's Avatar
    Join Date: May 2003
    Location: Pittsburgh, PA in the USA
    I installed MKVtoolnix and then MKVEXtractGUI

    This combo allowed me to take that MKV file and demux it into what became 3 files. An AVI video file, a MP3 audio file and a SRT subtitle file.

    The AVI file is strange though and I only got it to load into VirtualDubMod and TMPGEnc Plus using the following:

    DirectShowSource("C:\video.mkv", fps=23.976, convertfps=true)

    Only problem is I have no idea what the fps should be (it is a downloaded anime file).

    Anyways it ain't the biggest deal that I convert this to DVD format but it was something I was fooling around with and then I saw this thread so I figured "oh a new project to work on" LOL ... see I've never worked with MKV files before so ...

    It looks like it will work now. I just have to use VobSub or TextSub or whatever to burn the subs in as I find that easier than trying to author with selectable subs. If I run into problems I will report back otherwise I assume it is A-OK now. I just have to remember how to add the subs via AviSynth (it's been a while).

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  

  28. Only problem is I have no idea what the fps should be (it is a downloaded anime file).
    MKVToolnix package has another tool, command line usually, but it has a hidden GUI.

    If you make a shortcut to it, then edit it like so;

    In the package MKVToolnix is a command line tool "mkvinfo.exe" that HAS a hidden GUI built in. To access the GUI use a "-g" at the command line or make a shortcut with;


    ...it should give all the specs of the file.
    .
    Quote Quote  

  29. Member
    Join Date: Oct 2004
    Location: Brazil
    Baldrik,
    Just one simple question : I read all the DirectShowSource help part in AVISynth help file and I could not find any citation on parameter convertfps. Can you please tell me how you got to know the existence of this parameter and what it does ? Is there a program that shows all the parameters in AVISynth filters.
    Regards
    Quote Quote  

  30. Member
    Join Date: Feb 2004
    Location: Pleasant Hill, CA
    Originally Posted by OutSiderBR
    Baldrik,
    Just one simple question : I read all the DirectShowSource help part in AVISynth help file and I could not find any citation on parameter convertfps.
    Hmm, I found it right on this page:
    http://www.avisynth.org/DirectShowSource
    6th item under "Description".

    Jim
    Quote Quote  




Similar Threads

  1. troubles with MKV/OGM to MP4
    By ironmaidens in forum Video Conversion
    Replies: 6
    Last Post: 23rd Aug 2008, 13:18
  2. Codec problems with mov, mp4 and wmv
    By lyrd in forum Linux
    Replies: 15
    Last Post: 29th Jul 2008, 14:30
  3. .MKV to .MP4 (or .MOV) for AppleTV
    By RevMayhem in forum Video Conversion
    Replies: 3
    Last Post: 3rd Feb 2008, 17:37
  4. How to open: MKV and ogm file?
    By KK in forum Newbie / General discussions
    Replies: 2
    Last Post: 21st Jan 2005, 02:35
DVDFab DVD to DVD lets you backup DVDs to DVDr, AVI or MP4 for portable devices. More info or download trial!
About   Advertise   Forum   Forum Archive   RSS Feeds   Statistics   Tools