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(Kostarum Rex Persia @ Dec 8 2005, 08:38 AM)
Optimus, can you, please, give a link so I can download file ofr.exe
Thank you.

What is ofr.exe? Can you explain?
*


It's the OptimFrog encoder, can be downloaded from http://www.losslessaudio.org/ .

EDIT: it's included in the PowerPack 0.3.4
optimus
QUOTE(yourtallness @ Dec 8 2005, 07:20 AM)
Setting the "Working" folder in the Preferences makes MediaCoder
hang on my PC.

Will reproduce possible bug again tomorrow, really need some
shut-eye right now...

:-)
*


Actually it's a bug that blocks the main window when the preference window is closed by clicking OK. Fixed. Update here.
Kostarum Rex Persia
Optimus, why don't you compress .dll file. I scaned your .dll file and PeID 0.93 says " nothing found ". Compress it with aspack 2.12 or PECompact 2.67c.

http://www.aspack.com and http://www.bitsum.com/pec2.asp
optimus
QUOTE(Kostarum Rex Persia @ Dec 8 2005, 11:46 PM)
Optimus, why don't you compress .dll file. I scaned your .dll file and PeID 0.93 says " nothing found ". Compress it with aspack 2.12 or PECompact 2.67c.

http://www.aspack.com  and  http://www.bitsum.com/pec2.asp
*


I haven't tested whether there will be any problem when mccore.dll is compressed, so I just left it uncompressed.
rjamorim
QUOTE(Kostarum Rex Persia @ Dec 8 2005, 01:46 PM)


Both are comercial and expensive. Go with UPX:

http://upx.sourceforge.net
optimus
QUOTE(rjamorim @ Dec 9 2005, 09:57 AM)
QUOTE(Kostarum Rex Persia @ Dec 8 2005, 01:46 PM)


Both are comercial and expensive. Go with UPX:

http://upx.sourceforge.net
*


I am using UPX always. wink.gif
optimus
I've just done some clean-up with source code and comitted into CVS. It's now much tidier. laugh.gif
You can build both standalone and EXE+DLL versions of MediaCoder with it.
yourtallness
@Optimus:

How about enabling removal of a file (or a selection
of files) from the list with the use of the 'Delete' key?

And do you intend to add the uber-fast Helix mp3
encoder to the available encoders? It would be handy
for those portable transcoding needs.

It would also be nice if all (or at least the most important)
encoder settings were available at the right-hand side
of the GUI. e.g. Musepack and Optimfrog settings are
accessible only through the 'options' tab or via the settings,
where as LAME, Helix, FLAC, APE, etc have their own tab.

Thanx
AiZ
Hello,

Sorry to bother you but setting the output framerate other than Default doesn't work. And if you can, please add 10, 12 and 12.5 in the selectable framerates (12.5 is half PAL framerate). Thanks !

CODE
# ".\mplayer\mplayer.exe" "C:\videos\taistoi01.avi" -quiet -vo null -vc dummy 15 -ao pcm:nowaveheader:file=\\.\pipe\mpdata3860

MPlayer dev-CVS-051207-22:39-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon Prestonia,Gallatin (Family: 15, Stepping: 9)
CPUflags:  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.

