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
optimus
QUOTE(suur13 @ Oct 28 2005, 10:48 PM)
It was Nullsoft's own in_mp3.dll  wink.gif
*


The bug is fixed. Thanks for your hint. wink.gif
Get the update from the download page, or simply get the new PowerPack (some new features require other files).
xpect
Hi,

How can the WMA encoder be used?

I've allready installed de Windows Media Encoder program.

I've noticed that Media Encoder uses the cscript.exe program but i can't find it anywhere.
I've pointed the path o the Windows MEdia Encoder in "C:\Program Files\Windows Media Components\"

Can you help?

My main use of this format is for hearing audio files in my PocketPC, until I can find a AAC+V2 player that works. tongue.gif
I'm using version 620.

Thanks for a terrific tool! biggrin.gif
xpect
QUOTE(xpect @ Nov 1 2005, 11:15 AM)
Hi,

How can the WMA encoder be used?

I've allready installed de Windows Media Encoder program.

I've noticed that Media Encoder uses the cscript.exe program  but i can't find it anywhere.
I've pointed the path o the Windows MEdia Encoder in "C:\Program Files\Windows Media Components\"

Can you help?

My main use of this format is for hearing audio files in my PocketPC, until I can find a AAC+V2 player that works.  tongue.gif
I'm using version 620.

Thanks for a terrific tool!  biggrin.gif
*




Of course i'm a major bugger!

The csscript.exe file is in the codecs folder, and I've put the wma codec path back to codecs. but the result is the same.

Here is the console result:

MediaCoder Version 0.3.1 build 620 / built on Mon Oct 31 23:55:51 2005
This is a free software written by Stanley Huang <reachme@citiz.net>.

Tag - Automatic Tag from filename
Copyright © 2002-2003 Case. Minor additions by Neil Popham, 2004-2005
Version 2.0.44, Compiled 2005-09-29

C:\Documents and Settings\Jose Rosario\My Documents\MP3\Depeche Mode - Remixes 8
1-04\CD3 - Bonus (Limite Edition)\03.Are People People.mp3
Format: MPEG 1 Layer 3, Stereo
Details: 44100 Hz Stereo, 192 kbps, playtime 04:28
Tags: ID3v1, ID3v2
Title: Are People People?
Artist: Depeche Mode - T.R.W.M.
Album: Remixes 81...04 (Limited Edition) - T.R.W.MStarting audio encoder (WMA)
| Sample Rate: 44100Hz Channels: 2 BPS: 16

# C:\Program Files\MediaCoder\codecs\cscript.exe C:\Program Files\MediaCoder\cod
ecs\WMCmd.vbs -audioonly -input "C:\Documents and Settings\Jose Rosario\My Docum
ents\MP3\Depeche Mode - Remixes 81-04\CD3 - Bonus (Limite Edition)\03.Are People
People.mp3" -output "C:\Documents and Settings\Jose Rosario\My Documents\AAC\03
.Are People People.wma" -a_codec WMA9STD -a_mode 0 -a_setting 64_44_2

Microsoft ® Windows Script Host Version 5.6
Copyright © Microsoft Corporation 1996-2001. All rights reserved.

Input Error: There is no file extension in "C:\Program".


Thanks!
optimus
Here is an update that fixes this issue.
xpect
QUOTE(optimus @ Nov 1 2005, 01:02 PM)
Here is an update that fixes this issue.
*



Thanks Optimus, working now!

You're being God to me! laugh.gif
optimus
QUOTE(xpect @ Nov 1 2005, 09:31 PM)
QUOTE(optimus @ Nov 1 2005, 01:02 PM)
Here is an update that fixes this issue.
*



Thanks Optimus, working now!

You're being God to me! laugh.gif
*


Just glad to help. laugh.gif
There are still many known and unknown issues with MediaCoder. Your finding out any of them also gives me a hand.
migounanounet
Hi,

First, thanks for this software : a great and well thinked soft.

