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?
Thanks,
JD
_______________________________________________
MEncoder-users mailing list
MEncoder-users@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
No comments:
Post a Comment