IPB

Welcome Guest ( Log In | Register )

Batch transcoding to HE-AAC-PS with this tool
optimus
post Sep 5 2005, 09:10
Post #1





Group: Members
Posts: 389
Joined: 4-August 05
From: Shanghai, China
Member No.: 23683



Introduction
MediaCoder is a free universal audio/video batch transcoder, putting together lots of excellent audio/video codecs and tools from the open source community into an all-in-one solution, capable of transcoding among different audio/video formats with many extra features.


Links
Official website:
http://mediacoder.sourceforge.net/

Official forum:
http://forum.mediacoderhq.com

Project site:
http://sourceforge.net/projects/mediacoder

Update on Sept. 19, 2007:
MediaCoder Audio Edition is updated and can be freely downloaded from here. This edition is specially recommended for all the HA friends.



This post has been edited by optimus: Dec 19 2007, 08:03


--------------------
MediaCoder the transcoder
http://mediacoder.sourceforge.net
Go to the top of the page
+Quote Post
 
Start new topic
Replies
kindofblue
post Sep 6 2005, 09:12
Post #2





Group: Members
Posts: 175
Joined: 16-January 03
Member No.: 4600



Hi Optimus. I have a question: Is it possible to an option to wrap the HE-AAC file into an MP4/M4A container via either MP4Box or MP4creator? So you can transcode to mp4 in one step? Might be worth a try.

cheers,
kindofblue


--------------------
WavPack 4.31 / LAME 3.98 alpha 3 -V9 -vbr-new
Go to the top of the page
+Quote Post
optimus
post Sep 7 2005, 04:18
Post #3





Group: Members
Posts: 389
Joined: 4-August 05
From: Shanghai, China
Member No.: 23683



MP4Box is a console program isn't it? If so, it will not be difficult to integrate it. Could u provide me with some info on MP4Box (mainly about its command line usage)?

QUOTE (kindofblue @ Sep 6 2005, 04:12 PM)
Hi Optimus. I have a question: Is it possible to an option to wrap the HE-AAC file into an MP4/M4A container via either MP4Box or MP4creator? So you can transcode to mp4 in one step? Might be worth a try.


This post has been edited by optimus: Sep 7 2005, 04:27


--------------------
MediaCoder the transcoder
http://mediacoder.sourceforge.net
Go to the top of the page
+Quote Post
kindofblue
post Sep 7 2005, 07:00
Post #4





Group: Members
Posts: 175
Joined: 16-January 03
Member No.: 4600



QUOTE (optimus @ Sep 7 2005, 11:18 AM)
MP4Box is a console program isn't it? If so, it will not be difficult to integrate it. Could u provide me with some info on MP4Box (mainly about its command line usage)?


The general cmdline is:
CODE
MP4Box [option] input [option]


In Batchenc, I use:
CODE
mp4box -add <infile> -sbr <outfile.m4a>


From the DOS helpscreens:
CODE

MP4Box [option] input [option]

-h general: general options help
-h hint: hinting options help
-h import: import options help
-h encode: encode options help
-h meta: meta handling options help
-h extract: extraction options help
-h dump: dump options help
-h swf: Flash (SWF) options help
-h crypt: ISMA E&A options help
-h format: supported formats help

-nodes: lists supported MPEG4 nodes
-node NodeName: gets MPEG4 node syntax and QP info
-xnodes: lists supported X3D nodes
-xnode NodeName: gets X3D node syntax

-version: gets build version

