crosta
22nd January 2007, 20:18
Hi all,
I have an iPod 5.5G and I use MeGUI to encode videos in H264.
The video files I have to encode are AVI's (DivX or Xvid).
I use this avisynth script for MeGUI input:
# Video File
video = "C:\Path\of\AVI\videoFile.avi"
# open AVI video-only to get correct frame rate
AVISource(video, audio = false)
# save correct frame rate for DirectShowSource
framerate = Framerate()
# reopen in DirectShow for better audio compatibility
DirectShowSource(video, fps = framerate)
# Resize and Black borders
LanczosResize(320,192) # Lanczos (Sharp)
AddBorders(0,24,0,24)
I use this script both for video and audio input, and for audio I use ND AAC (I've configured the path of nero encoder in MeGUI Settings).
The problem seems to be the audio - after the whole encoding process (audio + video + muxing), I'm not able to hear any audio.
I'm able to have a working video & audio only following this long way:
1- extract audio with VirtualDub (Save As WAV) -> i obtain the MP3 audio file (why not wav?)
2- encode with NeroAACEncoder using "bepipe.exe --script "DirectShowSource(<input>)" | neroAacEnc.exe -q 0.3 -lc -if - -of <output>"
3- muxing the audio with the video using NicMP4Box
I'm not so expert in using these tools for video encoding, so I cannot understand why the audio encoding with MeGUI does not work... I hope someone could help me with this problem!
Bye!
Thanks,
Sam.
I have an iPod 5.5G and I use MeGUI to encode videos in H264.
The video files I have to encode are AVI's (DivX or Xvid).
I use this avisynth script for MeGUI input:
# Video File
video = "C:\Path\of\AVI\videoFile.avi"
# open AVI video-only to get correct frame rate
AVISource(video, audio = false)
# save correct frame rate for DirectShowSource
framerate = Framerate()
# reopen in DirectShow for better audio compatibility
DirectShowSource(video, fps = framerate)
# Resize and Black borders
LanczosResize(320,192) # Lanczos (Sharp)
AddBorders(0,24,0,24)
I use this script both for video and audio input, and for audio I use ND AAC (I've configured the path of nero encoder in MeGUI Settings).
The problem seems to be the audio - after the whole encoding process (audio + video + muxing), I'm not able to hear any audio.
I'm able to have a working video & audio only following this long way:
1- extract audio with VirtualDub (Save As WAV) -> i obtain the MP3 audio file (why not wav?)
2- encode with NeroAACEncoder using "bepipe.exe --script "DirectShowSource(<input>)" | neroAacEnc.exe -q 0.3 -lc -if - -of <output>"
3- muxing the audio with the video using NicMP4Box
I'm not so expert in using these tools for video encoding, so I cannot understand why the audio encoding with MeGUI does not work... I hope someone could help me with this problem!
Bye!
Thanks,
Sam.