But when i try to transcode a .avi file to a ogg-xvid .mkv, there allways has been an error because if i try to transcode "blabla.avi", mencoder create into the temp dir 2 files : "blabla.ogg" and "blabla.avi.avi".

Then when mkvmerge search for the temp files, to mux them, it looks for "blabla.ogg" and "blabla.avi" but he don't found "blabla.avi" and then there is an error.

I think that the prob is here :
.\mplayer\mencoder.exe $(SourceFile) -o nul -ovc xvid -xvidencopts pass=1 -nosound
.\mplayer\mencoder.exe $(SourceFile) -o $(TempFile).avi -ovc xvid -xvidencopts

.mig.
slippyC
QUOTE(migounanounet @ Nov 1 2005, 09:55 AM)
Hi,

    First, thanks for this software : a great and well thinked soft.

    But when i try to transcode a .avi file to a ogg-xvid .mkv, there allways has been an error because if i try to transcode "blabla.avi", mencoder create into the temp dir 2 files : "blabla.ogg" and "blabla.avi.avi".

Then when mkvmerge search for the temp files, to mux them, it looks for "blabla.ogg" and "blabla.avi" but he don't found "blabla.avi" and then there is an error.

I think that the prob is here :
.\mplayer\mencoder.exe $(SourceFile) -o nul -ovc xvid -xvidencopts pass=1 -nosound
.\mplayer\mencoder.exe $(SourceFile) -o $(TempFile).avi -ovc xvid -xvidencopts

.mig.
*



I have similar problem, I didn't think about maybe because it was tagging on .avi 2 times though.

What I have been doing to combined the audio and vid stream is just using the wrapper function under the container tab. Only one I have had success with is storing in .mkv container though.
yourtallness
The main download site is painfully slow for me.
I have yet to succeed in downloading the 0.3.1
Powerpack. Is there a possibility of providing a
faster mirror?
optimus
QUOTE(migounanounet @ Nov 2 2005, 01:55 AM)
Hi,

    First, thanks for this software : a great and well thinked soft.

    But when i try to transcode a .avi file to a ogg-xvid .mkv, there allways has been an error because if i try to transcode "blabla.avi", mencoder create into the temp dir 2 files : "blabla.ogg" and "blabla.avi.avi".

Then when mkvmerge search for the temp files, to mux them, it looks for "blabla.ogg" and "blabla.avi" but he don't found "blabla.avi" and then there is an error.

*


Thanx for finding out the bug. Fixed it. Get update here

btw: The new version has got more powerful output file naming capability. Check out Settings -> Overall -> Tagging & Naming.
optimus
QUOTE(yourtallness @ Nov 2 2005, 06:26 AM)
The main download site is painfully slow for me.
I have yet to succeed in downloading the 0.3.1
Powerpack. Is there a possibility of providing a
faster mirror?
*


I can imagine, as Athens is really far away from China. biggrin.gif
I'm applying for hosting on Sourceforge these days, don't know if they will accept my application. If they do, I will move to Sourceforge as soon as possible.
migounanounet
QUOTE(optimus @ Nov 2 2005, 04:05 AM)

Thanx for finding out the bug. Fixed it. Get update here

btw: The new version has got more powerful output file naming capability. Check out Settings -> Overall -> Tagging & Naming.
*



I thank U for this soft and Ur quickness smile.gif
optimus
My server has been down for a whole day (I use a cable modem and the cable is accidently off from the modem) and has just resumed.
PowerPack 0.3.2 is ready for downloading.

Known issue of the release: CUE sheets cannot yet be transcoded into seperate files with Windows Media Encoder and iTunes (by iTunesEncode) yet. I will fix this tomorrow.
MeteorRain
i've just test mediacoder powerpack .32, but it always crashes when i try to expand menu or move the window with the following message.
CODE
---------------------------
menc.exe - 应用程序错误
---------------------------
"0x0220f750" 指令引用的 "0x0220f750" 内存。该内存不能为 "read"。