General Options:
-inter time_in_ms interleaves file data (track chunks of time_in_ms)
* Note 1: Interleaving is 0.5s by default
* Note 2: a value of 0 disables interleaving
-flat stores file with all media data first, non-interleaved
-frag time_in_ms fragments file (track fragments of time_in_ms)
* Note: Always disables interleaving
-out filename specifies output file name
* Note: By default input (MP4,3GP) file is overwritten
-tmp dirname specifies directory for temporary file creation
* Note: Default temp dir is OS-dependent
-nosys removes all MPEG-4 Systems info except IOD (profiles)
* Note: Set by default whith '-add' and '-cat'
-isma rewrites the file as an ISMA 1.0 AV file
-ismax same as '-isma' and removes all clock references
-3gp rewrites as 3GPP(2) file (no more MPEG-4 Systems Info)
* Note 1: some tracks may be removed in the process
* Note 2: always on for *.3gp *.3g2 *.3gpp
-brand ABCD sets major brand of file
-ab ABCD adds given brand to file's alternate brand list
-rb ABCD removes given brand from file's alternate brand list
-cprt string adds copyright string to movie
-chap file adds chapter information contained in file
-rem trackID: removes track from file
-new: forces creation of a new destination file
-rem trackID: removes track from file
-lang [tkID=]LAN: sets track language. LAN is the ISO 639-2 code (eng, und)
-delay tkID=TIME: sets track start delay in ms.
-split time_sec splits in files of time_sec max duration
* Note: this removes all MPEG-4 Systems media
-splits filesize splits in files of max filesize kB.
* Note: this removes all MPEG-4 Systems media
-splitx start:end extracts a new file from start to end (in seconds)
* Note: this removes all MPEG-4 Systems media


Hinting Options
-hint: hints the file for RTP/RTSP
-mtu size: specifies MTU size in bytes. Default size is 1500
-copy: copies media data to hint track rather than reference
* Note: speeds up server but takes much more space
-tight: performs tight interleaving (sample based) of hinted file
* Note: reduces server disk seek but increases file size
-multi [maxptime]: enables frame concatenation in RTP packets if possible
maxptime: max packet duration in ms (optional, default 100ms)
-rate ck_rate: specifies rtp rate in Hz when no default for payload
* Note: default value is 90000 (MPEG rtp rates)
-mpeg4: forces MPEG-4 generic payload whenever possible
-latm: forces MPG4-LATM transport for AAC streams
-static: enables static RTP payload IDs whenever possible
* By default, dynamic payloads are always used

MPEG-4 Generic Payload Options
-ocr: forces all streams to be synchronized
* Most RTSP servers only support synchronized streams
-rap: signals random access points in RTP packets
-ts: signals AU Time Stamps in RTP packets
-size: signals AU size in RTP packets
-idx: signals AU sequence numbers in RTP packets
-iod: prevents systems tracks embedding in IOD
* Note: shouldn't be used with -isma option

-sdp_ex string: adds sdp string to (hint) track ("-sdp_ex tkID:string")
or movie. This will take care of SDP lines ordering
* WARNING: You cannot add anything to SDP, cf rfc2327.
-unhint: removes all hinting information.

Suppported raw formats and file extensions:
NHNT .media .nhnt .info
MPEG Audio .mp3
ADTS-AAC .aac
MPEG-4 Visual .cmp .m4v
H263 Video .263 .h263
AVC/H264 Video .h264 .h26L .264 .26L
JPEG Images .jpg .jpeg
PNG Images .png
AMR(WB) Audio .amr .awb
EVRC Audio .evc
SMV Audio .smv

Supported containers and file extensions:
AVI .avi
MPEG-PS .mpg .mpeg .vob .vcd .svcd
QCP .qcp
OGG .ogg
ISO-Media files no extension checking

Supported text formats:
SRT Subtitles .srt
SUB Subtitles .sub
GPAC Timed Text .ttxt
QuickTime TeXML Text .xml (cf QT documentation)

Supported Scene formats:
MPEG-4 XMT-A .xmt .xmta .xmt.gz .xmta.gz
MPEG-4 BT .bt .bt.gz
VRML .wrl .wrl.gz
X3D-XML .x3d .x3d.gz
X3D-VRML .x3dv .x3dv.gz
MacroMedia Flash .swf (very limitted import support only)


