OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 6000 - Tosa => Topic started by: markwaldin on April 09, 2004, 05:07:19 pm

Title: Video playback on the 6000
Post by: markwaldin on April 09, 2004, 05:07:19 pm
I am a recent purchaser of the SL-6000.  Very cool product.  However, I am trying to run video on it in wmv, avi, or mov format and the player installed on it appears to run ony mpeg-1.

Does anyone know of a player that will play these files?  I tried kino but it does not function on the 6000.  

Any help would be appreciated  
Title: Video playback on the 6000
Post by: yodabob on April 09, 2004, 09:05:43 pm
You might try download the trial version of tkcVideo for the CX000 series.  It\'s a wonderful app, but it may be a bit early for 6000 support.  I can tell you definitely that the 5000 version does NOT work on the 6000.  You might try e-mailing Shawn from their page and see if he knows.  Let the ZUG know what you come up with !
Title: Video playback on the 6000
Post by: markwaldin on April 14, 2004, 12:27:43 am
Thanks for suggestion.  I did talk to Shawn at the Kompany.  I downloaded the CXX version of tckVideo and unfortunately it does not work on the 6000 either.  Right now Shawn does not know when he might have video running on the 6000.  This is very limiting since the media player that comes with Zaurus only does MPEG-1 and only displays the video in a quarter of the screen since MPEG-1 displays only CIF and the player has no zoom function.  Bad implementation.

I also downloaded and tried the tckGallery application demos for both 5000 and CXX series to see if they would run.  Alas, neither of those operate either on the 6000.

I guess it may be some time before much software is produced for this product.
Title: Video playback on the 6000
Post by: tumnus on April 14, 2004, 03:15:40 am
Try searching the forums for 6000 and tkcvideo. Someone has got it working. Have you tried running it from the terminal to see why it doesn\'t work? If it\'s having problems finding libraries, it could just be the library path problem that exists on the other Z models where everything in /home/QtPalmtop/lib has to be linked to /usr/lib .

Also, zooming is done by running an app in a lower resolution by holding the stylus down on the app\'s icon and selecting the magnified option.
Title: Video playback on the 6000
Post by: clivel on April 14, 2004, 12:37:59 pm
Quote
I downloaded the CXX version of tckVideo and unfortunately it does not work on the 6000 either.  Right now Shawn does not know when he might have video running on the 6000.
I also downloaded and tried the tckGallery application demos for both 5000 and CXX series to see if they would run.  Alas, neither of those operate either on the 6000.
I guess it may be some time before much software is produced for this product.
Unfortunately until Sharp decides to market the 6000 to consumers, there will  be very little incentive for commercial developers to develop for the 6000. I recently contacted Sharp in order to get development information on the 6000, I was referred to the non-exisitant Sharp developers web site, which I was told will be up shortly!
A fairly senior marketing person at Sharp, pretty much told me that they are not interested in general 3rd party developers. They are only interested in supporting vertical markets. i.e they are interested in developers that can go sell a packaged solution, inlcuding a Zaurus into the corporate market.
This may not help you with your video problems, but SafeDee, is at least one commercial product that works succesfully on the 6000 series. They may be others.
Regards,
Clive
Title: Video playback on the 6000
Post by: lardman on April 14, 2004, 01:16:10 pm
What about mplayer? (with xmms as a front end if you need it)

Or the Sharp-feed version of opie-mediaplayer2 may also work (no idea where this feed is now though).

Simon
Title: Video playback on the 6000
Post by: maslovsky on April 19, 2004, 03:24:19 pm
You may try kino2 (available for download at this site). 6000 should be using the same ATI video chip, so it might work.
Title: Video playback on the 6000
Post by: coolass on April 19, 2004, 05:41:45 pm
I tried kino2 but it didn\'t work for me .It kept sending every thing to media player, I wonder if we can install new codecs for sharp media player like you do for xmms,opie ect....
Title: Video playback on the 6000
Post by: lwong on April 21, 2004, 10:05:42 pm
Just installed the copy from my 5500 and it works just fine. The pitures are a bit more grainybecause of the higher resolution but overall it works. Don\'t know if the XScale version will work better or not.

FW
Title: Video playback on the 6000
Post by: AsLan^ on September 05, 2004, 12:44:03 am
Hello, I was hoping this wouldnt need its own thread but could somebody please tell me which video player software (mpeg4, divx etc.) works on the SL-6000 ?

yodabob said he got tkcvideo working after setting it to run zoomed but didnt say definately which version of the player he was using 5xxx or 7xx

I would love to watch video on my z (except mpeg1).

Also i tried kino2 and vlc but I couldnt get them to work, maybe its me ?

I dont mind paying for software but Dr Z and tkc dont mention any 6000 support.
Title: Video playback on the 6000
Post by: BarryW on September 05, 2004, 01:01:33 am
I have dr z.  It plays, but not well.  Stuff that plays perfectly on my iPaq is really choppy on the z.  I don't know if it's the screen or the video system in general.
Title: Video playback on the 6000
Post by: AsLan^ on September 05, 2004, 05:37:07 am
the ipaq has half the resolution of the z with the same processor doesnt it ? i think the higher res puts more work on the processor.

Have you tried Dr. Z zoomed ?
Title: Video playback on the 6000
Post by: BarryW on September 05, 2004, 04:50:33 pm
pretty choppy both ways.  A friend of mine, Duffman, had a dvd rip that played pretty well with Dr Z so I think it's an encoding issue.  Havn't really had time to play with it, that and I'm waiting for the new desktop to show up.  Lost more horsepower when it gets here for this type of thing.
Title: Video playback on the 6000
Post by: stevevw on September 07, 2004, 02:52:38 pm
I have Dr Z and it works decently for me.  

