Help - Search - Members - Calendar
Full Version: Batch transcoding to HE-AAC-PS with this tool
Hydrogenaudio Forums > Lossy Audio Compression > AAC > AAC - General
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
hurry11
QUOTE(optimus @ Sep 20 2005, 10:36 AM)
've just tested with menc.dat u sent me. Everthing is smooth. At this time I still cannot figure out what's going wrong on your system. I will try testing MEnc on more systems to see if there is the same problem.


Helix works but I specifically wanted PS at 24 kbps. sad.gif
hurry11
QUOTE(optimus @ Sep 20 2005, 10:36 AM)
've just tested with menc.dat u sent me. Everthing is smooth. At this time I still cannot figure out what's going wrong on your system. I will try testing MEnc on more systems to see if there is the same problem.


Cheers to you Stanley! The new version 0.2.7 build 81 works. At least the encoding has started. I hope it gets completed.

I am encoding a 16-bit wav to aacplus v2 ps at 24 kbps but I cannot see the progress bar. It is still showing Encoding in MEnc.exe while in the Console Window it shows Winamp Encoder plugin closed. It has opened earlier. So is it still encoding because this has taken a lot of time?
optimus
QUOTE(hurry11 @ Sep 30 2005, 04:23 PM)
Cheers to you Stanley! The new version 0.2.7 build 81 works. At least the encoding has started. I hope it gets completed.

I am encoding a 16-bit wav to aacplus v2 ps at 24 kbps but I cannot see the progress bar. It is still showing Encoding in MEnc.exe while in the Console Window it shows Winamp Encoder plugin closed. It has opened earlier. So is it still encoding because this has taken a lot of time?
*



The progress bar only works when using Winamp input plugins as decoder, as I haven't yet found a way to retrieve file playback length from MPlayer.
When u see "Winamp Encoder plugin closed", and the pos/bytes no longer increase, the encoding has completed.

Just released build87, fixed the output paths bug revealed by noisehole, fixed a bug in mp4 file generating, and added a configuration window for Winamp plugins (to open it, choose "Winamp input plugins" as decoder and click the button beside).
noisehole
winamp decoders are beeing used now, but im afraid the ouput path bug is still there

EDIT:
nice to have 2 decoder options, ive a mp3file that seems to be broken/incomplete and decoding it with mplayer hangs at the end of the file while decoding it with winamp plugins works just fine

transcoding 12 mp3s using mplayer takes 1:12 and winamp 1:24
hurry11
Ok I tested with three or four files aacplus v2 encoding. The encoding is saying completed but the final aac file is 0 kb. Am I the condemned one to use MEnc? crying.gif
BofH2k
Is there any way live audio AAC+ 3GPP streams can be created with these tools?

Or only batch processed output?

optimus
QUOTE(BofH2k @ Oct 1 2005, 06:51 PM)
Is there any way live audio AAC+ 3GPP streams can be created with these tools?

Or only batch processed output?
*



What utility or encoder can produce this kind of file?
jako
QUOTE(optimus @ Oct 1 2005, 07:24 AM)
QUOTE(BofH2k @ Oct 1 2005, 06:51 PM)
Is there any way live audio AAC+ 3GPP streams can be created with these tools?

Or only batch processed output?
*



What utility or encoder can produce this kind of file?
*



the OPTICODEC-PC does.
http://www.orban.com/orban/products/codec/index.html

don't know how to implement it.

the oddsock plugin can stream in aac format but just support faac.
http://www.oddsock.org/tools/oddcastv3/
slippyC
Hey Optimus, this is really nice little app you got here man. I saw this awhile back, but there was some other proggie that someone had made to convert to he-aac v2 before this one(via Winamp plugin).

Anyway, glad I tried it out. Really like you have vid encoding implemented as well.

Thanks for the hard work.


Oh yea, one question.

You said when using mp4box to pack .aac in mp4 container that it wasn't putting PS info in correctly. Is this just a tag that isn't showing up right or is the PS data actually not being packed into the mp4 container(to clarify, is the PS data stripped out)?


One other thing.