MPEG-4 Scene Encoding Options
-mp4: specify input file is for encoding.
-def: encode DEF names
-sync time_in_ms: forces BIFS sync sample generation every time_in_ms
* Note: cannot be used with -shadow
-shadow time_ms: forces BIFS sync shadow sample generation every time_ms.
* Note: cannot be used with -sync
-log: generates BIFS encoder log file
-ms file: specifies file for track importing

Chunk Processing
-inctx file: specifies initial context (MP4/BT/XMT)
* Note: input file must be a commands-only file
-outctx: specifies storage of updated context (MP4/BT/XMT)


Meta handling Options
-set-meta args: sets given meta type - syntax: "ABCD[:tk=ID]"
* ABCD: four char meta type (NULL or 0 to remove meta)
* [:tk=ID]: if not set use root (file) meta
if ID is 0 use moov meta
if ID is not 0 use track meta
-add-item args: adds resource to meta
* syntax: file_path + options (':' separated):
tk=ID: meta adressing (file, moov, track)
name=str: item name
mime=mtype: item mime type
encoding=enctype: item content-encoding type
* file_path "this" or "self": item is the file itself
-rem-item args: removes resource from meta - syntax: item_ID[:tk=ID]
-set-primary args: sets item as primary for meta - syntax: item_ID[:tk=ID]
-set-xml args: sets meta XML data
* syntax: xml_file_path[:tk=ID][:binary]
-rem-xml [tk=ID]: removes meta XML data
-dump-xml args: dumps meta XML to file - syntax file_path[:tk=ID]
-dump-item args: dumps item to file - syntax item_ID[:tk=ID][:path=fileName]


Extracting Options
-raw TrackID: extracts track in raw format when supported
-raws TrackID: extract each track sample to a file
* Note: "TrackID:N" extracts Nth sample
-nhnt TrackID: extracts track in nhnt format
-single TrackID: extracts track to a new mp4 file
-avi TrackID: extracts visual track to an avi file
-qcp TrackID: same as '-raw' but defaults to QCP file for EVRC/SMV
-aviraw TK: extracts AVI track in raw format
$TK can be one of "video" "audio" "audioN"


Importing Options

File importing syntax:
"#video" "#audio": base import for most AV files
"#trackID=ID": track import for IsoMedia and other files
":dur=D": imports only the first D seconds
":lang=LAN": sets imported media language code
":delay=delay_ms": sets imported media initial delay in ms

-add file: add file tracks to (new) output file
-cat file: concatenates file samples to (new) output file
* Note: creates tracks if needed
-keepsys: keeps all MPEG-4 Systems info when using '-add' / 'cat'

All the following options can be specified as default or for each track.
When specified by track the syntax is ":opt" or ":opt=val".

-dref: keeps media data in original file
-nodrop: forces constant FPS when importing AVI video
-packed: forces packed bitstream when importing raw ASP
-sbr: backward compatible signaling of AAC-SBR
-sbrx: non-backward compatible signaling of AAC-SBR
* Note: SBR AAC cannot be detected at import time
-fps FPS: forces frame rate for video and SUB subtitles import
* For raw H263 import, default FPS is 15
* For all other imports, default FPS is 25
-mpeg4: forces MPEG-4 sample descriptions when possible (3GPP2)
-agg N: aggregates N audio frames in 1 sample (3GP media only)
* Note: Maximum value is 15 - Disabled by default


--------------------
WavPack 4.31 / LAME 3.98 alpha 3 -V9 -vbr-new
Go to the top of the page
+Quote Post
optimus
post Sep 7 2005, 15:20
Post #5





Group: Members
Posts: 389
Joined: 4-August 05
From: Shanghai, China
Member No.: 23683



Just integrated Helix Producer support in MEnc. The screenshot:

Download it here.
This includes:
MEnc executable
MPlayer (latest CVS version)
Helix Producer (stripped for audio encoding only and added aacplus audience files)
Winamp AAC+V2 encoder
Lame MP3 encoder (latest CVS version)

This post has been edited by optimus: Apr 2 2007, 14:20


