follow video link?
  • TGR
  • Butterfly
    Butterfly
    TGR
    Posts: 100 from 2009/10/26
    From: Scotland
    Last few days I've been messing about with Morph again and decided to see if i could mess about with getting embedded flv videos to play in Mplayer through OWB.

    So not even sure if its possible?

    i've setup a contextual menu pointing to mplayer and works, but the problem I'm having is it wont find the right link to the file

    link to file:
    http://wesite/site/video/file.flv

    and link I get:
    http://website/site/showthread.php (page file is embedded into)

    I've tryed all the %i %u but can't get the correct path, I'm prob miles off. but is there some kind of command like for right clicking and saving images i could use?


    [ Edited by TGR 25.10.2011 - 19:10 ]
    Mini Mac G4 1.25, 1gb ram, 40 gig hdd, Registered Morphos 2.6.
  • »25.10.11 - 18:09
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    %l (l as in link)
    So for instance blah:mplayer/mplayer -gui 1 %l
  • »25.10.11 - 18:48
    Profile Visit Website
  • TGR
  • Butterfly
    Butterfly
    TGR
    Posts: 100 from 2009/10/26
    From: Scotland
    Thank you FAB, didnt quite work tho. using the above command MPlayer pops up and i get :

    Quote:

    The -gui option will only work as the first command line argument.
    MPlayer SVN-r32620-4.4.4 (C) 2000-2010 MPlayer Team
    160 audio & 349 video codecs
    VO: [cgx_overlay_gui] Hello!
    Message: Uzul parle moi de ton monde natal.

    VO: Disabling blanker
    VO: Enabling blanker


    If just using the %l i get:
    Quote:

    MPlayer SVN-r32620-4.4.4 (C) 2000-2010 MPlayer Team
    160 audio & 349 video codecs
    VO: [cgx_overlay_gui] Hello!
    Message: Le dormeur doit se réveiller.

    VO: Disabling blanker
    VO: Enabling blanker


    using %u results:
    Quote:

    MPlayer SVN-r32620-4.4.4 (C) 2000-2010 MPlayer Team
    160 audio & 349 video codecs
    VO: [cgx_overlay_gui] Hello!
    VO: Disabling blanker
    VO: Enabling blanker
    [GUI] Adding special http://website/site/showthread.php?t=2986

    Playing http://website/site/showthread.php?t=2986.
    Resolving website for AF_INET...
    Connecting to server website[ip]: 80...

    Cache size set to 320 KBytes
    Cache fill: 2.20% (46111 bytes)/quote]

    I forgot to mention which is prob a important bit, but i'm not given a weblink, just the embedded flash video (black screen with the play button)

    [ Edited by TGR 26.10.2011 - 01:04 ]
    Mini Mac G4 1.25, 1gb ram, 40 gig hdd, Registered Morphos 2.6.
  • »26.10.11 - 00:02
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Aeh, if you pass a flash script to MPlayer, it certainly won't be able to do anything with it. It needs a direct link to the flv file, which MPlayer can stream from.
  • »26.10.11 - 11:26
    Profile Visit Website
  • TGR
  • Butterfly
    Butterfly
    TGR
    Posts: 100 from 2009/10/26
    From: Scotland
    Thought that might be the case, so its going to need a arexx script or something like flashless?
    Mini Mac G4 1.25, 1gb ram, 40 gig hdd, Registered Morphos 2.6.
  • »26.10.11 - 11:30
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Depends what it is. If getvideo is able to extract this kind of url, go for it, else it's on a per-case basis, and it's not always trivial to extract the direct link.

    (does swfdec work on this flash content ? If so, you would at least see the url in network activity manager or swfdec resource manager window).
  • »26.10.11 - 11:56
    Profile Visit Website
  • TGR
  • Butterfly
    Butterfly
    TGR
    Posts: 100 from 2009/10/26
    From: Scotland
    yeah swfdec works fine. Just with me getting back into playing with morphos and owb and trying to get it as a everyday system, i'm trying to figure out what I can do and can't.

    I have been looking at arexx and tho I know nothing about it, I did find afew amiga arexx guides. so thought I might have a looky at it and see if i can pick anything up.

    i did download getvideo last night to see if it could. but with having very little luck with flashless, i gave up for the night before trying getvideo. So i try that when i get home and then sit and read some guides.

    thank you for your time fab :)
    Mini Mac G4 1.25, 1gb ram, 40 gig hdd, Registered Morphos 2.6.
  • »26.10.11 - 15:13
    Profile
  • TGR
  • Butterfly
    Butterfly
    TGR
    Posts: 100 from 2009/10/26
    From: Scotland
    Sorted my issue out with this website that has the videos I just needed to use the <video> tag and make sure videos where in webm format.
    Mini Mac G4 1.25, 1gb ram, 40 gig hdd, Registered Morphos 2.6.
  • »26.10.11 - 20:08
    Profile