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(foosion @ Nov 5 2005, 09:26 PM)
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.
*


Thanks! I'm downloading, though most of them are rather slow.
jimhaddon
I dont think it was the path to mencoder as when i moved the source file and renamed it, it worked, so isnt it the path to the source?
optimus
QUOTE(jimhaddon @ Nov 5 2005, 10:36 PM)
I dont think it was the path to mencoder as when i moved the source file and renamed it, it worked, so isnt it the path to the source?
*


You can see in the command line, it's both path to mencoder and path to external audio file.
jimhaddon
yeah, either way, the patch works. thankyou!
jimhaddon
I dont know weather this is just my setup or something that can be fixed:
My CPU is 3.9ghz + HT, but using HT makes mediacoder only use Max 50% of the cpu (because it is only using half) but turning the HT off, makes it use 100%.

The program is very good, and works amazingly well, although sometimes the scroll-menus lock-up and the only way to free them is to restart MC
optimus
QUOTE(jimhaddon @ Nov 5 2005, 10:44 PM)
I dont know weather this is just my setup or something that can be fixed:
My CPU is 3.9ghz + HT, but using HT makes mediacoder only use Max 50% of the cpu (because it is only using half) but turning the HT off, makes it use 100%.

The program is very good, and works amazingly well.
*


The transcoding is done in a single thread. That's might be the reason only 50% CPU power can be used on HT-enabled CPU. This can be improved by implmenting with 2 threads, one thread decoding and one thread encoding, and using a FIFO to join them. But this still can't reach 100% anyhow, as decoding and encoding is 1:5 in computation power consumption. This is an intertesting thing to do anyway, but maybe later.
So, now, you may look into the APE problem you mentioned.

EDIT: correcting typing mistakes
jimhaddon
Yeah i mean, the HT is no problem, i just turn it off anyway, then OC the CPU to 4.4ghz.

I'll try the APE problem again now..
jimhaddon
Ok, just tried it, and got the same result. APE->MP3 just produces noise. Here is the console output:
CODE
".\codecs\lame.exe" -r -x -k --priority 1 -q 9 -s 44100 --tt "Fix you" --ta "Coldplay" --tl "X & Y" --ty "" --tn "4" --tg "" --tc "CRC : 0288BE93" --vbr-new -V 5 "-" "C:\Documents and Settings\James\My Documents\04 - Fix you.mp3"


Just tried it with OGG too, and get exactly the same result
optimus
QUOTE(jimhaddon @ Nov 5 2005, 11:15 PM)
Ok, just tried it, and got the same result. APE->MP3 just produces noise. Here is the console output:
CODE
".\codecs\lame.exe" -r -x -k --priority 1 -q 9 -s 44100 --tt "Fix you" --ta "Coldplay" --tl "X & Y" --ty "" --tn "4" --tg "" --tc "CRC : 0288BE93" --vbr-new -V 5 "-" "C:\Documents and Settings\James\My Documents\04 - Fix you.mp3"


Just tried it with OGG too, and get exactly the same result
*


I've just tested transcoding APE to other formats and haven't exprerienced your problem. It seems that problem is not at encoder side. I'm still not sure about it. Try your luck with the update.

btw: do File -> "Revert all settings" first.
jimhaddon
Just copied over the update, pressed Revert all settings, but alas, still noise output sad.gif
jimhaddon
Just noticed something interesting, if i dont encode the file, but just press play in mediacoder, i just get noise there too, so it looks like mplayer's fault.
jimhaddon
The problem is definately Mplayer and Mencoder. I just downloaded the programs from Mplayer's site, and that wont play it either. I just ripped a new song from CD to APE using Mediacoder, and it will play in foobar, but not in mediacoder/Mplayer.
optimus
QUOTE(jimhaddon @ Nov 6 2005, 12:15 AM)
Just noticed something interesting, if i dont encode the file, but just press play  in mediacoder, i just get noise there too, so it looks like mplayer's fault.
*


It is true that Mplayer doesn't decode nor play APE files. But Winamp input plugin (in_ape.dll) should do and with it should the transcoding be done correctly. Can your APE file played in Winamp?
jimhaddon
yes it can, but mediacoder wont play/encode it with winamp input plugins selected
optimus
QUOTE(jimhaddon @ Nov 6 2005, 12:39 AM)
yes it can, but mediacoder wont play/encode it with winamp input plugins selected
*


What's your APE file name? Is it big? If not, maybe send it to me and let me try.
jimhaddon
its okay, iv done it. Mediacoder now still wont play the file, just produces noise, but it does encode it with winamp input plugnis
optimus
QUOTE(jimhaddon @ Nov 6 2005, 12:45 AM)
its okay, iv done it. Mediacoder now still wont play the file, just produces noise, but it does encode it with winamp input plugnis
*