要终止程序,请单击“确定”。
要调试程序,请单击“取消”。
---------------------------
确定   取消  
---------------------------


this computer is a public one in a university, with win2000 professional (chinese), direct x 9.0c, P4 2.8G with 256MB DDR, and a restore card.

any idea?

regards,
MeteorRain
Kostarum Rex Persia
Optimus, do you plan to include newest Nero AAC HE/AAC v2 codec from newest Nero Burning Rom 7.0.1.2.If yes, when.
optimus
QUOTE(Kostarum Rex Persia @ Nov 4 2005, 12:36 AM)
Optimus, do you plan to include newest Nero AAC HE/AAC v2 codec from newest Nero Burning Rom 7.0.1.2.If yes, when.
*


I don't know Nero codec's interface. But I believe there is some CLI programs that can encode with Nero AAC encoder DLL. I will probably first integrate a CLI to let MediaCoder capable of transcoding with Nero AAC codec. It will be soon.
optimus
QUOTE(MeteorRain @ Nov 3 2005, 08:05 PM)
i've just test mediacoder powerpack .32, but it always crashes when i try to expand menu or move the window with the following message.
CODE
---------------------------
menc.exe - 应用程序错误
---------------------------
"0x0220f750" 指令引用的 "0x0220f750" 内存。该内存不能为 "read"。


要终止程序,请单击“确定”。
要调试程序,请单击“取消”。
---------------------------
确定   取消  
---------------------------


this computer is a public one in a university, with win2000 professional (chinese), direct x 9.0c, P4 2.8G with 256MB DDR, and a restore card.

any idea?

regards,
MeteorRain
*


This is really a rare case. If moving a window can cause crash, there must be some other reasons, as my program does not do anything particular when its window is moved.
optimus
There is a great news for MediaCoder and those who suffer painfully slow download speed. Roberto has kindly provide me with some web space to host MediaCoder's web pages and downloads on rarewares.org. From now on you can visit the MediaCoder's site and download latest version from the following URL:
http://www.rarewares.org/mediacoder/

Thanx Roberto! wink.gif
stephanV
QUOTE(optimus @ Nov 3 2005, 05:49 PM)

On that page it is mentioned mediacoder can convert to VCD/DVD compliant files, but no mentioning is made of the possibility to encode to MP2 or AC3 audio. I assume this is possible anyway? If so, which encoders?
optimus
QUOTE(stephanV @ Nov 4 2005, 12:54 AM)
QUOTE(optimus @ Nov 3 2005, 05:49 PM)

On that page it is mentioned mediacoder can convert to VCD/DVD compliant files, but no mentioning is made of the possibility to encode to MP2 or AC3 audio. I assume this is possible anyway? If so, which encoders?
*


Use FFMPEG audio codec, and see its options.

EDIT: You can load a preset file to have many settings set.
Kostarum Rex Persia
Optimus, here we go again!!! Your 0.32 build 671 won't encode at all h.264 video from AVI uncompressed source, Mediacoder report Nothing to transcode.

Please fix that bu very soon, it's very strange.
Kostarum Rex Persia
One more question for you, Optimus. I downloaded yesterday Windows Media Encoder because I want to transcode my audio to WMA.

Can you tell me which files and from which folder are used for this conversion to WMA.Path to my Windows Media Encoder is " C:\Program Files\Windows Media Components\Encoder ".

Which files I must to copy from this folder,and where in Mediacoder sub-folders.Give me a exactly directions.
rjamorim
QUOTE(optimus @ Nov 3 2005, 02:49 PM)
Thanx Roberto!  wink.gif
*


My plee-johr!
optimus
QUOTE(Kostarum Rex Persia @ Nov 4 2005, 07:23 AM)
Optimus, here we go again!!! Your 0.32 build 671 won't encode at all h.264 video from AVI uncompressed source, Mediacoder report Nothing to transcode.

Please fix that bu very soon, it's very strange.
*


