High Res. iPod/iPhone videos from Mediacoder Full edition

Share with other users your experience in using MediaCoder.
Vboy
Amateur
Amateur
Posts: 46
Joined: Sat Dec 22, 2007 12:17 pm

High Res. iPod/iPhone videos from Mediacoder Full edition

Post by Vboy » Wed Mar 26, 2008 11:14 pm

The basic requirements:-

* H264 level 30
* NO b-frames
* NO Cabac
* H264 video must contain a SAR.
* A specific uuid atom must be added after the avcC atom.


Video max res: 640x480 @ 30fps
Video max bit : 1.5 Mbps (1500 Kbps)
Audio max bit : 192 Kbps ( AAC-LC)

Video Settings:-

Code: Select all

[1] ".\codecs\x264.exe" "$(SourceFile)" --quiet --no-psnr --no-ssim --keyint 250 --min-keyint 25 --level 30 --vbv-maxrate 1500 --vbv-bufsize 2000 --me umh --merange 16  --no-fast-pskip --non-deterministic --sar 1:1 --ref 1 --subme 6 --bframes 0 --no-cabac --trellis 2 --direct auto --bitrate $(VideoBitrate) --qcomp 0.6 --vbv-bufsize 2000 --threads auto --stats "$(PassLogFile)" --pass 1 -o NUL

[2] ".\codecs\x264.exe" "$(SourceFile)" --quiet --no-psnr --no-ssim --keyint 250 --min-keyint 25 --level 30 --vbv-maxrate 1500 --vbv-bufsize 2000 --me umh --merange 16  --no-fast-pskip --non-deterministic --sar 1:1 --ref 1 --subme 6 --bframes 0 --no-cabac --trellis 2 --direct auto --bitrate $(VideoBitrate) --qcomp 0.6 --vbv-bufsize 2000 --threads auto --stats "$(PassLogFile)" --pass 2 -o "$(DestFile)"
Audio Settings :-

Code: Select all

".\\codecs\\neroAacEnc.exe" -br 128000 -lc -ignorelength -if - -of "$(DestFile)"
XML settings :-

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<MediaCoderPrefs><node key="overall"><node key="generic"/><node key="ui"><node key="mode"><value>Advanced</value></node><node key="rss"><value>Always</value></node><node key="expertView"><value>Audio Command</value></node><node key="param"><value>615,535,6,12</value></node><node key="noWelcome"><value>4077</value></node><node key="splash"><value>4</value></node></node><node key="task"><node key="destdir"><value>C:\Output\</value></node><node key="keepUnfinished"><value>true</value></node><node key="testPhase"><value>Disabled</value></node></node><node key="output"/><node key="tagging"/><node key="subtitle"/><node key="decoding"/><node key="audio"><node key="encoder"><value>Nero Encoder</value></node></node><node key="video"><node key="mode"><value>Two-Pass</value></node><node key="bitrate"><value>750</value></node></node><node key="container"/><node key="mplayer"/><node key="preview"><node key="render"><value>false</value></node></node><node key="plugin"/><node key="presets"/><node key="httpd"/><node key="server"/></node><node key="audiosrc"><node key="mplayer"/><node key="winamp"/><node key="lame"/><node key="wavefile"/></node><node key="audioenc"><node key="lame"/><node key="vorbis"/><node key="faac"/><node key="aacplus"/><node key="nero"><node key="format"><value>LC-AAC</value></node><node key="mode"><value>Target Bitrate</value></node><node key="bitrate"><value>128</value></node></node><node key="helix"/><node key="helixmp3"/><node key="fraunhofer"/><node key="speex"/><node key="musepack"/><node key="ffmpeg"/><node key="aac3gpp"/><node key="amr"/><node key="wavpack"/><node key="flac"/><node key="ape"/><node key="tta"/><node key="als"/><node key="ofr"/><node key="pcm"/><node key="cli"/></node><node key="videosrc"><node key="mplayer"/><node key="avisynth"/></node><node key="videoenc"><node key="xvid"/><node key="x264"><node key="level"><value>30</value></node><node key="bframes"><value>0</value></node><node key="b_adapt"><value>false</value></node><node key="cabac"><value>false</value></node><node key="vbv_maxrate"><value>1500</value></node><node key="vbv_bufsize"><value>2000</value></node><node key="weight_b"><value>false</value></node><node key="me"><value>Slow</value></node><node key="subq"><value>6</value></node><node key="bime"><value>false</value></node><node key="trellis"><value>Enabled during all mode decisions</value></node><node key="fast_pskip"><value>false</value></node><node key="turbo"><value>Disabled</value></node><node key="options"><value>--sar 1:1</value></node></node><node key="mencoder"/><node key="ffmpeg"/><node key="theora"/><node key="dirac"/><node key="amv"/><node key="vfw"/><node key="dumper"/><node key="wm"/><node key="remote"/></node><node key="container"><node key="mp4box"/><node key="matroska"/><node key="mencoder"/><node key="mp4creator"/><node key="atom"/><node key="pmp"/><node key="vcd"/></node><node key="audiofilter"><node key="resample"/><node key="equalizer"/><node key="channels"/><node key="volume"/><node key="surround"/><node key="compressor"/><node key="delay"/><node key="extraStereo"/><node key="extra"/><node key="shibatch"/></node><node key="videofilter"><node key="scale"/><node key="crop"/><node key="expand"/><node key="frame"><node key="enabled"><value>false</value></node></node><node key="eq"/><node key="postproc"/><node key="rotate"/><node key="itf"/><node key="denoise"/><node key="unsharp"/><node key="delogo"/><node key="screenshot"/><node key="thumb"/><node key="extra"/></node></MediaCoderPrefs>