I am currently trying to get mplayer to work well as I would prefer to have my audio encoded in ogg format.  

Mplayer works but it only displays in a small window (the size of about 1/8th of the screen) no matter the build or options i have used thus far.
Title: Video playback on the 6000
Post by: AsLan^ on September 09, 2004, 05:48:34 am
well I just downloaded Dr Z and I must say Im quite happy with it.

The encoding and video size seems to make quite a big difference...

the best results Ive gotten so far are from a 150mb 432x320 video clip encoded with divx and mp3 playing in the zoomed player.

I did reencode it to 320x240 but ffmpeg changed the audio codec to mp2 (layer3) and the performance was okay but actually played better in vga mode. Im going to try keeping it at mp3 because I suspect thats where the performance hit might come in.

EDIT: ffmpeg was also changing the video codec to mpeg4, which doesnt seem to give the same performance as divx5. I dont really use windows, its a shame it dr z. doesnt support the xvid codec.

Overall, Im happy.

Now... to find a decent priced GB CF card.  
Title: Video playback on the 6000
Post by: AsLan^ on September 09, 2004, 10:30:44 am
To anyone who is interested... after playing around all night, these were the best settings I could get using ffmpeg.

For an aspect 4:3 using msmpeg4v2 codec
320x240 or 352x264 with 128kbps mp3 audio

For an aspect 16:9 using msmpeg4v2 codec
352x198 with 128kbps mp3 audio

If anyone has had any better results Id be interested to hear them.

Oh and thanks for the recommendation for Dr Z.
Title: Video playback on the 6000
Post by: AsLan^ on September 11, 2004, 10:19:57 pm
I broke down and loaded windows and divx5 and all the other crap....

unfortunately I really do think divx 5 performs the best with dr z.

encoding  4:3 cartoon 30 minutes long at 320x240 and 64kbps mp3 audio I was able to bring the file size down to 60mb with acceptable quality.

I did notice one other thing too, when watching a cartoon on the z away from my computer (on the bus) the quality seems improved. Its like all the tvs in the tv store, you can see the differences when they are all lined up next to each other but take any of them home and you probably couldnt tell the difference.
Title: Video playback on the 6000
Post by: gab74 on September 15, 2004, 11:16:40 am
now i use mplayer on my sl6000l but i want to try DR Z video, problem is there is no demo version ?
Is that all rigth ?
i want to test dr z video before buying, anyone has a demo version ?
Title: Video playback on the 6000
Post by: gab74 on October 21, 2004, 02:45:44 pm
Surfing the usergroup it seems Kino 2 runs on SL6000
Is that rigth ?

Anyone can give me any infos ?
Title: Video playback on the 6000
Post by: AsLan^ on October 21, 2004, 07:33:30 pm
It didnt work for me... you could try it if you want though, its free.
Title: Video playback on the 6000
Post by: fierywater on October 21, 2004, 11:46:35 pm
Didn't want to work for me, either.
Title: Video playback on the 6000
Post by: gab74 on October 22, 2004, 06:38:08 am
I've read this topic
https://www.oesf.org/forums/inde...?showtopic=7726 (https://www.oesf.org/forums/index.php?showtopic=7726)
it seems skoorb has kino2 installed on a SL6000, probably i does not understand the topics, i speak english not so well....
Title: Video playback on the 6000
Post by: GoLinux on November 01, 2004, 11:08:45 pm
Hello folks,

thanks to few pointers I got from another SL-6000L owner, I was finally able to get Kino2 to work.

This is what to do:

- First, you have to install version 0.22. The newest version available, 0.3, has mplayer that comes with it apparently compiled specifically for the SL-Cxxx series and it doesn't work with the SL-6000L (don't ask me why, I'm still too new to the world of Zaurus....)
- Once installed, launch it without loading a movie
- Go to File/Preferences/Core and check "Direct Access to Frame Buffer"
- Go to File/Preferences/Video and check "Enable Doublebuffering"
- Go to File/Preferences/Audio and check "ffmpeg"
- All the other checkboxes in the three Preferences tabs should be unchecked. I found that especially "Enable Overlay" messes up with the player and prevent it from working.

Kino2 so configured should play almost anything you throw at it. I have played succesfully MPEG1, MPEG2 and Divx encoded movies (320x240, 300kpbs, 25fps).
Depending on the frame rate you are using you may have to check also "Drop Frames" in Preferences/Core.

With the above configuration Kino2 will play in portrait mode in a landscape video window of 320x240, which is quite small considering the potential of the SL-6000L screen.
As of today I have not yet been able to get it to play in full landscape and in QVGA mode, although the checkboxes in Preferences/Video/Fullscreen are supposed to allow to do just that and it is possible to do so with Kino2 installed on the SL-Cxxx series.

A possible cause is that Kino2, being just the GUI for the underlying mplayer, is for some reason unable to pass the commands to mplayer. In Preferences/Core the "Advanced mplayer options" box should allow to give addtional commans to mplayer. I'll try to experiment with that, but first I got to learn the mplayer command set
 

If anybody else has been able to get Kino2 to work in fullscreen landscape and 320x240 QVGA mode (just like you can do with the original Media Player with "Display with magnified screen" checked), I'll gladly accept suggestions!!!!!!

Happy Tweaking.
Title: Video playback on the 6000
Post by: coolass on November 01, 2004, 11:45:38 pm
Veiw + scale = fullscreen but it slows down video .Ooops drop frames checked helps speed
Title: Video playback on the 6000
Post by: GoLinux on November 02, 2004, 08:48:03 am
Coolass,

