Released a new front end gui suite that takes avi and avs files and extracts the audio as uncompressed wav, Resamples to 48000 Hz normalizes audio and adds dithers with ssrc, and encodes to 2 or 5.1 channel ac3 with Aften.
Requires Avisynth to be installed on your machine.
Download at http://sourceforge.net/projects/avitoac3/
![]()
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 30 of 44
Thread
-
Donadagohvi (Cherokee for "Until we meet again")
-
I think the tool should also allow you to select a single file for processing.
the batching is pretty crude.
selecting extract wav from avi will also extract from any pre-existing avs scripts you have in the folder.
essentially you have to make a working folder and move only your selected work in there.
I like "star your batch"
don't know if you plan to keep it.
gl -
STAR(?) YOUR BATCH
And could you give an example of a batch file as produced by this?
I've just been converting some AVS, using VDUB to create a WAVE (had several trims, so couldn't just use the AVI), then I have a little batch that converts WAVE to AC3 using ffmpeg. (I just cribbed the command line from ffmpeggui and generalised it.) -
Originally Posted by 45tripp and AlanHK
Originally Posted by 45tripp
Originally Posted by 45tripp
I think I will take the extract to wav to just one button. The program that does the wav extracting works best with avs files. Hence the reason I have "Extract avi"...it just adds a line to create a very simple avs for each avi file with just the avisource line. Which is also why it process existing avs files.
Originally Posted by 45tripp
Originally Posted by AlanHK
Code:for %%x in ("*.avi") do echo Avisource("%%x") >>"%%x.avs" for %%a in ("*.avs") do "c:\program files\avi to ac3\wavi.exe" "%%a" "%%a.wav" for %%a in ("*.wav") do "c:\program files\avi to ac3\ssrc.exe" --rate 48000 --normalize --twopass --dither 0 "%%a" "48k_%%a" for %%a in ("*.wav") do "c:\program files\avi to ac3\aften.exe" "%%a" -acmod 2 -readtoeof 1 -b 224 "F:\my hcguide\ac3\%%a.ac3" del *.wav Exit
Later today I am releasing an updated version that can encode 5.1 ac3 from a 5.1 source and also upmix a 2.0 source to pseudo 5.1ac3 (I was inspired by soopafresh's upmix's although I went about it a different way using sox, soxmix ).
I will also upload a small guide.
Thanks for the feedback guys!Donadagohvi (Cherokee for "Until we meet again") -
Uploaded a new comprehensive userguide.
https://forum.videohelp.com/topic341323.html#1780827Donadagohvi (Cherokee for "Until we meet again") -
New in version 1.0.3.5
Removed one extract wav button. Now one button serves both functions.
Added Upmix function taking 2 channel input and outputting 5.1 Ac3. Uses Sox, Soxmix, and interlx to create a 5.1 wav from a 2.0 wav.
Added 5.1 AC3 output from 5.1 source
http://sourceforge.net/projects/avitoac3/Donadagohvi (Cherokee for "Until we meet again") -
Originally Posted by freebird73717
What about when there are existing AVS files with the default name? It looks like your app would overwrite them.
Also, if there are any Trim() in an existing AVS, I think it's necessary to have EnsureVBRMP3Sync() before.
I just put it directly after the AviSource(). Perhaps your app could insert them in a temporary copy; or advise the user to do so.
Recently I did some cutting and pasting and this worked and the sound was in sync at the end:
s1=AVISource("sja-101.avi").EnsureVBRMP3Sync()
s2=AVISource("sja-102.avi").EnsureVBRMP3Sync()
s1.trim(0,39057) ++\
s2.trim(2138,39560) ++\
s2.trim(40594,0) -
No if you put just your own avs files in a directory by themselvs they will not be overwritten. It only creates avs files if your source directory has avi's in them. If your source directory only has the avs files it just skips creating avs and uses the avs files already in the directory.
As far as trims go, I haven't tried it but it should work without any problems. I will have to do some testing to find out.Donadagohvi (Cherokee for "Until we meet again") -
Originally Posted by freebird73717
-
Okay updated to new version
Code:New in version 1.0.3.6 Updated aften to version 0.08 Added AVITOAC3_ to the avs files created by the app to prevent possible overwriting of already existing avs files.
Donadagohvi (Cherokee for "Until we meet again") -
Originally Posted by freebird73717
People who write their own AVS will likely have done it for all their AVIs.
Also I don't know why you would need a button for SSRC. Surely you will always want to set the sampling rate at 48000. You could perhaps check the current rate and omit if it already is. -
Originally Posted by AlanHK
Also I don't know why you would need a button for SSRC. Surely you will always want to set the sampling rate at 48000. You could perhaps check the current rate and omit if it already is.
Anyway, I'm not your target user, I would roll my own AVS files and batches.Donadagohvi (Cherokee for "Until we meet again") -
New in version 1.0.3.7
Improved batch process. Added cleanup of temp avs files created by avi to ac3.
Removed the Resample audio button but left dither control. App will now run ssrc on all created wav files.Donadagohvi (Cherokee for "Until we meet again") -
New in version 1.0.3.9 Bug fix Removed requirement that OS has to be installed on c: drive. App should now work if your "program files" directory is on a drive other than c:
Donadagohvi (Cherokee for "Until we meet again") -
freebird73717 wrote:
New in version 1.0.3.9 Bug fix Removed requirement that OS has to be installed on c: drive. App should now work if your "program files" directory is on a drive other than c:
*THUMBS UP*
===== -
Okay I've noticed a bug in the upmix function. So far on the files I have tried it with it won't go above 1 hour for 2.0 to 5.1 upmix. It won't create a 6 channel wav file larger than 2 gb. I'm trying to figure out a fix.
Donadagohvi (Cherokee for "Until we meet again") -
I should have the filesize problem in the upmix function fixed now. I removed interlx which maxed out at 2gb and replaced it with wavavimux. You should now be able to upmix 2channel files with a running length over 1 hour and not have any problems. I successfully upmixed two avi's with a runtime of 1 hour 30 minutes each.
Download the latest release 1.0.4.1
http://sourceforge.net/projects/avitoac3/Donadagohvi (Cherokee for "Until we meet again") -
Originally Posted by 45tripp
Also uploaded a more comprehensive user guide.
https://forum.videohelp.com/topic341323.html#1780827Donadagohvi (Cherokee for "Until we meet again") -
Released v1.0.4.7 today.
Added support for mpeg audio conversion. Useful for converting mpegs with mpa/mp2 audio to AC3.
Sorry for the continual updates. After I think I'm done something else pops into my head and I think "Hey! That would be a great feature!"Donadagohvi (Cherokee for "Until we meet again") -
There is something wrong with v1.0.4.7. When I launch it say hello welcome to my program, then goodbye you can uninstall this by going to add/remove programs in the control panel. then closes.
-
Okay for anyone that had problems with v 1.0.4.7 you can re-download it now. I was having issues with my setup compiler. More precisely operator error. I screwed up.
Thanks for the heads up DKruskie. It's fixed now. Sorry for the inconvienence.Donadagohvi (Cherokee for "Until we meet again") -
[quote="freebird73717"].................... if you impliment it on a file that is already 48khz it does nothing but normalize and add dithers... quote]
Okay, I'll bite ...What are "dithers" ??
Google says ........ Dithers is Dagwood Bumstead's boss in the comic strip Blondie. -
http://en.wikipedia.org/wiki/Dither
And the following more detailed explantion is a quote is from this thread
- dither type 1, no noise shaping (flat dither): 0.5 bits on default are used, low-level quantization distortion still remains, noise modulation too. A value of 0.9 bits is needed to avoid appreciable distortion and achieve slightly appreciable noise modulation. A value of 1 is needed to avoid it totally.
- dither type 2 (triangular noise shaped dither): 0.5 bits on default, quantization distortion and noise modulation remain. 0.9 bits are needed to avoid audible noise modulation. IIRC, 0.7 bits are needed to avoid appreciable distortion, but noise modulation remains in this case.
- dither types 3 and 4( ATH noise shaped dither): 0.5 bits on default, this time no quantization distortion is appreciable, but noise modulation happens. A value of 0.7 bits is needed to make it unappreciable.
Donadagohvi (Cherokee for "Until we meet again") -
Hello guys,
I'm new to this forum. I was looking for an AC3 maker and this tool looked like it. I am not into code so I just gave it a try. It failed and the reason in the log was that wavi.exe could not find a PCM audio (actual log entry: "Error: Could not find PCM audio track in "C:\Users\xxxx\AC3Maker\GAExport03.avi".
(However, the file contains an audio track of another format.)").
I'm running Vista 64 bit and the product I'm using to create the avi is using uncompressed audio; when I select a PCM output I lose the 5.1 functionality I was after.
So my questions are:
1 - is this an appropriate use of this forum?
2 - if so, have I supplied enough info for you to suggest what is going on?
3 - if not what do I need to do, and
4 - if none of the above where could I look for a tool that will convert either audio in avis or multi-channel interleaved wav files into AC3?
Cheers,Fretless
Oz -
I have avisynth. Both that and AVI to AC3 are installed in the C:\Program Files directory, but I also have a Program Files (x86) directory which seems to be where most apps are installed.
Fretless
Oz -
Hmm. Not sure what the problem is then. It may be an incompatibility with vista or the fact that your OS is 64 bit. I have neither vista or a 64bit processor/OS so I can't problem test that.
Can you post a gspot screenshot of your avi? That would give me more info to work with.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