That's because MediaCoder uses MPlayer to playback/preview audio/video files. wink.gif
jimhaddon
yeah i know, just saying. smile.gif Nero AAC doesnt work yet does it
optimus
QUOTE(jimhaddon @ Nov 6 2005, 12:48 AM)
yeah i know, just saying. smile.gif Nero AAC doesnt work yet does it
*


It works with Nero 6's AAC encoder at my place, but does not support Nero 7 (it seems things have changed a lot with Nero 7).
Kostarum Rex Persia
QUOTE(optimus @ Nov 4 2005, 03:22 AM)
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
*



No, still WMA encoding don't work on my machine.In command line of MediaCoder 0.32 build 686, here is what he needs:
".\codecs\cscript.exe" ".\codecs\WMCmd.vbs" -audioonly -input "$(AudioInput)" -output "$(DestFile)" -a_codec WMA9STD -a_mode 2 -a_setting Q50_$(SampleRateKhz)_$(ChannelNum)

So, on my computer I can't find that file cscript.exe.Otherwise, I copy file WMCmd.vbs to .\codecs\ folder.

So, please provide me download link for that file, cscript.exe. I won't download each time powerpack, because I have a painfully slow dial-up connection to internet
optimus
QUOTE(Kostarum Rex Persia @ Nov 6 2005, 01:14 AM)
So, please provide me download link for that file, cscript.exe. I won't download each time powerpack, because I have a painfully slow dial-up connection to internet
*


Get it here.
jimhaddon
QUOTE
So, please provide me download link for that file, cscript.exe. I won't download each time powerpack, because I have a painfully slow dial-up connection to internet
*



This program has been made by someone in their OWN TIME. why should they have to PROVIDE you with a working link? they are not your slave you know. If you are sick of your rubbish connection, UPGRADE!
jetpower
QUOTE
EDIT: Here are 2 files I tested with.
sample-fox.mpg sample-discovery.avi


Checked to see if it now ok (tested with MC b703). Both your files behaved the same:

H.264+MP3 -> MP4 container = crash (unknown software exeption) w/ nothing has been transcoded message
H.264+Helix AAC+-> MP4 container = same crash

H.264+MP3 -> Matroska = OK
H.264+Helix AAC+ -> Matroska = OK

H.264+Helix AAC+ -> AVI = Nothing has been transcoded message (can it be muxed?)

H.264+MP3 - > AVI = OK




rjamorim
...
yourtallness
QUOTE(jimhaddon @ Nov 5 2005, 12:59 PM)
QUOTE
So, please provide me download link for that file, cscript.exe. I won't download each time powerpack, because I have a painfully slow dial-up connection to internet
*



This program has been made by someone in their OWN TIME. why should they have to PROVIDE you with a working link? they are not your slave you know. If you are sick of your rubbish connection, UPGRADE!
*



Or he could have asked politely. smile.gif
optimus
QUOTE(jetpower @ Nov 6 2005, 06:36 AM)
QUOTE
EDIT: Here are 2 files I tested with.
sample-fox.mpg sample-discovery.avi


Checked to see if it now ok (tested with MC b703). Both your files behaved the same:

H.264+MP3 -> MP4 container = crash (unknown software exeption) w/ nothing has been transcoded message
H.264+Helix AAC+-> MP4 container = same crash

MP4 current doesn't work for video files. (MEncoder crashes)

QUOTE
H.264+MP3 -> Matroska = OK
H.264+Helix AAC+ -> Matroska = OK

Matroska is the only format that works for most video/audio combinations now.

QUOTE
H.264+Helix AAC+ -> AVI = Nothing has been transcoded message (can it be muxed?)

AAC+ can not be muxed into an AVI container. If you want to mux AAC into AVI, set container format to default, and choose FAAC as audio encoder.

QUOTE
H.264+MP3 - > AVI = OK

Yes, it is. wink.gif

Thanks for the test.
jimhaddon
Creating Divx4/5 avi's with mp3 seems ok, but the file produced seems to have no index file, and also the audio index is corrupt. the fourcc of the avi is also incorrect. is there anything i can do to change this?

By the way, thankyou very much for your time and effort into this program. it is an amazing thing and works amazingly well. thankyou so much!
optimus
QUOTE(jimhaddon @ Nov 6 2005, 06:33 PM)
Creating Divx4/5 avi's with mp3 seems ok, but the file produced seems to have no index file, and also the audio index is corrupt. the fourcc of the avi is also incorrect. is there anything i can do to change this?

By the way, thankyou very much for your time and effort into this program. it is an amazing thing and works amazingly well. thankyou so much!
*


