Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Batch transcoding to HE-AAC-PS with this tool (Read 406253 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Batch transcoding to HE-AAC-PS with this tool

Reply #125
Quote
Quote
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".
[a href="index.php?act=findpost&pid=331481"][{POST_SNAPBACK}][/a]


What decoder and encoder r u using and what type of file are transcoding?
[a href="index.php?act=findpost&pid=331885"][{POST_SNAPBACK}][/a]

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.

Batch transcoding to HE-AAC-PS with this tool

Reply #126
Quote
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.
[a href="index.php?act=findpost&pid=332605"][{POST_SNAPBACK}][/a]

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.

Batch transcoding to HE-AAC-PS with this tool

Reply #127
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: [Select]
Unhandled exception at 0x4eae1853 in menc.exe: 0xC0000005: Access violation reading location 0x726a1a94.

call stack:
Code: [Select]
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

Batch transcoding to HE-AAC-PS with this tool

Reply #128
Quote
I use the 0.2.7 build 179, and the WinAmp (v5.1 Surround Edition) plugins for en/decoding
[{POST_SNAPBACK}][/a]


This issue has been fixed. Thanks for your information. Download the update [a href="http://cosoft.org.cn/download.php?g_u_n=menc&f=menc-0.2.7-build198.zip&file_id=7071]here[/url].

Batch transcoding to HE-AAC-PS with this tool

Reply #129
Quote
Quote
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.
[{POST_SNAPBACK}][/a]

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 
[a href="index.php?act=findpost&pid=332285"][{POST_SNAPBACK}][/a]

Ask this to Roberto, [a href="http://www.hydrogenaudio.org/forums/index.php?showuser=81]rjamorim[/url] in this forum. He is the Rarewares admin.

Regards,
Oki

Batch transcoding to HE-AAC-PS with this tool

Reply #130
Optimus, am I right when it appears mEnc can have APE as input but it isn't mentioned in the opening post?
Every night with my star friends / We eat caviar and drink champagne
Sniffing in the VIP area / We talk about Frank Sinatra
Do you know Frank Sinatra? / He's dead

Batch transcoding to HE-AAC-PS with this tool

Reply #131
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: [Select]
# .\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

Batch transcoding to HE-AAC-PS with this tool

Reply #132
Quote
Optimus, am I right when it appears mEnc can have APE as input but it isn't mentioned in the opening post?
[a href="index.php?act=findpost&pid=333203"][{POST_SNAPBACK}][/a]

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.

Batch transcoding to HE-AAC-PS with this tool

Reply #133
Quote
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.

Batch transcoding to HE-AAC-PS with this tool

Reply #134
Hi,

Quote
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
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.


AiZ

Batch transcoding to HE-AAC-PS with this tool

Reply #135
Quote
Hi,

Quote
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
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.

AiZ
[a href="index.php?act=findpost&pid=333256"][{POST_SNAPBACK}][/a]

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.

Batch transcoding to HE-AAC-PS with this tool

Reply #136
Quote
Quote
Optimus, am I right when it appears mEnc can have APE as input but it isn't mentioned in the opening post?
[a href="index.php?act=findpost&pid=333203"][{POST_SNAPBACK}][/a]

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.
[a href="index.php?act=findpost&pid=333245"][{POST_SNAPBACK}][/a]

Thanks!
Every night with my star friends / We eat caviar and drink champagne
Sniffing in the VIP area / We talk about Frank Sinatra
Do you know Frank Sinatra? / He's dead

Batch transcoding to HE-AAC-PS with this tool

Reply #137
Arf!

Quote
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. 
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
As for MP4, I will look for a solution. And I'm going to add more features for mobile transcoding.


Really nice! Thanks!


AiZ

Batch transcoding to HE-AAC-PS with this tool

Reply #138
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

Batch transcoding to HE-AAC-PS with this tool

Reply #139
Quote
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
[a href="index.php?act=findpost&pid=333297"][{POST_SNAPBACK}][/a]


First, please check if tools\tag.exe exists. This also might be caused by a new bug. 

Batch transcoding to HE-AAC-PS with this tool

Reply #140
Quote
Arf!

Quote
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. 
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!  Will kii it soon!

Batch transcoding to HE-AAC-PS with this tool

Reply #141
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.

Batch transcoding to HE-AAC-PS with this tool

Reply #142
I hope I won't be kicked... 

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

Batch transcoding to HE-AAC-PS with this tool

Reply #143
Quote
I hope I won't be kicked...  

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".
[{POST_SNAPBACK}][/a]

Oh my god, it's nothing but another bug. Fixed. Thanks. Update [a href="http://proemulator.sf.net/menc/menc-0.2.7.zip]here[/url]. There r too many things to support u know. 

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

Very strong to find this out!  Also fixed.

Batch transcoding to HE-AAC-PS with this tool

Reply #144
Hello,

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

Code: [Select]
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! 


AiZ

Batch transcoding to HE-AAC-PS with this tool

Reply #145
Quote
Hello,

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

Code: [Select]
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...

[a href="index.php?act=findpost&pid=333535"][{POST_SNAPBACK}][/a]

Fixed! Thanks again.

Batch transcoding to HE-AAC-PS with this tool

Reply #146
hi optimus,

build 221 crashes with WMAL again
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...

Batch transcoding to HE-AAC-PS with this tool

Reply #147
Quote
hi optimus,

build 221 crashes with WMAL again
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...
[a href="index.php?act=findpost&pid=333553"][{POST_SNAPBACK}][/a]

I will look into the bug. Just committed the latest code to CVS.

Batch transcoding to HE-AAC-PS with this tool

Reply #148
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.

Batch transcoding to HE-AAC-PS with this tool

Reply #149
menc.cpp, line 96 should be
Code: [Select]
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...