Jump to content

slow movies? how to encode better?


Recommended Posts

Guest gruad23
Posted

High .. I like to play movies on my ZTE Blade but however i try to encode them, they are either very slow or there is no picture at all. I use the android 2.2 alpha4 from paul and my quadrant benchmark is 897 which is not too low.

For playing movies i use rock player or the standard-movieplayer that comes with android.

For encoding the movies I use mencoder on linux and this is what I tried so far:

mencoder "$1" -o "$1.mp4"  -vf dsize=800:580:2,scale=-8:-8,harddup   -oac faac -faacopts mpeg=4:object=2:raw:br=128   -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:subq=5:frameref=6:partitions=all:trellis=1:chroma_me:me=umh


mencoder "$1" -o "/data/$1.mp4"  -vf dsize=800:480:2,harddup   -oac faac -faacopts mpeg=4:object=2:raw:br=96   -of lavf -lavfopts format=mp4 -ovc x264 -sws 9   -x264encopts nocabac:bitrate=512


mencoder "$1" -o "/data/$1.mp4"  -vf dsize=800:480:2,harddup   -oac faac -faacopts mpeg=4:object=2:raw:br=96   -of lavf -lavfopts format=mp4 -ovc x264 -sws 9   -x264encopts nocabac:bitrate=512


mencoder  -oac mp3lame -ovc lavc -ofps 25 -lavcopts vcodec=mpeg4:vbitrate=400:vhq:keyint=15:acodec=mp3lame:abitrate=96  -o "/data/$1-mp4" "$1"


mencoder "$1" -o "/data/$1.mp4"  -oac faac -faacopts mpeg=4:object=2:raw:br=48   -of lavf -lavfopts format=mp4 -ovc x264 -sws 9   -x264encopts nocabac:bitrate=512


mencoder "$1" -o "/data/$1.v5.mp4"  -oac faac -faacopts mpeg=4:object=2:raw:br=48   -of lavf -lavfopts format=mp4 -ovc xvid   -xvidencopts bitrate=512


ffmpeg -i "$1" -s qcif -vcodec h263 -b 200k -acodec libfaac -ab 64k -y "/data/$1.V6.3gp"


mencoder "$1" -ovc lavc -lavcopts vcodec=msmpeg4v2 -oac mp3lame -lameopts vbr=3 -o "/data/$1.V7.3gp"

What is your experience with movies on the Blade and how to you encode them?

thnx,

p

Guest unholyimp
Posted

Hiya

I Have a zte blade and have had no problems with movies. I'm running the same rom as you and use the default player.

I reckon the problem is your codec.

I use handbrake to rip the movie and I use the preset iPhone format on handbrake this uses the codec h.264

and this plays fine

Hope this is of some help

Guest Phoenix Silver
Posted
High .. I like to play movies on my ZTE Blade but however i try to encode them, they are either very slow or there is no picture at all. I use the android 2.2 alpha4 from paul and my quadrant benchmark is 897 which is not too low.

For playing movies i use rock player or the standard-movieplayer that comes with android.

For encoding the movies I use mencoder on linux and this is what I tried so far:

mencoder "$1" -o "$1.mp4"  -vf dsize=800:580:2,scale=-8:-8,harddup   -oac faac -faacopts mpeg=4:object=2:raw:br=128   -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:subq=5:frameref=6:partitions=all:trellis=1:chroma_me:me=umh


mencoder "$1" -o "/data/$1.mp4"  -vf dsize=800:480:2,harddup   -oac faac -faacopts mpeg=4:object=2:raw:br=96   -of lavf -lavfopts format=mp4 -ovc x264 -sws 9   -x264encopts nocabac:bitrate=512


mencoder "$1" -o "/data/$1.mp4"  -vf dsize=800:480:2,harddup   -oac faac -faacopts mpeg=4:object=2:raw:br=96   -of lavf -lavfopts format=mp4 -ovc x264 -sws 9   -x264encopts nocabac:bitrate=512


mencoder  -oac mp3lame -ovc lavc -ofps 25 -lavcopts vcodec=mpeg4:vbitrate=400:vhq:keyint=15:acodec=mp3lame:abitrate=96  -o "/data/$1-mp4" "$1"


mencoder "$1" -o "/data/$1.mp4"  -oac faac -faacopts mpeg=4:object=2:raw:br=48   -of lavf -lavfopts format=mp4 -ovc x264 -sws 9   -x264encopts nocabac:bitrate=512


mencoder "$1" -o "/data/$1.v5.mp4"  -oac faac -faacopts mpeg=4:object=2:raw:br=48   -of lavf -lavfopts format=mp4 -ovc xvid   -xvidencopts bitrate=512


ffmpeg -i "$1" -s qcif -vcodec h263 -b 200k -acodec libfaac -ab 64k -y "/data/$1.V6.3gp"


mencoder "$1" -ovc lavc -lavcopts vcodec=msmpeg4v2 -oac mp3lame -lameopts vbr=3 -o "/data/$1.V7.3gp"

What is your experience with movies on the Blade and how to you encode them?

thnx,

p

humm why do you want to encode ?

rock player play movies as it

Guest PeaNut_HU
Posted (edited)

Sorry, for doublepost... :(

Edited by PeaNut_HU
Guest PeaNut_HU
Posted (edited)

I use both rockplayer and yxplayer, one or the other works in most cases. I did not actually had to encode any movies yet, as the normal encoded movies (no HD resolution) play fine on my blade.

Also the new Froyo (Japanese Jellyfish) rom by kalt_kaffe with AHB overclocking might help on low framerates.

Edited by PeaNut_HU

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.