Someone in another post was talking about another way to pack into mp4 container. I didn't quiet understand what the person was talking about, but is this solution automated in your app? Think it had to do with some Winamp plugin.


Pretty much is there a work around if indeed mp4box is corrupting or stripping the file of PS data before putting into mp4 container?
optimus
QUOTE(slippyC @ Oct 2 2005, 01:34 PM)
You said when using mp4box to pack .aac in mp4 container that it wasn't putting PS info in correctly.  Is this just a tag that isn't showing up right or is the PS data actually not being packed into the mp4 container(to clarify, is the PS data stripped out)?

This issue no longer exists with the latest version of mp4box as well as the mp4box included in the powerpack.

QUOTE
Someone in another post was talking about another way to pack into mp4 container.  I didn't quiet understand what the person was talking about, but is this solution automated in your app?  Think it had to do with some Winamp plugin. 

Pretty much is there a work around if indeed mp4box is corrupting or stripping the file of PS data before putting into mp4 container?
*



That is a working way, but I've not implemented interface with foobar components in my program and mp4box is the only MP4 container utility with CLI I know about up to now.
fromillo
Does menc support AAC (and aac+ / aac++) cutting?

If not is very difficult to implement this function?

Because i searched but i didn ' t find aac cutter with cue support.
optimus
QUOTE(fromillo @ Oct 2 2005, 07:15 PM)
Does menc support AAC (and aac+ / aac++) cutting?

If not is very difficult to implement this function?

Because i searched but i didn ' t find aac cutter with cue support.
*



Cutting is not difficult to implement. After I look into cue file format, I will add cutting and cue support.

Just added WavPack support. Thanks for bryant's info. MEnc 0.2.7 PowerPack is updated to include wavpack encoder.
rjamorim
Some mighty impressive tool you're coming up with there, mister...

Thanks.
optimus
Buggy packaging again... If u just downloaded in 10 minutes from now, please re-download. Sorry for my carelessness. Sometimes I'm just too excited to release. biggrin.gif
slippyC
QUOTE(optimus @ Oct 2 2005, 02:09 AM)
QUOTE(slippyC @ Oct 2 2005, 01:34 PM)
You said when using mp4box to pack .aac in mp4 container that it wasn't putting PS info in correctly.  Is this just a tag that isn't showing up right or is the PS data actually not being packed into the mp4 container(to clarify, is the PS data stripped out)?

This issue no longer exists with the latest version of mp4box as well as the mp4box included in the powerpack.

QUOTE
Someone in another post was talking about another way to pack into mp4 container.  I didn't quiet understand what the person was talking about, but is this solution automated in your app?  Think it had to do with some Winamp plugin. 

Pretty much is there a work around if indeed mp4box is corrupting or stripping the file of PS data before putting into mp4 container?
*



That is a working way, but I've not implemented interface with foobar components in my program and mp4box is the only MP4 container utility with CLI I know about up to now.
*





Thanks for quick response.

I hope you will have the time to keep moving this project forward, looks like it has alot of potential(actually, already very good).


There are 2 things I noticed. One is that for some reason when you select Resample in the Audio Filters that it isn't resampling to 44,1000 Hz(it stays at 48khz, atleast with he-aac .v2). The other is a minor visual quark, it doesn't even mater to me personally, but just thought I would say something about it. On the AAC+V2 config tab on right side, if you notice the slider control is being clipped a little. I'm sure you know all ya have to do is move it up a little and the label above to balance it back out visually.

BTW, it isn't a problem in the Winamp Plugin. I can resample fine to 44khz, with foobar that uses the Winamp Plugin. If bitwise there is no difference between 44khz and 48khz, then I don't guess it really matters. Just didn't know if I was wasting some bits by leaving it at that high response(I know I couldn't tell between the 2, audiably).
optimus
QUOTE(slippyC @ Oct 3 2005, 01:09 AM)
There are 2 things I noticed.  One is that for some reason when you select Resample in the Audio Filters that it isn't resampling to 44,1000 Hz(it stays at 48khz, atleast with he-aac .v2).  The other is a minor visual quark, it doesn't even mater to me personally, but just thought I would say something about it.  On the AAC+V2 config tab on right side, if you notice the slider control is being clipped a little.  I'm sure you know all ya have to do is move it up a little and the label above to balance it back out visually.