Playing C:\videos\taistoi01.avi.
AVI file format detected.
VIDEO:  [DIV3]  576x320  24bpp  25.000 fps  972.6 kbps (118.7 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
AC3: 2.0 (stereo)  48000 Hz  256.0 kbit/s
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
==========================================================================
Forced video codec: dummy
No accelerated IMDCT transform found
Using MMX optimized resampler
Cannot find codec matching selected -vo and video format 0x33564944.
Read DOCS/HTML/en/codecs.html!
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Video: no video
Starting playback...


Anyway, seeing that MP4 file generation is now working is very very nice !
I can now convert some files to see them on my mobile. Great !! biggrin.gif

Thanks again for your marvelous tool!


AiZ
optimus
QUOTE(AiZ @ Dec 9 2005, 05:07 PM)
Hello,

Sorry to bother you but setting the output framerate other than Default doesn't work. And if you can, please add 10, 12 and 12.5 in the selectable framerates (12.5 is half PAL framerate). Thanks !

Sorry it's a bug, " -fps" is missed in the command line. Fixed and added more fps options. Also fixed some minor bugs. Update here.
optimus
QUOTE(yourtallness @ Dec 9 2005, 04:16 PM)
@Optimus:

How about enabling removal of a file (or a selection
of files) from the list with the use of the 'Delete' key?

And do you intend to add the uber-fast Helix mp3
encoder to the available encoders? It would be handy
for those portable transcoding needs.

These 2 suggestions have been applied.
Get the latest update. The PowerPack now includes Helix MP3 encoder.

QUOTE
It would also be nice if all (or at least the most important)
encoder settings were available at the right-hand side
of the GUI. e.g. Musepack and Optimfrog settings are
accessible only through the 'options' tab or via the settings,
where as LAME, Helix, FLAC, APE, etc have their own tab.

Thanx
*


I only put encoders with several options on the right side panel, just because I'm lazy to add a dialog for every one of them. biggrin.gif (no dialog for Helix MP3 encoder yet)
yourtallness
QUOTE(optimus @ Dec 9 2005, 05:45 AM)
I only put encoders with several options on the right side panel, just because I'm lazy to add a dialog for every one of them.  biggrin.gif (no dialog for Helix MP3 encoder yet)


no dialog for Helix MP3 encoder yet?

Unforgivable! tongue.gif

Just kidding of course, I really appreciate the way you
respond to ppl's suggestions!

Thanks a lot! wink.gif
yourtallness
All Helix mp3 encoder stereo modes output simple
stereo files. I haven't found a way to force joint stereo...
optimus
QUOTE(yourtallness @ Dec 10 2005, 04:59 AM)
QUOTE(optimus @ Dec 9 2005, 05:45 AM)
I only put encoders with several options on the right side panel, just because I'm lazy to add a dialog for every one of them.  biggrin.gif (no dialog for Helix MP3 encoder yet)


no dialog for Helix MP3 encoder yet?

Unforgivable! tongue.gif

Just kidding of course, I really appreciate the way you
respond to ppl's suggestions!

Thanks a lot! wink.gif
*


Haha~ I will add some more audio encoder dialogs if I have nothing else to do. wink.gif
optimus
Fixed some bugs today and packaged a new PowerPack, added MP4 file tagger and added support for MediaInfo which can retrieve detailed info about a media file. To see it, click the file in the list and press F8. I will make better use of it in future.
Get it here.
yourtallness
With the latest Powerpack, mencoder.exe crashes
when trying to transcode to Helix mp3.

Btw, optimus, does the Helix stereo mode selection
work properly for you?
drbeachboy
Hi Optimus,

Version 0.3.4 is having some problems that you need to take a look at. First, mp4-tg.exe is not tagging the Nero 3.2.0.24 m4a files. And I was so looking forward to being able to tag my Nero m4a files. ;-)

Second, the Nero m4a's seemed to be locked up after they are created (can't be moved, deleted, etc.).

Lastly, Mediacoder is crashing when pressing "Start" using iTunesencode.

I'm looking forward to your fix. Thanks again for your efforts.
FriedEggs
This may be an issue with MPlayer rather than menc, but the file dialog doesn't allow you to add 'Realaudio' (*.ra). It lists .ram instead, which are metafiles. Converting RealAudio works OK if you change the file extension to .rm, so is there any reason why this format can't be included?
optimus
There is a bug that crashes mediacoder when using several encoders (lame mp3, itunesencode, etc.).
Fixed it, also with the realaudio file ext issue! Update here
As for the mp4 tagging issue, the only solution is to find a better mp4 tagger utility. tongue.gif
yongwpi
optimus,

In what way do you tag m4a, mp4 songs? What I mean is in ID3v1.1/ID3V2/ apev2 or from itunes or other formats?
thanks
optimus
QUOTE(yongwpi @ Dec 11 2005, 01:20 PM)
optimus,