Thanks, I had tried that already, but it still plays in portrait orientation (other than being awfully and unbearably slow.......)

Like I wrote, the Kino2 GUI does rotate using the hardware button on the Z, but then the movie still plays in portrait orientation, whether I select Fullscreen + Scale or not.

Using "Scale" is exactly what I want to avoid, too taxing on the CPU. That's why I want to find a way to run Kino2 in "Magnified Mode", as you can do with the Media Player that came with the Zaurus.

With the screen zoomed to emulate 320x240 mode in landscape the CPU would still decode at the "native" size of the movie but it would fill the whole screen from corner to corner.

Heck, it can be done on the SL-Cxxx series, why not on the SL-6000L!!!!!???  

Do you happen to know what commands you would pass to mplayer in console mode to achieve that? Again: 320x240, landscape mode, full screen.

Thanks.
Title: Video playback on the 6000
Post by: gab74 on November 03, 2004, 04:21:04 am
ok :

Kino 0.22 has no In Preferences/Core/"Advanced mplayer options, so we cannot pass any other parameter to mplayer with this GUI....

KIno 0.30 has this options so i try to install Kino 0.30 and i have substituted the mplayer from KIno 0.22

I try to pass in Advanced mplayer options some parameters but nothing happened,
all remains equal !

Anyone knows How this options can be passed ???

To rotate in landscape in mplayer : -vop rotate=1
if i try to put it in KIno2 no happens....
Any HELPS???


To play a video at full screen in landscape mode from commad line you have to :

1. Create a files called fb.modes in /etc

this is the file's body

mode "qvga"
geometry 240 320 240 320 16
timings 1 2 3 4 5 6 7
endmode

from command line you can now :

mplayer -really-quiet -framedrop -cache 512 -vo fbdev -fbmode qvga -vm -vop rotate=1 <film_name>
Title: Video playback on the 6000
Post by: GoLinux on November 03, 2004, 11:19:55 am
Gabriele,

I did the same thing you did, I forgot to mention it on my previous posting. I installed Kino2 ver. 0.22 first, saved on my CF card the mplayer file, removed ver. 0.22, installed ver. 0.3 and replaced mplayer that came with that version with the mplayer from ver. 0.22 I had saved on the CF.

Doing so I have the Kino2 ver. 0.3 GUI with the mplayer file from ver. 0.22.

Having said that, I have not tried yet to pass commands to mplayer using the Preference/Core input box in Kino2. I'll experiment with that and report back.

However, I'm more and more convinced that the Kino2 GUI has some problem in passing commands to mplayer.  For starter it is strange that you can rotate Kino2 in landscape mode using the hardware button on the SL-6000L, but then when you play a movie it plays in portrait orientation within the landscape oriented Kino2 GIU.

From some discussion I had with another SL-6000L owner that could be due to some differences between the SL-6000L and the SL-C7/8xx series, for which Kino2 has been originally written.

I have one question for you: It is not clear from your description of using mplayer from console if you have been able to get a 320x240 movie to play in landscape mode in QVGA resolution, WITHOUT scaling.

Did it work that way? if that's so I don't mind using just mplayer rather than Kino2 graphical user interface.

Thanks, Paolo.
Title: Video playback on the 6000
Post by: gab74 on November 04, 2004, 04:41:52 am
By creating file fb.modes you set the screens' geometry so it switch the screen at 240x320 resolutions.

The film is played at this resolution without any resize..

I've configured Kino2+ mplayer to work well in this way :

On Kino2 I only select Fullscreen options :

I modified mplayer.conf and usign mplayer.conf copyed in /usr/local/etc/mplayer/mplayer.conf i can use Kino2 to see films at 320x240 qvga  landscape mode.

When i hit cancel button on my SL6000 all desktop is rebuild correctly !

So now it works well !!!

You have to add in your mplayer.conf

vop=rotate=1

and enable qvga fbmode and vm..

All is rigth now !

if you want, i can send the modified mplayer.conf....

NOW ON SL6000 WE HAVE KINO2 WORKING...(think WELL)
Title: Video playback on the 6000
Post by: the_oak on November 04, 2004, 08:40:41 am
gab74:
Please send your modified mplayer.conf. I can't find mine to modify it. I am using kino2 version 0.22. Is that correct version?
Title: Video playback on the 6000
Post by: GoLinux on November 04, 2004, 09:48:40 am
Gabriele,

excellent job!!! As the_Oak said, would you be so kind to post somewhere the file? I'm new to the Zaurus and although I'm handy with the command line on computers, I have not yet much experience with Linux.

I'd rather not risk to screw up my two weeks old SL-6000L, I don't feel ready for a re-flash yet......

So, summarizing, let me se if I got it right:

Step 1: Create a file named fb.modes in /etc containing this:

mode "qvga"
geometry 240 320 240 320 16
timings 1 2 3 4 5 6 7
endmode

Step 2: modify mplayer.conf in /usr/local/etc/mplayer/mplayer.conf adding:

vop=rotate=1

Step 3: Select Kino2 in "Fullscreen" mode

One thing I'm not sure I understood is how you enable qvga fbmode and vm.. Do you do that through the "Advanced mplayer options" input box in Kino2 or is it rather another line to add or modify in the mplayer.conf file?

Since you did such a good job in getting Kino2 to work on the SL-6000L, why don't you post an "how to" on this user group web site? I'm sure all the SL-6000L owners will be eternally grateful......