Audio filters are only usable when using MPlayer as audio decoder, as it's provided by MPlayer. Later I will add Winamp DSP support on both audio decoders.
And the GUI issue, thanks for reminding. biggrin.gif
goten
Hi, optimus 你好~

I am trying to convert mp3 to aac, but the tag in mp3 isn't transfer to aac file. I am just curious if MENC support that?
hurry11
Optimus, please please help. Now it says it is encoding and I also get the message encoding completed but the aac output file shows 0 kbps. I don't know why this is happening. It takes it's time while encoding and says encoding completed still I don't get the file. Of course some times is gives the same error: "Error starting encoder".
optimus
QUOTE(goten @ Oct 3 2005, 05:35 PM)
Hi, optimus 你好~

I am trying to convert mp3 to aac, but the tag in mp3 isn't transfer to aac file.  I am just curious if MENC support that?
*



你好啊 laugh.gif
Tagging is to be implemented in the next steps, as it's a really handy function and isn't difficult to implement.
optimus
QUOTE(hurry11 @ Oct 4 2005, 05:58 PM)
Optimus, please please help. Now it says it is encoding and I also get the message encoding completed but the aac output file shows 0 kbps. I don't know why this is happening. It takes it's time while encoding and says encoding completed still I don't get the file. Of course some times is gives the same error: "Error starting encoder".
*



What decoder and encoder r u using and what type of file are transcoding?
kindofblue
Is it possible to have this tool hosted in Rarewares? Maybe it's just me, but I seem to be having trouble downloading from the cosoft.org address. Thanks.
optimus
QUOTE(kindofblue @ Oct 7 2005, 12:51 PM)
Is it possible to have this tool hosted in Rarewares? Maybe it's just me, but I seem to be having trouble downloading from the cosoft.org address. Thanks.
*


I would like to, but how?
At this time, u may try downloading from the mirror site.

btw to all: tag transferring is under development after i found some really useful stuff cool.gif
optimus
Tag transferring finally come to work. All supported audio formats can be automatically tagged now. The PowerPack 0.2.7 is updated. Please download and try.
suur13
Hi,

how do I enable subtitles with your patched mplayer ?

With so called G.Tiesi build, everything works out of the box:
http://oss.netfarm.it/mplayer-win32.php
optimus
QUOTE(suur13 @ Oct 8 2005, 05:27 PM)
Hi,

how do I enable subtitles with your patched mplayer ?

With so called G.Tiesi build, everything works out of the box:
http://oss.netfarm.it/mplayer-win32.php
*



Add "-slang en" (en can be any other language short name) in "Preference" -> "Utilities" -> "Extra MPlayer Options"
hurry11
QUOTE(optimus @ Oct 5 2005, 08:29 PM)
QUOTE(hurry11 @ Oct 4 2005, 05:58 PM)
Optimus, please please help. Now it says it is encoding and I also get the message encoding completed but the aac output file shows 0 kbps. I don't know why this is happening. It takes it's time while encoding and says encoding completed still I don't get the file. Of course some times is gives the same error: "Error starting encoder".
*



What decoder and encoder r u using and what type of file are transcoding?
*


The MPlayer decoder does not work. I get the some error like disable runtime in mplayer. So I tried the Winamp input plugin decoder. I am trying to convert pcm wav files (16 bit 44 KHz) to aacPLUS v2 24 kbps. In the dos prompt it says winamp input plugin decoder open and also winamp aacplus encoder open and shows encoding but the final file is still 0 kbps. I think it looks like a decoder problem. Please help.
optimus
QUOTE(hurry11 @ Oct 8 2005, 05:41 PM)
The MPlayer decoder does not work. I get the some error like disable runtime in mplayer. So I tried the Winamp input plugin decoder. I am trying to convert pcm wav files (16 bit 44 KHz) to aacPLUS v2 24 kbps. In the dos prompt it says winamp input plugin decoder open and also winamp aacplus encoder open and shows encoding but the final file is still 0 kbps. I think it looks like a decoder problem. Please help.
*


