PDA

View Full Version : Besweet and Nero AAC


outsiders71
18th July 2006, 00:30
I'm trying to import an uncompressed AVI (~20gig) and output a Nero 7 AAC .mp4.

First question is do I need the Nero 7 dll's or just the NeroAACEnc.exe program? I own Nero 7 Ultra Edition so if it would be beneficial to use its dll's than I would rather use it.

Second question is what is the command line or an example command line to do this?

I've read around the threads but have been unable to achieve what I'm trying to do. I've tried just stripping the WAVE from the AVI with besweet and then running the NeroAACEnc but it keeps saying it can't parse the file.

Commands I used:
e:\besweet.exe -core( -2ch -wavmp3 -input "e:test.avi" -output "e:test.wav" )

e:\neroAacEnc.exe -q 85 -2pass -if "e:\test.wav" -of "e:\test.mp4"

I couldn't figure out how to just do one command line with besweet using the BSN file and the Nero 7 dlls.

Thanks and sorry if this is nubish.

outsiders71
18th July 2006, 14:52
*bump*
:(

~bT~
18th July 2006, 15:12
Im not sure if this is what you're after...

*************************************************************
* *
* Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder *
* Copyright (C) 2006 Nero AG *
* All Rights Reserved Worldwide *
* *
* See -help for a complete list of available parameters. *
* *
*************************************************************

Usage:
neroAacEnc.exe [options] -if <input-file> -of <output-file>

Where:
<input-file> : Path to source file to encode.
The file must be in Microsoft WAV format and contain PCM data.
Specify - to encode from stdin.
<output-file> : Path to output file to encode to, in MP4 format.

==== Available options: ====

Quality/bitrate control:
-q <number> : Enables "target quality" mode.
<number> is a floating-point number in 0...1 range.
-br <number> : Specifies "target bitrate" mode.
<number> is target bitrate in bits per second.
-cbr <number> : Specifies "target bitrate (streaming)" mode.
<number> is target bitrate in bits per second.
When neither of above quality/bitrate options is used,
the encoder defaults to equivalent of -q 0.5

Multipass encoding:
-2pass : Enables two-pass encoding mode.
Note that two-pass more requires a physical file as input,
rather than stdin.
-2passperiod : Overrides two-pass encoding bitrate averaging period,
<number> : in milliseconds.
: Specify zero to use least restrictive value possible (default).

Advanced features / troubleshooting:
-lc : Forces use of LC AAC profile (HE features disabled)
-he : Forces use of HE AAC profile (HEv2 features disabled)
-hev2 : Forces use of HEv2 AAC profile
Note that the above switches (-lc, -he, -hev2) should not be
used; optimal AAC profile is automatically determined from
quality/bitrate settings when no override is specified.
-hinttrack Generates an RTP hint track in output MP4 file.
-ignorelength : Ignores length signaled by WAV headers of input file.
Useful for certain frontends using stdin.

outsiders71
18th July 2006, 15:33
Yeah I already know the parameters.

outsiders71
19th July 2006, 03:39
I just don't understand. Why can't besweet strip me a correct wave file from an AVI?

outsiders71
19th July 2006, 04:00
If besweet can't input an AVI and output a PCM .wav then what program can? I'd prefer a CLI.

Skelsgard
19th July 2006, 06:06
Load your .avi into VirtualDub/VDMod and export the wav. IF the wav is not compatible (maybe non-PCM header), load it into wavewizard and change the header to PCM WAV.
This file should be accepted in NeroAACEnc.

outsiders71
19th July 2006, 06:21
Hey thanks for replying. VirtualDub works fine. I just need something that can be used command line so I can automate things with a batch file.

Skelsgard
19th July 2006, 06:27
VDub can be use thru batch processing. I donīt use it myself as such, but u can get help in the VD/VDMod forum.

Gehenna
19th July 2006, 09:42
Using besweet & neroaacenc works fine for me.
Im using a standard besweet install & May 26 Build of Neroaacenc

My batch file looks like:
"C:\Program Files\DVD Tools\StaxRip\Applications\BeSweet\BeSweet.exe" -core( -input d:\Video_Input.avi -output d:\Audio_Output.wav -2ch ) -ota( -fs 48000 )
"D:\nero\win32\neroaacenc.exe" -br 128000 -2pass -if "d:\Audio_Output.wav" -of "Final_Output.mp4"
pause

Video_Input.avi = Xvid / Mp3(CBR)

outsiders71
19th July 2006, 20:35
I'm not so sure what was different between yours and my command line but now besweet is working.

Now NeroAACEnc isn't working. I get this error:
ERROR: could not open AAC encoder

outsiders71
20th July 2006, 18:30
Alright thanks for all your help so far. Everything is going good, until now :).

Can besweet input an AVI and downmix to a mono WAV? This is my next challenge. I've tried using the -lame switches ( -m m ) but doing this produces a bad wave file that won't play. Any ideas?

LigH
22nd August 2007, 12:43
To get the audio stream from an AVI file, BeSweet will need to use the additional VOBInput.dll; third-party tools may have included it, you may have not added it when you downloaded BeSweet.