I expect a lot more SL-6000L related activity here, now that Amazon is selling it at such a good price.

It would be great to have dedicated "download" and "how to" sections for the SL-6000L. I'm sure the contributions would be plenty.

Paolo.
Title: Video playback on the 6000
Post by: Siliconbug on November 04, 2004, 01:53:13 pm
I just create mplayer.conf in /usr/local/etc/mplayer/

adding:
vop=rotate=1

and it works.
Title: Video playback on the 6000
Post by: skoorb on November 04, 2004, 03:00:01 pm
I am unclear about how you got fullscreen working, can someone post their mplayer.conf contents.
Title: Video playback on the 6000
Post by: GoLinux on November 05, 2004, 09:49:26 am
Okay folks, I'm almost there...  I have been able to get mplayer to play in QVGA landscape from console following Gab74 instructions. Pretty cool, impressed quite a bit a couple of guys in my office!!

Gab47, it would definitely help if you could share with us the mplayer.conf "before" and "after" your changes. If it is not too long you could just write down all its lines in a posting here.

It is still not clear to me which of the commands you pass to mplayer in console mode have to be inserted in the mplayer.conf to have it work from Kino2.

I also have another questions on playing files encoded in WMV format. What is the right audio codec to select and how do you give that command to mplayer?
So far I could get it to work only from Kino2 in the usual small video window, but I have to select "MAD" in Preferences/Audio to have the video play smoothly and there is actually NO audio.

If I select "ffmpeg" there is some audio but it is choppy and it screws up the video as well, making that choppy too.
I tried to select "Other" and putting in the input box "ffwma", which is the coded listed in the "File Info" window, but I still get the choppy video and audio.

The file I'm trying to play is encoded at 320x240, 218k, 15fps. When I play it on my PC it compares quite well with Divx encoded files, believe it or not...

Thanks for any hints you guys can provide.
Title: Video playback on the 6000
Post by: Siliconbug on November 06, 2004, 06:48:01 am
My procedure:Now I can play a 320x240 movie in 640x480/landscape mode.
Title: Video playback on the 6000
Post by: cdollar393 on November 06, 2004, 10:09:10 am
Thanks for the steps, Siliconbug.  I followed your steps and they have got me closer, but I am still having problems.

First,
Quote
Edit /home/QtPalmtop/etc/mplayer/o.conf, and modify
# monitoraspect=4:3
# monitoraspect=16:9
monitoraspect=3:4
to
monitoraspect=4:3
# monitoraspect=16:9
# monitoraspect=3:4
I did not find o.conf, but found those lines in mplayer.conf and changes it there.  Is that incorrect?  Should I have the o.conf file?

The clip I am trying is one I downloaded and file info tells me it is 320x240, 14.985 fps, and MP42 codec.  When I play it per your instructions it plays in a fullscreen window but it is still very small and in the lower left corner.  If I use View/Scale and then play it it is fullscreen but VERY choppy.  

Any ideas on this?
Title: Video playback on the 6000
Post by: skoorb on November 06, 2004, 02:57:10 pm
I get the same results, small window in lower left


getting close though
 
Title: Video playback on the 6000
Post by: skoorb on November 06, 2004, 03:07:43 pm
got it,

uncheck run as root and it works

     
Title: Video playback on the 6000
Post by: Siliconbug on November 06, 2004, 05:07:15 pm
Quote
I did not find o.conf
typo. corrected.

However, it seems an unnecessary step, so I remove it. In fact, when I watch a 320x240 movie, I prefer to enlarge to a 480x360 movie on the 480x640 screen, not a 640x480 movie on the 640x480 screen/landscape mode.
Title: Video playback on the 6000
Post by: smuelas on November 06, 2004, 07:36:18 pm
Thanks to all. I have read this thread and been able to see my movies thanks to your ideas.
I have installed kino2 and the standard version of MPlayer, not the "w 100". I have made this last the only mplayer and now everything runs smoothly.
The real trick that you have found is the use of the "double size" that the 6000 has.
Great job!!
smuelas
Title: Video playback on the 6000
Post by: smuelas on November 06, 2004, 07:38:11 pm
Thanks to all. I have read this thread and been able to see my movies thanks to your ideas.
I have installed kino2 and the standard version of MPlayer, not the "w 100". I have made this last the only mplayer and now everything runs smoothly.
The real trick that you have found is the use of the "double size" that the 6000 has. BTW, I haven't made any link.
Great job!!
smuelas
Title: Video playback on the 6000
Post by: gab74 on November 07, 2004, 07:57:53 am
This is my mplayer.conf i used to play mu movies

copy it in /usr/local/etc/mplayer/mplayer.conf

