English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 21 November 2017, 14:53   #1
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,367
NetSurf: FFPlay Command too long

If with NetSurf i try to run a Link video YouTube, i get the message "FFPlay: Command too long" what could you do to solve it?. Arti he advised me to update the Shell KingCON, but my system already has KingCON 1.8 installed

Last edited by AMIGASYSTEM; 08 December 2017 at 01:14.
AMIGASYSTEM is offline  
Old 22 November 2017, 01:19   #2
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,367
If you do not understand well attached screenshot exhaustive

Last edited by AMIGASYSTEM; 22 December 2017 at 08:37.
AMIGASYSTEM is offline  
Old 22 November 2017, 11:22   #3
Romanujan
Registered User
 
Join Date: Dec 2007
Location: Szczecin/Poland
Posts: 241
Which OS version? If I remember correctly, OS 3.1 has some serious command line length limitations. You need to have OS 3.9 shell... better yet - use this: http://aminet.net/package/util/boot/ShellUpdate
Romanujan is offline  
Old 22 November 2017, 14:13   #4
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,367
Thank you for your reply, the problem is present on all my OS: AFA_OS, Amikit, AmigaSYS, OS3.9 RTG, all updated with BB1/BB2/BB3/BB4. I know well "ShellUpdate" some time ago I also found a bug that the author has solved, you can read HERE

Last edited by AMIGASYSTEM; 22 November 2017 at 14:25.
AMIGASYSTEM is offline  
Old 22 November 2017, 17:45   #5
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
is there a script with that ffplay command, called by netsurf, which you can edit?
emufan is offline  
Old 22 November 2017, 22:59   #6
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,367
No, there are no scripts, with snoopdos stops on this (see screnshot)

Last edited by AMIGASYSTEM; 22 December 2017 at 08:37.
AMIGASYSTEM is offline  
Old 22 November 2017, 23:14   #7
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
thats for sure, more than 255 chars for the command line (255 is OS limit?)
use another search engine , www.startpage.com does not have those long redirector links
emufan is offline  
Old 23 November 2017, 00:01   #8
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,367
Arti he told me to update "KingCON" because it works for him!, he suggested setting the value 700 at command "WBNameLength", but WBNameLength who can not accept more than 250
AMIGASYSTEM is offline  
Old 23 November 2017, 01:18   #9
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
hmm, I'm not sure WBNameLength will help with the command line length.

not sure what to do about that issue :/

#1) if the error comes from ffplay, you may look for another version, ask Arti which version he is using.
emufan is offline  
Old 23 November 2017, 01:23   #10
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,367
Yes I had tried WBNameLength maximum parameter 250
AMIGASYSTEM is offline  
Old 23 November 2017, 01:29   #11
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,367
Quote:
Originally Posted by emufan View Post
#1) if the error comes from ffplay, you may look for another version, ask Arti which version he is using.

All previous versions work but used a different way, see video:
[ Show youtube player ]


The new version work Direct streaming of youtube video:
[ Show youtube player ]
AMIGASYSTEM is offline  
Old 23 November 2017, 01:47   #12
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
so in new version ffplay is build into netsurf?

the ffplay error, is it with the very long google address or with standard youtube links too?
emufan is offline  
Old 23 November 2017, 08:38   #13
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,367
Version of NetSurf for Amiga Standard he used already FFPlay (see my first video). The versioni Vampire he used RiVA because FFPLay required FPU
AMIGASYSTEM is offline  
Old 23 November 2017, 18:42   #14
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,367
Today i tried to shorten the link (with tinyurl.com) and run FFPlay it from a shell that worked (video MP4 HQ 904x720), maybe to use with a nice GUI, i'm not a programmer


[ Show youtube player ]
AMIGASYSTEM is offline  
Old 24 November 2017, 12:03   #15
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
hmm, some solution would be an addon/plugin to netsurf,
which would rewrite the URLs of the current webpage , shorten them.

some kind of local proxy software, kind of squid.
ok, this doesnt help at the moment, no amiga version, and a bit of overhead.

maybe arti will take a look at that issue and will find a fix.

meanwhile I only can advice not to use google, use some different search engine,
or use YT homepage as a starting point.
which all should give shorter links.
emufan is offline  
Old 24 November 2017, 21:49   #16
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,367
Thank you emufan for the precious information, Regarding the GUI, if I can serve someone, I found it in the GuUi4Cli package, a nice GUI that lets you run a bit of everything, see video.


GUI Play Link Video With NetSurf and WGet Download Archive:
[ Show youtube player ]

Last edited by AMIGASYSTEM; 22 December 2017 at 08:37.
AMIGASYSTEM is offline  
Old 24 November 2017, 23:17   #17
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
np. the Gui4CLI tool is really nice. a cool example is the mpegagui on aminet.
but it is a lot of work to write the code for such a gui
emufan is offline  
Old 25 November 2017, 08:50   #18
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,367
On Aminet there is as well Argue similar program to GUI4Cli
AMIGASYSTEM is offline  
Old 08 December 2017, 01:06   #19
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,367
Released New NetSurf 03.12.2017 in the review reports:

- Added YouTube streaming of 3gp files though ffplay (needs to be in C: and CLI must support long names).

Someone knows how to expand it CLI for support long names !!! (see comments made above)
AMIGASYSTEM is offline  
Old 16 December 2017, 17:18   #20
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,367
Quote:
Originally Posted by AMIGASYSTEM View Post
- Added YouTube streaming of 3gp files though ffplay (needs to be in C: and CLI must support long names).
Nobody knows how to get support long name
AMIGASYSTEM is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
68k FFPlay internal GUI too high/tall Michael Sykes support.Apps 3 28 June 2014 22:33
FFPlay (68k) on native screen! amiga_user support.Apps 0 01 August 2011 12:39
ffplay on winuae TheELF support.WinUAE 10 13 June 2010 19:27
Towers (Warning, long shot and long post) Drake1009 Looking for a game name ? 2 13 May 2005 00:11
A very long, LONG shot... staticgerbil Coders. General 0 13 April 2003 11:18

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:51.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.08566 seconds with 14 queries