Is this issue coming in the build 671? Could you open the console window can paste me the information there?
optimus
QUOTE(Kostarum Rex Persia @ Nov 4 2005, 07:31 AM)
One more question for you, Optimus. I downloaded yesterday Windows Media Encoder because I want to transcode my audio to WMA.

Can you tell me which files and from which folder are used for this conversion to WMA.Path to my Windows Media Encoder is " C:\Program Files\Windows Media Components\Encoder ".

Which files I must to copy from this folder,and where in Mediacoder sub-folders.Give me a exactly directions.
*


Simply install Windows media encoder and Mediacoder should be ready to transcode to WMAs.

ps: I use this function myself to transcode my music collection to WMA to listen with my portable audio player. wink.gif
arman68
I have a request:

Your build of mplayer is excellent. It is the only one I have found where CPU usage is on par with the official build, and it is up to date, and it is the only one that can properly decode some of my H264 video.

However, the OSD is missing from it. I am not talking about the fancy GUI OSD, but the basic one drawn in the overlay.

Could you please compile it in?
optimus
QUOTE(arman68 @ Nov 4 2005, 08:48 PM)
I have a request:

Your build of mplayer is excellent. It is the only one I have found where CPU usage is on par with the official build, and it is up to date, and it is the only one that can properly decode some of my H264 video.

However, the OSD is missing from it. I am not talking about the fancy GUI OSD, but the basic one drawn in the overlay.

Could you please compile it in?
*


Okay, no problem, I will.
optimus
Build 686 is ready for download, with CUE sheets related code rewritten. Now CUE sheets transcoding are more precious, and iTunes and Windows Media Encoder are supported to do CUE sheets to seperate LC-AAC/WMA transcoding.

EDIT: PowerPack also updated, OSD support is built into MPlayer, and MusePack encoder is included.
arman68
QUOTE(optimus @ Nov 4 2005, 01:20 PM)
EDIT: PowerPack also updated, OSD support is built into MPlayer


Thank you.
tylast
Love this tool!

Anyone get Nero_Fends to work in the CLI portion yet? I'm using the following as the CLI Options:

CODE
aacenc32 -vbr normal -profile "LC" -lowpass 20000 -highpass 20 -zs -artist "$(Artist)" -album "$(Album)" -title "$(Title)" -track "$(Track)" $(SourceFile) $(DestFile)


On another topic, a great feature would be the ability to set the encoder type per group of files. Say I drag/drop 10 files & want to encode them as both AAC & FLAC, I would see an additional column (encoder type), & I'd have the oportunity of selecting the encoder per group of files. A new button could be added right next to START called QUE ENC.
Brink
Great program. Keep the good work.

I didnt read all the posts, so apologies if im saying have been already said by someone else.

When I transcoded some mp3 albums to AAC v2, some tags just disappeared in the final AAC files. Is this normal? They were all 1d3v1.
jimhaddon
This program absolutely sucks. I have just installed it, tried to recode many songs files and videos, not ONE of them works.
Waste
jetpower
QUOTE(jimhaddon @ Today, 01:30 AM)
This program absolutely sucks. I have just installed it, tried to recode many songs files and videos, not ONE of them works.


Well, a possibility exist there is something wrong with your setup or you? Most options that I use work as expected and resulting encodes are fine.
I personally think MediaCoder is a great tool, and it gets only bettter and better thanks to hard and persistent work of optimus.
Anyway, thank you for your contribution to H.A. community through your insightful post.

Edit: Just checked the latest version and indeed there seem to be problems with video transcoding. eg. Xvid with mp3 works, but H.264 is not. However in MediaCoder build 603 both are ok.
optimus
QUOTE(tylast @ Nov 5 2005, 06:33 AM)
Love this tool!

Anyone get Nero_Fends to work in the CLI portion yet?  I'm using the following as the CLI Options:

CODE
aacenc32 -vbr normal -profile "LC" -lowpass 20000 -highpass 20 -zs -artist "$(Artist)" -album "$(Album)" -title "$(Title)" -track "$(Track)" $(SourceFile) $(DestFile)


