Author Topic: Your Best Video Settings For Sl-c3100?  (Read 3729 times)

vrejakti

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://www.animecharactersdatabase.com
Your Best Video Settings For Sl-c3100?
« on: March 22, 2006, 08:53:28 pm »
Hey all, I'm still working out my ideal encode/playback setting for my SL-C3100, but what I've come up with is already awesome, and I figure this is a good topic to start for anyone wanting to turn their Zaurus into an iPod Video killer. ;-)

Under pdaXrom, I use this script for playback:

hardwareaccel.sh
Code: [Select]
mplayer -ac mad -ao oss -framedrop -really-quiet -fs -vo bvdd $1Usage ./hardwareaccel.sh videofile

Credit to OpenZaurus for getting me started. The important thing here is the "-vo bvdd", if you're looking at a console "top" command you'll see 0% CPU usage for the X server, whereas with any other video out (-vo) option mplayer and X will be fighting for CPU. So, this enable hardware acceleration, meaning bigger video same quality.

Next, encoding:

mem_448x336.sh
Code: [Select]
#!/bin/sh

OUTFILE=$1
echo "Outputting to $OUTFILE"
shift

mencoder "$@" -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=300:vpass=1 -lameopts cbr:br=64:mode=3 -vf scale=448:336 -oac mp3lame -o $OUTFILE
mencoder "$@" -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=300:vpass=2 -lameopts cbr:br=64:mode=3 -vf scale=448:336 -oac mp3lame -o $OUTFILE
NOTE: Each mencoder command is ALL ONE LINE.
Usage
./mem_448x336.sh outputfile inputfile

Credit again to OpenZaurus for getting me started. I find 448x336 res (4:3 ratio) is nice, and full frame rates with 30% CPU to spare. Anyone care to offer their own tweaks? I'll be spending lots of time improving the above scrips - will post updated versions later.

mikesapunk

  • Newbie
  • *
  • Posts: 5
    • View Profile
Your Best Video Settings For Sl-c3100?
« Reply #1 on: March 24, 2006, 11:29:45 am »
Thanks for the advice, vrejakti!

I've been a little disappointed with pdaxrom's MPlayer playback capabilities. I downloaded the IceAge2 Divx5 (640x344) trailer from pocketmovies.net the other day. It played beautifully (and in full-screen) under Cacko ROM/Kino2, but pdaxrom's MPlayer completely choked on it, no matter what settings I used. I was stuck playing the nasty old 320x240 MPEG version.

So since then I've been looking for someone with a CXX00 Z to post optimal settings for both encoding AND playback.

I'll test these out on my C1000 and let you know how well they work.

later,
-Mike

silencer51

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://tchalikias.blogspot.com
Your Best Video Settings For Sl-c3100?
« Reply #2 on: March 25, 2006, 12:19:17 pm »
Many people, including me, use the mplayer version from the Cacko ROM. Its  much faster than the one in the pdaXrom feed... ;-)
Zaurus SL-5500 with:
128MB CF Card                                    
128MB SD Card
Symbol WiFi CF Card (working, sorta... overheats and shuts down!)
OZ 3.5.4 & GPE

Zaurus SL-C3100 with:
pdaXrom 1.1.0beta3 & XFCE4, /dev/hda1 256MB swap, /dev/hda2 512MB ext3, /dev/hda3 3328MB FAT32 for stuff
D-Link DCF-660 WiFi CF Card
1GB SD Card
128MB SD Card
128MB CF Card (for flashing)
USB Host Cable

& a Sony VAIO PCG-C1XD Picturebook with accessories...

[img]http://img58.imageshack.us/img58/7319/usbar21mw.gif\" border=\"0\" class=\"linked-sig-image\" /]

vrejakti

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://www.animecharactersdatabase.com
Your Best Video Settings For Sl-c3100?
« Reply #3 on: March 31, 2006, 06:15:26 pm »
As promised, here's a nice update for encoding anime and other small AVI files for playback on the Zaurus. This script sports easily accepting new resolutions on the commandline. Simply save it to your PC, then run it with:

For my default 4:3 resolution use:
./script INPUT.avi OUTPUT.avi
 
Enter your own resolution:
./script INPUT.avi OUTPUT.avi WIDTH HEIGHT

IE. ./script '[Eclipse]Cool Anime Episode [7u547]Number 3.avi' CA_ep3.avi 563 317

Hint: Use single quotes around really weird file names! Bash auto completion, "Tab" is your friend.

I'll be posting this on the Zaurus Wiki in a bit. Enjoy early!

Code: [Select]
#!/bin/sh

# Encoding anime and other small AVI
# files for playback on the Zaurus.
# Script by Vrejakti
# http://kane.servebeer.com

INFILE=$1
OUTFILE=$2
WIDTH=448
HEIGHT=336