In what way do you tag m4a, mp4 songs? What I mean is in ID3v1.1/ID3V2/ apev2 or from itunes or other formats?
thanks
*


I use this utility to tag mp4 files, and this utility to tag other files.
yongwpi
thanks, optimus. another question: in what way you extract tagging information from others file during transcoding, such as from mp3->m4a or from wma->m4a?
optimus
QUOTE(yongwpi @ Dec 11 2005, 01:46 PM)
thanks, optimus. another question: in what way you extract tagging information from others file during transcoding, such as from mp3->m4a or from wma->m4a?
*


By reading and parsing their console output.
Daijoubu
PECompact2 perform better than UPX (except for files already really small)

There's a $0 student licence and a $10 "freeware" licence
http://bitsum.com/pecompact_order.asp

Since Media Coder is a freeware, both licence should work tongue.gif
yourtallness
@optimus:

According to the Helix mp3 encoder help:

"M[mode] Select encoding mode: mode-0 stereo=0 mode-1 stereo=1 dual=2 mono=3."

correct switches for stereo mode selection are:

-M0, for simple stereo
-M1, for joint stereo
-M2, for dual channel
-M3, for mono encoding

The currently set switches are:

-Mmode-0
-Mstereo=0
-Mmode-1
-Mstereo=1
-Mdual=2
-Mmono=3

...which of course don't work, and are consequently ignored
by the encoder.

Plz fix it when u feel like it smile.gif
optimus
QUOTE(yourtallness @ Dec 11 2005, 06:24 PM)
@optimus:

According to the Helix mp3 encoder help:

"M[mode]  Select encoding mode: mode-0 stereo=0 mode-1 stereo=1 dual=2 mono=3."

correct switches for stereo mode selection are:

-M0, for simple stereo
-M1, for joint stereo
-M2, for dual channel
-M3, for mono encoding

The currently set switches are:

-Mmode-0
-Mstereo=0
-Mmode-1
-Mstereo=1
-Mdual=2
-Mmono=3

...which of course don't work, and are consequently ignored
by the encoder.

Plz fix it when u feel like it smile.gif
*


The help message of the encoder is really confusing. Fixed it. Also added dialog box for Helix MP3. I think u'll like it. wink.gif
Get it here.
drbeachboy
QUOTE(optimus @ Dec 11 2005, 12:53 AM)
There is a bug that crashes mediacoder when using several encoders (lame mp3, itunesencode, etc.).
Fixed it, also with the realaudio file ext issue! Update here
As for the mp4 tagging issue, the only solution is to find a better mp4 tagger utility.  tongue.gif
*


Hi Optimus,

I downloaded the new build 1080 and iTunesencode is working great, Thanks!

Nero though, is not working too well. Mediacoder goes through the encoding process and creates the m4a file, but it is unplayable, and still no tags. Even the "Optimize MP4 Layout" in "MP4 Utilities" in foobar2000 produces an error message. My Nero encoder works fine within Nero itself, and with foobar2000, and Nero Frontends.

Thanks for looking into this!
optimus
QUOTE(drbeachboy @ Dec 12 2005, 03:52 AM)
QUOTE(optimus @ Dec 11 2005, 12:53 AM)
There is a bug that crashes mediacoder when using several encoders (lame mp3, itunesencode, etc.).
Fixed it, also with the realaudio file ext issue! Update here
As for the mp4 tagging issue, the only solution is to find a better mp4 tagger utility.  tongue.gif
*


Hi Optimus,

I downloaded the new build 1080 and iTunesencode is working great, Thanks!

Nero though, is not working too well. Mediacoder goes through the encoding process and creates the m4a file, but it is unplayable, and still no tags. Even the "Optimize MP4 Layout" in "MP4 Utilities" in foobar2000 produces an error message. My Nero encoder works fine within Nero itself, and with foobar2000, and Nero Frontends.

Thanks for looking into this!
*