hope this will help...
Title: Video playback on the 6000
Post by: saakmotu on November 08, 2004, 06:23:54 pm
Quote
2. Install mplayer w100
when I attempt to install mplayer w100 (mplayer-w100_1.0rc21-1_arm.ipk

I get a message prompting me to install missing files:
"This package seems to depend on other files. Please install them, too"

Does anyone know what those missing files are? And where to get them.

Exactly which version of mplayer do yo suggest (and where to get it).


Other than that, I have been able to get varying results...
I have found that if I use the screen rotate button/feature prior to playing the movie, it will play in landscape for me without having to add the line to the conf

Also, is there an optimal size for a movie?
I've tried playing AVIs from torrents and they are wayyy too choppy (the audio is ok) to watch.
I can't find an easy to use (linux based) converter.

thanks
Title: Video playback on the 6000
Post by: Razzle on November 09, 2004, 05:30:17 am
How's the video performance of the Z6k, especially for videos in 640x480?
Which codec works best (audio & video)?
On my 5500G mplayer seemed to have the best performance (ogm at 320x240 and sound <= 96kHz was close to running fluently), is this still true?


To sum it up, can I watch (most of) my videos without prior scaling/converting?
Title: Video playback on the 6000
Post by: Ion on November 09, 2004, 05:42:40 am
Hi,

for Sound you can use the stancard player. I use it with mp3 from 128 to 384 kbit/s
Video works great with Kino 0.3

Regards,

Ion
Title: Video playback on the 6000
Post by: omega on November 09, 2004, 05:52:56 am
This may not apply to the 6000's, but with the cxx0 series you can't play 640*480 videos...
Title: Video playback on the 6000
Post by: gab74 on November 10, 2004, 05:43:14 am
Hi saakmotu,
in my post i say i used only Kino2 0.22 package. Nothing else.
(of course, you can use another mplayer but 0.22 works well...)

You can follow my post and copy my mplayer.conf...and all is welll

TRY !
Title: Video playback on the 6000
Post by: gab74 on November 10, 2004, 05:47:28 am
This is my fb.modes files : you have to copy it in /etc/

Hope this will help ....
Title: Video playback on the 6000
Post by: Razzle on November 10, 2004, 09:27:05 am
Quote
I can't find an easy to use (linux based) converter.
transcode or if you want a gui: avidemux
Title: Video playback on the 6000
Post by: saakmotu on November 11, 2004, 04:42:42 pm
I tried just installing kino2 0.22 and using the fb.modes and mplayer.conf files posted in this thread, but then nothing would play at all.

I should clarify that I'm trying to play .avi files.

What type of file have you been using?

I am going to retry just a plain install of .22 without modifying anything... at least as a starting point.
Title: Video playback on the 6000
Post by: caffeinated on November 11, 2004, 05:30:55 pm
What is the resolution of the video that you are trying to play?  With the config files posted above in this thread, it would seem that the video would need to be 320x240 or less.  Otherwise, mplayer will complain that the video is larger than the display and quit.
Title: Video playback on the 6000
Post by: saakmotu on November 11, 2004, 06:04:06 pm
ok, this one plays without too much trouble, except scaled and full screen... (that probably makes sense)
352x240    fps 29.97    DX50    19679232k


This plays, really choppy. landscaped, scaled and not full screen does seem to help a little (smaller video) the picture quality is excellent, this is a downloaded torrent, but it goes out of sync
512x384   fps 29.97   XVID    182319104k


It's hard for me to tell how well this one is playing because it's an animation (can't tell if it's losing sync)
640x480    fps 30.072    XVID    8323072k



I have checked the "drop frames" option except for the first one, or they all fall way behind, and am using just a straight install of kino2 .22

It makes sense that the AVIs should be optimized for the Z, but noone else seemed to mention anything like that, so I thought, why not at least try to see how hi-quality it can handle.
I'll try one of these suggested apps to recreate them and provide results.
Title: Video playback on the 6000
Post by: guylhem on November 12, 2004, 08:04:14 am
Maybe 640x480 playback is possible (with overclock and the correct mplayer options?)

That would be great. Maybe if someone has some time to try that we'll see.
Title: Video playback on the 6000
Post by: GoLinux on November 12, 2004, 11:10:55 am
saakmotu,

I encode my movies using Divx compression, 320x240, 250kbps, 15fps for the video and 56kbps or 96kbps MP3 for audio. At 15fps dropping frames shouldn't be necessary to maintain sync between video and audio.

If your PC runs Windows a very good encoding program is VirtualDub (freeware). Once installed I recommend you also download and install the latest Divx codec (the basic version is free as well):

http://www.virtualdub.org/ (http://www.virtualdub.org/)

http://www.divx.com/divx/?src=toptab_divx_from_/index.php (http://www.divx.com/divx/?src=toptab_divx_from_/index.php)

I can also play succesfully MPEG1 and MPEG2 files. although I never use this format as the file size is much bigger.

And by the way, all of them will have the .AVI extension.

Have fun.
Title: Video playback on the 6000
Post by: saakmotu on November 12, 2004, 03:22:35 pm
THANKS!

These are great tools.

I went to install the Linux apps (avidemux and transcode) but ran into an imcompatibility issue with libvorbis0 vs. libvorbis0a.

I converted this one
640x480 fps 30.072 XVID 8323072k

down to
320x240    fps 15    DX50   mp3 56k   1972224k

Here it is if anyone needs a test... I'll leave it up for a while, but not forever
Sample Movie (http://www.bpang.com/Z/movs/katamari_sample_for_Z_320x240.avi)  (1.97mb)

It plays well in portrait and landscape, but starts to chug when scaled. I tried just converting it down to a lower fps, etc but at 640x480, but it was still choppy. I even took it down to 6fps, at which point the chop was similar to on a desktop machine.

Converting the torrent file now with same settings.

I don't know much about all these videodub options, so any advice to improve performance would be appreciated.

In the meantime, I'll keep trying different options and report back with success stories/settings.
(I'll probably keep using torrent downloads as they start out with real nice quality).
Title: Video playback on the 6000
Post by: GoLinux on November 13, 2004, 02:57:02 pm
saakmotu,

I'm not sure about you, but I use mplayer from the command line and using the settings I suggested it plays decently without chopping, although 15fps is barely enough for a semi-smooth playing.

The one thing you don't want to use is scaling, it takes too much processing power. If you want to play 320x240 movies fullscreen in landscape mode, you have to follow Gab74 instructions early in this thread and create a file called fb.modes in the directory /etc:

The file has to have these instructions:

mode "qvga"
geometry 240 320 240 320 16
timings 1 2 3 4 5 6 7
endmode

Then from command line you can launch maplayer with the following commands :

mplayer -really-quiet -framedrop -cache 512 -vo fbdev -fbmode qvga -vm -vop rotate=1 <film_name>

-framedrop could not be necessary at 15fps. You can create the file using vi or any other text editor you may have installed.

By the way, I also tried a short clip at 20fps and it seems to work okay fullscreen even with -framedrop disabled, video and audio don't lose sync.

24fps is already too much for the Z without enabling -framedrop, I will keep experimenting to find the "sweet spot". 15fps is definitely okay, but it is a little to jerky for my tastes, expecially with fast action sequences.
Title: Video playback on the 6000
Post by: saakmotu on November 15, 2004, 03:02:57 pm
oh, what a difference it makes to run from the command line....

I had been being lazy and running from Kino... but the result is far from the same.

let this be a lesson to others reading this thread..
Title: Video playback on the 6000
Post by: kdn1480 on November 29, 2004, 08:19:09 pm
I'm trying to get VLC to work, someone in the vlc group says that I have an old version of the ipkg command.  Well, its the version I got from Sharp.  Does anyone know (a) where I can get an updated version and ( how do I install it since it looks like its in the rom.
Title: Video playback on the 6000
Post by: enlightened_j on December 12, 2004, 03:09:06 am
I bouth tkcVideo...
and couldn't get it to work with 6000.  

ipkg complains about no architecture and manually copy the file produces:


opt/QtPalmtop/bin/tkcVideo: symbol lookup error: opt/QtPalmtop/bin/tkcVideo: undefined symbol: _7QString.shared_null
Title: Video playback on the 6000
Post by: soundwave106 on December 12, 2004, 09:45:34 pm
tkcVideo I think is the only TheKompany product I've found without a 6000 version of the compile yet.
Title: Video playback on the 6000
Post by: worri on December 22, 2004, 03:36:07 am
Quote
THANKS!

These are great tools.

I went to install the Linux apps (avidemux and transcode) but ran into an imcompatibility issue with libvorbis0 vs. libvorbis0a.

I converted this one
640x480 fps 30.072 XVID 8323072k

down to
320x240    fps 15    DX50   mp3 56k   1972224k

Here it is if anyone needs a test... I'll leave it up for a while, but not forever
Sample Movie (http://www.bpang.com/Z/movs/katamari_sample_for_Z_320x240.avi)  (1.97mb)

It plays well in portrait and landscape, but starts to chug when scaled. I tried just converting it down to a lower fps, etc but at 640x480, but it was still choppy. I even took it down to 6fps, at which point the chop was similar to on a desktop machine.

Converting the torrent file now with same settings.

I don't know much about all these videodub options, so any advice to improve performance would be appreciated.

In the meantime, I'll keep trying different options and report back with success stories/settings.
(I'll probably keep using torrent downloads as they start out with real nice quality).
It seems the sample movie is 480X320 but not 320X240??

# file katamari_sample_for_Z_320x240.avi
katamari_sample_for_Z_320x240.avi: RIFF (little-endian) data, AVI, 480 x 360, 15.00 fps, video: DivX 5, audio: MPEG-1 Layer 3 (stereo, 22050 Hz)
Title: Video playback on the 6000
Post by: saakmotu on December 22, 2004, 10:25:21 am
oops.. yes, how embarrassing..
I replaced it with one that is 320x240 (I think )
Title: Video playback on the 6000
Post by: xjqian on January 02, 2005, 05:24:22 pm
Kino 0.4 is out Link (http://my-zaurus.narod.ru/kino.html)

Dowloading... , very slow though. Can't wait to try it out.

edit: won't lauch, disappointed  
Title: Video playback on the 6000
Post by: vputz on January 03, 2005, 11:38:01 am
Trying all this on a 6000L, OZ 3.5.2, and having some issues.

Using Gab's supplied mplayer.conf and fb.modes files, I tried the katmari file, and I get playback which is inverted 180 degrees from the keyboard, full width, but only a wee little strip, maybe 2/3 of the height of the video file (in the seriously drug-induced katmari file, in the opening scene you can't see the cows, and in the, er, "singing ducks and geese" segment, it cuts off right below the beak of the third duck; the bottom duck is not visible).

The text output of mplayer may be of interest; it says among other things "QT_GetRotation: Read spec from '/tmp/qtembedded-root/QtEmbedded-0.spec' Rot=0, Qvga=0".  Since we're trying to use qvga mode in the mplayer config, I'm guessing that's not a good thing... and there IS no '/tmp/qtembedded-root/QtEmbedded-0.spec' (not sure what I should put there for a SL-6000).

Earlier in the mplayer output theer are the lines "SDL: Using driver: qtopia" and "Opening video filter: [rotate=1]"...

Am I missing something?

-->VPutz
Title: Video playback on the 6000
Post by: vputz on January 04, 2005, 11:51:44 am
Answered my own question; with the given files, the "-vo fbdev" bit was missing, so it wasn't using the FB anyway.  Adding that to the command line (I'll put it in the config at some point) fixed it.

Got my fullscreen video now, so the katmari file even shows the proper number of singing ducks and geese in all its psychodelusional glory.

Funny thing is, I really don't have any video I want to watch on the Z, but it bugged me not having it work (heh).

-->VPutz
Title: Video playback on the 6000
Post by: vputz on January 04, 2005, 11:53:41 am
Hmm--only now, with the fbdev option, the video plays wonderfully but I can't use any keys to control the playback, or quit the video player.  Close...

-->VPutz
Title: Video playback on the 6000
Post by: adf on January 05, 2005, 04:30:39 pm
I think the cancel button might quit the video player.

edit: I appear to have been wrong on that.  sorry.

I'm p[laying with  dropping the .0007 mplayer for xmms embedded from oz 3.2  (i'm on oz 3.5.2 opie --it would be .0005 version for sharp) over the mplayer.bin and using xmms. works well.. have to check out the fbmodes though.. right now all is tiny.  at any rate I can control and stop the video  (though with frame buffer it is kinda by guessing where the xmms controls are) and the ac=mad bit works nicely. it is maybe a little closer?
opiemediaplayer2 at first look --after installing an endless string of libxineblah.ipk  is coming along too. I only tried one sample, but video played though audio droppped out.posiibly another instance of having  to force it to use mad.
Title: Video playback on the 6000
Post by: xjqian on February 13, 2005, 07:20:00 pm
see the post in the software section: https://www.oesf.org/forums/index.php?showtopic=10754 (https://www.oesf.org/forums/index.php?showtopic=10754)

my package:
kino2 0.4.2 from cacko's site
mplayer 1.0.1-1 from atty.jp
default setting + advanced options: -vf rotate=1,scale=480:640
matrix trailer from http://web.mit.edu/~anrp/www/zaurus/mplaye...240_512_128.avi (http://web.mit.edu/~anrp/www/zaurus/mplayer/RL_MQB_320x240_512_128.avi)

gives me acceptable full screen playback on 6k, the best option I can find so far. I'm falling back to stock kernel. I expect the fast kernel with overclocking will give me better results
Title: Video playback on the 6000
Post by: undrwater on February 16, 2005, 02:24:57 pm
Newb question:

The video i had encoded for my 5500 plays slowly if at all on the 6000 using the kino2 and mplayer mentioned above.

Do i need any libs such as ffmpeg and libmad?

Do I need to encode video using a different standard than I did for the 5500?

Thanks in advance!

[edit] OK...newb not reading carefully [/edit]

A few questions:

1) if we were to encode for 640:480 or vice-versa, would we need to change the fb.modes?  Would this change the performance or looks?

2) can i get Kino2 to open nfs directories?

3) is anyone else finding that the screen remains "painted" after quitting mplayer/kino2?  I can refresh this easily by rotating, but...annoying!