if [ -n "$3" ]
then WIDTH=$3
fi
if [ -n "$4" ]
then HEIGHT=$4
fi

echo "Default resolution is: 448x336"
echo "Recommended 4:3  resolution is: 448x336"
echo "Recommended 16:9 resolution is: 563x317"
echo
echo "   Input: $1"
echo "  Output: $2"
echo "   Width: $WIDTH"
echo "  Height: $HEIGHT"
echo
echo "Is this correct?"

echo "Type \"8\" to begin encoding or \"NOT 8\" to exit: "
read answer
if [[ $answer == 8 ]]

then
mencoder "$INFILE" -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=300:vpass=1 -lameopts cbr:br=64:mode=3 -vf scale=$WIDTH:$HEIGHT -oac mp3lame -o $OUTFILE
mencoder "$INFILE" -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=300:vpass=2 -lameopts cbr:br=64:mode=3 -vf scale=$WIDTH:$HEIGHT -oac mp3lame -o $OUTFILE
echo "Converted file is $OUTFILE"
fi

if [ $answer != "8" ]
then echo "Encoding canceled!!!"
fi

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Your Best Video Settings For Sl-c3100?
« Reply #4 on: March 31, 2006, 06:18:22 pm »
Quote
Many people, including me, use the mplayer version from the Cacko ROM. Its  much faster than the one in the pdaXrom feed... ;-)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120214\"][{POST_SNAPBACK}][/a][/div]
How do you install it? As simple as installing the IPK?
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Your Best Video Settings For Sl-c3100?
« Reply #5 on: March 31, 2006, 10:15:03 pm »
Quote
How do you install it? As simple as installing the IPK?
Almost. According to  this post the ipk installs all the files into /opt/QtPalmtop. As this is not in your $PATH you may want to create a suitable symlink:
Code: [Select]
ln -s /opt/QtPalmtop/bin/mplayer /usr/bin
-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

vimes

  • Newbie
  • *
  • Posts: 27
    • View Profile
    • http://www.morpork.org/
Your Best Video Settings For Sl-c3100?
« Reply #6 on: April 01, 2006, 05:56:52 am »
Quote
Quote
How do you install it? As simple as installing the IPK?
Almost. According to  this post the ipk installs all the files into /opt/QtPalmtop. As this is not in your $PATH you may want to create a suitable symlink:
Code: [Select]
ln -s /opt/QtPalmtop/bin/mplayer /usr/bin
-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121332\"][{POST_SNAPBACK}][/a][/div]

Just for clarity's sake, which mplayer version are you using from the cacko feed (bvdd-iwmmxt, bvvd...) ?
Might be handy for other pdaxrom users if we to post a link to it here.

Thanks
C3000 - Debian EABI - Kernel 2.6.23 of Angstrom

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Your Best Video Settings For Sl-c3100?
« Reply #7 on: April 01, 2006, 06:17:14 am »
Quote
Quote
Quote
How do you install it? As simple as installing the IPK?
Almost. According to  this post the ipk installs all the files into /opt/QtPalmtop. As this is not in your $PATH you may want to create a suitable symlink:
Code: [Select]
ln -s /opt/QtPalmtop/bin/mplayer /usr/bin
-- cheers
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Just for clarity's sake, which mplayer version are you using from the cacko feed (bvdd-iwmmxt, bvvd...) ?
Might be handy for other pdaxrom users if we to post a link to it here.

Thanks
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121355\"][{POST_SNAPBACK}][/a][/div]

are you sure it is faster?

the bvdd and iwmmxt support is what makes the mplayer that is on the cacko feed fast.  it's actually the one that atty compiled.

now the new one in the pdaxrom feed also has bvdd and iwmmxt support compiled in and if you look at it closely, it uses the sources from atty.

someone should compare both version side by side  

latest from pdaXrom feed:
[a href=\"http://mail.pdaxrom.org/1.1.0beta2/Zaurus-C1000-C3100/feed/mplayer_1.0pre7try2_armv5tel.ipk]http://mail.pdaxrom.org/1.1.0beta2/Zaurus-...y2_armv5tel.ipk[/url]

cacko feed:
http://web.mol.ru/~zaurus/feed/mplayer-bvd...1.1.5-1_arm.ipk

here is the one from the cacko feed repackaged in pdaXrom format
http://zaurus.daemons.gr/menaie/pdaxrom/fe...-1_armv5tel.ipk
i renamed the binary mplayer2 so you can install both and compare
« Last Edit: April 01, 2006, 06:18:32 am by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

vimes

  • Newbie
  • *
  • Posts: 27
    • View Profile
    • http://www.morpork.org/
Your Best Video Settings For Sl-c3100?
« Reply #8 on: April 01, 2006, 06:20:21 am »
You're *so* damned good Meanie  
C3000 - Debian EABI - Kernel 2.6.23 of Angstrom