OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => Cxx0 Hardware => Topic started by: omega on January 10, 2006, 01:24:36 pm

Title: Maximum Resolution / Framerate Possible?
Post by: omega on January 10, 2006, 01:24:36 pm
What is the best resolution / framerate / codec solution for playing videos that people have been able to do on these Cxx0 machines?

particularly interested in pdaxrom solutions...
Title: Maximum Resolution / Framerate Possible?
Post by: speculatrix on January 26, 2006, 06:25:16 pm
Quote
What is the best resolution / framerate / codec solution for playing videos that people have been able to do on these Cxx0 machines?

particularly interested in pdaxrom solutions...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110309\"][{POST_SNAPBACK}][/a][/div]

in cacko, I've managed to get 15fps smoothly with 640x480 (widescreen video), with 128mbps mp3, playing back on mplayer.

here's a script I was using to try it out; as I tried out new things I copied the command to keep the old one on hand.

#!/bin/bash

INFILE="$1"
OUTFILE="$2"
echo "encoding $1 outputting to $2"
set -x

#mencoder -ofps 8 "$1" -o "$2" "${@:3}" -lavcopts
#vhq:vcodec=mpeg4:vbitrate=40:vrc_maxrate=70 -ovc lavc -lavcopts
#vbitrate=150 -oac mp3lame -lameopts abr:br=32 -zoom -vf #scale=320:-3,expand=-1:-1:-1:-1:1,rotate=1 -sws 9 -af resa
#mple=22050 -srate 22050

#mencoder "$INFILE" -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=150:vpass=2 -lameopts abr:br=64:mode=3 -vop scale=64
0:480 -oac mp3lame -ofps 15 -o "$OUTFILE"

# works but no sound on x86 playback nor zaurus
#ffmpeg -i $INFILE -v 0 \
#       -deinterlace -vcodec mpeg4 -4mv -b 224 -r 15 -aspect 16:9 -s 640x400 -hq \
#       -acodec vorbis -ab 64 -ac 1 $OUTFILE

# works but blocky
#ffmpeg -i $INFILE -v 0 \
#       -deinterlace -vcodec mpeg4 -4mv -b 224 -r 15 -aspect 16:9 -s 640x400 -hq \
#       -acodec mp3 -ab 64 -ac 1 $OUTFILE

# not too bad
#ffmpeg -i $INFILE -v 0 \
#       -deinterlace -vcodec mpeg4 -4mv -b 256 -r 15 -aspect 16:9 -s 640x360 -hq \
#       -acodec mp3 -ab 64 -ac 1 $OUTFILE

AV=384
AB=64
# 50% horiz scaling, 16:9, top quality?
ffmpeg -i $INFILE -v 0 \
        -deinterlace -vcodec mpeg4 -4mv -b $AV -r 15 -aspect 16:9 -s 640x360 -hq \
        -acodec mp3 -ab $AB -ac 1 $OUTFILE_mp4-$AV_mp3-$AB.avi
Title: Maximum Resolution / Framerate Possible?
Post by: xamindar on March 04, 2006, 01:59:11 pm
Is it possible to encode with ogg audio for the mplayer that kino2 uses?  I heard that it is less cpu intensive.  The reason I ask is because I tried playing an old video that I had encoded long ago for my 5600 on my 3100 but it would not play on the 3100.  It was encoded i think divx with ogg audio.  But it could just be a damaged file as I have had it for so long.
Title: Maximum Resolution / Framerate Possible?
Post by: tirant on March 13, 2006, 08:54:53 am
ATM just 320x240 (15fps) on Cacko 1.23 (c760).

I have been using PocketPCVideo and Virtualdub. Now trying with mencoder and mplayer from command line. Will post my results later.
Title: Maximum Resolution / Framerate Possible?
Post by: guylhem on April 14, 2006, 07:53:16 am
speculatrix, do you use mplayer+bvdd for the playback?

For the encoding, I suggest you prerotate the video and try to change the audio bitrate from 22050 to 44100 or even 48000. As stupid as it may seem, some Zauruses (can't remember which) can't easily convert the samples, and that will eat cpu time.

However if you provide them with the samplerate best suited for the audio, you'll save time. I also suggest you try to overclock.
Title: Maximum Resolution / Framerate Possible?
Post by: speculatrix on April 15, 2006, 05:56:14 pm
Quote
speculatrix, do you use mplayer+bvdd for the playback?

For the encoding, I suggest you prerotate the video and try to change the audio bitrate from 22050 to 44100 or even 48000. As stupid as it may seem, some Zauruses (can't remember which) can't easily convert the samples, and that will eat cpu time.

However if you provide them with the samplerate best suited for the audio, you'll save time. I also suggest you try to overclock.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123167\"][{POST_SNAPBACK}][/a][/div]

I was using the latest cacko-feed mplayer with w100 drivers, on my SL-C860. Yes, I found that the wrong audio sampling rate made a huge difference! Also, I found overclocking was a must...

actually, I remember I was using 640x400 (16:9), which helped quite a bit, I think it was pretty much the limit; I'm sure mplayer would have been dropped frames; complex movement would end up blocky too.

when I get a chance I'll make a sample movie available for download and post the details for the encoding.

I found it difficult to get the precise encoding control using windows media toolkit.
Title: Maximum Resolution / Framerate Possible?
Post by: Cresho on April 15, 2006, 06:58:00 pm
320x240 30fps 160kbps audio.  Of course its not pdaxrom.