View Full Version : Pb encoding audio
hubereevez
2nd October 2004, 12:02
Hi,
i'm quite a noob with producer comand line app....
I would like ONLY to encode audio (wav --> 64 raac)
All the gui I used did had a pb with my file (2.4 go wav) except satsuki Gui (but too large file).
The gui from sirber did encode one wav but stopped with the other one....
Is there a quick gui for audio encoding ?
thanks
hubhub
Sirber
2nd October 2004, 14:03
rename in "avi", then encode with RealAnime. By default, RealAnime try DirectShowSource for unknown source, like wav :)
karl_lillevold
2nd October 2004, 16:31
If all else should fail, producer cmd line is pretty simple in this case too. Save the code below as file racp64.rpad. Then run producer like this:
producer -i input.wav -ad racp64.rpad
<?xml version="1.0"?>
<audience>
<avgBitrate type="uint">64000</avgBitrate>
<maxBitrate type="uint">64000</maxBitrate>
<streams>
<audioStream>
<pluginName type="string">rn-audiocodec-realaudio</pluginName>
<codecName type="string">racp</codecName>
<codecFlavor type="uint">0</codecFlavor>
<streamContext type="bag">
<presentationType type="string">audio-only</presentationType>
<audioMode type="string">music</audioMode>
</streamContext>
</audioStream>
</streams>
</audience>
hubereevez
3rd October 2004, 08:56
:)
thanks a lot
i'll try both solutions
Merci
:)
hubhub
hubereevez
3rd October 2004, 12:59
Strange
file is "just" bigger than 2 Go (unlike the previous one (1.9 Go))....
Could not use windows media player to read it, nore mpc or graphedit.... (Le tampon n'est pas assez grand = "the buffer is not big enough") But works with winamp.....strange, nope ?
Real batch still gives an error code with smthg like "~ is not a file"
And from helix command app producer i have this error log :
PID2756 Warning File Reader 2004/10/03 13:33:01 0 WAV reader read file with zero data length
PID2756 Informational Command Line 2004/10/03 13:33:01 10529 Preparing to encode file input.wav to file input.rm
PID2756 Warning SDK Encoding 2004/10/03 13:33:01 15007 Ignoring enableTwoPass for audio-only encoding
i'm looking further with this buffer thing :!
edit : nothing else found with !google, just this error appearing sometimes with large wav file.......erf.......
++
hubhub
Sirber
3rd October 2004, 13:43
Most software cannot handle WAV larger than 2 GB. Recompress is to MP3@320 then to HE-AAC if you cannot encode it directly.
hubereevez
3rd October 2004, 14:10
erf oki
this is cos of this crappy dshow......... works with winamp and quicktime
anyway doing what you said.......
thanks :)
hubhub
Sirber
3rd October 2004, 15:00
Cool!
Good luck :D
hubereevez
3rd October 2004, 15:12
ouinnnnnnnnnnnnnnnn
2h30 lame encoding
snif :(:scared:
Sirber
3rd October 2004, 15:16
lol
hubereevez
10th October 2004, 03:07
renaming does not work with real anime
realbatch 1.50 can encode audio only, not the version 2
in realbatch 1.50 i have heaac (64.96.128 like raac)and in the 2 version raac(64.96.128) and racp (he-aac), i'm a little bit lost........:!
Where can i found a gui to encode audio only (not that the command line is not running karl but .....:scared: ). for now i'm using the command line with the raac.dll .........
thanks
hubhub
edit : another question karl what if i change racp to raac in your template........ uszing the raac.dll then? it's better nope? (and yes i did read this ) RealAudio 10 : AAC and HE-AAC (http://forum.doom9.org/showthread.php?s=&threadid=68245&perpage=20&highlight=racp&pagenumber=1) )
Sirber
10th October 2004, 03:34
If you rename your WAV to AVI, it will work.
hubereevez
10th October 2004, 03:38
nope really...... promise, i did try renaming wav into avi...; realanime did not encode my filme properly
a+
hubhub
karl_lillevold
10th October 2004, 03:41
hubereevez: if you change the codec name (4cc) from racp to raac Producer will use raac.dll instead, and you get normal LC-AAC output. The raac (LC-AAC) codec flavors are as follows:
bitrate 4cc flavor
64 Kbps Stereo Music raac 0 44.1 kHz
96 Kbps Stereo Music raac 1 44.1 kHz
128 Kbps Stereo Music raac 2 44.1 kHz
160 Kbps Stereo Music raac 3 44.1 kHz
192 Kbps Stereo Music raac 4 44.1 kHz
256 Kbps Stereo Music raac 5 44.1 kHz
320 Kbps Stereo Music raac 6 44.1 kHz
The racp (HE-AAC) flavors are as follows:
bitrate 4cc flavor
64 Kbps Stereo Music racp 0 44.1 kHz
96 Kbps Stereo Music racp 1 44.1 kHz
128 Kbps Stereo Music racp 2 44.1 kHz
.. if I am not mistaken. Next release will have lower bitrates, so this table might change.
Easy enough with cmd line and my audience template :)
Hope this helps.
iradic
10th October 2004, 03:49
if you are only intrested in audio encoding and know how to use command line try batch encoder...
http://members.home.nl/w.speek/batchenc.htm
karl_lillevold
10th October 2004, 03:52
iradic: nice. should be easy to setup producer command line to batch convert WAV to AAC (in RM). Another batch process would be needed to convert from RM to M4A or MKA, if those are more desirable target container formats.
Sirber
11th October 2004, 14:36
Making a GUI for that should be raither easy :)
karl_lillevold
11th October 2004, 14:56
Actually, I think you can do it all in BatchEnc; just string the commands together with '&&', like described in this post (http://forum.doom9.org/showthread.php?s=&postid=432085&highlight=EAC#post432085):
producer.exe -i %s -o %d.mka -ad c:\audio.rpad -dv && mkvextract tracks %d.mka 1:%d.aac && mp4creator60 -aac-profile=4 -optimize -create=%d.aac %d
(please see post for details, and edit for batchenc's filename syntax)
Sirber
11th October 2004, 14:58
Matroska Output plugin will be needed :)
karl_lillevold
11th October 2004, 15:06
Ah, yes. Without the mkvwriter and one less step, it can be done with dtdrive (producer.exe -i %s -o %d.mka -ad c:\audio.rpad -dv && ):
producer.exe -i %s -o %d.rm -ad c:\audio.rpad -dv && dtdrive.exe %d.rm -W %d.m4a
:cool: Will set this up in batchenc and post the exact instructions in a while...
karl_lillevold
11th October 2004, 17:06
Well, I could not get dtdrive to work in batchenc. Something about how dtdrive expects filenames formatted. But there are other options. Without installing mkvwriter for Producer, one can add the following line in Batchenc_presets.cfg:
producer -i <infile> -o <outfile.rm> -ad c:\racp64.rpad -dt -dv && mkvmerge -o <outfile.mka> --aac-is-sbr 1 <outfile.rm> && mkvextract tracks <outfile.mka> 1:<outfile.aac> && mp4creator60 -aac-profile=4 -optimize -create=<outfile.aac> <outfile.m4a>
Edit C:\racp64.rpad to match your audience file.
This tool chain requires mkvtoolnix and MPEG4 tools by MPEG4ip, and that you have producer, mkvextract, mkvmerge, and mp4creator60 all in your PATH :) As an added "benefit" of this, you get 4 files for each WAV file: .aac, .m4a, .mka, and .rm. Keep whichever you like...
EDIT: The corresponding chain for plain AAC would be:
producer -i <infile> -o <outfile.rm> -ad c:\raac128.rpad -dt -dv && mkvmerge -o <outfile.mka> <outfile.rm> && mkvextract tracks <outfile.mka> 1:<outfile.aac> && mp4creator60 -optimize -create=<outfile.aac> <outfile.m4a>
iqueen
18th March 2008, 06:52
The same warning showed up while i was trying to convert some xvid avi to rv10 rmvb using helix producer command line.
"Warning: Ignoring enableTwoPass for audio-only encoding", but after I have installed the FFShow, it worked all right then.
I think the "ignoring enableTwoPass" maybe meat lack of the de-codec.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.