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: 30
Go to the top of the page
+Quote Post
Start new topic
post Sep 17 2010, 07:52 AM
Post #2

Group: Members
Posts: 123
Joined: 4-March 04
From: Toronto, Canada
Member No.: 2,156

Hi xamindar, can you post your mencoder script? I have lots of tv shows recorded with MythTV that I would like to convert and take with me on my Zaurus.
Go to the top of the page
+Quote Post
post Oct 17 2010, 12:41 AM
Post #3

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

QUOTE(agosine @ Sep 17 2010, 08:52 AM) *
Hi xamindar, can you post your mencoder script? I have lots of tv shows recorded with MythTV that I would like to convert and take with me on my Zaurus.

So sorry I didn't reply to this. I read it then forgot about it. Here you go. It uses mencoder which is usually part of mplayer. Just make sure you have mencoder installed and you should be good.

One thing about it though. When I use it to encode HD content (very high resolution video) the framerate of the resulting video is a little strange. It drops frames on encode for some reason. Maybe there is a filter I can add or something but I haven't gotten around to it. Most resulting videos are great though.

just run the script like this:
zvidencoder.sh input output

It encodes with a width of 640 by default.
Attached File(s)
Attached File  zvidencoder.zip ( 1.03K ) Number of downloads: 17
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: 24th June 2018 - 08:09 PM