owb youtube
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 445 from 2006/11/16
    From: The Netherlands
    I was trying to get this youtube watching going with owb contextual window.
    I followed the guide on amitopia but can't seem to get it to go.
    I copied my rexxyslib.library and rexxmast in wbstartup and arexx seems to be working.
    I installed wget and getvideo.
    Wat is happening now is that if I try to watch or save it comes up with a requester can't receive the wanted file.
    No matter where I click but also where should I do this click with my rigt mouse button in youtube?
    Hope somebody can help me out here.
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »21.07.09 - 19:53
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Wishmaster
    Posts: 342 from 2003/6/29
    I have installed it according to the docs and it works here.
    Pegasos PPC
  • »21.07.09 - 20:49
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Jambalah
    Posts: 820 from 2008/3/30
    From: Roma, Italy
    Well. I configured the whole thing following the guide I found on Obligement:

    Tutorial by Thomas Vivet

    1) Check you have a functioning ARexx configuration: you wrote it's working. I copied rexsyslib.library in SYS:Libs, not in wbstartup, and I don't have rexxmast (...)
    2) Copy "getVideo", "getVideo.rexx" and "getVideo.cfg" in SYS:C and do the same with "WGet".
    3) The guide explains to mount a TCP handler usin user-startup. I didn't. I don't know where is the TCP handler (..ehm..). Maybe I missed something.. =)
    4) Configure it.

    In OWB contextual menu:
    a) to see:
    Category?: link
    Name?: See video
    Command?: c:getvideo "%l" play
    b) to save:
    Category?: link
    Name?: Save video
    Command?: c:getvideo "%l" save ram: (or whatever you desire)

    You can edit the OWB menu to see/save video when you are on the page too:
    a)to see:
    Category?: page
    Name?: See video
    Command?: c:getvideo "%u" play
    b) to save:
    Category?: page
    Name?: Save video
    Command?: c:getvideo "%u" save ram: (or whatever you want)

    Edit "getvideo.cfg":
    find "play_stream" line and erase the ";" and write:
    play_stream = 'c:mplayer >nil: *>nil: -gui 1 -quiet -cache 4096 "%S"

    You can watch video now! But if you want more performance...

    To avoid another MPlayer window to be launched when another video is started, Fab (THX!) have done a
    rexx script to avoid this:

    mplayer.rexx

    Install it in SYS:C and edit "getvideo.cfg".
    Instead of the script above, insert this in the "play_stream" string:
    play_stream = 'rx c:mplayer.rexx "%S"'

    Then edit mplayer.rexx at the "address command" line:
    address command 'run >nil: c:mplayer -gui 1 >nil: *>nil: -cache 4096 'filename

    Done!

    Note 1: I have installed the Fab's rexx script, but if I try to see another video after the previous is ended without closing MPlayer window, no video is displayed. Closing MPlayer and trying again works.
    Missing something or doing wrong?!?
    Note 2: The "play_stream" string is after "# for network streaming it is good to set up some cache" string.
    Note 3: You can also take a look and try Flashless
    by Paolo Germano (Tubexx author) that has got more :
    "As a starting point, you can enjoy:
    - Any direct link to audio and video files supported by MPlayer.
    - Most popular video aggregators such as YouTube, Vimeo, Dailymotion,
    Break, Current, Metacafe and others are already covered via external
    support by the "keep-tube.com" web service (for a complete list go
    to "http://keep-tube.com/supported-websites.php").
    - In addition, an unlimited number of video hosting services may be
    made accessible by developing new, dedicated internal scripts." (extracted from readme)

    Enjoy!
    Pegasos II 1 ghz
    Powermac G4 Quicksilver with Sonnet Encore 1.8 ghz
    Powermac G4 MDD single 1.25 ghz, silenced for ears health...
    Powermac G5 dual 2.7 ghz I'll be back...
    Powermac G5 dual 2.0 ghz
    Powerbook G4 1.67 ghz 17
  • »21.07.09 - 22:23
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    MorphDelf
    Posts: 274 from 2004/2/20
    From: Oslo, Norway
    You need:
    OWB 1.3
    GetVideo (latest version on Aminet)
    MPlayer

    1)
    You need to edit GetVideo config file.

    open edif file into a text editor and find this line and edit play_stream. So remove ; before it and add the path to where you have your MPlayer installed.

    ;# for network streaming it is good to setup some cache
    play_stream = 'wozly:players/MPlayer-1.0-svn-2009.03.21/gmplayer >nil: -quiet -cache 4096 "%S"'

    2)
    Goto OWB 1.3 prefs. Then hit the Contextual Menus and edit it like this:
    owbcontextual.png

    3)
    Now you can go to any YouTube site. You wont be able to watch the clip embedded in the browser this way remember! You have it in your contextual menu when clicking the right mouse button when you have entered a clip that you want to watch.

    When this is configured right you will be able to watch YouTube clips in MPlayer. That is the trick here!

    I hope this helped some :)
  • »21.07.09 - 23:35
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    CountRaven
    Posts: 566 from 2007/12/10
    From: Greece
    I wonder if I should try this out or wait the mighty Fab to finish his work on Flash support :)
  • »22.07.09 - 04:25
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    dake
    Posts: 204 from 2007/9/14
    From: The building p...
    @amiga4001 You got this requester "can't receive the wanted file." if you used upper 'i' instead of lower 'L'
    c:getvideo "%l" play
    c:getvideo "%l" save ram:

    [ Edited by dake on 2009/7/23 11:55 ]
  • »23.07.09 - 09:48
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 423 from 2005/4/9
    From: magyarorszag/h...
    @countraven:

    no, you shouldnt wait for the flash plugin for two reasons: it will be slow (compared to getvideo), it wont allow you to save the videos like getvideo does. i will def. use getvideo even if the plugin will release someday.

    also theres also flashless (http://aminet.net/package/comm/www/Flashless) which supports some sites that getvideo doesnt so i use them both in owb.
    DEAD pegII/G4@1000.1gb ram.radeon 9200pro
    240 gigz hd.nec dvdrw.MorphOS 2.4 DEAD
    -=-=-=-
    amiga1200T.blizzardppc@180/040@25.96megz ram
    -=-=-=-=-
    zx.spectrum@3.5
  • »23.07.09 - 11:39
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12163 from 2003/5/22
    From: Germany
    > it wont allow you to save the videos like getvideo does.

    Most people almost never want to do that anyway. Furthermore, an installed Flash plugin won't stop you from using AREXX or Python scripts for downloading etc.
  • »23.07.09 - 15:04
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 445 from 2006/11/16
    From: The Netherlands
    ok I got saving to work.
    It needed the mount TCP: in userstartup.
    But streaming is a no go.
    Owb comes up with a requester saying unable to open redirectionfile.
    GM player failed errorcode 10
    1685 *-* adress command rep_placeholder(play_stream)
    command returned 10.

    Nice too already been able to save though! nice
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »23.07.09 - 20:30
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    I got "cant receive the wanted file"

    Do I need to do something with tcp?

    nver mind....mounted tcp:

    [ Edited by xyphoid on 2009/7/23 20:55 ]
  • »24.07.09 - 00:20
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    antibike
    Posts: 112 from 2003/3/5
    From: Germany / Sachsen
    xyphoid:
    "can't receive the wanted file" comes usually up if the network times out ... this means that getvideo can't download the file using the TCP handler and fail.

    amiga4001:
    can you please try getvideo without owb? goto shell and try the following command

    getvideo "http://www.youtube.com/watch?v=EBktIoTHuwg" play

    if this works you can be sure you made something wrong in owb contextmenu setup.
    if this also doesn't work there seems to be something wrong in getvideo setup.
  • »28.07.09 - 12:44
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 445 from 2006/11/16
    From: The Netherlands
    Sorry got it to go.
    Was a problem with capital letters in the config file of getvideo.
    Can't remember what it was exactly ..think was NIL: and should be nil:
    Anyways workes now! happy pegasosuser.
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »30.07.09 - 20:24
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 445 from 2006/11/16
    From: The Netherlands
    It worked like a dream but after installing 2.3 it stopped working.
    Haven't used it much before but still I miss the possibility to watch those youtube video's.
    I did copy the rexxysliblibrary and made the changes in the owb contexual menu setting.
    If I try to download or save a video it claims can't get expected data.
    Somehow blocked by the youtube site?
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »08.09.09 - 18:29
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    I think it has nothing to do with your 2.3 upgrade. Youtube recently changed something, and a new getvideo version was released. So make sure you installed it.
  • »08.09.09 - 22:51
    Profile Visit Website
  • Just looking around
    Captainthunder
    Posts: 14 from 2003/10/29
    I'm using macmini (mos 2.4) and configured getvideo & OWB as described.

    it works but..

    1. I get a requester where I have to choose the 'prefered filetype' (the buttons are 3gp, Flv, mp4, HD and cancel).
    I don't read anything about this.... Why Does it come?

    2. pushing the flv-button works ; I see the flashmovie, but with a delay.
    so sound isn't correct with what I see...)

    How can I solve this?

    mattijs
    The Netherlands

    [ Edited by Captainthunder on 2009/10/17 23:15 ]
  • »17.10.09 - 21:15
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    XzIt
    Posts: 250 from 2005/1/19
    From: Norway
    i think its a feature.
    you choose what format you wanna watch the video in
    atleast thats what i think :D

    X
  • »18.10.09 - 16:16
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Jambalah
    Posts: 820 from 2008/3/30
    From: Roma, Italy
    In alternative, you can configure the getVideo.cfg file.
    This part:

    ;# prefered filetype for youtube - default is "ask"
    ;# if "hd" is not available then back to default
    ; youtube_filetype = "3gp"
    ; youtube_filetype = "flv"
    ; youtube_filetype = "mp4"
    ; youtube_filetype = "hd"

    Uncomment the format you prefer ("flv" for example) and when you will play video on youtube no prompt should appear.
    I guess config file should be in the same directory in wich getvideo is.

    EDIT: Read now in docs (one should always..... ;-) )
    getvideo.cfg in env: or envarc:

    [ Edited by Jambalah on 2009/10/18 18:49 ]
    Pegasos II 1 ghz
    Powermac G4 Quicksilver with Sonnet Encore 1.8 ghz
    Powermac G4 MDD single 1.25 ghz, silenced for ears health...
    Powermac G5 dual 2.7 ghz I'll be back...
    Powermac G5 dual 2.0 ghz
    Powerbook G4 1.67 ghz 17
  • »18.10.09 - 16:46
    Profile
  • Just looking around
    Captainthunder
    Posts: 14 from 2003/10/29
    So..it's just a feature. ok:)

    but...
    Does anyone else has the problem that the the sound is not in sync with the picture when watching a flash movie?
  • »20.10.09 - 08:04
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    I've got something going on here with my getvid context in owb, i get a
    mplayer: unknown command
    mplayer failed return code 10
    2078 *_* address command rep_placeholder(playstream);

    I was trying to reconfigure after a reinstall (clean) of 2.4 on macmini. any ideas?
    I can use the save opt download, and watch in gmplayer, but just cant watch stream.
  • »25.10.09 - 18:46
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    You just need to supply full path to mplayer in the getvideo config file.
  • »25.10.09 - 19:17
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    thought i did, but maybe i'm not seeing clear
    ;# save and play application setup
    ;# you can use the following placeholder
    ;# %d = destination path including filename
    ;# %s = streamurl without protocol
    ;# %S = streamurl with protocol

    ;# here as examples the default settings
    ; save_http = 'wget -c -O "%d" "%s"'
    ; save_mms = 'mplayer >nil: -dumpfile "%d" -dumpstream "%S" -quiet'
    ; play_file = 'mplayer >nil: *>nil: "%d" -quiet'
    ; play_stream = 'mymorphos:mplayer/gmplayer >nil: *>nil: "%S" -quiet'

    ;# here some hints:
    ;# dont forget quotes if your path has spaces
    ; save_http = '"work:directory with space/wget" -c -O "%d" "%s"'

    ;# for network streaming it is good to setup some cache
    ; play_stream = 'mymorphos:mplayer/gmplayer >nil: -cache 4096 -cachenetwork "%S" -quiet'

    ;# you dont like wget? then use mplayer for http download
    ; save_http = 'mplayer >nil: -dumpfile "%d" -dumpstream "%S" -quiet'
  • »25.10.09 - 20:04
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    I don't see any line where "play_stream = blah" is actually uncommented in your config file, so it's totally ignored. :)
  • »25.10.09 - 21:56
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    @Fab

    I made this adjustment below, same result though got an example? else the problem may be elsewhere.
    ;# save and play application setup
    ;# you can use the following placeholder
    ;# %d = destination path including filename
    ;# %s = streamurl without protocol
    ;# %S = streamurl with protocol

    ;# here as examples the default settings
    ; save_http = 'wget -c -O "%d" "%s"'
    ; save_mms = 'mplayer >nil: -dumpfile "%d" -dumpstream "%S" -quiet'
    ; play_file = 'mplayer >nil: *>nil: "%d" -quiet'
    ; play_stream = mymorphos:mplayer/gmplayer >nil: *>nil: "%S" -quiet

    ; play_stream = mymorphos:mplayer/gmplayer

    ;# here some hints:
    ;# dont forget quotes if your path has spaces
    ; save_http = '"work:directory with space/wget" -c -O "%d" "%s"'

    ;# for network streaming it is good to setup some cache
    ; play_stream = mymorphos:mplayer/gmplayer >nil: -cache 4096 -cachenetwork "%S" -quiet

    ;# you dont like wget? then use mplayer for http download
    ; save_http = 'mplayer >nil: -dumpfile "%d" -dumpstream "%S" -quiet'
  • »25.10.09 - 23:02
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Any line beginning with ; is just a comment and will be totally ignored...
    So just remove that ';' before play_stream = mymorphos:mplayer/gmplayer >nil: -cache 4096 -cachenetwork "%S" -quiet
  • »25.10.09 - 23:29
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    Duhh, I mean I knew that , but I needed a red bull or something to see it!
    That did the trick. Thanks again Fab!!
  • »26.10.09 - 00:01
    Profile