Bathrone
11th September 2008, 01:32
Gday folks :) Im trying to come up with a high quality Iphone 3G profile, without regard for any other apple devices, taking the most the Iphone can handle.
I see the Iphone 3G is supposed to support:
Baseline Profile Level 3.0
10 MBit/s, 10 MBits buffer
720x480 at 30fps (6 stored)
720x576 at 25fps (5 stored)
Restrictions:
No B-slices
No CABAC
No pixel aspect ratio support
No interlaced
For iTunes sync, average bitrate over whole file must be < 5 MBit/s (iPod classic/nano, not touch/iphone
I have been studying the parameters that x.264 allows. As a test piece Im using the original pngs from Big Buck Bunny - Apricot movie. I have come up with the following:
mencoder mf://*.png -mf w=1920:h=1080:fps=24:type=png \
-vf scale=720:400,harddup -of rawvideo -ovc x264 -o test1.264 -ofps 24 \
-x264encopts level=30:no-cabac:bframes=0:trellis=0:ref=5:mixed-refs:no-fast-pskip:bime:vbv-maxrate=10000:\
vbv-bufsize=10000:me=umh:merange=24:subme=7:partitions=all:direct=auto:threads=auto:deblock:keyint=240:bitrate=5000:\
pass=1 -nosound -endpos 100
mencoder mf://*.png -mf w=1920:h=1080:fps=24:type=png \
-vf scale=720:400,harddup -of rawvideo -ovc x264 -o test1.264 -ofps 24 \
-x264encopts level=30:no-cabac:bframes=0:trellis=0:ref=5:mixed-refs:no-fast-pskip:bime:vbv-maxrate=10000:\
vbv-bufsize=10000:me=umh:merange=24:subme=7:partitions=all:direct=auto:threads=auto:deblock:keyint=240:bitrate=5000:\
pass=2 -nosound -endpos 100
How might I improve this? I am not using the exhaustive ME method due to the time it takes, but in general I dont care about encoding time for any sane level of time it may take.
I see the Iphone 3G is supposed to support:
Baseline Profile Level 3.0
10 MBit/s, 10 MBits buffer
720x480 at 30fps (6 stored)
720x576 at 25fps (5 stored)
Restrictions:
No B-slices
No CABAC
No pixel aspect ratio support
No interlaced
For iTunes sync, average bitrate over whole file must be < 5 MBit/s (iPod classic/nano, not touch/iphone
I have been studying the parameters that x.264 allows. As a test piece Im using the original pngs from Big Buck Bunny - Apricot movie. I have come up with the following:
mencoder mf://*.png -mf w=1920:h=1080:fps=24:type=png \
-vf scale=720:400,harddup -of rawvideo -ovc x264 -o test1.264 -ofps 24 \
-x264encopts level=30:no-cabac:bframes=0:trellis=0:ref=5:mixed-refs:no-fast-pskip:bime:vbv-maxrate=10000:\
vbv-bufsize=10000:me=umh:merange=24:subme=7:partitions=all:direct=auto:threads=auto:deblock:keyint=240:bitrate=5000:\
pass=1 -nosound -endpos 100
mencoder mf://*.png -mf w=1920:h=1080:fps=24:type=png \
-vf scale=720:400,harddup -of rawvideo -ovc x264 -o test1.264 -ofps 24 \
-x264encopts level=30:no-cabac:bframes=0:trellis=0:ref=5:mixed-refs:no-fast-pskip:bime:vbv-maxrate=10000:\
vbv-bufsize=10000:me=umh:merange=24:subme=7:partitions=all:direct=auto:threads=auto:deblock:keyint=240:bitrate=5000:\
pass=2 -nosound -endpos 100
How might I improve this? I am not using the exhaustive ME method due to the time it takes, but in general I dont care about encoding time for any sane level of time it may take.