I guess the tagger damaged the file. (the tagger I used claims that it only tags itunes mp4 files).
Can you try removing or renaming mp4-tg.exe in tools folder, so that it won't be called, and see if the result file playable.
drbeachboy
QUOTE(optimus @ Dec 12 2005, 02:44 AM)
QUOTE(drbeachboy @ Dec 12 2005, 03:52 AM)
QUOTE(optimus @ Dec 11 2005, 12:53 AM)
There is a bug that crashes mediacoder when using several encoders (lame mp3, itunesencode, etc.).
Fixed it, also with the realaudio file ext issue! Update here
As for the mp4 tagging issue, the only solution is to find a better mp4 tagger utility.  tongue.gif
*


Hi Optimus,

I downloaded the new build 1080 and iTunesencode is working great, Thanks!

Nero though, is not working too well. Mediacoder goes through the encoding process and creates the m4a file, but it is unplayable, and still no tags. Even the "Optimize MP4 Layout" in "MP4 Utilities" in foobar2000 produces an error message. My Nero encoder works fine within Nero itself, and with foobar2000, and Nero Frontends.

Thanks for looking into this!
*


I guess the tagger damaged the file. (the tagger I used claims that it only tags itunes mp4 files).
Can you try removing or renaming mp4-tg.exe in tools folder, so that it won't be called, and see if the result file playable.
*


I did exactly as you said, and voila, the encoded file played perfectly. The problem was in fact, MP4-tg.exe. I guess the search is on again for a new command-line mp4 tagging utility.
AiZ
Hello,

There's a very little bug in the mencoder script when setting the output framerate. You should use "-ofps" instead of "-fps", because mencoder keep all the frames hence a slowdowned video not in sync with audio and longer. Ideally, you should use "-fps <input file framerate> -ofps <desired ouput framerate>" but I don't know if you can/want determine the framerate of the input file before lauching mencoder...

Some news about more efficient MP4 encoding ? laugh.gif


AiZ
optimus
QUOTE(AiZ @ Dec 13 2005, 05:28 AM)
Hello,

There's a very little bug in the mencoder script when setting the output framerate. You should use "-ofps" instead of "-fps", because mencoder keep all the frames hence a slowdowned video not in sync with audio and longer. Ideally, you should use "-fps <input file framerate> -ofps <desired ouput framerate>" but I don't know if you can/want determine the framerate of the input file before lauching mencoder...

Some news about more efficient MP4 encoding ?  laugh.gif


AiZ
*


Thanx!. Fixed. Update here. This release also fully supports transcoding to VCD/SVCD/DVD complaint files.
As for MP4, currently mp4 with various audio formats and xvid and divx video should be ok, but still have problem with H.264. The mp4 tagger is also not so well. If you have any finding, please post here.
audioflex
still no nero 7 support?
optimus
QUOTE(audioflex @ Dec 13 2005, 01:55 PM)
still no nero 7 support?
*


No, have u seen any front-end for Nero 7 encoder in CLI or providing source code?
dimzon
QUOTE(optimus @ Dec 13 2005, 12:14 PM)
QUOTE(audioflex @ Dec 13 2005, 01:55 PM)
still no nero 7 support?
*


No, have u seen any front-end for Nero 7 encoder in CLI or providing source code?
*


http://forum.doom9.org/showthread.php?t=102966
AiZ
Hello,

QUOTE(optimus @ Dec 13 2005, 06:44 AM)
As for MP4, currently mp4 with various audio formats and xvid and divx video should be ok, but still have problem with H.264. The mp4 tagger is also not so well. If you have any finding, please post here.


If I remember correctly, MP4Box only accept XviD encodings. When I choose MPEG-4 (DivX4/5), MP4Box says that "Video format FMP4 not supported", for example.
Then, if I use Xvid, video on my mobile looks like only I frames are displayed (not really sure, just guessing...). Do you know the XviD settings corresponding to strict MPEG4-SP ? Which profile do match ? Perhaps it's time to rename your profiles to something more understandable... wink.gif

Anyway, that's a great tool, being better and better, thanks to your dedication.


