Author Topic: Playing Video on pdaXrom  (Read 9155 times)

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Playing Video on pdaXrom
« Reply #30 on: April 15, 2004, 03:11:39 pm »
Quote
Hi,

Thanks for yours command line, but ikm, should we use the new fbset package, because there is already one in pdaXrom.

Don\'t worry about mass mailing !!! I don\'t have any FTP to upload the file, but you can send it to me, and if someone ask me for this file, i can give it to him.

Regards,
hwkeye

I think ikm\'s point was, that the one supplied does not work.
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

ikm

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://
Playing Video on pdaXrom
« Reply #31 on: April 15, 2004, 03:28:53 pm »
Quote
Quote
Hi,

Thanks for yours command line, but ikm, should we use the new fbset package, because there is already one in pdaXrom.

I think ikm\'s point was, that the one supplied does not work.

Yes, that\'s right, the one supplied won\'t work since the required features are not compiled in.

hwkeye, have you received my mail?

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Playing Video on pdaXrom
« Reply #32 on: April 15, 2004, 04:18:04 pm »
I may give it a test tonight, I\'ve reflashed my poor Z so many times I think it needs a rest.  If it works and is a solution a few of us should write to the Cacko team to ask them to incorporate a working fbset and fb modes, unless one of them is reading here and wants to comment?

ikm, do I need to create a file with the modes? /etc/fb.modes?
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

hwkeye

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
Playing Video on pdaXrom
« Reply #33 on: April 15, 2004, 04:35:10 pm »
Thanks Ikm,

I got your file.

I encode my DVD with
Video : DivX5 Quality Based 2 (600kps) 15 fps
Audio : Ogg 64kps stereo

What do you think ? What is your encode tips ?

javab0y

  • Newbie
  • *
  • Posts: 38
    • View Profile
Playing Video on pdaXrom
« Reply #34 on: April 15, 2004, 05:07:20 pm »
For optimal performance, don\'t set the FPS.  The key is calculating the bitrate such that it fits the size of the file you want to produce.  The bigger the file, then the better the quality (of course):  Hree are some tips:

Get DVTool (freeware download). Use the calculator protion of it.  I like high quality, so I set my file size for 512M.  Then, enter the audio for 48000hz.  I usually use 128K as its high quality.  Some like 160K, but I seriously doubt there is anyone who can tell the idfference between 128k adn 160k on a Zaurus.  The 128K value will give you more space for video.  Then enter the length of the movie...this is usually on your DVD cover or imprinted on the DVD itself.  The video bitrate will result for maximum quality in the space you requested.

Then use Vidomi.  Set your audio setting for 48000hz and 128k bit.  Set the video to use DIVX 2 Pass.  In the DIVX settings, set your calculated video bit rate from DVTool and also set the quality for \"Slowest\".  \"Slowest\" means it takes its sweet time in getting you the highest quality.  Unselect the hyper scale and set the Width = 320 and Height = 240.

Start recording...be prepared to wait between 4 and 6 hours to complete.  The method above will give you maximum quality, but takes the longest.  A 512M movie done as listed above will give you a video with no artifacts...as clear as TV.  Case in point, I converted Matrix Revolutions down to a 512M file size with no artifacts and excellent sound.  If you shorten the size below 512M, you will begin to get artifacts.  I have several movies that I burned down to 200M/180M and they have a good set of artifacts, but they are watchable.

A few more tips:

Try only doing the first few minutes of the movie to be sure the audio and video sync up.  Some of the things that cause the audio and video to not sync is the lousy FBI warning and the blue film ratings screen.  In order to get rid of those you can try to edit them out in Vidomi (which doesn\'t always work very well for this sync problem), or use IFOEdit and VOBRator to physically remove the FBI/Film Ratings VOB Ids.  I usually delete all the VOB Ids before the beginning of the movie to ensure a perfect sync.  Use IFOEdit to reburn the VOBs without those evil VOB Ids.

Good luck, and if you follow the above, you will get a perfect Z movie everytime.

javab0y

ikm

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://
Playing Video on pdaXrom
« Reply #35 on: April 15, 2004, 05:47:34 pm »
Quote
ikm, do I need to create a file with the modes? /etc/fb.modes?

You don\'t have to. It\'s more just a matter of taste. Instead of passing \'-xres 320 -yres 240\' each time, you can write /etc/fb.modes and put that info there under some short name, and do fbset \'your mode name\' instead.

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Playing Video on pdaXrom
« Reply #36 on: April 15, 2004, 06:07:46 pm »
Great stuff

;-)
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

Vanguard

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://
Playing Video on pdaXrom
« Reply #37 on: April 15, 2004, 09:24:58 pm »
If you guys have gotten it working,  I can temporarily post it on the web until we get a more permaneant home for it.

Email it to:  justinengler(a)yahoo.com
where (a)=@

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Playing Video on pdaXrom
« Reply #38 on: April 16, 2004, 11:13:15 am »
I\'ll mirror any file... that\'s legit.

send me a message here if you want to arrange transfer.

Scott

hwkeye

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
Playing Video on pdaXrom
« Reply #39 on: April 16, 2004, 04:11:24 pm »
Hi scott,

You need the fbset file ? if yes give me your mail.

thanks to ikm for the file.
We try to do not spam everyone. It is a good idea scott if you can share somewhere for zaurus user can download files.

Thanks.

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Playing Video on pdaXrom
« Reply #40 on: April 17, 2004, 07:29:23 am »
Finally managed to test it, I fouled something up bad on my first attempt, dunno what I did but it totally fouled busybox up, couldn\'t even boot back up - reinstall job.  

We\'ve managed to get a working solution to video playback, it may not be elegant, but it works.  ikm, big thanks to you.

Anyone looking to try this, it\'s best as mentioned before to call mplayer from a script, fbset to 320x240 before, fbset 640x480 after.  The screen will be garbled but \'startx\' will fix that.


Nice work all
:-)
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Playing Video on pdaXrom
« Reply #41 on: April 17, 2004, 09:49:59 am »
my goal is to play advmame in 320x240 full screen without using mame to \"zoom\" or \"fat bit\" the display -- as that
seems to slow it down to a CRAWL!

I am scott@spy.org -- you can mail there.

Scott

ikm

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://
Playing Video on pdaXrom
« Reply #42 on: April 17, 2004, 11:48:15 am »
Quote
my goal is to play advmame in 320x240 full screen without using mame to \"zoom\" or \"fat bit\" the display -- as that
seems to slow it down to a CRAWL!
Scott

Well, does it utilize SDL? If it does, you can run it from console. SDL supports frambuffer and can automatically switch to 320x240, and even cleanly restore back to 640x480 upon exit.

Now, people, on the mplayer in 320x240 fullscreen: it is actually possible to achieve the same result without any external \'fbset\' tool, as the needed functionality is actually already present in mplayer itself. I\'m making a separate thread about it so more people would know.