On another topic, a great feature would be the ability to set the encoder type per group of files.  Say I drag/drop 10 files & want to encode them as both AAC & FLAC, I would see an additional column (encoder type), & I'd have the oportunity of selecting the encoder per group of files.  A new button could be added right next to START called QUE ENC.
*


I am adding source level interfacing with Nero AAC encoder right now, based on the source code of NAACEnc.
And your suggestion is really good. I will implement it later.
optimus
QUOTE(Brink @ Nov 5 2005, 06:44 AM)
Great program. Keep the good work.

I didnt read all the posts, so apologies if im saying have been already said by someone else.

When I transcoded some mp3 albums to AAC v2, some tags just disappeared in the final AAC files. Is this normal? They were all 1d3v1.
*


It is possible that I haven't transferred all tags. Currently transferred tags are: artist, title, album, track, genre, year and comment. What tags are you losing?
optimus
QUOTE(jimhaddon @ Nov 5 2005, 07:30 AM)
This program absolutely sucks. I have just installed it, tried to recode many songs files and videos, not ONE of them works.
Waste
*


Man, please be patient. If you want to help, please tell me what are you transcoding and how your set up all the options, and open the console window and give me the console output, instead of just complaining.
optimus
QUOTE(jetpower @ Nov 5 2005, 08:26 AM)
QUOTE(jimhaddon @  Today, 01:30 AM)
This program absolutely sucks. I have just installed it, tried to recode many songs files and videos, not ONE of them works.


Well, a possibility exist there is something wrong with your setup or you? Most options that I use work as expected and resulting encodes are fine.
I personally think MediaCoder is a great tool, and it gets only bettter and better thanks to hard and persistent work of optimus.
Anyway, thank you for your contribution to H.A. community through your insightful post.

Edit: Just checked the latest version and indeed there seem to be problems with video transcoding. eg. Xvid with mp3 works, but H.264 is not. However in MediaCoder build 603 both are ok.
*


I've tested build 686 with H.264, it works. I've tested transcoding a MPEG1 file and an AVI (xvid+mp3) file to H.264 / AAC+ in a matroska. What's your situation?

EDIT: Here are 2 files I tested with.
sample-fox.mpg sample-discovery.avi
optimus
It has been pretty smooth to add Nero AAC encoder support into MediaCoder. Now MediaCoder can transcode to LC-AAC/HE-AAC with it. Get the update (build 689) here.

Notice:
If you have installed Nero 6 (I haven't tested with Nero 7), simply apply the update and it is ready to go.
If you don't have Nero, you have to get a copy of aac.dll and aacenc32.dll (I don't know if it is proper to include them in Powerpack in the future) and put them in the "codecs" sub-folder of MediaCoder.

Here is a screenshot:
user posted image
tylast
Optimus ~ you rock, that was quick! Just to let you know, I tried a 24 bit file at first by accident & it didn't work. I got a .aac file that was all static. I does work with 16 bit files...outputting out a .m4a file. Anyway to control the output extension type?

Thanks again! biggrin.gif
jimhaddon
Ok i am trying to transcode an MPEG video with mpeg2 audio, to xvid+mp3. just errors out saying nothing has been transcoded.
jimhaddon
I have now tried 6 different videos and not ONE has yet encoded. Rubbish
And now tried monkey's audio transcoding to ANY format, also doesnt work.
LOL just tried to transcode Coldplay - Fix you from monkeys audio to mp3 @ 128, just get total noise! hahaha!
optimus
QUOTE(jimhaddon @ Nov 5 2005, 07:04 PM)
I have now tried 6 different videos and not ONE has yet encoded. Rubbish
And now tried monkey's audio transcoding to ANY format, also doesnt work.
LOL just tried to transcode Coldplay - Fix you from monkeys audio to mp3 @ 128, just get total noise! hahaha!
*


