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

Synfin0

  • Newbie
  • *
  • Posts: 32
    • View Profile
Playing Video on pdaXrom
« Reply #15 on: April 13, 2004, 11:41:07 pm »
Great info padishah.  
Not sure what version of mplayer you\'re looking for, but from cacko QT:
Code: [Select]
# mplayer -vo help

MPlayer 0.91-3.3.1  (C) 2000-2003 MPlayer Team

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory

Reading config file /home/zaurus/.mplayer/config

Available video output drivers:

        fbdev   Framebuffer Device

        png     PNG file

        null    Null video output

        pgm     PGM file

        md5     MD5 sum

        mpegpes Mpeg-PES file

        yuv4mpeg        yuv4mpeg output for mjpegtools (to "stream.yuv")


Edit: Sorry if this isn\'t relevent for pdaXrom (ignored thread title)

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Playing Video on pdaXrom
« Reply #16 on: April 13, 2004, 11:45:15 pm »
sorry I mean from pdaXrom  ;-)
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

hwkeye

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
Playing Video on pdaXrom
« Reply #17 on: April 14, 2004, 03:01:07 am »
Hi guys,

look at this thread (veedub post)
http://www.zaurususergroup.com/index.php?n...&highlight=qvga

he talks about QVGA and X11 incompatibility.

Maybe an issue is to play Mplayer outside X11.
But we have to found the good mplayer version.
i got mplayer 1.0.3 but it seems to not enable QVGA.

Maybe another issue is to make fbdev:vidix driver working on Zaurus,
anybody know how to ?

cheers.

eonblueapocalypse

  • Newbie
  • *
  • Posts: 25
    • View Profile
