Mplayer own Screenmode
  • Paladin of the Pegasos
    Paladin of the Pegasos
    ThePlayer
    Posts: 1069 from 2003/3/24
    From: Hamburg/Germany
    Is it possible to force mplayer to open a movie on a predefined screenmode in fullscreen, not the same resolution like ambient?
    PowerMac G5 Quad 2.5 running UWQHD Resolution
  • »08.02.07 - 15:47
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Yes you can,

    mplayer -vo <videodriver name>::MODEID=<modeid hex value>

    So for instance, mplayer -vo cgx_overlay::MODEID=0x40920053 <your file>

    You can use getmodeid from aminet to know the modeids for a given resolution.
  • »08.02.07 - 18:24
    Profile Visit Website
  • Butterfly
    Butterfly
    Norbi
    Posts: 99 from 2004/6/19
    Or ScreenMode -> Edit Screen
  • »08.02.07 - 19:11
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Korni
    Posts: 472 from 2006/2/23
    From: the Planet of ...
    Or GetModeID from PicShow archive :)
    http://korni.ppa.pl/modkowypaczek/ | My Rifle, My Bunny, and Me
  • »08.02.07 - 19:27
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    ThePlayer
    Posts: 1069 from 2003/3/24
    From: Hamburg/Germany
    Can i use this in the popupmenu of the new Ambient?
    PowerMac G5 Quad 2.5 running UWQHD Resolution
  • »08.02.07 - 22:40
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    If you mean the contextmenu depending on filetype, sure, you can. Just modify the action for your video filetypes accordingly (and in case you don't know it, you can add actions for the whole video/* family, instead of adding them for every single video filetype).
  • »08.02.07 - 23:39
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    ThePlayer
    Posts: 1069 from 2003/3/24
    From: Hamburg/Germany
    Yeah i mean the contextmenu, and i know how modify it but i don't know the right syntax.
    Maybe someone could help me with an example.
    PowerMac G5 Quad 2.5 running UWQHD Resolution
  • »09.02.07 - 01:21
    Profile
  • mk
  • Butterfly
    Butterfly
    mk
    Posts: 72 from 2004/5/24
    From: Germany Gera
    many many "examples" (also for Mplayer):

    http://morphosambient.sourceforge.net/dl/Filetypes20061027.lha


    [ Edited by mk on 2007/2/9 8:00 ]
  • »09.02.07 - 06:59
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    ThePlayer
    Posts: 1069 from 2003/3/24
    From: Hamburg/Germany
    I use this command: Run >nil: `type env:pathapp/mplayerRC1` %sp -vo cgx_overlay::MODEID=1083310162
    But MPlayer still opens a window in Ambient no screen.

    [ Edited by ThePlayer on 2007/2/9 9:59 ]
    PowerMac G5 Quad 2.5 running UWQHD Resolution
  • »09.02.07 - 08:50
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Well, first MODEID doesn't accept decimal values ATM, but only hexadecimal (ok it's lame:)). Secondly if you want to start directly in fullscreen mode, then add -fs
  • »09.02.07 - 11:51
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    ThePlayer
    Posts: 1069 from 2003/3/24
    From: Hamburg/Germany
    And how do i get the hexadecimal values?
    And if i add -fs at the end of line mplayer opens in FS but my TFT is going black and nothing happens.
    PowerMac G5 Quad 2.5 running UWQHD Resolution
  • »09.02.07 - 14:29
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Well, getmodeid from aminet returns the hexadecimal value (0xsomething). Otherwise take your favorite calculator and convert your decimal value to an hex value. :)
  • »09.02.07 - 14:37
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    ThePlayer
    Posts: 1069 from 2003/3/24
    From: Hamburg/Germany
    Thank you now it works! :-D
    And keep up the FABulous work you do on Ambient and the rest of the Ambient Team.

    PS: One question: Is it possible to compile Ambient with a higher icon max size like 96x96?
    PowerMac G5 Quad 2.5 running UWQHD Resolution
  • »09.02.07 - 15:49
    Profile