[MEncoder-users] Ipod/Iphone...
Christian Ebert
blacktrash at gmx.net
Wed May 28 11:30:09 CEST 2008
* John Doe on Wednesday, May 28, 2008 at 02:21:51 -0700
> I've been trying several mencoder parameters I found on the net
> to encode with h264 for the Ipod/Iphone mainly (and optionaly
> the PSP), but none seems to work fine...
>
> $MENCODER "$INPUT" -o /dev/null -demuxer 35 -of lavf -lavfopts format=mp4 -oac faac -faacopts mpeg=4:object=2:raw:br=${ABITRATE} -srate ${ARATE} -ovc x264 -x264encopts bitrate=500:vbv_maxrate=750:vbv_bufsize=1000:keyint=60:me=umh:trellis=1:global_header:nocabac:level_idc=30:pass=1 -sws 2 -endpos 30 -vf scale=320:240,harddup -ofps 30000/1001 -info name="$NAME"
>
> $MENCODER "$INPUT" -o "$OUTPUT2" -demuxer 35 -of lavf -lavfopts format=mp4 -oac faac -faacopts mpeg=4:object=2:raw:br=${ABITRATE} -srate ${ARATE} -ovc x264 -x264encopts bitrate=500:vbv_maxrate=750:vbv_bufsize=1000:keyint=60:me=umh:trellis=1:global_header:nocabac:level_idc=30:pass=2 -sws 2 -endpos 30 -vf scale=320:240,harddup -ofps 30000/1001 -info name="$NAME"
>
> The video starts playing fine but the sound just stops after 3 seconds.
> I also tried with level_idc=13.
> Any idea?
> What are the mandatory parameters?
> Only global_header, nocabac and level_idc?
> Are there any parameters that would output a video compatible with both Ipod/Iphone and PSP?
I do my iPod encoding with ffmpeg and *have* to pass "-f ipod"
for the video to be accepted by the ipod -- otherwise it works
only with iTunes.
So the corresponding setting for mencoder might be
"-lavfopts format=ipod".
c
--
Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
_F R E E_ _V I D E O S_ -->> http://www.blacktrash.org/underdogma/
More information about the MEncoder-users
mailing list