View Full Version : Simple NeroAACEnc GUI - SNG 1.3
imcold
9th May 2006, 16:55
SNG is a basic front-end for the command-line Nero AAC encoder.
Notes:
- the encoder doesn't accept certain combinations of AAC profile and quality/bitrate options.
You shouldn't force profiles anyways - the encoder can automatically choose the right profile.
- for BePipe input you need BePipe.exe in sng's directory and AviSynth
Download:
SNG binaries & sources (http://imcold.evilhosting.org/progs/sng/)
Changes:
1.3
misc. bugfixes
Screenshot:
http://imcold.evilhosting.org/progs/sng/sng_screenshot.png
castellanos
9th May 2006, 17:19
I liked your work very much, it looks very easy to use, but unfortunatelly it does not work... at least in my computer!:rolleyes:
I noticed, in the command line, that you did not put the "" between:
In your programm looks like that:
D:\Nero\win32\neroAacEnc.exe -cbr 160000 -if D:\Work\The Swan.wav -of "D:\Work\The Swan.mp4"
And in my computer works only like that:
"D:\Nero\win32\neroAacEnc.exe" -cbr 160000 -if "D:\Work\The Swan.wav" -of "D:\Work\The Swan.mp4"
Is that a mistake?
Greetings!
Sharktooth
10th May 2006, 01:52
sounds like a small and easy fixable bug:)
@imcold: if you dont mind sharing the sources i could add transparent Avisynth input for audio formats other than wav...
imcold
10th May 2006, 02:34
hmm, it should work without quotes, if there is no space in full filename... obviously it does not work everywhere :D going to fix it.
no problem sharing the source, just need to remove non-english comments ;) It's written in Freepascal using Lazarus IDE (something like Delphi, but open-source :D ), hope that won't be a problem. I will upload it in short time.
btw.: could using upx executable packer lead to any problems?
castellanos
10th May 2006, 06:55
Thanks imcold, It works now! :D
A small thing:
It would be nice if you can select the destination of the converted file, or at least, same direrctory as the source.
Veri nice GUI though! :)
Sharktooth
10th May 2006, 12:37
hmm, it should work without quotes, if there is no space in full filename... obviously it does not work everywhere :D going to fix it.
no problem sharing the source, just need to remove non-english comments ;) It's written in Freepascal using Lazarus IDE (something like Delphi, but open-source :D ), hope that won't be a problem. I will upload it in short time.
btw.: could using upx executable packer lead to any problems?
ehm, i should spend some time to re-learn pascal or delphi... if i have the time i'll do it.
however upx is safe;)
Sharktooth
10th May 2006, 12:56
the two methods that come to my mind are easy though.
1) using avs2wav or bepipe and piping its output to the encoder (but i absolutely dont know how piping works on pascal/delphi)
2) using avs2wav to create a temp file and feed it to the encoder
MatMaul
10th May 2006, 13:26
the two methods that come to my mind are easy though.
1) using avs2wav or bepipe and piping its output to the encoder (but i absolutely dont know how piping works on pascal/delphi)
2) using avs2wav to create a temp file and feed it to the encoder
This GUI use command-line, so with BePipe.exe and neroAacEnc.exe the command line is "BePipe --script "Import(^file.avs^)" | neroAacEnc.exe -ignorelength -q 0.25 -if - -of Nero_he_q0.25.mp4" for example, I think it's not necessary to code anything about piping in Pascal, the GUI just create the command-line and launch it.
Sharktooth
10th May 2006, 13:47
im not sure the "|" works coz cmd.exe (or command.com) is not invoked.
Kurtnoise
10th May 2006, 14:00
im not sure the "|" works coz cmd.exe (or command.com) is not invoked.
It's invoked...
Sharktooth
10th May 2006, 14:04
well... so it's easier than i thought.
something like this: "bepipe.exe" --script "DirectShowSource(^filename.ext^)" | "neroAacEnc.exe" ....
should work
imcold
10th May 2006, 15:17
thanks for being interested in this little tool :) I still have some free time today, so I'm going to add multiple file input now and look @ pipes tomorrow - I never used them. How about piping output from command line back to my application - any easy way to do that?
deets
10th May 2006, 19:05
this would be very cool for us psp owners who want a free and simple way to encode audio for their video :)
ill give it a run and then add a page on my site!
ChaosKing
10th May 2006, 20:02
There´s a small "Bug"
http://img123.imageshack.us/img123/4927/sng6ek.jpg
guada 2
10th May 2006, 21:25
@ChaosKing
look at this:
imcold say:
-2pass encoding disabled when mode: VBR
Bye ;)
ChaosKing
10th May 2006, 22:19
:thanks:
Ok, then its a cosmetic bug :p
dohcmark8
10th May 2006, 22:44
Nice work. :)
Now if we could just have a progress bar...
Sharktooth
11th May 2006, 02:33
uhm... as i suspected piping thru "|" doesnt work...
the proof is here: http://www.webalice.it/f.corriga/sng/sng_0.3b_src.7z
(needs bepipe.exe in the same dir as sng.exe. the code contains also the -2pass fix and some aesthetic fixes as well).
any idea is welcome but i think an intermediate file is needed (using avs2wav) since i dont know how piping works in pascal...
It would be nice if the gui could allow user to set process priority. And one more hint, 96kbps isnt equal 96000bps its 98304 :).
Ivan Dimkovic
11th May 2006, 11:05
96 kbps = 96000 bits/second, according to ITU and SI units ;)
So, when you pass 96000 to neroAacEnc is it correct? I was sure that 1kbit = 1024bit... My bad ;)
Sharktooth
11th May 2006, 12:26
yes, it's correct
castellanos
11th May 2006, 23:06
Eh... sorry to be at it again, but the quotes bug was fixed in version 0.2, why is it again in 0.3?
The GUI does not work for me now. :(
Greetings!
ron spencer
11th May 2006, 23:18
yah gui does not work for me either....nothing happens.
maybe add feature to browse for output folder...and you need a cool icon for your gui
imcold
12th May 2006, 02:37
sorry, I removed part of the code which dealed with quotes when adding multiple input files :D it's fixed now.
I'll add icon as soon as I'll have some nice idea for it ;)
Digga
12th May 2006, 07:51
nice work imcold :)
lebanni
12th May 2006, 09:32
Nice job.
Could you add an option to choose between mp4/m4a extension ?
Le Banni.
castellanos
12th May 2006, 10:48
Nice imcold, It works now! :D
Good job!
ron spencer
12th May 2006, 13:18
very nice!!!! works now!!!!
only 2 notes from me:
1. dialog box to choose output directory
2. when it is encoding the progrress bar does not move...then it fills up when all done only
thanks again....this is cool!!!
can't wait to see what icon you choose!!!! time for creativity!!!
Sharktooth
12th May 2006, 13:41
oh, you didnt add the bepipe thing :(
in case of intermediate files you'll need avs2wav instead.
imcold
12th May 2006, 14:42
For next release:
option to choose between mp4/m4a extension - ok, wanted to add that anyway :D
dialog box to choose output directory - ok, too ;)
BePipe input: since i can't make pipes working (now)... I'll add bepipe input not exactly the way I wanted it :D
It will be out yesterday (hopefully ;) )
ron spencer
12th May 2006, 15:45
anyone know is AAC is "supposed" to be better than mp3...that is terms of compressability and sound quality...not sure what external players support this...
Sharktooth
12th May 2006, 16:10
Your question hasnt any sense.
AAC compresses more than MP3. In terms of quality both can reach transparency (at different bitrates though) and both are lossy codecs.
ron spencer
12th May 2006, 16:35
yah I noticed that.....hard to type and eat cerial at same time....at least it is Count Chocula :)
layer3maniac
12th May 2006, 20:21
not sure what external players support this... Ever heard of obscure little players named iPod? :rolleyes:
ron spencer
12th May 2006, 20:49
yah but I try to forget about that one...I like creative myself
shon3i
12th May 2006, 22:03
Any Nero Digital certificted player.
Sharktooth
13th May 2006, 21:21
uhm... ver0.5: access violation when clicking the browse button for the target folder if the source path is too long.
bug in command line generation when using bepipe: all the " should be replaced by ^ and not added (--script option)
ron spencer
13th May 2006, 21:50
I get the access violation error too...
Also, maybe it would be worthwhile to check if neroAacEnc.exe/neroAacEnc_sse2.exe is present as you can run your gui without those files present.
dimzon
13th May 2006, 22:17
Now MeGUI support this encoder too ;)
futurex
14th May 2006, 03:25
dimzon: i searched all round, where do i get this build?
Sharktooth
14th May 2006, 04:14
0.2.3.2138. It's 5AM and im going to bed...
tomorrow i'll build it.
imcold
14th May 2006, 14:56
I don't seem able to reproduce the "access violation" error. I added some i/o checking though, could someone try if the new version crashes like that too?
dimzon
14th May 2006, 17:12
dimzon: i searched all round, where do i get this build?
http://www.mytempdir.com/665655
ron spencer
14th May 2006, 19:02
this build seems ok...very nice!!!! Thanks again!!!!
Sharktooth
17th May 2006, 13:56
ok... some bugs im working to fix:
- when selecting avisynth input the 2-pass options should be disabled.
- when vbr is selected the 2-pass options should be disabled.
- when input folder is too long (for example "c:\documents and settings\username\documents\my music\artist folder\artist album\very long song name.wav"), when clicking on destination folder browser button and access violation occurs.
also, what about this layout?
http://www.webalice.it/f.corriga/temp/sng.png
imcold
17th May 2006, 15:15
cool, looking forward to it... and let me get the source then ;) I will put it in the first post :)
Sharktooth
17th May 2006, 16:33
ok, i need just to fix some issues then i'll publish the source.
SeeMoreDigital
17th May 2006, 18:36
I keep finding the same anomaly with all the Nero GUI's I've tried so-far and don't know whether it's the GUI's or Nero's encoder that's causing it!
What I'm tying to do is generate an 6Ch AAC-HE encode at 128Kbps CBR from this 6Ch WAV source (http://www.one.seemoredigital.net/Test_Files/6Ch_WAV.7z).
Whenever I select the AAC HE option I obtain an encode with a sample rate of 48.0KHz not 24.0KHz.
And If I select AAC v2 (which I'm assuming is AAC +PS), I don't obtain an encode at all
Cheers
Ivan Dimkovic
17th May 2006, 18:43
And If I select AAC v2 (which I'm assuming is AAC +PS), I don't obtain an encode at all
Just how do you expect Parametric Stereo to work with 6 channel source? ;)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.