AiZ
optimus
Fixed a bug in audio filter option and improved VCD/SVCD/DVD transcoding. Update here.
To transcode to VCD/SVCD/DVD, you need to make following settings:

(1) choose MPEG1/2 as video codec
(2) choose MPEG as container, and click option to choose MPEG format
(3) choose FFMPEG as audio encoder
optimus
QUOTE(AiZ @ Dec 13 2005, 06:23 PM)
If I remember correctly, MP4Box only accept XviD encodings. When I choose MPEG-4 (DivX4/5), MP4Box says that "Video format FMP4 not supported", for example.
Then, if I use Xvid, video on my mobile looks like only I frames are displayed (not really sure, just guessing...). Do you know the XviD settings corresponding to strict MPEG4-SP ? Which profile do match ? Perhaps it's time to rename your profiles to something more understandable... wink.gif
*


Xvid profile can be specified.
Go Settings -> Video Codecs -> Xvid -> Profile
optimus
QUOTE(dimzon @ Dec 13 2005, 04:43 PM)
QUOTE(optimus @ Dec 13 2005, 12:14 PM)
QUOTE(audioflex @ Dec 13 2005, 01:55 PM)
still no nero 7 support?
*


No, have u seen any front-end for Nero 7 encoder in CLI or providing source code?
*


http://forum.doom9.org/showthread.php?t=102966
*


Looks good, but can't download it right now. It's a CLI, so it will be very handy to integrate.
optimus
Please remember that you can always get the full source code of this piece of software from SourceForge CVS. Since I'm using SF CVS as my primary development repository (used to sync the copy at my home and at my office, after I found a way to access SF cvs through our company's proxy cool.gif), the code is always up-to-date. I welcome everybody to take a look at the source code when encountering any problems or having any ideas of improvements.

ps: I'm an 100% open source supporter.
ckjnigel
Just to offer compliments...
I used it last night to try out Helix AAC and that worked fine. Just now, I converted APEs to FLACs and tags got transferred without messing around.
Most remarkable is how logical, intuitive and clean the interface is.
I'm really looking forward to when I can use this with Ivan Dimkovic's latest codecs (kudos to you, also, Ivan!). I unzipped the bundle he gave Roberto into the MediaCoder codecs folder, but nothing happened.
optimus
QUOTE(ckjnigel @ Dec 14 2005, 06:06 AM)
Just to offer compliments...
I used it last night to try out Helix AAC and that worked fine.  Just now, I converted APEs to FLACs and tags got transferred without messing around.
Most remarkable is how logical, intuitive and clean the interface is.
I'm really looking forward to when I can use this with Ivan Dimkovic's latest codecs (kudos to you, also, Ivan!).  I unzipped the bundle he gave Roberto into the MediaCoder codecs folder, but nothing happened.
*


Thanks for your praisful words, by which I'm motivated. laugh.gif
Is the new codec you mentioned Nero7's AAC encoder?
ckjnigel
Yes, optimus, I was alluding to this file that Ivan has Roberto hosting:
http://www.rarewares.org/rja/nero_aac_encoder_v3_1_0_2.rar
optimus
I just found the codec can work with MediaCoder. You need to make a setting, go Settings -> Audio Encoders -> Nero AAC Encoder -> Nero Plugin Folder, set it to the folder which contains that 4 dlls.
AiZ
Hi,

QUOTE(optimus @ Dec 14 2005, 06:22 AM)
I just found the codec can work with MediaCoder. You need to make a setting, go Settings -> Audio Encoders -> Nero AAC Encoder -> Nero Plugin Folder, set it to the folder which contains that 4 dlls.


Well, I've tried this two or three days ago and even with the last build (1132), it still doesn't work. I've erased mediacoder.cfg and mediacoder.ini, same error : "Error start audio encoder". Sometimes it says that it can't find libmmd.dll and aacenc32.dll. Strange...


AiZ
optimus
QUOTE(AiZ @ Dec 14 2005, 05:10 PM)
Hi,