Before extracting the latest PowerPack, please try removing the previous installed files (simply remove or rename the "menc" folder).
I've just packaged a new PowerPack. In the build 177, a wave/pcm file "decoder" was added for encoding .wav files.
Superlexx
Hello, I've tried out the tool today I find it pretty cool. MEnc crashes though when I try to transcode WMA lossless -> AAC+V2 after the operation has been completed:
CODE
Unhandled exception at 0x4eae1853 in menc.exe: 0xC0000005: Access violation reading location 0x726a1a94.

call stack:
CODE
wmvcore.dll!4eae1853()  
 wmvcore.dll!4eae149e()  
 wmvcore.dll!4eae0cba()  
 wmvcore.dll!4ead2f5c()  
 wmvcore.dll!4ead2ece()  
 wmvcore.dll!4ea7574e()  
 ntdll.dll!7c821de4()  
 wmvcore.dll!4ea7536b()  
 wmvcore.dll!4ea90eb0()  
 wmvcore.dll!4ea75f61()  
 wmvcore.dll!4ea47339()  
 wmvcore.dll!4ea47eff()  
 wmvcore.dll!4ea436c1()  
 in_wm.dll!01105dcf()  
 in_wm.dll!01106a78()  
 in_wm.dll!01106b4c()  
 in_wm.dll!010f7c46()  
 in_wm.dll!010f55f4()  
 in_wm.dll!010f1f4c()  
 kernel32.dll!77e4245b()  
 kernel32.dll!77e424b7()  
 menc.exe!00403d50()  
 menc.exe!00403d60()  
 menc.exe!00405cbf()  
 menc.exe!004066e9()  

I use the 0.2.7 build 179, and the WinAmp (v5.1 Surround Edition) plugins for en/decoding
optimus
QUOTE(Superlexx @ Oct 9 2005, 05:14 AM)
I use the 0.2.7 build 179, and the WinAmp (v5.1 Surround Edition) plugins for en/decoding
*



This issue has been fixed. Thanks for your information. Download the update here.
Oki
QUOTE(optimus @ Oct 7 2005, 07:29 AM)
QUOTE(kindofblue @ Oct 7 2005, 12:51 PM)
Is it possible to have this tool hosted in Rarewares? Maybe it's just me, but I seem to be having trouble downloading from the cosoft.org address. Thanks.
*


I would like to, but how?
At this time, u may try downloading from the mirror site.

btw to all: tag transferring is under development after i found some really useful stuff cool.gif
*

Ask this to Roberto, rjamorim in this forum. He is the Rarewares admin.

Regards,
Oki
Maurits
Optimus, am I right when it appears mEnc can have APE as input but it isn't mentioned in the opening post?
AiZ
Hello,

First, thanks for this great tool, optimus!

I've found a little bug. Well, exactly, it's not the first bug I encounter but this time, I've decided to say something on this forum.

CODE
# .\mplayer\mencoder.exe "C:\videos\taistoi01.avi" -o D:\WUTemp\taistoi01.avi -of avi -ovc null -oac copy -mc 0 -noskip -audiofile D:\WUTemp\menctemp1760.mp3

