I found a way to encode to mp4 and h264 with mencodersharp.
Videoparameter: -vf dsize=16/9,scale=-10:-1,harddup -of lavf -lavfopts format=mp4 -ovc x264 -sws 9 -x264encopts nocabac:level_idc=30:bframes=0:bitrate=512:threads=auto:turbo=1:global_header:threads=auto
Audioparameter: -oac faac -faacopts mpeg=4:object=2:raw:br=128
This worked with an mpeg2ps stream as source.
See http://code.google.com/p/mencoder-sharp for mencodersharp
Videoparameter: -vf dsize=16/9,scale=-10:-1,harddup -of lavf -lavfopts format=mp4 -ovc x264 -sws 9 -x264encopts nocabac:level_idc=30:bframes=0:bitrate=512:threads=auto:turbo=1:global_header:threads=auto
Audioparameter: -oac faac -faacopts mpeg=4:object=2:raw:br=128
This worked with an mpeg2ps stream as source.
See http://code.google.com/p/mencoder-sharp for mencodersharp
Kommentare