Thanks for all the work done by you beautiful developers and hackers...I hope to one day join you!
Title: Video playback on the 6000
Post by: xjqian on February 17, 2005, 04:46:30 am
Quote
if we were to encode for 640:480 or vice-versa, would we need to change the fb.modes? Would this change the performance or looks?
no, don't enchode in 640x480. we're not there yet. The framebuffer is not big enough for 640x480. Even it's big enough for that, I doubt the hardwares, bus speed, CPU, etc can keep up with the 4x more data than encoded in 320x240. We are not in the 640x480 era yet.
The -vf scale=640x480 is to interpolate the 320x240 to 640x480 so expect the speed disadvantage. It's not as smooth as on 5x00 for full screen playback.

Quote
is anyone else finding that the screen remains "painted" after quitting mplayer/kino2? I can refresh this easily by rotating, but...annoying!
Yes, that is annoying, don't know if it's on the other devices as well.

Quote
Do i need any libs such as ffmpeg and libmad?
I don't think so.
Title: Video playback on the 6000
Post by: undrwater on February 18, 2005, 11:16:59 am
Quote
Quote
if we were to encode for 640:480 or vice-versa, would we need to change the fb.modes? Would this change the performance or looks?
no, don't enchode in 640x480. we're not there yet. The framebuffer is not big enough for 640x480. Even it's big enough for that, I doubt the hardwares, bus speed, CPU, etc can keep up with the 4x more data than encoded in 320x240. We are not in the 640x480 era yet.
The -vf scale=640x480 is to interpolate the 320x240 to 640x480 so expect the speed disadvantage. It's not as smooth as on 5x00 for full screen playback.

