VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    Thanks to everyone who helped me work out my video conversion problems. Currently I can convert my media from VFR MKV to .mp4 keeping the audio and video synched with Xvid4PSP. However, Xvid4PSP doesnt seem to work when adding in subtitiles (i give it the right .idx file but it doesnt hardcode the subs into the video). So to get around this, I am using Xvid4PSP to convert from the .mkv to the proper mp4 format with the right audio track. Then I am using Avidemux 2.4 to code in subtitles.

    I will take the mp4 file, open it in avidemux and then since everything is set to copy i go

    video --> filters --> sutitles etc and give it the correct idx file. From here, i ok everything and save the file. When this is finished, the file is just known as "FILE" under its properties. The video will play in vlc if i open it with it, but it will not transfer over to my ipod or anything. Is there something I am doing wrong? Other than the part where it doesnt work on the ipod, the hardcoded subs work in vlc. If anyone can either solve the xvid4psp subtitle problem or avidemux problem ill be very grateful.

    Thanks
    Quote Quote  
  2. you need to enter the extension manually when pressing save eg. "myfile.mp4"

    you should do it all in 1 conversion instead of converting twice - quality loss 2x, and takes 2x longer... (use the same avs script and feed it into avsproxygui - do everything in avidemux)

    1) use mkvextract gui to demux your audio

    2) use the same script from yesterday, (i.e. with the convertfps=true, audio=false), but you may have to edit/delete the plugins referring to xvid4psp at the top

    3) load your script into avsproxygui, it will automatically open into avidemux

    4) in avidemux , audio=>main track=> audio source (and select where the demuxed audio location)

    5) enter your sub filters

    6) Set the video settings, and leave audio as copy (if you want, or if you want to re-encode it. Note AC3 is not completely compatible in .mp4 container), set format to mp4

    7) press save with extension (e.g. "myfile.mp4")
    Quote Quote  
  3. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    Hello again, do forgive me for asking but ... avsproxy? I have no experience with video editing obviously but is that a program or what?

    Thanks again.
    Quote Quote  
  4. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    import("C:\Program Files\Winnydows\XviD4PSP5\dlls\AviSynth\functions\AudioFunctions.avs")
    import("C:\Program Files\Winnydows\XviD4PSP5\dlls\AviSynth\functions\ VideoFunctions.avs")
    loadplugin("C:\Program Files\Winnydows\XviD4PSP5\dlls\AviSynth\plugins\Ni cAudio.dll")

    video = DirectShowSource("path", audio=false, fps=29.970, convertfps=true)
    audio = NicAC3Source("path")
    AudioDub(video, audio)

    ConvertAudioTo16bit()
    AutoYV12()



    This is the script btw, so i should only have to keep the directshow part correct?
    Quote Quote  
  5. You need avisynth installed normally in the proper directory (which you do if I can recall)

    All you need is:

    DirectShowSource("path", audio=false, fps=29.970, convertfps=true)

    Did you want to keep AC3 audio (is that your original audio format?), if so use the .mkv container instead. Alternatively, convert it to AAC or MP3 (using the audio sidebar instead of "copy")

    BTW to access avsproxygui, you need the full install of avidemux, and its in that shortcut menu

    EDIT: I just re-read your old post. Is this for subtitles and IPOD? You can use presets in avidemux for IPOD using auto=>IPOD
    Quote Quote  
  6. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    Yes its for both, thanks... Ill redo everything you said. A things are a bit hectic atm so i cant devote all my time to fixing this up at the moment (;_
    Quote Quote  
  7. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    Strange,

    So i use xvid4psp,

    avisynth --> enable filtering script --> delete everything and I will end up with:

    DirectShowSource("Path", fps=29.970, convertfps=true)

    so then i go with save script. Then i use avisynthproxy to open the scipt and hit "create proxy".

    I get "the application "avsproxy_6a6bad99.exe" has made and attempt to load ffdshow. This dialog is shown because the application is not listen in the ffdshow whitelist of blacklist. Your choice will be applied to both audio and video, if both are used.

    I use "dont use ffdshow" when given the option to either use it or not...

    From here, I have the video so i go Audio --> maintack and i set the ac3 file. Then to auto --> ipod. Video --> filter --> subtitles --> select my idx etc.


    Here i just hit save and save it as name.mp4. This is when i get an error:

    "A fatal error has occured" and the program closes. Any ideas?
    Quote Quote  
  8. It should save an error log; what does it say?

    If your original AC3 audio is 6-channel, you have to specify downmix to 2-channel manually (audio sidebar, filters). It should already be preset to AAC if you are using the ipod configuration

    Are you using most current svn version of avidemux (July 6 build, 4195) http://www.razorbyte.com.au/avidemux/

    FFDshow and avisynth (I'm using 2.5.7 ; I found 2.5.8 buggy) and haali media splitter installed?

    I think the key is from the error message in the avsproxygui. Make sure h264 is enabled in the ffdshow video configuration. Try enabling AC3 in the ffdshow audio configuration. You might also need AC3 filter installed.

    In your script, audio=false?

    You can also try letting avsproxygui create a script for you, in the directshowsource tab. You can enter the framerate and convert VFR=>CFR by ticking the option

    I don't know what else to suggest. I just tried a sample vfr .mkv clip on my system and it worked fine
    Quote Quote  
  9. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    I believe I am using the most recent avidemux. I have halli media splitter and FFDshow installed.

    The audio = false is what xvid4psp generates, I just took that out.

    the error gives me this as well "Click OK to generate debug information. This may take a few minutes to complete" but hitting Ok just closes the program and I dont get any reason for the error.

    I think I am getting the errors whenever the video previews as well. For example, i set the subtitle idx file and then for the preview once it gets to about 20-30 frames in I get the same fatal error with no log.

    I also tried entering the framerate and convert vfr -> cfr.
    Quote Quote  
  10. Not sure why it's not working for you.

    Another approach would be to convert your idx/sub to srt and use xvid4psp
    https://forum.videohelp.com/topic267416.html
    Quote Quote  



Similar Threads

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