QUOTE(optimus @ Dec 14 2005, 06:22 AM)
I just found the codec can work with MediaCoder. You need to make a setting, go Settings -> Audio Encoders -> Nero AAC Encoder -> Nero Plugin Folder, set it to the folder which contains that 4 dlls.


Well, I've tried this two or three days ago and even with the last build (1132), it still doesn't work. I've erased mediacoder.cfg and mediacoder.ini, same error : "Error start audio encoder". Sometimes it says that it can't find libmmd.dll and aacenc32.dll. Strange...


AiZ
*


I guess I've found the cause for this. Try copying libmmd.dll to Windows' system folder. It should solve the problem. You only need to do so on system with Nero 6 installed.
dimzon
QUOTE(optimus @ Dec 14 2005, 07:25 PM)
I guess I've found the cause for this. Try copying libmmd.dll to Windows' system folder. It should solve the problem. You only need to do so on system with Nero 6 installed.
*


Nero7 AAC encoder has some kind protection against using it from third-party software more then X times! You must have a little reverse engineering expirience to detect and disarm it blink.gif
AiZ
Hello,

QUOTE(optimus @ Dec 14 2005, 04:25 PM)
I guess I've found the cause for this. Try copying libmmd.dll to Windows' system folder. It should solve the problem. You only need to do so on system with Nero 6 installed.


You're right! Thanks a lot! laugh.gif


AiZ
PzF
QUOTE(drbeachboy @ Dec 12 2005, 06:25 AM)
QUOTE(optimus @ Dec 12 2005, 02:44 AM)
QUOTE(drbeachboy @ Dec 12 2005, 03:52 AM)
QUOTE(optimus @ Dec 11 2005, 12:53 AM)
There is a bug that crashes mediacoder when using several encoders (lame mp3, itunesencode, etc.).
Fixed it, also with the realaudio file ext issue! Update here
As for the mp4 tagging issue, the only solution is to find a better mp4 tagger utility.  tongue.gif
*


Hi Optimus,

I downloaded the new build 1080 and iTunesencode is working great, Thanks!

Nero though, is not working too well. Mediacoder goes through the encoding process and creates the m4a file, but it is unplayable, and still no tags. Even the "Optimize MP4 Layout" in "MP4 Utilities" in foobar2000 produces an error message. My Nero encoder works fine within Nero itself, and with foobar2000, and Nero Frontends.

Thanks for looking into this!
*


I guess the tagger damaged the file. (the tagger I used claims that it only tags itunes mp4 files).
Can you try removing or renaming mp4-tg.exe in tools folder, so that it won't be called, and see if the result file playable.
*


I did exactly as you said, and voila, the encoded file played perfectly. The problem was in fact, MP4-tg.exe. I guess the search is on again for a new command-line mp4 tagging utility.
*




I have a newer version of tg.exe (v0.33) and renamed and replaced mp4-tg.exe (v0.32) in the tools dir and foobar doesn't lock up on me anymore and shows full tags. It's from the same author dated a day later. 2003-08-10.

Foobar 0.8.3 with mp4-tg.exe v0.33 shows this:

bitrate = 62
samplerate = 44100
channels = 2
aac_profile = HE AAC
codec = AAC
tool = iTunes v4.0, QuickTime 6.3
--------------------
14219200 samples @ 44100Hz
(rounded samples : 14219016)


Foobar 0.9 beta 10 with mp4-tg.exe v0.33 shows this:

tool = iTunes v4.0, QuickTime 6.3
bitrate = 62
samplerate = 44100
channels = 2
codec = AAC
codec_profile = SBR
----------
14219200 samples @ 44100Hz
File size: 2 552 121 bytes

Hope this helps?
audioflex
cant get nero to work..
optimus
QUOTE(PzF @ Dec 15 2005, 02:01 AM)
I have a newer version of tg.exe (v0.33) and renamed and replaced mp4-tg.exe (v0.32) in the tools dir and foobar doesn't lock up on me anymore and shows full tags. It's from the same author dated a day later. 2003-08-10.

*


That's good. Give me a link to get 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.