You may try setting container format to "default" (I guess you are setting it to "AVI") to see if it solves this problem.
jimhaddon
QUOTE
You may try setting container format to "default" (I guess you are setting it to "AVI") to see if it solves this problem.
*



No i was using default, but avi does the same too.
optimus
QUOTE(jimhaddon @ Nov 6 2005, 10:59 PM)
QUOTE
You may try setting container format to "default" (I guess you are setting it to "AVI") to see if it solves this problem.
*



No i was using default, but avi does the same too.
*


If you have set container to default, which means both audio and video are encoded and muxed by MEncoder itself, and the result file still has problem, then I have no way to work it out. It's MEncoder's issue. BTW, encoding to DivX is not what MEncoder good at. I think the MPlayer team doesn't like closed-source stuff and usually the support for those are not so well (just for compatibility sometimes). Maybe you can switch to use Xvid and H.264 instead. It should be nice.
jimhaddon
Yeah well id rather have Xvid too, but that also produces invalid avi containers and no index file
tylast
I have 2 more feature requests:

1) How about a <source> folder option for the Output Folder?

2) Can you add the actual number for the compression levels for FLAC like all the other encoders?

Thanks! smile.gif
Brink
QUOTE
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?

From a 13 songs album, 2 of them were transcoded without the genre and track tag fields.
optimus
QUOTE(tylast @ Nov 7 2005, 07:45 AM)
I have 2 more feature requests:

1) How about a <source> folder option for the Output Folder?

Leave the output folder blank and it is same as the <source> folder.
Anyway, I will add a button to set it more easily.

QUOTE
2) Can you add the actual number for the compression levels for FLAC like all the other encoders?

Ok, I will let the compression level number displayed.
optimus
QUOTE(Brink @ Nov 7 2005, 12:23 PM)
QUOTE
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?

From a 13 songs album, 2 of them were transcoded without the genre and track tag fields.
*


Can you find out which 2 of them have this issue, and give me the console output when transcoding these 2 songs.
Kostarum Rex Persia
About AAC+ audio in AVI ontainer? I know that you said this is impossible, but I really like to see AAC+ sound in AVI container.

Can you do it in the near future, Optimus.

BTW, have you seen Megatron lately, Optimus? rolleyes.gif
optimus
QUOTE(Kostarum Rex Persia @ Nov 7 2005, 11:07 PM)
About AAC+ audio in AVI ontainer? I know that you said this is impossible, but I really like to see AAC+ sound in AVI container.

Can you do it in the near future, Optimus.

I will try. Actually I would like to see this happen very much. wink.gif

QUOTE
BTW, have you seen Megatron lately, Optimus? rolleyes.gif
*


I have already sent him to the deep universe ~ laugh.gif
arman68
QUOTE(optimus @ Nov 8 2005, 05:02 AM)
QUOTE(Kostarum Rex Persia @ Nov 7 2005, 11:07 PM)
About AAC+ audio in AVI ontainer? I know that you said this is impossible, but I really like to see AAC+ sound in AVI container.

Can you do it in the near future, Optimus.

I will try. Actually I would like to see this happen very much. wink.gif


Not sure it is a good idea to do this: I have experimented with it, and playback is problematic. Even with players/filters supposed to handle it, I often get audio and video out of sync.

Alex Noe is the reference in this matter, and if you would like to implement it, I can only suggest you refer to his excellent Avi-Mux GUI.
optimus
QUOTE(arman68 @ Nov 8 2005, 04:55 PM)
Alex Noe is the reference in this matter, and if you would like to implement it, I can only suggest you refer to his excellent Avi-Mux GUI.
*


There is no CLI version of avi-mux, isn't it?
optimus
Build 718 is there for download. Fixed a serious bug that causes crash on non-WinXP systems. This build has Winamp DSP plugin support. You can pick up a DSP plugin from winamp.com and place it in the "plugins" folder of MediaCoder and you may disable/enable them like this (menu -> Transcode -> Config DSP plugins):

user posted image

Attention:
If you don't want to download the updated PowerPack but just update the executable, please move all input plugins (in_*.dll) from "codecs" sub-folder to "plugins".

EDIT: build 720 please
arman68
QUOTE(optimus @ Nov 9 2005, 01:48 PM)
QUOTE(arman68 @ Nov 8 2005, 04:55 PM)
Alex Noe is the reference in this matter, and if you would like to implement it, I can only suggest you refer to his excellent Avi-Mux GUI.
*


There is no CLI version of avi-mux, isn't it?
*



I believe it can be automated through the use of scripts. I remember testing this feature quite a while ago, and it worked. You can get more information there: http://www-user.tu-chemnitz.de/~noe/Video-...GUI/script.html
optimus
Just committed the whole latest source code into CVS. Anyone who has the interest in the code may just check it out and build your own MediaCoder.

