OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

> Video Playback On Your Cxx00, The hard way
post Sep 13 2010, 10:50 AM
Post #1

Group: Members
Posts: 803
Joined: 30-March 04
From: California
Member No.: 2,368

Well seeing the dvd catalyst post inspired me to post my video experience with my c3100. Here is my way of doing it which makes stable, smooth, clear enough movies just about every time.
I use handbrake which is free so no need to spend any money at all. Handbrake is best ripping from DVDs. I also use a mencoder script ro convert anything else that handbrake doesn't like. I attached my handbrake profile below which includes my zaurus encoding info.
This encodes with settings:
640x480 resolution
600kbps (2-pass) video
96kbps audio (faac)
default video framerate (doesn't change it)

packages needed to get this playing smoothly:
kino2_0.4.3c_arm.ipk or QuasarMediaPlayer_0.96_r193_r31-2010-03-28.ipk for a player
mplayer-bvdd-iwmmxt_1.1.5-1_arm.ipk which has hardware acceleration with bvdd
bvdd_0.4.0-1_arm.ipk for the kernel module
libffmpeg_0.4.6_20030304_arm.ipk for the video codec (I think, been a while)
You also need a kernel that allows overclocking the cpu. Tetsus or eviljazz should work. I am using eviljazz's.
qtopia-combbatteryapplet_1.0.6_arm.ipk to overclock from an applet easily

The best results I have had is to overclock to the (520/260/130 Mhz) setting. Anything higher and it is more choppy and can lock up and anything lower and the framerate drops.
Load up kino2 or quasar. I find quasar better for playback control but they both work fine either way.
Quasar: In the quasar configuration have all the boxes checked under "MPlayer" section, my cache is set to 512 KiB. Also add "-noslices -noaspect" to the addtional options. Noslices really speeds up framrate and makes it play smooth. You can set frame drop to normal or hard. Mine is set to hard right now but occasionally you will come across a video that will crash mplayer on hard, in that case just set it back to normal.
Kino2: In kino2 preferences on the general tab check "enable cache" and set it to 512, and add "-noslices" to the "options for mplayer" section. On the Video tab, only check "Drop frames", "Enable Doublebuffering", Disable aspect ratio correction", and "Enable audio autosync". And on the audio tab do not check "Resample audio", it will slow it down a little. Other options are up to you. Another nice thing about kino2 is that it can overclock automaticly for you when you play a video so you don't have to do it manually.

Now encode your video with handbrake, copy it to your Z, and play it with kino2 OR quasar. Remember to overclock or it wont play smooth. Surprising that overclocking makes such a big difference but it does. You might be able to increase the video bitrate a little. I got some videos to play smoothly on up to 1000kbps settings but not all. (I think I will try re-encoding Avatar to a higher than 600kbps setting as that movie looks more blocky than others). The bandwith of the SD slot seems just over 1mb/s and the CF slot is just a little higher than that so it limits the bitrate of the videos quite a bit. CF slot is probably better to use but all my movies play smooth from the SD slot at 600kbps.

White screen problem: With using the bvdd driver for video playback comes another issue. I found that after 5 minutes of playback my screen would go all white all of a sudden in a manner that looks like the zaurus locked up or crashed. I then had to hit cancel a bunch of times and turn off and on my Z until I got the screen back. At first I thought it was a bug in the driver or the overclocking was overheating the Z but that's not the case. It turns out when the screensaver kicks in it causes this. At least it is a simple and easy fix; disable the screensaver. Edit /home/zaurus/settings/qpe.conf and set to "Interval_AC_Screensaver = 0" to disable the screensaver on AC and "Interval = 0" to disable screensaver on battery. Problem solved.

Good luck! I still haven't found a phone/pda that can do what the Z still does today!
Attached thumbnail(s)
Attached Image

Attached File(s)
Attached File  Handbrake_My_Devices.zip ( 1.52K ) Number of downloads: 19
Go to the top of the page
+Quote Post
Start new topic
post Sep 15 2010, 08:09 AM
Post #2

Group: Members
Posts: 803
Joined: 30-March 04
From: California
Member No.: 2,368

Sorry I do not know where to get a c1000 rom. I looked around on trisofts site but it doesn't look like they have it. A full rom would include the updater.sh, zImage, and another file with the OS on it.

What you can do though, is make a NAND backup instead. That will make a snapshot of your entire flash including kernel and OS. I would make two or three to be safe. Then you can always restore the nand to go back to the exact state you left it as. Also, that NAND file you have from trisoft should work the same as restoring everything from factory. The only difference between that and the updater method is that the NAND will erase everything when you restore it, a fresh slate from the factory. Whereas the updater method (if you have the OS file with it) will restore the kernel and OS but leave your home directory intact.
Go to the top of the page
+Quote Post
post Sep 15 2010, 01:50 PM
Post #3

Group: Members
Posts: 32
Joined: 12-September 10
Member No.: 91,772

Again, I'm very grateful for your help. I was able to make a NAND backup (I had a hard time getting the D and M keys to work and get me to the maintenance menu and felt lucky to get there when I did). Then I went ahead and did the kernel install from your provided link. All is well so far.

In light of the apparent battery savings under clocking could provide, I was wondering if you had any anecdotal evidence. I realize this has nothing to do with video, and I see that the lowest under clocking makes the screen flicker, but I'm curious to hear if word processing and other low-key things within underclocking have a longer battery life.

Excuse the strange typing; I'm piecing this out on my wife's birthday Ipad, which has a bigger screen than my C1000 but not as nice keyboard.

Go to the top of the page
+Quote Post

Posts in this topic
xamindar   Video Playback On Your Cxx00   Sep 13 2010, 10:50 AM
jakfish   What a great post--detailed, and its step-by-step ...   Sep 14 2010, 04:50 AM
xamindar   QUOTE(jakfish @ Sep 14 2010, 05:50 AM) I ...   Sep 14 2010, 04:53 PM
jakfish   Yes, that's what I was thinking. DVD Catalyst...   Sep 14 2010, 05:15 PM
xamindar   QUOTE(jakfish @ Sep 14 2010, 06:15 PM) Ye...   Sep 14 2010, 05:54 PM
jakfish   Thanks for that kernel link. The process seems ve...   Sep 15 2010, 03:27 AM
koan   There is an easier way to disable the screensaver ...   Sep 14 2010, 05:58 AM
xamindar   Sorry I do not know where to get a c1000 rom. I lo...   Sep 15 2010, 08:09 AM
jakfish   Again, I'm very grateful for your help. I was...   Sep 15 2010, 01:50 PM
xamindar   No worries about the help, there are not many zaur...   Sep 15 2010, 02:34 PM
jakfish   Yes, that's what I ended up doing: groping for...   Sep 15 2010, 05:05 PM
xamindar   QUOTE(jakfish @ Sep 15 2010, 06:05 PM) I ...   Sep 15 2010, 06:18 PM
deluxe   QUOTE(xamindar @ Sep 15 2010, 10:18 PM) Q...   Sep 17 2010, 02:16 PM
jakfish   @ xamindar I was able to finally get the battery...   Sep 28 2010, 04:26 AM
koan   QUOTE(jakfish @ Sep 16 2010, 11:05 AM) Th...   Sep 16 2010, 12:01 AM
jakfish   I'll keep you posted on that battery as soon a...   Sep 16 2010, 04:52 AM
agosine   Hi xamindar, can you post your mencoder script? I...   Sep 17 2010, 07:52 AM
xamindar   QUOTE(agosine @ Sep 17 2010, 08:52 AM) Hi...   Oct 17 2010, 12:41 AM
agosine   Has anyone used SUPER (http://www.erightsoft.com/S...   Sep 28 2010, 11:05 AM

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 25th February 2018 - 08:00 AM