VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Jun 2007
    Location
    United States
    Search Comp PM
    I have an mp4 file that is large and uncompressed. It also in interlaced. GSPOT says it's avc1 h.264 video and AAC LC audio.

    I have tried to play it in WMP. It won't play. I installed ffdshow and made an avs file that contains: DirectShowSource("t:\songs collection 2.mp4") That won't load into WMP either. WMP says: Could not open as video or audio. Video returned: DirectShowSouce couldn't open file (file) Cannot play back the file. The format is not supported. Audio returned (the same as video)

    My goal is to get the MP4 file into VirtualDubMod where I can de-interlace it, compress it and add .ass subs. I understand the way to do this is to load the .avs file into VirtualDubMod. I added VSFilter.vdf to the VirtualDubMod' plugins folder so it will read .ass files as a filter.

    The bare mp4 file will play perfectly fine in VLC Media Player.

    Alternatively, is there a reasonably easy program I can use to ass .ass subs to an MP4 file, deinterlace it and compress it?

    Can someone please help me?
    Last edited by Usagi; 9th Nov 2011 at 01:00.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Try avidemux. It can subs and deinterlace under FILTERS. Choose a mpeg4 avc under Video and Copy under Audio. Select MP4 Format. Save.
    Quote Quote  
  3. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by Usagi View Post
    made an avs file that contains: DirectShowSource("t:\songs collection 2.mp4")

    Get ffmpegsource2, install in Avisynth plugins folder.

    Code:
    FFmpegSource2("t:\songs collection 2.mp4",atrack=-1,fpsnum=-1,fpsden=1)
    If you want to hardcode subs, you can add

    Code:
    TextSub("subs.ass")
    Quote Quote  
  4. Member
    Join Date
    Jun 2007
    Location
    United States
    Search Comp PM
    THANK YOU to both of you!! I've been fighting this one for at least a week. ffmpegsource2 works. I had tried that before but wasn't aware that two of the files it contains, ffms2.dll, FFMS2.avsi have to be installed in the avisynth plugins folder. I had them in the same folder as the file to be edited.

    I am curious about what "atrack=-1,fpsnum=-1,fpsden=1" do.

    Thanks also for the avidemux idea. I really prefer to work with VirtualDub or VirtualDubMod because I have before and I'm quite familiar with them. I have a lot more MP4 files so this helps X100.
    Last edited by Usagi; 9th Nov 2011 at 19:26.
    Quote Quote  
  5. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by Usagi View Post
    I am curious about what "atrack=-1,fpsnum=-1,fpsden=1" do.
    As explained in the web page included with the download.

    These set some defaults that work in most cases:
    atrack=-1: chooses the first available audio track

    fpsnum=-1,fpsden=1: Sets the fps (numerator and denominator) to be whatever is reported by the file.
    (Which can be seen using the info() function.)
    Sometimes useful to keep sync, can be set explicitly (eg, 25/1; 24000/1001) if the reported fps is slightly off.
    Last edited by AlanHK; 9th Nov 2011 at 11:39.
    Quote Quote  



Similar Threads

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