Here is the Mp4muxer i used Mp4Box <---Nic's MP4Box Build

This Mp4box adds that specific uuid atom.

Mp4Box Syntax : MP4Box -add in.mp4 out.mp4

Tip: You can backup the original Mp4Box.exe file and replace it with the the one i provided, in this way muxing will take place on the fly.


With higher bitrates i can watch near Dvd quality videos on TV with my iPod (Tv-Out) :D

This tip is for those users for whom the iPod/iPhone Edition is not working or to make Mediacoder Full Edition the universal transcoder.
Last edited by Vboy on Thu Mar 27, 2008 5:57 am, edited 6 times in total.

B!ink
Expert
Expert
Posts: 1275
Joined: Sun Nov 26, 2006 9:08 am

Post by B!ink » Wed Mar 26, 2008 11:46 pm

Changed the link Vboy. Hope stanely sees this.

Vboy
Amateur
Amateur
Posts: 46
Joined: Sat Dec 22, 2007 12:17 pm

Post by Vboy » Wed Mar 26, 2008 11:51 pm

If possible add this file to Mediacoder Full Edition Stanley :)

User avatar
SirAuron
Expert
Expert
Posts: 798
Joined: Thu Feb 08, 2007 1:39 am
Location: Germany

Post by SirAuron » Thu Mar 27, 2008 2:31 am

I think this deserves a sticky as there are a lot of people using an Iphone/Itouch/Ipod.

Stickied
MediaCoder settings:

x264 (backend/source: mencoder, fps: 23,976, Fabio Sonatti's settings) + nero aac 64 in matroska

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Post by stanley » Thu Mar 27, 2008 4:54 am

Thanks for the guide vboy. Actually Nic's MP4Box is shipped with MediaCoder iPhone edition.
When things work together, things work.

pitpit
Beginner
Beginner
Posts: 3
Joined: Tue Apr 01, 2008 3:26 am

Post by pitpit » Tue Apr 01, 2008 3:43 am

Thanks a lot but I don't know how to use these codes(script) How can I add this script to mediacoder? Help pls :(

User avatar
SirAuron
Expert
Expert
Posts: 798
Joined: Thu Feb 08, 2007 1:39 am
Location: Germany

Post by SirAuron » Tue Apr 01, 2008 5:20 am

It's a preset. You have to copy and paste it into a textfile and rename it to .xml and then you can use the settings via File -> Load Preset.
MediaCoder settings:

x264 (backend/source: mencoder, fps: 23,976, Fabio Sonatti's settings) + nero aac 64 in matroska

B!ink
Expert
Expert
Posts: 1275
Joined: Sun Nov 26, 2006 9:08 am

Post by B!ink » Tue Apr 01, 2008 5:21 am

pitpit wrote:Thanks a lot but I don't know how to use these codes(script) How can I add this script to mediacoder? Help pls :(
Open notepad under Windows OS. Copy the XML settings code you see in Vboy's first post and paste into notepad. When you're done, go to File ---> Save As. Give the document a name and put xml extension after it's name.

Example:
Apple-iPod-iPhone-H264-AAC.xml


Change save as type to all files and click save button. Remember where you saved it.

Run MediaCoder. Go to File --> Load Preset. Locate document you created and click open.

pitpit
Beginner
Beginner
Posts: 3
Joined: Tue Apr 01, 2008 3:26 am

Post by pitpit » Wed Apr 02, 2008 8:59 am

Thank you very much for your interest. I 'll try it :)

XIII Heartless
Amateur
Amateur
Posts: 22
Joined: Sat Jul 26, 2008 9:10 am
Location: SATown, TX

Post by XIII Heartless » Wed Aug 06, 2008 5:23 am

What exactly is a textfile? How do you start one?

Post Reply