--------------------
MediaCoder the transcoder
http://mediacoder.sourceforge.net
Go to the top of the page
+Quote Post

Posts in this topic
- optimus   Batch transcoding to HE-AAC-PS with this tool   Sep 5 2005, 09:10
- - Oki   Nice work, very friendly for transcoding. Does it...   Sep 5 2005, 10:41
|- - optimus   Sorry multichannel isn't supported yet.   Sep 5 2005, 10:43
|- - Oki   QUOTE (optimus @ Sep 5 2005, 11:43 AM)Sorry m...   Sep 23 2005, 09:53
|- - optimus   QUOTE (Oki @ Sep 23 2005, 04:53 PM)QUOTE (opt...   Sep 23 2005, 16:25
|- - optimus   The source code from now on can be accessed via CV...   Sep 23 2005, 16:43
- - Digisurfer   Thanks, looks very promising. So it can transcode ...   Sep 6 2005, 04:22
|- - optimus   It can transcode video. Video transcoding is done ...   Sep 6 2005, 04:43
- - kindofblue   Hi Optimus. I have a question: Is it possible to a...   Sep 6 2005, 09:12
|- - optimus   MP4Box is a console program isn't it? If so, i...   Sep 7 2005, 04:18
|- - kindofblue   QUOTE (optimus @ Sep 7 2005, 11:18 AM)MP4Box ...   Sep 7 2005, 07:00
|- - optimus   Just integrated Helix Producer support in MEnc. Th...   Sep 7 2005, 15:20
|- - optimus   I just found that MP4Box will remove PS part from ...   Sep 8 2005, 03:17
|- - kindofblue   QUOTE (optimus @ Sep 8 2005, 10:17 AM)I just ...   Sep 8 2005, 04:02
|- - M   QUOTE (kindofblue @ Sep 7 2005, 10:02 PM)I ca...   Sep 8 2005, 12:34
- - yourtallness   Any chance of including support for the LC AAC Win...   Sep 6 2005, 17:05
|- - optimus   It's very easy to support another winamp encod...   Sep 7 2005, 04:24
|- - guest0101   Does this utility support FLAC to AACPlus v2 encod...   Sep 7 2005, 06:47
|- - optimus   FLAC is supported by the CVS version of MPlayer. I...   Sep 7 2005, 15:30
- - M   optimus, you've put together a nice GUI. I...   Sep 8 2005, 03:56
|- - optimus   QUOTE (M @ Sep 8 2005, 10:56 AM)  1) Is ...   Sep 9 2005, 02:55
|- - M   QUOTE (optimus @ Sep 8 2005, 08:55 PM)in_mp4 ...   Sep 9 2005, 03:10
|- - optimus   Just added single file mode to MEnc. Please downlo...   Sep 9 2005, 08:14
|- - optimus   Just a remind, you can use audio filters provided ...   Sep 9 2005, 08:25
- - Duble0Syx   I'd like to add a vote for drap & drop as ...   Sep 8 2005, 05:08
- - aguacaliente   Thanks for the tool. Another request here for drag...   Sep 8 2005, 14:30
|- - optimus   I will add wavpack support in next release. QUOTE...   Sep 9 2005, 08:28
|- - optimus   Added support for x264, matroska container, generi...   Sep 14 2005, 13:35
|- - optimus   I've released a full package which contains th...   Sep 17 2005, 07:35
- - noisehole   hi, nice app, thx for your efford. heres an issue...   Sep 16 2005, 12:04
|- - optimus   Did u see all files in the directories and sub-dir...   Sep 16 2005, 13:03
|- - optimus   QUOTE (noisehole @ Sep 16 2005, 07:04 PM)hi, ...   Sep 17 2005, 08:47
|- - noisehole   QUOTE (optimus @ Sep 17 2005, 09:47 AM)QUOTE ...   Sep 20 2005, 10:52
|- - optimus   QUOTE (noisehole @ Sep 20 2005, 05:52 PM)thx ...   Sep 20 2005, 10:56
- - hurry11   Greetings! aacPLUS v2 encoding not working on ...   Sep 16 2005, 14:20
|- - optimus   QUOTE (hurry11 @ Sep 16 2005, 09:20 PM)Greeti...   Sep 17 2005, 05:15
|- - hurry11   QUOTE (hurry11 @ Sep 16 2005, 09:20 PM)Error ...   Sep 17 2005, 06:20
- - DinoM81   I have been trying so hard to download this app bu...   Sep 18 2005, 06:36
|- - optimus   I've put up a mirror download. Get it here.   Sep 18 2005, 17:22
- - DinoM81   Brilliant! Thanks for the mirror!   Sep 18 2005, 18:01
- - Kostarum Rex Persia   Optimus,do you planning to include(in some newer b...   Sep 19 2005, 22:52
|- - optimus   QUOTE (Kostarum Rex Persia @ Sep 20 2005, 05:...   Sep 20 2005, 02:54
- - hurry11   Greetings Optimus! I installed the new version...   Sep 20 2005, 04:40
|- - optimus   QUOTE (hurry11 @ Sep 20 2005, 11:40 AM)Greeti...   Sep 20 2005, 06:06
|- - optimus   And maybe u could try encoding with Helix Producer...   Sep 20 2005, 06:08
- - noisehole   hehe ok, so here you go: i need an option to keep...   Sep 20 2005, 12:17
|- - optimus   QUOTE (noisehole @ Sep 20 2005, 07:17 PM)hehe...   Sep 21 2005, 07:42
- - DARcode   Brilliant tool! Very convenient, thanks a lot...   Sep 20 2005, 13:35
|- - optimus   QUOTE (DARcode @ Sep 20 2005, 08:35 PM)Brilli...   Sep 21 2005, 07:43
- - noisehole   well the obvious solution for adding a raw aac fil...   Sep 21 2005, 10:45
|- - optimus   Here is an update that supports directory structur...   Sep 21 2005, 15:14
- - noisehole   thx optimus, much appreciated first few transcodi...   Sep 22 2005, 10:26
|- - optimus   QUOTE (noisehole @ Sep 22 2005, 05:26 PM)thx ...   Sep 22 2005, 15:46
- - yourtallness   What do "Error starting external program spe...   Sep 22 2005, 16:55
|- - optimus   QUOTE (yourtallness @ Sep 22 2005, 11:55 PM)W...   Sep 23 2005, 04:48
|- - yourtallness   QUOTE (optimus @ Sep 22 2005, 07:48 PM)QUOTE ...   Sep 23 2005, 07:34
|- - optimus   After checking, I found this prompt is given durin...   Sep 23 2005, 07:39
|- - yourtallness   QUOTE (optimus @ Sep 22 2005, 10:39 PM)After ...   Sep 23 2005, 09:41
- - xaros2000   First of all,this really seems to be a really cool...   Sep 22 2005, 20:57
|- - optimus   QUOTE (xaros2000 @ Sep 23 2005, 03:57 AM)...   Sep 23 2005, 04:54
|- - xaros2000   Optimus,sorry for being late in my reply... it hap...   Sep 23 2005, 11:05
- - yourtallness   @xaros2000: Ti xamparia man? Welcome sto forum...   Sep 22 2005, 22:45
- - jetpower   QUOTE "Error starting external program specif...   Sep 23 2005, 10:39
- - ominiverdi   Hi, Menc looks very nice... but, emh, can you uplo...   Sep 23 2005, 12:50
|- - optimus   I've released a new PowerPack with MEnc 0.2.6,...   Sep 23 2005, 16:02
- - ominiverdi   Not work under Windows 98?   Sep 23 2005, 17:42
|- - optimus   QUOTE (ominiverdi @ Sep 24 2005, 12:42 AM)Not...   Sep 23 2005, 17:58
|- - ominiverdi   QUOTE (optimus @ Sep 23 2005, 08:58 AM)QUOTE ...   Sep 23 2005, 19:40
- - yourtallness   Still no video encoding with version 2.6...   Sep 23 2005, 18:01
|- - optimus   QUOTE (yourtallness @ Sep 24 2005, 01:01 AM)S...   Sep 23 2005, 18:04
- - xaros2000   Well,here's the situation...testin' done w...   Sep 23 2005, 19:07
|- - optimus   QUOTE (xaros2000 @ Sep 24 2005, 02:07 AM)1)Tr...   Sep 24 2005, 02:11
|- - optimus   I've made some modifications. Please try this...   Sep 24 2005, 02:40
- - yourtallness   Well, as I said, I'm trying to transcode a vob...   Sep 23 2005, 19:09
|- - optimus   QUOTE (yourtallness @ Sep 24 2005, 02:09 AM)W...   Sep 24 2005, 02:07
- - yourtallness   Is it by any chance unable to locate xvid?   Sep 23 2005, 19:13
|- - optimus   QUOTE (yourtallness @ Sep 24 2005, 02:13 AM)I...   Sep 24 2005, 02:13
- - xaros2000   Just tried MEnc 0.26-build 11:no luck,either with ...   Sep 24 2005, 03:42
|- - optimus   The annoying mencoder path bug is finally fixed, a...   Sep 24 2005, 04:11
- - jetpower   Great news! Tested - no problems with running...   Sep 24 2005, 11:26
|- - optimus   QUOTE (jetpower @ Sep 24 2005, 06:26 PM)Could...   Sep 24 2005, 16:48
- - yourtallness   Yep, works now. Thanx optimus!   Sep 24 2005, 12:00
- - xaros2000   1)...just woke up(oh boy,it's noon!)... ME...   Sep 24 2005, 14:12
|- - optimus   QUOTE (xaros2000 @ Sep 24 2005, 09:12 PM)I tr...   Sep 24 2005, 16:54
- - jetpower   QUOTE Could you also make MPEG-2 encoding work? It...   Sep 25 2005, 22:08
|- - optimus   QUOTE QUOTE I remember I have built mplayer with O...   Sep 26 2005, 03:46
|- - optimus   0.2.6 Build 38 released, with support of MPEG1/2 e...   Sep 26 2005, 09:00
|- - optimus   0.2.6 build 41 released, with an interesting funct...   Sep 28 2005, 06:34
- - yourtallness   How about bundling Menc with the latest popular LA...   Sep 28 2005, 14:05
- - Mr_Rabid_Teddybear   And might I suggest the aoTuVb4-libVorbis1.1.1-mer...   Sep 28 2005, 14:43
|- - optimus   Released MEnc 0.2.7 PowerPack, bundled with MEnc 0...   Sep 28 2005, 17:20
- - yourtallness   Nice, but are you sure you want to go for LAME 3.9...   Sep 28 2005, 19:48
|- - optimus   QUOTE (yourtallness @ Sep 29 2005, 02:48 AM)N...   Sep 29 2005, 03:30
|- - yourtallness   QUOTE (optimus @ Sep 28 2005, 06:30 PM)QUOTE ...   Sep 29 2005, 12:22
- - noisehole   nice work! but 2 minor problems: winamp input...   Sep 28 2005, 21:38
|- - optimus   QUOTE (noisehole @ Sep 29 2005, 04:38 AM)nice...   Sep 29 2005, 03:23
|- - noisehole   QUOTE (optimus @ Sep 29 2005, 04:23 AM)This i...   Sep 29 2005, 09:16
|- - optimus   QUOTE (noisehole @ Sep 29 2005, 04:16 PM)redo...   Sep 30 2005, 03:13
- - jetpower   QUOTE Nice, but are you sure you want to go for LA...   Sep 29 2005, 16:04
- - yourtallness   QUOTE (jetpower @ Sep 29 2005, 07:04 AM)QUOTE...   Sep 29 2005, 16:35
8 Pages V   1 2 3 > » 


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th April 2014 - 03:10