Author Topic: Mplayer w100 api files needed...  (Read 11485 times)

bastichelaar

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • http://www.xerys.nl
Mplayer w100 api files needed...
« on: August 17, 2004, 05:57:43 pm »
Hello everybody, I'm trying to compile Xine with vidix support. Therefore, I need the original w100api.h driver. I already have w100_vid.c and w100fake_api.h, but there must be more files on this earth... Documentation or tips are welcome too!

I'm also searching for the included vidix.h file, the original. Please mail me or post the files!

I already have compiled Xine without vidix support, but it doesn't run smooth fullscreen. Windowed it plays very well! See this screenshot:
« Last Edit: August 17, 2004, 05:59:57 pm by bastichelaar »
Visit my website...
--------------------------
C860
 - 512 MB SD Kingston
 - 256 MB PQI 40x
 - Socket BT rev. G
 - Asus wlan
--------------------------
RUNNING FLUXBOX!

doublec

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://radio.weblogs.com/0102385/categories/zaurus/index.html
Mplayer w100 api files needed...
« Reply #1 on: August 17, 2004, 07:52:32 pm »
vidix.h is available from the mplayer source distribution in main/vidix/vidix.h.

Chris.

bastichelaar

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • http://www.xerys.nl
Mplayer w100 api files needed...
« Reply #2 on: August 17, 2004, 08:43:38 pm »
I know, it's also included in the Xine library. I have compiled xine a couple of times with w100_vid.so, but it keeps complaining about references to AtiCore_******. Is there anyone who tried this before?
Visit my website...
--------------------------
C860
 - 512 MB SD Kingston
 - 256 MB PQI 40x
 - Socket BT rev. G
 - Asus wlan
--------------------------
RUNNING FLUXBOX!

doublec

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://radio.weblogs.com/0102385/categories/zaurus/index.html
Mplayer w100 api files needed...
« Reply #3 on: August 17, 2004, 11:08:44 pm »
The aticore functions are located in libqte.so. Make sure you are linking against libqte. When building mplayer with the w100 driver I modify the vidix makefile to have the following:

W100_VID=w100_vid.so
W100_SRCS=w100_vid.c
W100_OBJS=w100_vid.o
W100_LIBS=-L$(QPEDIR)/lib -lqte -ljpeg
W100_CFLAGS=$(OPTFLAGS) -fPIC -I. -I..

It's the W100_LIBS line that I change to include -lqte.

Chris.
« Last Edit: August 17, 2004, 11:10:49 pm by doublec »

mh

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
Mplayer w100 api files needed...
« Reply #4 on: August 18, 2004, 01:20:32 am »
Hi guys

I also gave mplayer-vidix a shot and ended up with vidix support but no scaling. The image was also rotated and I could not really find any way to rotate it back using the API (hw accel). The API for w100 isn't as documented as one would like (execpt for the header file that some people hacked).

I am quite curious to which w100_vid.c file you are using? I downloaded one of the japanese ones and couldn't get it working so I started to code my own. (I think there was a link to it in one of the previous messages in another thread by doublec)

Maybe we could cooperate on this one to get both mplayer and xine woirking? I guess the vidix driver should be the same for both of them.

BR

Marcus

doublec

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://radio.weblogs.com/0102385/categories/zaurus/index.html
Mplayer w100 api files needed...
« Reply #5 on: August 18, 2004, 01:40:25 am »
I'm pretty sure I'm using the one from the japanese site but I've hacked around on it a little. I got things works reasonably well in the framebuffer except it wouldn't do qvga if I recall correctly. In X thought I got the problems of the rotation. I'm happy to collobarate on getting a working solution. The original video player on the Sharp ROM is amazing in terms of quality and it would be nice to get somewhere there.

What does kino2 do? Does that use the vidix driver or any ATI acceleration?

