Author Topic: Maximum Resolution / Framerate Possible?  (Read 5243 times)

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
Maximum Resolution / Framerate Possible?
« 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...
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Maximum Resolution / Framerate Possible?
« Reply #1 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
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
Maximum Resolution / Framerate Possible?
« Reply #2 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.
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)

tirant

  • Newbie
  • *
  • Posts: 46
    • View Profile
Maximum Resolution / Framerate Possible?
« Reply #3 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.
* Sharp Zaurus C760
* 1 GB + 256MB SD Kingston
* Symbol CF Wifi
* Pielframa Leather Case

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Maximum Resolution / Framerate Possible?
« Reply #4 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.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Maximum Resolution / Framerate Possible?
« Reply #5 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.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Maximum Resolution / Framerate Possible?
« Reply #6 on: April 15, 2006, 06:58:00 pm »
320x240 30fps 160kbps audio.  Of course its not pdaxrom.
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software