Quote
is anyone else finding that the screen remains "painted" after quitting mplayer/kino2? I can refresh this easily by rotating, but...annoying!
Yes, that is annoying, don't know if it's on the other devices as well.

Quote
Do i need any libs such as ffmpeg and libmad?
I don't think so.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=67441\"][{POST_SNAPBACK}][/a][/div]


Thank you for your clear replies, xjgian.  
Title: Video playback on the 6000
Post by: eji on August 01, 2005, 05:55:08 pm
Any new developments re: video on the 6000?

I've been using the Zplayer and bvdd mplayer combo (Kino was too delicate for me) with "-vf rotate=1,scale=640:480" in the additional options, and so far I've had a fair amount of success with the first movies I ripped using Handbrake (http://handbrake.m0k.org/) -- Singin' in the Rain and other oldies. Are there any additional commands that can speed things up a bit or smooth them out?
Title: Video playback on the 6000
Post by: cvmiller on October 14, 2005, 08:12:15 pm
Quote
my package:
kino2 0.4.2 from cacko's site
mplayer 1.0.1-1 from atty.jp
default setting + advanced options: -vf rotate=1,scale=480:640
matrix trailer from http://web.mit.edu/~anrp/www/zaurus/mplaye...240_512_128.avi (http://web.mit.edu/~anrp/www/zaurus/mplayer/RL_MQB_320x240_512_128.avi)

gives me acceptable full screen playback on 6k, the best option I can find so far. I'm falling back to stock kernel. I expect the fast kernel with overclocking will give me better results
Thanks xjqian,

This did the trick for me. Actually there are newer versions out:
Kino2 0.4.3  http://www.elsix.org/index.php?w=project&p=kino2 (http://www.elsix.org/index.php?w=project&p=kino2)
mplayer 1.1.5 http://atty.skr.jp/?Zaurus%2Fmplayer (http://atty.skr.jp/?Zaurus%2Fmplayer)

I haven't done extensive testing with video(just a mpg), mostly I have been using it to play streaming audio (since tkcPlayer doesn't stream).
 