Playing Video on pdaXrom
« Reply #18 on: April 14, 2004, 10:05:46 am »
Thx padishah.I dont forget too that zaurus is also a PDA and watchin videos still is a priority even if programming on it was the main attraction in the first place.the help you asked for:
...
...Reading config file /home/root/.mplayer/config
Available video output drivers :
 
    x11    X11 (XImage/Shm )
            fbdev  Framebuffer device
            png     PNG file
            jpeg    JPEG file
            null     NULL video output
            pgm    PGM file
            md5    MD5 sum
            mpegpes  MPEG-PES file
            yuv4mpeg   yuv4mpeg output for mjpegtools (to \"stream .yuv\")
            xvidix      X11 (VIDIX)
    Zaurus sl-C860
    (fact autou-tou-mhna (einai ((onoma :EVA)
                                              (idiothta :psychologos))
                                              gia-goutou-goulou))

    ScottYelich

    • Hero Member
    • *****
    • Posts: 992
      • View Profile
      • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
    Playing Video on pdaXrom
    « Reply #19 on: April 14, 2004, 10:40:53 am »
    is there a summary of how to make/convert/encode video for best performance on the pdaxrom?

    Scott

    ikm

    • Full Member
    • ***
    • Posts: 172
      • View Profile
      • http://
    Playing Video on pdaXrom
    « Reply #20 on: April 14, 2004, 01:04:11 pm »
    Quote
    If someone could help us to find an issue for enable QVGA, it could be very useful.

    It is very simple actually. It is supported out of the box by the Zaurus framebuffer device driver. You just need to know how to tell it about your needs

    There is a standard tool to perform mode switching on framebuffer devices, it is called \'fbset\'. Pdaxrom includes a version of it, but unfortuately, the version supplied (from the busybox suite) is not configured right and so is quite useless.

    It has to be recompiled to be useful. With normal \'fbset\', you just do

    fbset -xres 320 -yres 240

    or

    fbset \'mode name\', where mode configurations reside in /etc/fb.modes

    and it works

    Pdaxrom developers, would you please turn on one option in your busybox configuration?  It\'s \"Linux System Utilities -] fbset -] Turn on fbset readmode support\". The tool would be useful then.

    The other problem is that changing current video mode would screw up the running X server. And it has no use with X11 applications

    I would actually very much enjoy if the pdaXrom X server supported mode switching via xrandr. ATI Imageon chip supports both 320x240 and 240x320 in hardware. We would have a nice fullscreen performance with games and video, that would be totally awesome!

    padishah_emperor

    • Hero Member
    • *****
    • Posts: 849
      • View Profile
      • http://
    Playing Video on pdaXrom
    « Reply #21 on: April 14, 2004, 05:56:21 pm »
    ikm

    Have you actually done this? Are you able to run mplayer fullscreen? Do you have a compiled binary or ipk?

    I could reflash pdaXrom again :-)

    I wouldn\'t mind the hassle of quitting X, changing fb mode and running mplayer if that is all that is involved.
    Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

    doublec

    • Jr. Member
    • **
    • Posts: 92
      • View Profile
      • http://radio.weblogs.com/0102385/categories/zaurus/index.html
    Playing Video on pdaXrom
    « Reply #22 on: April 15, 2004, 12:16:58 am »
    Found this page with a newer version of mplayer with support for the Zaurus graphics chip (apparently). I haven\'t tried it though:

    http://wiki.self-core.org/atty/?MPlayer

    ikm

    • Full Member
    • ***
    • Posts: 172
      • View Profile
      • http://
    Playing Video on pdaXrom
    « Reply #23 on: April 15, 2004, 08:27:40 am »
    Quote
    ikm

    Have you actually done this? Are you able to run mplayer fullscreen? Do you have a compiled binary or ipk?

    Yes. It works fullscreen and plays smoothly.

    You can just grab the binary from the Debian project, it works.

    http://ftp.us.debian.org/debian/pool/main/...2.1-6.1_arm.deb

    It\'s in Debian .deb format though, you will have to have linux on the desktop to use either \'dpkg-deb -X fbset_2.1-6.1_arm.deb .\', or \'ar x fbset_2.1-6.1_arm.deb\' and then \'tar xfz data.tar.gz\'. Alternatively it maybe possible to install .deb with ipkg, but I would not recommend.

    If somebody\'s willing to put that binary for download somewhere, I can send it. Or he can just extract it himself and put it somewhere

    p.s. Beware that console would be screwed up too. It just screws up everything because everything is supposed to work in 640x480 only. The video plays fullscreen perfectly, either from X or from console. It just leaves a mess after itself =) Changing framebuffer to 640x480 right after mplayer exits would help, but not entirely.

    hwkeye

    • Newbie
    • *
    • Posts: 39
      • View Profile
      • http://
    Playing Video on pdaXrom
    « Reply #24 on: April 15, 2004, 09:00:33 am »
    Hi ikm,

    could you give us the right coammand line to play mplayer with fullscreen ?

    which command you use starting from scratch ?

    fbset -xres 320 -yres 240,
    and ........

    thanks a lot.

    you can send me the package here richardtfr@yahoo.fr

    amrein

    • Sr. Member
    • ****
    • Posts: 345
      • View Profile
      • http://
    Playing Video on pdaXrom
    « Reply #25 on: April 15, 2004, 09:22:54 am »
    A script to launch it with \'fbset\' and \'clean\' before and after?

    ikm

    • Full Member
    • ***
    • Posts: 172
      • View Profile
      • http://
    Playing Video on pdaXrom
    « Reply #26 on: April 15, 2004, 10:36:24 am »
    Quote
    Hi ikm,

    could you give us the right coammand line to play mplayer with fullscreen ?

    which command you use starting from scratch ?

    fbset -xres 320 -yres 240,
    and ........

    Yes, something like

    fbset -xres 320 -yres 240 && mplayer -ac mad file.avi && fbset -xres 640 -yres 480

    Quote
    you can send me the package here richardtfr@yahoo.fr

    Will you put it somewhere for public download? I don\'t like to be bothered with mass-mailing.

    Btw, it\'s not the package, just one executable. To install, assuming it lies on your CF:

    rm /usr/sbin/fbset
    cp /mnt/cf/fbset /usr/sbin/fbset
    chmod +x /usr/sbin/fbset

    amrein

    • Sr. Member
    • ****
    • Posts: 345
      • View Profile
      • http://
    Playing Video on pdaXrom
    « Reply #27 on: April 15, 2004, 11:18:22 am »
    fbset -xres 320 -yres 240 && ( mplayer -ac mad file.avi ; fbset -xres 640 -yres 480 ; clean )

    ikm

    • Full Member
    • ***
    • Posts: 172
      • View Profile
      • http://
    Playing Video on pdaXrom
    « Reply #28 on: April 15, 2004, 12:52:20 pm »
    Quote
    fbset -xres 320 -yres 240 && ( mplayer -ac mad file.avi ; fbset -xres 640 -yres 480 ; clean )

    Yep, that\'s better

    hwkeye

    • Newbie
    • *
    • Posts: 39
      • View Profile
      • http://
    Playing Video on pdaXrom
    « Reply #29 on: April 15, 2004, 01:22:24 pm »
    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