Man, I've stated that this is a free software totally written by me in my leisure time (the period of time you when you are drunk or sleeping). The main purpose of this software is to fulfill my own needs (and it certainly can), and never yours! Whether it works in your place or not, or whether it just formats your whole hard disk, is none of my business! Keep away from this thread! mad.gif
optimus
QUOTE(tylast @ Nov 5 2005, 05:01 PM)
Optimus ~ you rock, that was quick!  Just to let you know, I tried a 24 bit file at first by accident & it didn't work.  I got a .aac file that was all static.  I does work with 16 bit files...outputting out a .m4a file.  Anyway to control the output extension type?

Thanks again!  biggrin.gif
*


Currently 24-bit audio is not supported. As I lack certain of audio source to test. If you have such samples, you can send me and I will let it supported.
optimus
QUOTE(jimhaddon @ Nov 5 2005, 06:53 PM)
Ok i am trying to transcode an MPEG video with mpeg2 audio, to xvid+mp3. just errors out saying nothing has been transcoded.
*


Console output please, let me see it before I can figure out why.
DigitalDictator
jimhaddon:

If it works for pretty much everyone else, don't you think it's you that suck? Check your gear man.
rjamorim
QUOTE(optimus @ Nov 5 2005, 11:14 AM)
Man, I've stated that this is a free software totally written by me in my leisure time (the period of time you when you are drunk or sleeping). The main purpose of this software is to fulfill my own needs (and it certainly can), and never yours! Whether it works in your place or not, or whether it just formats your whole hard disk, is none of my business! Keep away from this thread! mad.gif
*


Just ignore him. No point feeding a troll.
foosion
QUOTE(optimus @ Nov 5 2005, 02:17 PM)
Currently 24-bit audio is not supported. As I lack certain of audio source to test. If you have such samples, you can send me and I will let it supported.
*

There are 24bit FLAC files on the Internet Archive. Just pick some shows from this Google query. Hope that helps.

Edit: Refined query to omit forum posts.
jimhaddon
CODE
C:\Program Files\MediaCoder\mplayer\mencoder.exe "H:\Downloads\alt.binaries.mpeg.video.music\Alice Deejay - Back In My Life.mpg" -o "C:\Documents and Settings\James\My Documents\Alice Deejay - Back In My Life.avi" -of avi -ovc xvid -xvidencopts me_quality=6:quant_type=h263:vhq=4:gmc:trellis:chroma_me:chroma_opt:hq_ac:bitrate=600 -oac copy -mc 0 -noskip -audiofile C:\DOCUME~1\James\LOCALS~1\Temp\Alice Deejay - Back In My Life.mpg.mp3


Thats the console output. Sorry about sounding like a troll, anyway, ill try and help better now. Here is the screenshot too, and if there is anything else you need, ill be glad to oblige.
Thankyou

Screenshot
jimhaddon
I found the fault!
When i moved the file to default root directory (C:\) and renamed it so that it had no spaces in the file name, it works perfectly.
optimus
QUOTE(jimhaddon @ Nov 5 2005, 10:03 PM)
CODE
C:\Program Files\MediaCoder\mplayer\mencoder.exe "H:\Downloads\alt.binaries.mpeg.video.music\Alice Deejay - Back In My Life.mpg" -o "C:\Documents and Settings\James\My Documents\Alice Deejay - Back In My Life.avi" -of avi -ovc xvid -xvidencopts me_quality=6:quant_type=h263:vhq=4:gmc:trellis:chroma_me:chroma_opt:hq_ac:bitrate=600 -oac copy -mc 0 -noskip -audiofile C:\DOCUME~1\James\LOCALS~1\Temp\Alice Deejay - Back In My Life.mpg.mp3


Thats the console output. Sorry about sounding like a troll, anyway, ill try and help better now. Here is the screenshot too, and if there is anything else you need, ill be glad to oblige.
Thankyou

Screenshot
*


The cause of the problem is obvious. The command to launch MEncoder lost some quotation marks (will cause error when path name contains white space). It seems that I should thank you to find out this bug, as not everyone will change the path to MEncoder manually. Here is the update to fix it.
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.