Watching youtube vids on Morphos 2.4 with owb
  • Order of the Butterfly
    Order of the Butterfly
    _ThEcRoW
    Posts: 298 from 2008/10/27
    Hello, i tried to use the tubexxx application, but it always ask for the rexxxsyslib.library.?I searched with google, and i came with various posts with involve messing with mossys:. Is there any chance on getting it working using the external folders that are in the root of the installation. I intend to keep mossys: as clean as possible and not to touch it as the devs reccommend. Is there another app to achieve the same without involving arexxx?
    Thanks in advance!!!
    Mac Mini G4 1,4ghz 1gb ram & MorphOS 3.11
  • »27.12.09 - 14:26
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    First, rexxsyslib.library is the exception, and you can replace the original one with the fully working 68k version.

    Then, you have 3 alternatives to tubexx :
    - getvideo (also using rexx), which can be integrated with owb contextmenu
    - flashless in python, which can also be integrated in contextmenu.
    - flash plugin... Well, not really an alternative for youtube, unless you have a macmini and want to play content in lowres to get a descent speed. :)
  • »27.12.09 - 14:51
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    _ThEcRoW
    Posts: 298 from 2008/10/27
    OK, i tried to launch getvideo, and read the following in the manual:
    Copy the following to
    getVideo.rexx to rexx:
    getVideo.cfg (optional) to env: or envarc:
    But, those paths and folders only exists in mossys, and not on the root folders where is supposed to go the libs without touching the mossys: dir.
    I'm still learning how to do certain things in Morphos, but still i'm not sure about the mossys: dir and the root folders.
    Are the libs of software and other progs to go in these folders instead to mess with mossys:?
    Please excuse if i'm not explaining well, but english is not my main language.
    Thanks in advance!!!
    Mac Mini G4 1,4ghz 1gb ram & MorphOS 3.11
  • »27.12.09 - 16:22
    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
    Hi The Crow!
    You can copy getvideo.rexx in c, too.
    From "readme" file:

    "3. Install:
    simply copy getVideo, getVideo.rexx and getVideo.cfg (optional) to c:"

    My file are in that directory and everything works fine. And the "env-archive" is in SYS:
    So you can copy the files without touching MOSSYS.
    The other kind of configuration is alternative.
    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
  • »27.12.09 - 16:49
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    _ThEcRoW
    Posts: 298 from 2008/10/27
    Thanks for the reply jambalah. You are referring to the env-archive that is inside the prefs folder at the root?.
    When i say at the root i mean not in the Morphos:?directory.
    Mac Mini G4 1,4ghz 1gb ram & MorphOS 3.11
  • »27.12.09 - 17:10
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    _ThEcRoW
    Posts: 298 from 2008/10/27
    Copied all the files to c: and setup the contextual menus in owb, but still says can't receive file in both see video and save video contextuals.
    :-(
    Mac Mini G4 1,4ghz 1gb ram & MorphOS 3.11
  • »27.12.09 - 17:20
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    _ThEcRoW
    Posts: 298 from 2008/10/27
    By the way, neither in getvideo config file or mplayer i see any line using wget. For what is wget neccesary?. I'm getting frustrated that still don't work. Read other threads and im doing it well so i don't know where to find the problems. Doing a simple thing as watching a youtube video shouldn't be that harrasment.
    Mac Mini G4 1,4ghz 1gb ram & MorphOS 3.11
  • »27.12.09 - 17:36
    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
    I'm referring to the env-archive folder you find inside DH0:Prefs/ =)
    Are you sure you uncommented line to make getVideo working? Search this line above ";# here as examples the default settings":
    ; play_stream = 'mplayer >nil: *>nil: "%S" -quiet'
    and uncomment. Obviously, use the complete path to say wget where to find MPlayer (SYS:Applications/MPlayer/GMPlayer for example.. or where your MPlayer folder is) and see four line above there is an example using wget to save the video.
    But OWB settings for viewing and/or saving videos are more simple.
    For the video links:

    Category?: link
    Name?: Watch video
    Command?: c:getvideo "%l" play

    Category?: link
    Name?: Download video
    Command?: c:getvideo "%l" save ram:

    For the video page:

    Category?: page
    Name?: Watch video
    Command?: c:getvideo "%u" play

    Category?: page
    Name?: Download video
    Command?: c:getvideo "%u" save ram:

    This is configuration I'm using.
    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
  • »27.12.09 - 18:14
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    _ThEcRoW
    Posts: 298 from 2008/10/27
    Well, it always ask about an env file, i choose mount and then it lets me save the file to ram, but, the .flv file not works uinder mplayer, i mean it does nothing. Also when i try to play directly using see video i get a window saying:

    : No such file or directory
    : idem
    The gui option cannot be used on the command line

    What's happening?. When you say wget, are you referring to getvideo?. I?only put the wget command in C, not edited a config file for him.
    Mac Mini G4 1,4ghz 1gb ram & MorphOS 3.11
  • »27.12.09 - 18:32
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    er, "The gui option cannot be used on the command line".

    I guess your command line is quite wrong (and it's definitely possible to invoke gui from command line). It would be "foo:bar/mplayer -gui 1 http://blahblah" (gui must be the first argument and "1" is important).
  • »27.12.09 - 18:50
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12163 from 2003/5/22
    From: Germany
    > neither in getvideo config file or mplayer i see any line using wget.
    > For what is wget neccesary?

    Wget is used by getvideo.rexx for the actual file download.
  • »27.12.09 - 20:03
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12163 from 2003/5/22
    From: Germany
    > use the complete path to say wget where to find MPlayer

    I doubt that wget needs to know MPlayer location ;-)
  • »27.12.09 - 20:05
    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
    Too much wine to celebrate.... ehm... =)
    I was wrong... I meant "use the complete path to say getvideo where to find MPlayer". Sorry!
    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
  • »27.12.09 - 20:59
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    _ThEcRoW
    Posts: 298 from 2008/10/27
    Gave today a try after work, but nothing, still the same error.
    Also, it only asks to mount a tcp assign at first. What is that assign really for?.
    Please excuse my ignorance in Morphos, as i have very little time with it.
    Thanks in advance!!!
    Mac Mini G4 1,4ghz 1gb ram & MorphOS 3.11
  • »28.12.09 - 12:35
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    edit s:user-startup and remove the ";" before "mount tcp:"
    The getvideo rexx script uses TCP to retrieve the page content.

    [ Edited by Fab on 2009/12/28 13:55 ]
  • »28.12.09 - 12:54
    Profile Visit Website
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 602 from 2004/11/27
    Hi,

    I experience the problem on an macmini, that c:getvideo aborts with the following error message:
    c:getvideo: file is not executable
    c:getvideo failed returncode 10

    Using excately the same config on an Pegasos2 works fine! Any idea?

    Thanks in advance for your help.
  • »29.12.09 - 09:11
    Profile Visit Website
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    What about adding +s flag to your script if you lost it somehow during copy? :)
  • »29.12.09 - 11:51
    Profile Visit Website
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 602 from 2004/11/27
    Hi Fab

    Yes of course I "lost" somehow the S flag during copy, thanks for help!

    Regards

    Christoph
  • »29.12.09 - 12:10
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    _ThEcRoW
    Posts: 298 from 2008/10/27
    I have checked the s flag also on my script, but is ok. Still not working here.
    I don't know what to do now.
    :-P :-(
    Mac Mini G4 1,4ghz 1gb ram & MorphOS 3.11
  • »31.12.09 - 00:16
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    _ThEcRoW
    Posts: 298 from 2008/10/27
    Now i get another weird error:

    Sorry this URL is not supported.
    You gave the following URL: "http://ad-emea.doubleclick.net/adi/com.ythome/_default;sz=960x250;klg=es;kt=K;kga=-1;kgg=-1;kcr=es;dc_dedup=1;kmyd=ad_creative_1;tile=1;dcopt=ist;ord=3831361297681305?"

    Please read the documentation what URLs are supported.

    I get this error when in a lyoutube link, use the right button and click see video.
    Mac Mini G4 1,4ghz 1gb ram & MorphOS 3.11
  • »31.12.09 - 00:18
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    _ThEcRoW
    Posts: 298 from 2008/10/27
    On some links, when i click on see video i also get that error:

    : No such file or directory
    : No such file or directory
    The gui option can't be used on the command line

    Also OWB?gets the cpu gauge high from 30 to 60 % use. Some background process that owb is doing???
    What's happening????
    Mac Mini G4 1,4ghz 1gb ram & MorphOS 3.11
  • »31.12.09 - 00:24
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    _ThEcRoW
    Posts: 298 from 2008/10/27
    Not sure if it's related, but i'm using the owb supplied with MOrphos2.4, never upgraded to the new versions. Could be this the problem?. Any function that isn't implemented in the version i currently am running?
    Mac Mini G4 1,4ghz 1gb ram & MorphOS 3.11
  • »31.12.09 - 12:32
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Upgrading won't help you for that (but i still suggest you do for other reasons).
    Anyway, your issue is just that you mistyped something either in the action string in the OWB contextmenu settings, or in getvideo.cfg file. So paste exactly what you entered there and we'll see.
  • »31.12.09 - 13:19
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    _ThEcRoW
    Posts: 298 from 2008/10/27
    Well, i started again from the begginning and heres my getvideo.cfg script:
    ;#### getVideo Config File ###
    ;# This config file is optional.
    ;# If you only use default settings you can delete it
    ;# If you want to change some settings then uncomment and edit
    ;# the prefered options.

    ;------------------------------------------------------------------------------
    ;# please only uncomment in this 'filetype' part

    ;# prefered quality for 3sat - default is "ask"
    ; dreisat_filetype = "isdn"
    ; dreisat_filetype = "dsl1000"
    ; dreisat_filetype = "dsl2000"

    ;# prefered quality for arte - default is "ask"
    ; arte_filetype = "MQ"
    ; arte_filetype = "HQ"

    ;# prefered filetype for break - default is "ask"
    ;# if action is play then only "flv"
    ; break_filetype = "flv"
    ; break_filetype = "wmv"

    ;# prefered filetype for crackle - default is "ask"
    ;# if action is play then only "flv" (mplayer trouble)
    ; crackle_filetype = "flv"
    ; crackle_filetype = "mp4"

    ;# prefered filetype for funnyordie - default is "ask"
    ; funnyordie_filetype = "flv"
    ; funnyordie_filetype = "3gp"

    ;# prefered filetype for youtube - default is "ask"
    ; youtube_filetype = "17" ; 3gp? (was 3gp before)
    ; youtube_filetype = "36" ; 3gp?
    youtube_filetype = "5" ; flv? (was flv before)
    youtube_filetype = "34" ; flv?
    youtube_filetype = "35" ; flv?
    ; youtube_filetype = "18" ; mp4
    ; youtube_filetype = "22" ; hd

    ;# prefered filetype for zdf - default is "ask"
    ; zdf_filetype = "dsl1000"
    ; zdf_filetype = "dsl2000"

    ;------------------------------------------------------------------------------
    ;# 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_rtmp = 'rtmpdump'
    ; save_mms = 'mplayer >nil: -dumpfile "%d" -dumpstream "%S" -quiet'
    ; play_file = 'mplayer >nil: *>nil: "%d" -quiet'
    ; play_stream = 'mplayer >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 = 'MPlayer >nil: *>nil: -gui 1 -quiet -cache 4096 "%S"'
    ;play_stream = 'rx c:mplayer.rexx "%S"'
    play_stream = 'Sistema:Applications/Video/MPlayer -gui 1 >nil: *>nil: -quiet -cache 4096 "%S"'


    ;# you dont like wget? then use mplayer for http download
    ; save_http = 'mplayer >nil: -dumpfile "%d" -dumpstream "%S" -quiet'

    ;------------------------------------------------------------------------------
    ;# Maximal RequestChoice Buttons
    ;# This entry is currently only used for youtube playlist support.
    ;# Playlists are sometimes really long and RequestChoice had some limitations.
    ;# OS4 version of RequestChoice seems to handle only 10 buttons, that's why
    ;# the default is set to 10. If your RequestChoice command doesn't have any
    ;# of this limitation just setup a higher number, but keep in mind that the
    ;# RequestChoice requester should fit on your screen!
    ; max_rc_buttons = "20"

    ;# rtmp settings
    ;# use swfsize and swfhash option if available - default is "on"
    ;# set this option to "on" make only sense if you use rtmpdump
    ;# flvstreamer will ignore this options
    ; rtmp_auth = "off"
    ;# ask you if the rtmp download is complete - default is "on"
    ; rtmp_dlcomp = "off"

    ;# infolevel
    ;# level: 0=noting, 3=only errors, 6=normal, 9=debug
    ;# infolevel_play is for action "play". default is "3"
    ;# infolevel_save is for action "save" and "saveplay". default is "6"
    ; infolevel_play = "6"
    ; infolevel_save = "6"

    I put the full path where mplayer is.
    Also i created the context menus just that said jambalah, and checked them, and they are 100x100 correct.
    getvideo.cfg getvideo and getvideo.rexxx are sitting in c.
    rexxxsyslib.library was replaced as advised.
    Still, the thing refuses to work.
    Also i don't understand one thing, and is in the context menu, what is the difference between link and page exactly? I simply don understand, as you always will be pointing to a link.

    Arghhh!,?Seems that i will leave 2009 without seeing youtube under mophos!!!

    I forgot to mention that wget is also in C directory


    [ Edited by _ThEcRoW on 2009/12/31 15:05 ]
    Mac Mini G4 1,4ghz 1gb ram & MorphOS 3.11
  • »31.12.09 - 14:03
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    _ThEcRoW
    Posts: 298 from 2008/10/27
    Now checking, the two selections of save seems to work, but when try to play get :
    CD failed returncode 20
    2203 *-* address command rep_placeholder(play_stream);
    +++ Command returned 20

    This is when try to play a video using the watch contexts. Also, the downloaded data wont play in mplayer. Im using mplayer 091.

    Also, noticed when in frontpage of youtube, on recommended links, using context menu watch video don't work, and if i try again using the context menu, they simply are gone from the options to select(neither watch or save options), so i cannot try again to watch.
    On the related videos tha appear on the side of each video sleected i don't get this error.

    I'm trying to explain as good as i can, but if you don't understand any of my pseak, feel free to ask. English is not my main laguage1.
    Thanks in advance for the support!!!
    Mac Mini G4 1,4ghz 1gb ram & MorphOS 3.11
  • »31.12.09 - 14:17
    Profile