VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. 350MB Samples:
    Kitchen Nightmares USA S05 E01 Xvid
    Kitchen Nightmares USA S04 E03 - PJ's Steakhouse

    I have some AVIs that use the Xvid MPEG4 video codec. They have MP3 MS Stereo audio. I don't have better quality files available.
    First problem is the "Kitchen Nightmares USA S04 E03 - PJ's Steakhouse" AVI will NOT re-encode in MeGUI for some reason. The other video encodes fine and has similar MediaInfo properties.

    MeGUI script for testing purposes is:

    Code:
    <input>
    Tweak(Bright=0, Sat=1.0, Cont=1.0, Hue=0, Coring=False)
    Indexer Priority is set to AVISource. Audio is set to NOT re-encode. Output is set to MKV. The script fails before it starts encoding. It just says error. To try and get a meaningful error message I tried to encode with Simple x264 Launcher which only encodes video. That didn't fail so I can't find out with the problem is in MeGUI.

    I then dragged the AVI into MKVToolnix GUI and hit the button to create an MKV. The audio is now out of sync at 23 mins 49 secs for example. However the MKV will now encode in MeGUI (I set the Indexer Priority to FFMS as it's now an MKV). So it seems that when I originally tried to encode the AVI in MeGUI, the script failed even though I wasn't re-encoding the audio. I think there's something wrong with the audio which is preventing MeGUI from encoding the video.

    The Kitchen Nightmares USA S05 E01 video can be remuxed to an MKV and it's still in sync.

    GOALS

    1. I would like to be able to re-encode the PJ's Steakhouse AVI in MeGUI
    2. Also before encoding in MeGUI I would like to be able to demux the video and convert the audio to wav. Then I'd like to remux and have the audio IN SYNC.

    Does anyone have a script like the below but for an AVI source?

    Code:
    for %%a in ("*.mkv") do "X:\Portable Installations\MKV Toolnix\mkvextract.exe" --ui-language en tracks "%%a" 0:"%%~na.avi" 1:"%%~na.audio" 
    
    for %%b in ("*.audio") do "X:\Portable Installations\ffmpeg\bin\ffmpeg.exe" -i "%%b" -vn -c:a pcm_s16le -ac 2 -ar 48000 -f wav "%%~nb.wav"
    
    "X:\Daves Folder\Sounds\VideoRedo Completed Sound Short.WAV"
    
    pause
    
    del *.audio
    Can anyone help please?
    Last edited by VideoFanatic; 9th Feb 2016 at 15:52.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Have you tried open it in virtualdub? And use it to convert the audio to wav / pcm (choose video->direct stream copy and audio->Full processing).
    Quote Quote  



Similar Threads