MEncoder dev-CVS-051008-20:22-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Celeron D Northwood/Xeon Prestonia/Gallatin (Family: 15, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Option ovc: Unknown suboption null

Exiting... (error parsing cmdline)


(I'm using build 198)

I'm trying to transcode DivX/AC3 to DivX/MP3, using stream copy and Lame. There's a problem with the -ovc switch but as I don't speak mplayer/mencoder natively, I don't know what's the matter.

Speaking of other bugs, I never succeeded in outputing a single MP4 file. Mencoder crashes or mp4box says there's errors in file type. I meanly try with xvid or divx (mpeg4 like) and aac+v2 or helix or faac. Damn...


AiZ
optimus
QUOTE(Maurits @ Oct 10 2005, 05:23 PM)
Optimus, am I right when it appears mEnc can have APE as input but it isn't mentioned in the opening post?
*


Yes, that is because I haven't yet tested with APE input, though I've included in_ape.dll in the package.
Now I'm announcing that APE input is working and also in the latest PowerPack (build 211), encoding to APE (for CD ripping or transcoding from other lossless formats, e.g. WMA lossless, FLAC etc) has become possible.
optimus
QUOTE(AiZ @ Oct 10 2005, 05:48 PM)
I'm trying to transcode DivX/AC3 to DivX/MP3, using stream copy and Lame. There's a problem with the -ovc switch but as I don't speak mplayer/mencoder natively, I don't know what's the matter.

Please try setting container format to "Default", and choose a proper video codec.

QUOTE
Speaking of other bugs, I never succeeded in outputing a single MP4 file. Mencoder crashes or mp4box says there's errors in file type. I meanly try with xvid or divx (mpeg4 like) and aac+v2 or helix or faac. Damn...

MP4 container now only works for audio only transcoding. I haven't yet found a workaround for this.
AiZ
Hi,

QUOTE(optimus @ Oct 10 2005, 01:44 PM)
Please try setting container format to "Default", and choose a proper video codec.

I don't want to reencode the video, just the audio. Isn't it possible? Setting container to Default yields to the same error.

QUOTE(optimus)
MP4 container now only works for audio only transcoding. I haven't yet found a workaround for this.

Too bad... I make my mind that MEnc would be the perfect tool to transcode video clips or films in MP4 format for my phone. huh.gif


AiZ
optimus
QUOTE(AiZ @ Oct 10 2005, 09:23 PM)
Hi,

QUOTE(optimus @ Oct 10 2005, 01:44 PM)
Please try setting container format to "Default", and choose a proper video codec.

I don't want to reencode the video, just the audio. Isn't it possible? Setting container to Default yields to the same error.

QUOTE(optimus)
MP4 container now only works for audio only transcoding. I haven't yet found a workaround for this.

Too bad... I make my mind that MEnc would be the perfect tool to transcode video clips or films in MP4 format for my phone. huh.gif

AiZ
*


To transcode audio only from a video file, set "Video Codec" to "None" and set "Container format" to "Default" and choose whatever audio encoder u want to use.
As for MP4, I will look for a solution. And I'm going to add more features for mobile transcoding.
Maurits
QUOTE(optimus @ Oct 10 2005, 02:39 PM)
QUOTE(Maurits @ Oct 10 2005, 05:23 PM)
Optimus, am I right when it appears mEnc can have APE as input but it isn't mentioned in the opening post?
*


Yes, that is because I haven't yet tested with APE input, though I've included in_ape.dll in the package.
Now I'm announcing that APE input is working and also in the latest PowerPack (build 211), encoding to APE (for CD ripping or transcoding from other lossless formats, e.g. WMA lossless, FLAC etc) has become possible.
*


Thanks!
AiZ
Arf!

QUOTE(optimus @ Oct 10 2005, 03:28 PM)
To transcode audio only from a video file, set "Video Codec" to "None" and set "Container format" to "Default" and choose whatever audio encoder u want to use.


I need to clarify. rolleyes.gif
I have an AVI file with video encoded in DivX and sound encoded in AC3. What I want is to keep the video stream as is (i.e. no transcoding) and reencoded the audio stream in MP3, then I'll have an AVI file with the original video and sound in MP3 format.

QUOTE(optimus)
As for MP4, I will look for a solution. And I'm going to add more features for mobile transcoding.


Really nice! Thanks! biggrin.gif


AiZ
Superlexx
thx optimus, the WMA (lossless) files don't crash MEnc anymore,

but I just can't get the tag transfer to work. I've enabled it in the settings, but the tags still don't appear in the resulting files. I've tested it with mplayer as decoder, lame as encoder (mp3 -> mp3 transcoding); mplayer shows the right tags in the console, but the lame.exe call doesn't have the tag parameters.

Superlexx
optimus
QUOTE(Superlexx @ Oct 10 2005, 11:49 PM)
thx optimus, the WMA (lossless) files don't crash MEnc anymore,

but I just can't get the tag transfer to work. I've enabled it in the settings, but the tags still don't appear in the resulting files. I've tested it with mplayer as decoder, lame as encoder (mp3 -> mp3 transcoding); mplayer shows the right tags in the console, but the lame.exe call doesn't have the tag parameters.

Superlexx
*



First, please check if tools\tag.exe exists. This also might be caused by a new bug. sad.gif
optimus
QUOTE(AiZ @ Oct 10 2005, 10:58 PM)
Arf!

QUOTE(optimus @ Oct 10 2005, 03:28 PM)
To transcode audio only from a video file, set "Video Codec" to "None" and set "Container format" to "Default" and choose whatever audio encoder u want to use.


I need to clarify. rolleyes.gif
I have an AVI file with video encoded in DivX and sound encoded in AC3. What I want is to keep the video stream as is (i.e. no transcoding) and reencoded the audio stream in MP3, then I'll have an AVI file with the original video and sound in MP3 format.

It's really a bug! I hate bugs! blink.gif Will kii it soon!
optimus
The above 2 bugs have been killed in build 220. Please update.
Please note that I've renamed this utility to "MediaCoder" to make the name easier to remember.
AiZ
I hope I won't be kicked... biggrin.gif

Using build 220, when I try to encode an AVI file (from a VOB) with Xivd and Lame VBR, it says: "The selected container format does not support the selected audio format".

And ".zip" is missing at the end of your link for the 220 build...

Bye,


AiZ
optimus
QUOTE(AiZ @ Oct 11 2005, 03:52 PM)
I hope I won't be kicked...  biggrin.gif

Using build 220, when I try to encode an AVI file (from a VOB) with Xivd and Lame VBR, it says: "The selected container format does not support the selected audio format".
*


Oh my god, it's nothing but another bug. Fixed. Thanks. Update here. There r too many things to support u know. biggrin.gif

QUOTE
And ".zip" is missing at the end of your link for the 220 build...

Very strong to find this out! laugh.gif Also fixed.
AiZ
Hello,

Just nothing. When I try to encode MP4 files (video+audio), and yes I know it doesn't work tongue.gif , there's a little problem in your mencoder script. It's shown on the console :

CODE
No audio encoder (-oac) selected. Select one (see -oac help) or use -nosound.


If the audio is encoded before the video and it generally is, mencoder doesn't need audio data, hence the need of the '-nosound" switch. Or perhaps you want a different behaviour of scripts...

Of course, manually adding the switch results in the crash of mencoder, whatever using mpeg4 or xvid.

Anyway, really nice tool! biggrin.gif


AiZ
optimus
QUOTE(AiZ @ Oct 11 2005, 09:56 PM)
Hello,

Just nothing. When I try to encode MP4 files (video+audio), and yes I know it doesn't work tongue.gif , there's a little problem in your mencoder script. It's shown on the console :

CODE
No audio encoder (-oac) selected. Select one (see -oac help) or use -nosound.


If the audio is encoded before the video and it generally is, mencoder doesn't need audio data, hence the need of the '-nosound" switch. Or perhaps you want a different behaviour of scripts...

*


Fixed! Thanks again.
Superlexx
hi optimus,

build 221 crashes with WMAL again sad.gif
and now I have tag.exe in the tools folder, but the tags still don't get tranferred (tag.exe can read them in the source mp3 files if I call it in the command prompt).

and your CVS isn't up-to-date either...
optimus
QUOTE(Superlexx @ Oct 11 2005, 11:31 PM)
hi optimus,

build 221 crashes with WMAL again sad.gif
and now I have tag.exe in the tools folder, but the tags still don't get tranferred (tag.exe can read them in the source mp3 files if I call it in the command prompt).

and your CVS isn't up-to-date either...
*


I will look into the bug. Just committed the latest code to CVS.
optimus
Great news: CUE support has been implemented (as source). Now APE/FLAC/WavPack + CUE can be encoded into seperate MP3/AAC/OGG files with tags automatically written. Get it the update here. (still beta, welcome bug report)
Usage: choose "CUE File" as source in "Audio Options", and add CUE file to the list, and choose a proper encoder.
Superlexx
menc.cpp, line 96 should be
CODE
sprintf(buf,"tools\\Tag.exe --nocheck \"%s\"",filename);
otherwise no tags will be transferred from files that have blanks in the path or filename.

Too bad tags.exe can't write IDv2 tags...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.