Hello again,
Here is the gspot image. Locally we call this sort of problem a bugger!
Cheers,
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 31 to 44 of 44
Thread
-
Fretless
Oz -
Okay I see the problem now. Gspot says that you don't have the appropriate audio codec installed. Does the audio play when you watch the avi on your computer?
You might try downloading ffdshow and see if it will decode the audio. Then rerun avitoac3.
Alternatively if that doesn't work then the only other alternative I know is to try demuxing the audio from the avi with virtualdubmod then running those multichanel wav files through http://thefrontend.sourceforge.net/EncWAVtoAC3/
Good luck!Donadagohvi (Cherokee for "Until we meet again") -
Hello Freebird,
I was able to make the AC3 file. There were several errors when I ran the script but in the end I just exported the (5.1) audio from the avi as a wave file and gave it to Aften. It was already uncompressed so it worked fine.
But I had fun playing with the DOS box (Command Prompt, I think you call it these days!)
Thanks for your help; I need to finish the project that got me into this but when I get some time I'll have a look at this to see if I can figure out why it does not work properly. I still think it will turn out to be bad config on my system, but that's for the new year.
Cheers and enjoy!Fretless
Oz -
Originally Posted by Fretless
But I had fun playing with the DOS box (Command Prompt, I think you call it these days!)Donadagohvi (Cherokee for "Until we meet again") -
Just a request -
Can you make it (and you HC Batch tool) NOT code the dos commands to run the tools from c drive (program files/ whatever it was, I forget).
I don't install programs into the system drive, only windows is there, everything else gets installed to d drive.
Can you make them either run from the current directory (where the main .exe is), OR ask and store the paths to the relevant files.. pleeeeese? .... pretty pleeeeeese???|
Meeow! -
So where is your program files directory located? I've had users with theirs located on the d: drive have no problems.
Donadagohvi (Cherokee for "Until we meet again") -
It's not the program that fails - it's when the program generates the interim batch commands, thay refer to %programfiles% which is not where the utils go, for me.
It's not program files directory - that's still on C drive with all the microsoft junk it it.
I install programs to a folder called d:\utils\<sub name>.
< I know this is NOT your fault or problem!>|
Meeow! -
Tell you what. If I get the time I'll code a version geared towards your particualr needs.
Donadagohvi (Cherokee for "Until we meet again") -
Well, thanks!
I wasn't trying to put you on the spot - it just seems logical to code for getting paths rather than assuming paths.
Anyway, I've extracted (fromt he log files) the command lines and made a bat file to call all the exes. I included variations for ac3 inside avi (which wavi hates).
@ECHO OFF
mkdir f:\dvd
set vid=f:\movies\Movie1.avi
set nam=hr1
set vidh=720
set vidv=544
set bt=16
set bb=16
cls
Echo Setting Up
Echo
set /p vid=Enter Vid name with full path :
set /p nam=Enter Vid short name :
set /p vidh=Enter Vid Horizontal Scaled :
set /p vidv=Enter Vid Vertical Scaled :
set /p bt=Enter AddBorders Top :
set /p bb=Enter AddBorders Bottom :
echo
Echo Please define Audio in Video...
Echo
ECHO 1 - Ac3 Audio Source
ECHO 2 - Pcm Audio Source
CHOICE /C:12
IF errorlevel 2 goto pcm
IF errorlevel 1 goto ac3
cm
echo DirectShowSource("%vid%") 1>"F:\Dvd\%nam%.avs"
echo ConvertToYv12() 1>>"F:\Dvd\%nam%.avs"
echo Deen() 1>>"F:\Dvd\%nam%.avs"
echo Spline36Resize (%vidh%,%vidv%) 1>>"F:\Dvd\%nam%.avs"
echo AddBorders (0,%bt%,0,%bb%) 1>>"F:\Dvd\%nam%.avs"
wavi.exe "F:\Dvd\%nam%.avs" "F:\Dvd\%nam%48k.wav"
goto common
:ac3
echo DirectShowSource("f:\Dvd\%nam%.avi") 1>"F:\Dvd\%nam%.avs"
echo ConvertToYv12() 1>>"F:\Dvd\%nam%.avs"
echo Deen() 1>>"F:\Dvd\%nam%.avs"
echo Spline36Resize (%vidh%,%vidv%) 1>>"F:\Dvd\%nam%.avs"
echo AddBorders (0,%bt%,0,%bb%) 1>>"F:\Dvd\%nam%.avs"
"ffmpeg.exe" -i "%vid%" -vcodec copy -an -y "f:\Dvd\%nam%.avi"
"ffmpeg.exe" -i "%vid%" -acodec copy -vn -y "f:\Dvd\%nam%Z.ac3"
BeSweet.exe -core( -input "F:\Dvd\%nam%Z.ac3" -output "F:\Dvd\%nam%.wav" -2ch ) -azid( -s stereo -c heavy -L -3db ) -ota( -hybridgain )
ssrc.exe --rate 48000 --normalize --twopass --dither 0 "F:\Dvd\%nam%.wav" "F:\Dvd\%nam%48k.wav"
goto common
:common
sox.exe -V "F:\Dvd\%nam%48k.wav" -r 48000 -c1 "F:\Dvd\%nam%L.wav" avg -l
sox.exe -V "F:\Dvd\%nam%48k.wav" -r 48000 -c1 "F:\Dvd\%nam%R.wav" avg -r
soxmix.exe -V "F:\Dvd\%nam%L.wav" "F:\Dvd\%nam%R.wav" -r 48000 -c1 "F:\Dvd\%nam%Cm.wav"
sox.exe -V -v 0.5 "F:\Dvd\%nam%Cm.wav" "F:\Dvd\%nam%B.wav" lowpass 140
sox.exe -V "F:\Dvd\%nam%Cm.wav" "F:\Dvd\%nam%C.wav" bandpass 200 2900
aften -xbsi2 1 -dsurexmod 2 -ch_fl "F:\Dvd\%nam%L.wav" -ch_fc "F:\Dvd\%nam%C.wav" -ch_fr "F:\Dvd\%nam%R.wav" -ch_sl "F:\Dvd\%nam%L.wav" -ch_sr "F:\Dvd\%nam%L.wav" -ch_lfe "F:\Dvd\%nam%B.wav" "F:\Dvd\%nam%.ac3"
cls
echo Running Hc Encoder
"G:\Downloads\Avi To Dvd With AC3 51\HC Encoder 022\Hcmatic 15.exe"
echo exit >>"f:\dvd\HCMatic.bat"
start /wait "f:\dvd\HCMatic.bat"
del /q "f:\Dvd\*sample.*"
del /q "f:\Dvd\%nam%.avi"
del /q "F:\Dvd\*.wav"
del /q "f:\Dvd\%nam%Z.ac3"
"tcmplex.exe" -m d -o "F:\Dvd\video.mpg" -i "F:\Dvd\%nam%.m2v" -0 "F:\Dvd\%nam%.ac3"
"dvdauthor.exe" -x "dvd.xml"
<Edit: Aften handles 6 mono to ac3 5.1 encode itself, no need for sox to make a 4G wave file!>
<Edit: changed the lowpass and bandpass a little>|
Meeow! -
not sure if this is the right thread to post this or not but the 'Click here for questions and bug reports' button in the GUI brought me straight here.
Just downloaded it and ran it a couple of times for the same file and noticed that the output AC3 file is not the same between 'Batch File processing' and 'Single File processing' modes. In the single file mode the resulting ac3 file is shorter and missing some audio in the end. Actually the extract WAV file itself is shorter and missing audio in the first place. It is missing audio at the end of the file. i.e. if the correct length of the original avi is 10:33 then the audio would only be 9:32.
Thought I'd just report this. -
Well that is wierd. I'll have to do some testing and see if I can reproduce that. Thanks for the report.
Donadagohvi (Cherokee for "Until we meet again") -
I know this is a noob question but...whenever I process a single file it comes out as an avs file (encoded from an avi).
My question is how do I get it to encode to an ac3 file? -
@Madnness
Did you follow the online User Guide?
Could you post your process log?
@Movie-Maker
I have have been unable to reproduce your error. Does it do that everytime for all files or just for that one file?Donadagohvi (Cherokee for "Until we meet again")
Similar Threads
-
DVD slideshow GUI - development thread.
By tin2tin in forum ProgrammingReplies: 1872Last Post: 28th Aug 2018, 17:08 -
MKV2AC3 - development thread
By Delta2 in forum Newbie / General discussionsReplies: 216Last Post: 9th Apr 2016, 14:24 -
HCbatchGUI - (batch processor for HCenc and Aften). Development Thread.
By freebird73717 in forum ProgrammingReplies: 253Last Post: 28th Nov 2012, 17:07 -
Avi to Ac3 user guide. How to encode the audio from an avi to ac3 .
By freebird73717 in forum User guidesReplies: 5Last Post: 9th Dec 2009, 21:53 -
Another AVI to DVD convert thread
By Hunter_Thompson in forum Video ConversionReplies: 14Last Post: 28th Aug 2007, 19:37