mh

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
Mplayer w100 api files needed...
« Reply #6 on: August 18, 2004, 03:32:53 am »
It was awhile since I ran standard ROMs but I think kino2 uses the QVGA mode. When speaking of it, I couldn't either switch to QVGA and plot there. Could there be some problems in the libs we are using or are we not using it correctly?

/mh

bastichelaar

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • http://www.xerys.nl
Mplayer w100 api files needed...
« Reply #7 on: August 18, 2004, 07:11:42 am »
I am now compiling Xine with vidix support. Hopefully the linking against libqte is correctly...
Visit my website...
--------------------------
C860
 - 512 MB SD Kingston
 - 256 MB PQI 40x
 - Socket BT rev. G
 - Asus wlan
--------------------------
RUNNING FLUXBOX!

alan

  • Full Member
  • ***
  • Posts: 221
    • View Profile
Mplayer w100 api files needed...
« Reply #8 on: August 19, 2004, 04:22:26 am »
This is _just_ a question.

Found this on xine website :

Quote
libdvdcss 1.2.8 provided here is patched with network support. this makes possible to watch dvds from a remote dvdrom drive.

IF you make xine work properly and IF you COULD  get this network support ok, would it mean that i could watch a dvd on a Z ? Is it powerfull engouh ?

bastichelaar

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • http://www.xerys.nl
Mplayer w100 api files needed...
« Reply #9 on: August 19, 2004, 05:37:41 am »
I hope so... if I only get that d*mn vidix-support working
Visit my website...
--------------------------
C860
 - 512 MB SD Kingston
 - 256 MB PQI 40x
 - Socket BT rev. G
 - Asus wlan
--------------------------
RUNNING FLUXBOX!

alan

  • Full Member
  • ***
  • Posts: 221
    • View Profile
Mplayer w100 api files needed...
« Reply #10 on: August 19, 2004, 10:34:49 am »
bastichelaar :

i think you already read this :

http://forums.projectmayo.com/viewtopic.ph...c=6562&forum=23

bastichelaar

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • http://www.xerys.nl
Mplayer w100 api files needed...
« Reply #11 on: August 19, 2004, 12:09:29 pm »
Thanks for your suggestion, I've already read that topic. More important, w100_vid.c needs to be compiled against libqpe (-lqpe), but I don't have that file. Do I really have to compile qt-embedded to get it? Or does anyone have that library?
Visit my website...
--------------------------
C860
 - 512 MB SD Kingston
 - 256 MB PQI 40x
 - Socket BT rev. G
 - Asus wlan
--------------------------
RUNNING FLUXBOX!

doublec

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://radio.weblogs.com/0102385/categories/zaurus/index.html
Mplayer w100 api files needed...
« Reply #12 on: August 19, 2004, 07:22:02 pm »
Compiling QT embedded won't get you those library functions. They are proprietary extensions used by Sharp I believe. You'll find the required library to link against in the pdaxrom SDK.

bastichelaar

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • http://www.xerys.nl
Mplayer w100 api files needed...
« Reply #13 on: August 19, 2004, 07:49:47 pm »
not libqpe.so... Anyway, I gave up compiling xine. I just installed VLC (for Linux Familiar), and I think it has more future. If there is only anyone who can maintain the project...
Visit my website...
--------------------------
C860
 - 512 MB SD Kingston
 - 256 MB PQI 40x
 - Socket BT rev. G
 - Asus wlan
--------------------------
RUNNING FLUXBOX!

doublec

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://radio.weblogs.com/0102385/categories/zaurus/index.html
Mplayer w100 api files needed...
« Reply #14 on: August 19, 2004, 09:38:09 pm »
libqte is what you want:


cd /opt/arm/3.3.2/armv5tel-cacko-linux/lib
grep -b AtiCore *
Binary file libqte.so matches
Binary file libqte.so.2 matches
Binary file libqte.so.2.3 matches
Binary file libqte.so.2.3.2 matches

It's definitely there.