Author Topic: Playing video in 320x240 fullscreen  (Read 8371 times)

ikm

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://
Playing video in 320x240 fullscreen
« Reply #15 on: May 11, 2004, 11:23:53 am »
Quote
What do you use to encode the video.  I tryed the one script I found on one of the forms but it don\'t work.  I am playing around with transcode but I don\'t know what to set.  Any ides and or suggustions welcome.


I use mencoder with a bunch of options, something like

mencoder input.avi -vop scale=320:240 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=200 -oac mp3lame -lameopts br=112 -o output.avi

or maybe a bit different. Two pass mode is available, as well as tons of other options. Just read the mplayer/mencoder\'s documentation to know what to do and how to obtain the best results

ikm

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://
Playing video in 320x240 fullscreen
« Reply #16 on: May 11, 2004, 11:31:53 am »
Quote
Hello,

I followed the example but when I try to run mplayer it fails with the following error: fbdev: can\'t find requested video mode FATAL: cannot initialize video driver. This is on a C760 with latest pdaxrom. I tried simply removing the \"-vo fbdev\" and it works - however the Z freezes soon after start. I\'ll take a look at the mplayer version but could someone explain to me why on my machine I have *not to* use fbdev?


You do not have to specify \'-vo fbdev\' since mplayer will use it by default anyway, as it is the only video device available anyway. I have no idea about freezes though.

time

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://www.trustice.com
Playing video in 320x240 fullscreen
« Reply #17 on: May 15, 2004, 09:35:44 pm »
When I install the latest mplayer (1.0pre3try2) and its dependencies on my C860, I get an instant \"Bus error\" when I attempt to run per the instructions provided previously, without even so much as a hint that the display has been touched. Even \"mplayer -?\" is death.
Zaurus SL-C860 / pdaXrom

mh

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
Playing video in 320x240 fullscreen
« Reply #18 on: August 02, 2004, 05:08:35 am »
Quote
I modified the driver to switch the 640 and 480 around and video plays ok using vidix in normal vga now. Issues at the moment are the video is not overlaying the mplayer window. For some reason the overlay is rotated 90 degrees out from the mplayer window. It looks like the x and y coordinates passed to the ATI funtions have 0,0 at the lower left of the screen in landscape mode. I'm not sure what to do about that and the 640x480 issue.

I'm also unable to get hardware scaling working at the moment so full screen doesn't work. The issue with that is the internal memory for the ati w100 only handles 320x240. Using external memory for 640x480 works but the video plays 'wavey' and corrupted. I suspect something is wrong with the driver code there and would need to investigate.

qvga still doesn't work - probably the memory offsets are different for writing to the screen in that mode. More playing needed. Still it looks promising for using the ATI acceleration functions to get better performance out of the video.
Hi all

Have anyone managed to get mplayer to work with the vidix overlay driver the doublec was talking about? I gave it a shot and ended up in pretty much the same spot as descibed in his post. I patched mplayer with w100_vid.c, w100api.h and tweaked the makefile. Overlay seems to work and I guess the speed is fine but with "some" problems:

* Overlay region rotated
* No QVGA mode just 640x480

Anyone tried the AtiCore_YYY functions? I have googled everywhere and cant find any information about the api (guess its hidden from open source projects).

Is it possible to get the source for kino2, I suppose it handles the same functions (mode switch, overlay and so on).

Suggestions?

/Marcus

doublec

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://radio.weblogs.com/0102385/categories/zaurus/index.html
Playing video in 320x240 fullscreen
« Reply #19 on: August 02, 2004, 06:42:55 pm »
Unfortunately I didn't get any further. I'm open to suggestions on where to go from here.

Chris.