Poster | Thread |
scabit
| |
How can you get SMTube to play YouTube videos? (solved!) Posted on 6-Jan-2014 2:17:14
| | [ #1 ] |
|
|
|
Super Member |
Joined: 8-Jan-2005 Posts: 1667
From: Satellite Beach, FL USA | | |
|
| I've tried over the past couple of months downloading various versions of SMTube and have never gotten it to work. When I run it, it comes up and shows me the list of youtube videos with pictures. When I click on a video, or use the right mouse button and select PLAY, nothing happens. No download starts (I look in both the Videos directory and RAM:). When I select Record Video using the right mouse button, the video downloads into RAM, but then I must go to my ramdisk and select the video to view it. I have mplayer UNKOWN-4.4.3 (MUI MPLAYER) and hqave set up the PlayVideo.rexx script a hundred different ways now with no success. What is the trick to getting smtube to use the Play video option?
Thanks,
Scott Last edited by scabit on 10-Jan-2014 at 02:55 AM. Last edited by scabit on 09-Jan-2014 at 09:36 AM. Last edited by scabit on 07-Jan-2014 at 09:15 AM.
_________________ AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible! Check my blog AmigaOne Computing |
|
Status: Offline |
|
|
zzd10h
| |
Re: How can you get SMTube to play YouTube videos? Posted on 6-Jan-2014 6:28:08
| | [ #2 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| @scabit
I'm the guy who ported smTube and of course, here, it works perfeclty.
1) what is the result of the command "APPDIR:MPlayer" in a shell ?
2) Is this MPlayer works for other videos ? 3) When you try to play a video, does "smTube AmigaOS4 console" window is displayed ? If yes, do you see a error message at end ?
4) Is the Amiga/PlayVideo.rexx OK ? Do you see EXIT at end ? Just to be sure that the REXX is not corrupted
5) Could you post the beginning of this REXX until "/* DON'T MODIFY BELOW THESE LINES */" ?
Thank you to reply to all questions. Guillaume
_________________ http://apps.amistore.net/zTools |
|
Status: Offline |
|
|
scabit
| |
Re: How can you get SMTube to play YouTube videos? Posted on 6-Jan-2014 23:42:26
| | [ #3 ] |
|
|
|
Super Member |
Joined: 8-Jan-2005 Posts: 1667
From: Satellite Beach, FL USA | | |
|
| @zzd10h
To answer your questions:
1) APPDIR:Mplayer from a cli shows me thta mplayer is starting, but has no file spec (display mplayer help) 2) mplayer works fine for all my videos, even ones downloaded using "RECORD" from SMTube. 3) no, I never see a console window when I select PLAY. Even when I set DEBUG=ON in the AREXX play script and run SMTube from a cli. 4) I "think" the arexx play script is okay. It does have EXIT as the last line 5) This is my latest incarnation...I've changed these settings many times.....
/* REXX */ parse arg type url
/* UPDATE THESE PARAMETERS IF NEEDED */
/* TAKE CARE TO SPECIFY THE PATH OF MUI-MPlayer OR SDL MPlayer SVN-r32561 TO ALLOW STREA /* Others players or, even, other versions of MPlayer are NOT supported */
MPLAYER_OPTIONS = "" DEBUG = ON WAIT = OFF SECONDS = 10 /*MPLAYER = "APPDIR:MPlayer" */
/* END OF UPDATABLES PARAMETERS */
/* examples */ MPLAYER = "SYS:Utilities/mplayer" /*MPLAYER = "WORK:MPlayer/Altivec/mplayer-4.2.4" */ /*MPLAYER = "APPDIR:mplayer-4.2.4"*/ /*MPLAYER = "APPDIR:mplayer_MUI_443" */ /*MPLAYER_OPTIONS = "-vo cgx_wpa -cache 8192" /* for MUI-Mplayer without overlay */
_________________ AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible! Check my blog AmigaOne Computing |
|
Status: Offline |
|
|
zzd10h
| |
Re: How can you get SMTube to play YouTube videos? Posted on 7-Jan-2014 0:07:36
| | [ #4 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| @scabit
1) try DEBUG = ON WAIT = ON SECONDS = 10 MPLAYER = "APPDIR:MPlayer" /* MPLAYER = "SYS:Utilities/mplayer" */ MPLAYER_OPTIONS = " -cache 8192"
It should at least open a console
2) which video do you try to view ?
3) you have an overlay compatible gfx card, right ? Last edited by zzd10h on 07-Jan-2014 at 12:11 AM.
_________________ http://apps.amistore.net/zTools |
|
Status: Offline |
|
|
samo79
| |
Re: How can you get SMTube to play YouTube videos? Posted on 7-Jan-2014 0:40:43
| | [ #5 ] |
|
|
|
Elite Member |
Joined: 13-Feb-2003 Posts: 3505
From: Italy, Perugia | | |
|
| @scabit
An experiment, (before starting SMTube) launch MPlayer as is, then close it and open SMTube --> at this point try to watch a video with SMTube
_________________ BACK FOR THE FUTURE
http://www.betatesting.it/backforthefuture
Sam440ep Flex 800 Mhz 1 GB Ram + AmigaOS 4.1 Update 6 AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE + AmigaOS 4.1 Update 6 |
|
Status: Offline |
|
|
scabit
| |
Re: How can you get SMTube to play YouTube videos? Posted on 7-Jan-2014 3:22:34
| | [ #6 ] |
|
|
|
Super Member |
Joined: 8-Jan-2005 Posts: 1667
From: Satellite Beach, FL USA | | |
|
| @samo79
No, opening mplayer and then trying SMTube did not work....
_________________ AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible! Check my blog AmigaOne Computing |
|
Status: Offline |
|
|
scabit
| |
Re: How can you get SMTube to play YouTube videos? Posted on 7-Jan-2014 3:28:26
| | [ #7 ] |
|
|
|
Super Member |
Joined: 8-Jan-2005 Posts: 1667
From: Satellite Beach, FL USA | | |
|
| |
Status: Offline |
|
|
zzd10h
| |
Re: How can you get SMTube to play YouTube videos? Posted on 7-Jan-2014 6:40:39
| | [ #8 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| @scabit
Your samples works well for me.
Even with a bad or inexistent MPlayer, a console should at least be opened.
Could you try to go in smTube drawer and open a CLI and issue "Amiga/PlayVideo.rexx xxx"
1) Is the REXX found ?
2) What is the path of SMTube ?
3) What is the path of PlayVideo.rexx ? _________________ http://apps.amistore.net/zTools |
|
Status: Offline |
|
|
scabit
| |
Re: How can you get SMTube to play YouTube videos? Posted on 7-Jan-2014 9:14:34
| | [ #9 ] |
|
|
|
Super Member |
Joined: 8-Jan-2005 Posts: 1667
From: Satellite Beach, FL USA | | |
|
| @zzd10h
Okay, I found the problem. The "script" attribute in the .rexxx files was not set. Perhaps I used the OS4 version of Dopus4 to unpack this archive....but when I set the script bit in icon info and save, SMTube now plays videos perfectly with mplayer!
Scott
Last edited by scabit on 07-Jan-2014 at 09:14 AM.
_________________ AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible! Check my blog AmigaOne Computing |
|
Status: Offline |
|
|
tlosm
| |
Re: How can you get SMTube to play YouTube videos? Posted on 7-Jan-2014 9:34:19
| | [ #10 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2753
From: Amiga land | | |
|
| @scabit
if you have a video board "overlay" compatible you have to set -vo P96_pip and not Cgx_wpa it will make faster and better your Smtube play :)
Smtube on the Xe 933 play really good 480p video the same is for the Pegasos2 G4 1266mhz
http://www.youtube.com/watch?v=0sxgyoMJv6Y 8)
with my test cache 4000 is the more efficient :) Last edited by tlosm on 07-Jan-2014 at 09:35 AM.
_________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
zzd10h
| |
Re: How can you get SMTube to play YouTube videos? Posted on 7-Jan-2014 12:50:53
| | [ #11 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| |
Status: Offline |
|
|
tlosm
| |
Re: How can you get SMTube to play YouTube videos? Posted on 7-Jan-2014 13:33:52
| | [ #12 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2753
From: Amiga land | | |
|
| @zzd10h
Thank you too! if not you i will not have a really great youtube video player :) _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
Hypex
| |
Re: How can you get SMTube to play YouTube videos? Posted on 7-Jan-2014 13:48:15
| | [ #13 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11328
From: Greensborough, Australia | | |
|
| @scabit
DOpus used to use LhA. What version do you have? I tested my LhA and it preseves script bits. LhA Freeware Version 2.15 AOS4.
BTW how do you get "Arc Ext" to work? Nothing happens here. No fails in Snoopy.
Going into an archive and trying to copy just gives me an object already exists error which doesn't make sense. I can't drag it across as nothing drags anymore. My DOpus is so annoying! 4.18.40. |
|
Status: Offline |
|
|
scabit
| |
Re: How can you get SMTube to play YouTube videos? Posted on 8-Jan-2014 2:52:17
| | [ #14 ] |
|
|
|
Super Member |
Joined: 8-Jan-2005 Posts: 1667
From: Satellite Beach, FL USA | | |
|
| @zzd10h
Hmmmm...something very funny going on. It worked fine yesterday. Today, with no changes, SMTube no longer PLAYs videos. The AREXX file script bits are still set.
What is wrong now do you suppose?
Scott _________________ AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible! Check my blog AmigaOne Computing |
|
Status: Offline |
|
|
zzd10h
| |
Re: How can you get SMTube to play YouTube videos? Posted on 8-Jan-2014 7:11:19
| | [ #15 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| |
Status: Offline |
|
|
scabit
| |
Re: How can you get SMTube to play YouTube videos? Posted on 9-Jan-2014 9:34:42
| | [ #16 ] |
|
|
|
Super Member |
Joined: 8-Jan-2005 Posts: 1667
From: Satellite Beach, FL USA | | |
|
| @zzd10h
No, none of them work with PLAY anymore. It acts once again like the script is not seen at all. Debug=ON does not bring up a console window, there is no download activity when I select PLAY. RECORD works just fine as always. When I open a shell and run mplayer to play the videos I downloaded with record, they play fine.
Any idea why the arexx script files keep failing to run, or fail to be found perhaps? To my knowledge, nothing on my system has changed since PLAY worked a couple days ago.
Scott
_________________ AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible! Check my blog AmigaOne Computing |
|
Status: Offline |
|
|
zzd10h
| |
Re: How can you get SMTube to play YouTube videos? Posted on 9-Jan-2014 11:56:53
| | [ #17 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| @scabit
Could you try to go in smTube drawer and open a CLI and issue "Amiga/PlayVideo.rexx xxx"
1) Is the REXX found ?
2) What is the path of SMTube ?
3) What is the path of PlayVideo.rexx ? _________________ http://apps.amistore.net/zTools |
|
Status: Offline |
|
|
Deniil715
| |
Re: How can you get SMTube to play YouTube videos? Posted on 9-Jan-2014 13:34:14
| | [ #18 ] |
|
|
|
Elite Member |
Joined: 14-May-2003 Posts: 4237
From: Sweden | | |
|
| @scabit
Both the execute and script bits have to be set I suppose. JXFS defaults to have the execute bit off.
But try in a shell so you can see exactly what happens, and what isn't happening.
Can you execute the script with "rx TheScript.rexx". When run explicitly with 'rx' the execute and script bits are not important. _________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes) > Amiga Classic and OS4 developer for OnyxSoft. |
|
Status: Offline |
|
|
scabit
| |
Re: How can you get SMTube to play YouTube videos? Posted on 10-Jan-2014 2:55:23
| | [ #19 ] |
|
|
|
Super Member |
Joined: 8-Jan-2005 Posts: 1667
From: Satellite Beach, FL USA | | |
|
| @zzd10h
okay, thanks for your suggestions. I found the problem in my PLAY arexx script. Here is the original:
/*MPLAYER_OPTIONS = ""*/ DEBUG = OFF WAIT = OFF SECONDS = 10 MPLAYER = "APPDIR:MPlayer"
/* END OF UPDATABLES PARAMETERS */
/* examples */ /*MPLAYER = "SYS:Utilities/mplayer"*/ /*MPLAYER = "WORK:MPlayer/Altivec/mplayer-4.2.4" */ /*MPLAYER = "APPDIR:mplayer-4.2.4"*/ /*MPLAYER = "APPDIR:mplayer_MUI_443" */ /*MPLAYER_OPTIONS = "-vo cgx_wpa -cache 8192" /* for MUI-Mplayer without overlay */
MPLAYER_OPTIONS = "-vo cgx_wpa -cache 8192" /* for MUI-Mplayer without overlay */
When I ran the arexx script from a cli, I got an error on line 22: Unterminated comment.... Yes, this is NOT like the C language where I usually get away with putting a start comment /* in place on a line that ends with a single end comment */ The second to the last line is the problem, easily fixed.
Thank You!
Last edited by scabit on 10-Jan-2014 at 11:23 AM. Last edited by scabit on 10-Jan-2014 at 11:22 AM. Last edited by scabit on 10-Jan-2014 at 11:22 AM.
_________________ AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible! Check my blog AmigaOne Computing |
|
Status: Offline |
|
|
zzd10h
| |
Re: How can you get SMTube to play YouTube videos? Posted on 10-Jan-2014 6:53:01
| | [ #20 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| |
Status: Offline |
|
|