EDIT: I've also zipped the source code for direct download. Check the top post.
EDIT2: MediaCoder has been accepted by SourceForge. Now you can check out code from SourceForge CVS repository.
smok3
optimus: what would be a good commandline for mencoder for xvid+faac.avi which can than be repacked to xvid+faac.mp4 via mp4box?

curently iam trying this 2pass:
1st
mencoder promo_iam.avi -o NUL: -nosound -vf scale=512:384,harddup -sws 9 -ovc xvid -xvidencopts bitrate=500:nopacked:nogmc:noqpel:nocartoon:bvhq=0:max_bframes=0:pass=1
2nd
mencoder promo_iam.avi -o promompeg4pass2_AACaudio_nobframes.avi -oac faac -faacopts br=128:mpeg=4 -vf scale=512:384,harddup -sws 9 -ovc xvid -xvidencopts bitrate=500:nopacked:nogmc:noqpel:nocartoon:bvhq=0:max_bframes=0:pass=2

(but there seems to be a faac problem of some sort when trying to mp4box -add.)

mediacoder 0.3.2 seems to suggest '-oac faac -faacopts br=128:mpeg=4:object=0:tns' which wont work at all, mencoder returns error like 'object >=1'.
optimus
QUOTE(smok3 @ Nov 11 2005, 11:23 PM)
optimus: what would be a good commandline for mencoder for xvid+faac.avi which can than be repacked to xvid+faac.mp4 via mp4box?

curently iam trying this 2pass:
1st
mencoder promo_iam.avi -o NUL: -nosound -vf scale=512:384,harddup -sws 9 -ovc xvid -xvidencopts bitrate=500:nopacked:nogmc:noqpel:nocartoon:bvhq=0:max_bframes=0:pass=1
2nd
mencoder promo_iam.avi -o promompeg4pass2_AACaudio_nobframes.avi -oac faac -faacopts br=128:mpeg=4 -vf scale=512:384,harddup -sws 9 -ovc xvid -xvidencopts bitrate=500:nopacked:nogmc:noqpel:nocartoon:bvhq=0:max_bframes=0:pass=2

(but there seems to be a faac problem of some sort when trying to mp4box -add.)

mediacoder 0.3.2 seems to suggest '-oac faac -faacopts br=128:mpeg=4:object=0:tns' which wont work at all, mencoder returns error like 'object >=1'.
*


I just removed object token from the option.
I don't think MP4BOX can import AVI with AAC (I remember it only support MP3 in AVI). I'm looking into a solution for MP4 file generation in MediaCoder (coz I just bought a PSP), probably add support for AVISynth.
Brink
QUOTE(optimus @ Nov 7 2005, 12:03 AM)
QUOTE(Brink @ Nov 7 2005, 12:23 PM)
QUOTE
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?

From a 13 songs album, 2 of them were transcoded without the genre and track tag fields.
*


Can you find out which 2 of them have this issue, and give me the console output when transcoding these 2 songs.
*


Strange, nothing appeared at the console window after the procces.
optimus
QUOTE(Brink @ Nov 12 2005, 11:24 AM)
Strange, nothing appeared at the console window after the procces.
*


Did you open the console window before starting transcoding?
tylast
Optimus, I have 2 issues with encoding FLAC with the latest build. I get a really loud click at the beggining of the file. I tested it against the FLAC front end & I didn't get any clicks with that one. The other issue is that I don't get any tags in FLAC....but I do with the FLAC Front end program. Thoughts?
Brink
QUOTE(optimus @ Nov 11 2005, 10:50 PM)
QUOTE(Brink @ Nov 12 2005, 11:24 AM)
Strange, nothing appeared at the console window after the procces.
*


Did you open the console window before starting transcoding?
*


Yep. I going to open it again and see what happens in the middle of processing.
optimus
QUOTE(tylast @ Nov 13 2005, 03:54 AM)
Optimus, I have 2 issues with encoding FLAC with the latest build.  I get a really loud click at the beggining of the file.  I tested it against the FLAC front end & I didn't get any clicks with that one.  The other issue is that I don't get any tags in FLAC....but I do with the FLAC Front end program.  Thoughts?
*


Which format are you transcoding from?
optimus
QUOTE(Brink @ Nov 13 2005, 10:10 AM)
QUOTE(optimus @ Nov 11 2005, 10:50 PM)
QUOTE(Brink @ Nov 12 2005, 11:24 AM)
Strange, nothing appeared at the console window after the procces.
*


Did you open the console window before starting transcoding?
*


Yep. I going to open it again and see what happens in the middle of processing.
*


You have to open the console window before starting if you want to read output from external programs.
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.