Thanks!

Craig...
Title: Video playback on the 6000
Post by: eji on February 09, 2006, 04:07:55 am
I've had some great success with some recent Futurama episodes.

These were already in DivX .avi when I reencoded them for the 6k, but I'd think you could start from any type of file.

Using Quicktime 7, I went into "Movie Properties," selected the video track, and rotated clockwise using the curved arrow button. Simple, though this didn't work for me using the same process in Quicktime 6.

I then exported the file using the latest DivX codec. 1:1 ratio, 540x480 (or that ballpark), 15fps, 450kbps, Better Quality, 2-pass encoding, with an MP3 audio track @ 64kbps/mono. That gave me an 80MB file of a 20-minute episode that played very, very well, though it still chokes a bit during the title sequence (blazingly fast, if you know Futurama). I'm sure by adjusting the keyframe and modulation sliders, I could tweak a bit more performance out of it.

I'm using the bleeding-edge version of zplayer (http://atty.skr.jp/zplayer/) (which trumps Kino), and using the following mplayer settings: -really-quiet -framedrop -cache 2048 -vo fbdev -fs

In any case, this gets a bit more use out of the 6k's beautiful screen, and has dazzled some casual onlookers.
Title: Video playback on the 6000
Post by: xjqian on February 12, 2006, 05:02:54 am
Quote
I'm using the bleeding-edge version of zplayer (http://atty.skr.jp/zplayer/) (which trumps Kino), and using the following mplayer settings: -really-quiet -framedrop -cache 2048 -vo fbdev -fs
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114224\"][{POST_SNAPBACK}][/a][/div]
Thanks for the heads up. The latest zplayer do perform much better then Kino and I love the black background. regarding the options
-really-quite: I didn't use this since I'm not lauching it from console
-framedrop = select drop frame "normal"
-cache 2048: used
-vo fbdev: I don't think this is necessary. If you click "About", it shows the ZPlayer selects fbdev as default for 6k
-fs: this is really nice -  centers my movie

It plays my 1.5hr movie (478MB, xvid, 608x320, 12fps, stero) pretty well from my newly acquired 8GB Seagate microdrive (except for a fast dancing sequence, the vedio frame can't keep up). I can upload a clip later. I'm interested to see the performance on other roms (cacko, pdaX, and gulhem) and using fast kernel.
Title: Video playback on the 6000
Post by: undrwater on February 22, 2006, 04:01:27 pm
Does all this differ from the fbmodes and qvga settings mentioned earlier in this post?

zplayer is really quite smooth, and redraws the screen after a full-screen movie.

@eji: have you ever compared the encoding that mencoder does with quicktime?  

Does it hurt anything to put a sample of before and after to see what you're getting?

Thanks all!
Title: Video playback on the 6000
Post by: james_nak on June 27, 2006, 03:27:50 pm
Ah, good video at last! Thanks for all who posted their experiences.
I am using the following:

Zplayer  - http://atty.skr.jp/zplayer/ (http://atty.skr.jp/zplayer/) (or http://atty.skr.jp/pub/zplayer/zplayer_0.1.1_arm.ipk (http://atty.skr.jp/pub/zplayer/zplayer_0.1.1_arm.ipk) to be precise)
Note: The site is in Japanese [I used to use Kino2 but Zplayer seems to work better with mPlayer and in terms of the screen clean-up after playing a video, there is no comparison.]

mPlayer - http://atty.skr.jp/mplayer.html (http://atty.skr.jp/mplayer.html) ( http://atty.skr.jp/pub/zaurus/mplayer/mpla...1.1.5-1_arm.ipk (http://atty.skr.jp/pub/zaurus/mplayer/mplayer-bvdd_1.1.5-1_arm.ipk) )

Set the following mplayer parameters in the ZPlayer config tab (run Mplayer, goto Tools/Configuration, Mplayer tab, "Use Additional options" )
Enter: -really-quiet -framedrop -cache 2048 -vo fbdev -fs  

To play videos in full-screen "magnified mode" find the zPlayer desktop config file (/home/QTPalmtop/apps/Applications/zplayer.desktop) and delete the "Display" line along with it's display parameters. Return to the "desktop" and find the zplayer icon. Hold the stylus on the zPlayer icon until it shows the start-up parametes. Click on the magnified mode. Personally I don't like the giant interface but you can't argue with the video results.  Note that this merely doubles the pixels used and so the crispness of the video is lessened. I just hold my Z back a little farther : )

Some of the requestor buttons may be unreadable in Zplayer but it is quite usable.

Also, I noticed if I didn't type in the parameter settings correctly I would get a blank screen. So if you do, check that. The Cancel button, by the way, closes the app.

Again Thanks to all who posted before. I would be nowhere without you.
Title: Video playback on the 6000
Post by: xjqian on January 22, 2007, 04:12:59 am
mplayer handles QVGA xvid files encoded with Qpixel and GMC without any problem. I use two-pass  encoding with Gordian Knot on a Win machine.

Here are my configs
 [ You are not allowed to view attachments ]  [ You are not allowed to view attachments ]  [ You are not allowed to view attachments ]