[Gambas-user] Video question

2016-02-10 Thread richard terry
Not sure if my last question reached the list, however will repeat expand.

Can any control in gambas actually stream video from a URL like an 
internal office IP camera?

Thanks

richard


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Video question

2016-02-10 Thread Benoît Minisini
Le 10/02/2016 11:18, richard terry a écrit :
> Not sure if my last question reached the list, however will repeat expand.
>
> Can any control in gambas actually stream video from a URL like an
> internal office IP camera?
>
> Thanks
>
> richard
>

If GStreamer can do that, then gb.media can do that.

-- 
Benoît Minisini

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Video question

2016-02-10 Thread richard terry
On 10/02/16 21:48, Benoît Minisini wrote:
> gb.media can do that.
MediaView1.URL = 
Media.URL("https://www.youtube.com/watch?v=h-cUFt2t0IY";)

Hi Benoit,

This doesn't work ?am I missing something?

What I wanted to do was to stream an i-p camera from my front office to 
my room with a little media control in the corner of a window.
thanks

richard


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Video question

2016-02-10 Thread Benoît Minisini
Le 10/02/2016 12:22, richard terry a écrit :
> On 10/02/16 21:48, Benoît Minisini wrote:
>> gb.media can do that.
>  MediaView1.URL =
> Media.URL("https://www.youtube.com/watch?v=h-cUFt2t0IY";)
>
> Hi Benoit,
>
> This doesn't work ?am I missing something?
>
> What I wanted to do was to stream an i-p camera from my front office to
> my room with a little media control in the corner of a window.
> thanks
>
> richard
>

Are you kidding? 'https://www.youtube.com/watch?v=h-cUFt2t0IY' is 
"youtube", the website. Not the url of a streamed video!

-- 
Benoît Minisini

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Video question

2016-02-10 Thread richard terry
On 10/02/16 22:24, Benoît Minisini wrote:
> Le 10/02/2016 12:22, richard terry a écrit :
>> On 10/02/16 21:48, Benoît Minisini wrote:
>>> gb.media can do that.
>>   MediaView1.URL =
>> Media.URL("https://www.youtube.com/watch?v=h-cUFt2t0IY";)
>>
>> Hi Benoit,
>>
>> This doesn't work ?am I missing something?
>>
>> What I wanted to do was to stream an i-p camera from my front office to
>> my room with a little media control in the corner of a window.
>> thanks
>>
>> richard
>>
> Are you kidding? 'https://www.youtube.com/watch?v=h-cUFt2t0IY' is
> "youtube", the website. Not the url of a streamed video!
Benoit you should know by now I nothing of these things. So are you 
saying that if you point the control to a i-p camera if will work?. And 
also, how come it doesn't play a URL of a video? Just remember I'm 
ignorant of all  things like this. Not trying to be stupid.

richard

>


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Video question

2016-02-10 Thread Benoît Minisini
Le 10/02/2016 12:37, richard terry a écrit :
> On 10/02/16 22:24, Benoît Minisini wrote:
>> Le 10/02/2016 12:22, richard terry a écrit :
>>> On 10/02/16 21:48, Benoît Minisini wrote:
 gb.media can do that.
>>>MediaView1.URL =
>>> Media.URL("https://www.youtube.com/watch?v=h-cUFt2t0IY";)
>>>
>>> Hi Benoit,
>>>
>>> This doesn't work ?am I missing something?
>>>
>>> What I wanted to do was to stream an i-p camera from my front office to
>>> my room with a little media control in the corner of a window.
>>> thanks
>>>
>>> richard
>>>
>> Are you kidding? 'https://www.youtube.com/watch?v=h-cUFt2t0IY' is
>> "youtube", the website. Not the url of a streamed video!
> Benoit you should know by now I nothing of these things. So are you
> saying that if you point the control to a i-p camera if will work?. And
> also, how come it doesn't play a URL of a video? Just remember I'm
> ignorant of all  things like this. Not trying to be stupid.
>
> richard
>

I mean you should check what GStreamer can do.

Read the "Examples" paragraph at 
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-playbin.html
 
to see what I mean.

The source video is specified by an URI.

Then you must find which URI should be written so that GStreamer read 
your streamed video. You must know the source URL of your camera, it 
should be enough.

-- 
Benoît Minisini

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas charting tutorial

2016-02-10 Thread Small Planet Airlines
Hi everyone
I've tried to write one small application containing a chart, but a 
tutorial was insufficient to me complete this task.
Could someone to write an full example containing a chart element and 
only one button which shall draw x^2 function?
It would be as documentation example...

Thanks!
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MaskBox bug?

2016-02-10 Thread Peter Roc

   Greetings.

   I've been doing the development of the project with the version from the ppa
   stable, and because it's almost done, I'm planning a demo. I replaced the
   ppa stable with the ppa daily and testing a simple form with the MaskBox set
   to  [0-9],  the behavior that I did reported earlier still persists. A
   regression perhaps? Thanks.
   Sent: Wednesday, September 30, 2015 at 4:11 AM
   From: "Fabien Bodard" 
   To: "mailing list for gambas users" 
   Subject: Re: [Gambas-user] MaskBox bug?
   The bug is fixed In svn
   Le 30 sept. 2015 00:26, "Tobias Boege"  a écrit :
   > On Tue, 29 Sep 2015, Peter Roc wrote:
   > >
   > > Greetings.
   > >
   > > New to gambas and since I have a small project to develop decided to
   > study
   > > the language. Version 3.8.1
   > > While using a MaskBox with the Mask [0-9], inserting 0 it turns out
   > that
   > > it's not displayed, I can see the cursor moving, and only a space is
   > left.
   > > Is it an expected behavior? Thanks.
   > >
   > > Peter
   >
   > I can confirm this behaviour, but I don't know if it is intended or not.
   In
   > any case you can use mask "0" for a single mandatory digit.
   >
   > Regards,
   > Tobi
   >
   > --
   > "There's an old saying: Don't change anything... ever!" -- Mr. Monk
   >
   >
   >
   
   --
   > ___
   > Gambas-user mailing list
   > Gambas-user@lists.sourceforge.net
   > [1]https://lists.sourceforge.net/lists/listinfo/gambas-user
   >
   
   --
   ___
   Gambas-user mailing list
   Gambas-user@lists.sourceforge.net
   [2]https://lists.sourceforge.net/lists/listinfo/gambas-user

References

   1. https://lists.sourceforge.net/lists/listinfo/gambas-user
   2. https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Video question

2016-02-10 Thread Jussi Lahtinen
> And also, how come it doesn't play a URL of a video?


It's website containing flash application, which shows the video. You need
browser to open that.
What you need is URL to video stream, not URL to website containing video
file in some arbitrary format.

If you have website containing video stream, but it's "hidden" behind some
html code, it also may not work.
So, try to use URL for pure/bare stream, nothing else.


Jussi
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problems running project.gambas executable(Charlie Reinl)

2016-02-10 Thread Martin McGlensey
Charlie,

 

Thanks for the lead. I found I was missing one library in the project
executable directory. As you know I use DBReport as an integral part of my
project. I added obfuscation.gambas to the project directory and the
executable ran OK. Should I put all three components of DBReport in the
executable directory? I shell out to DBReport Designer so that works OK for
now. Should I add these libraries to the data section of the project code?
That way, I think, they would automatically be included in the executable.
When I ran the project in the terminal, after fixing it,  I got the
following message "Warning: 1 Allocation(s) not freed". Is this of concern
and what might be the cause?

 

Again thanks for your help.

 

Regards,
Marty

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Video question

2016-02-10 Thread ML
On 2016-02-10 08:37, richard terry wrote:
> On 10/02/16 22:24, Benoît Minisini wrote:
>> Le 10/02/2016 12:22, richard terry a écrit :
>>> On 10/02/16 21:48, Benoît Minisini wrote:
 gb.media can do that.
>>> MediaView1.URL = Media.URL("https://www.youtube.com/watch?v=h-cUFt2t0IY";)
>>>
>>> Hi Benoit,
>>> This doesn't work ?am I missing something?
>>> What I wanted to do was to stream an i-p camera from my front office to
>>> my room with a little media control in the corner of a window.
>>> thanks
>>> richard
>> Are you kidding? 'https://www.youtube.com/watch?v=h-cUFt2t0IY' is
>> "youtube", the website. Not the url of a streamed video!
> Benoit you should know by now I nothing of these things. So are you 
> saying that if you point the control to a i-p camera if will work?. And 
> also, how come it doesn't play a URL of a video? Just remember I'm 
> ignorant of all  things like this. Not trying to be stupid.
> richard

Richard,

Most IP cameras come with a program to watch them. This is usually Windows.
You can also use a browser, like Firefox, and the camera's URL will ask
you for your credentials (user/pass). All this you know.

Android apps -for example- ask you for the make/model of the cam, its
URL and credentials to connect and stream the video.
The point here is that you should check the URL of the page with the
streaming video, after you connected successfully.

For example, I do have a cam. I can use
*http://x/index.html* to authenticate and connect. That's
the cam main page, allows me to select use IE/FFox/Chrome, etc.
Once I select Firefox, I get to see the cam video at
*http://x/monitor2.html*. But even that is a page with some
decoration and the video in the middle.
I then right-click the streaming video itself and select '*Copy Image
Location*'. This gives me the URL to access the video itself.
In my particular cam's case (credentials changed, of course), it is
*http://x/videostream.cgi?user=myuser&pwd=mypass*.
Your cam's URL may (WILL!) change if it is a different make/model, but
the steps are the same:
1- Authenticate and connect with browser and navigate to the video.
2- From the video, if possible, get the stream's URL via
right-click/Copy Image Location in the browser.
Beware that most (chinese) IP-cams will send your credentials in plain
text in the URL, as shown in my case above.

It can also happen that the cam does not send user/pass in the URL
because it uses browser cookies. In such cases, you may need to prepend
it to the URL in this form:
*http://myuser:mypass@x/videostream.cgi
*but, as you can see it also is sent in clear text. I'd recommend using
a view-only user/pass combination.

Disclaimer:
I got this but did not test that it works with Gambas. It does work with
several Android phones and browsers, though.

Regards,
zxMarce.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problems running project.gambas executable(Charlie Reinl)

2016-02-10 Thread Charlie Reinl
Am Mittwoch, den 10.02.2016, 08:56 -0500 schrieb Martin McGlensey:
> Charlie,
> 
>  
> 
> Thanks for the lead. I found I was missing one library in the project
> executable directory. As you know I use DBReport as an integral part of my
> project. I added obfuscation.gambas to the project directory and the
> executable ran OK. Should I put all three components of DBReport in the
> executable directory? I shell out to DBReport Designer so that works OK for
> now. Should I add these libraries to the data section of the project code?
> That way, I think, they would automatically be included in the executable.
> When I ran the project in the terminal, after fixing it,  I got the
> following message "Warning: 1 Allocation(s) not freed". Is this of concern
> and what might be the cause?
> 
>  
> 
> Again thanks for your help.
> 
>  
> 
> Regards,
> Marty

Salut Marty,

you said that you have updated gambas, the svn-trunc version or the
official 3.8.4 from the shrine?
If official 3.8.4 is used, install all DBReport parts as link to the
executable at /usr/bin (you can use instGA3 from the Software-Farm)
and the add all to your project.
But you can also place them beside your executable.


-- 
Amicalement
Charlie


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Packages rejected by Ubuntu

2016-02-10 Thread Gianluigi
I can not update by PPA Gambas on Ubuntu 14.04 due to unreliable libraries.
Regards
Gianluigi

[System]
Gambas=3.8.90
OperatingSystem=Linux
Kernel=3.13.0-54-generic
Architecture=x86
Distribution=Ubuntu 14.04.3 LTS
Desktop=GNOME
Theme=Gtk
Language=it_IT.UTF-8
Memory=3020M

[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+2=libgtk-x11-2.0.so.0.2400.23
GTK+3=libgtk-3.so.0.1000.8
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
QT4=libQtCore.so.4.8.6
QT5=libQt5Core.so.5.2.1
SDL=libSDL-1.2.so.0.11.4

[Environment]
CLUTTER_IM_MODULE=xim
COMPIZ_BIN_PATH=*/usr/bin/*
COMPIZ_CONFIG_PROFILE=ubuntu
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ObhSAAStY0
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
DESKTOP_SESSION=ubuntu
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=ubuntu
GDM_LANG=it
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=2257
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-4lTYkC
GNOME_KEYRING_PID=
GPG_AGENT_INFO=/run/user/1000/keyring-4lTYkC/gpg:0:1
GTK_IM_MODULE=ibus
GTK_MODULES=overlay-scrollbar:unity-gtk-module
HOME=*/home/*
IM_CONFIG_PHASE=1
INSTANCE=
JOB=dbus
LANG=it_IT.UTF-8
LANGUAGE=it
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

PWD=*/home/*
QT4_IM_MODULE=xim
QT_IM_MODULE=ibus
QT_QPA_PLATFORMTHEME=appmenu-qt5
SELINUX_INIT=YES
SESSION=ubuntu
SESSIONTYPE=gnome-session
SESSION_MANAGER=local/:@*/tmp/*.ICE-unix/1287,unix/:
*/tmp/*.ICE-unix/1287
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/run/user/1000/keyring-4lTYkC/ssh
TEXTDOMAIN=im-config
TEXTDOMAINDIR=*/usr/share/locale/*
TZ=:/etc/localtime
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1162
USER=
XAUTHORITY=*/home/*/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=Unity
XDG_DATA_DIRS=
*/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/*
XDG_GREETER_DATA_DIR=*/var/lib/lightdm-data/*
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_ID=c1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_VTNR=7
XMODIFIERS=@im=ibus
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Packages rejected by Ubuntu

2016-02-10 Thread Benoît Minisini
Le 10/02/2016 17:35, Gianluigi a écrit :
> I can not update by PPA Gambas on Ubuntu 14.04 due to unreliable libraries.
> Regards
> Gianluigi
>

?? What's the problem exactly?

-- 
Benoît Minisini

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Video question

2016-02-10 Thread richard terry
On 11/02/16 01:41, ML wrote:
> On 2016-02-10 08:37, richard terry wrote:
>> On 10/02/16 22:24, Benoît Minisini wrote:
>>> Le 10/02/2016 12:22, richard terry a écrit :
 On 10/02/16 21:48, Benoît Minisini wrote:
> gb.media can do that.
 MediaView1.URL = Media.URL("https://www.youtube.com/watch?v=h-cUFt2t0IY";)

 Hi Benoit,
 This doesn't work ?am I missing something?
 What I wanted to do was to stream an i-p camera from my front office to
 my room with a little media control in the corner of a window.
 thanks
 richard
>>> Are you kidding? 'https://www.youtube.com/watch?v=h-cUFt2t0IY' is
>>> "youtube", the website. Not the url of a streamed video!
>> Benoit you should know by now I nothing of these things. So are you
>> saying that if you point the control to a i-p camera if will work?. And
>> also, how come it doesn't play a URL of a video? Just remember I'm
>> ignorant of all  things like this. Not trying to be stupid.
>> richard
> Richard,
>
> Most IP cameras come with a program to watch them. This is usually Windows.
> You can also use a browser, like Firefox, and the camera's URL will ask
> you for your credentials (user/pass). All this you know.
>
> Android apps -for example- ask you for the make/model of the cam, its
> URL and credentials to connect and stream the video.
> The point here is that you should check the URL of the page with the
> streaming video, after you connected successfully.
>
> For example, I do have a cam. I can use
> *http://x/index.html* to authenticate and connect. That's
> the cam main page, allows me to select use IE/FFox/Chrome, etc.
> Once I select Firefox, I get to see the cam video at
> *http://x/monitor2.html*. But even that is a page with some
> decoration and the video in the middle.
> I then right-click the streaming video itself and select '*Copy Image
> Location*'. This gives me the URL to access the video itself.
> In my particular cam's case (credentials changed, of course), it is
> *http://x/videostream.cgi?user=myuser&pwd=mypass*.
> Your cam's URL may (WILL!) change if it is a different make/model, but
> the steps are the same:
> 1- Authenticate and connect with browser and navigate to the video.
> 2- From the video, if possible, get the stream's URL via
> right-click/Copy Image Location in the browser.
> Beware that most (chinese) IP-cams will send your credentials in plain
> text in the URL, as shown in my case above.
>
> It can also happen that the cam does not send user/pass in the URL
> because it uses browser cookies. In such cases, you may need to prepend
> it to the URL in this form:
> *http://myuser:mypass@x/videostream.cgi
> *but, as you can see it also is sent in clear text. I'd recommend using
> a view-only user/pass combination.
>
> Disclaimer:
> I got this but did not test that it works with Gambas. It does work with
> several Android phones and browsers, though.
>
> Regards,
> zxMarce.

thanks for the detailed description, that makes sense now

Regards

Richard

> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Video question

2016-02-10 Thread Benoît Minisini
Le 10/02/2016 22:30, richard terry a écrit :
> On 11/02/16 01:41, ML wrote:
>> On 2016-02-10 08:37, richard terry wrote:
>>> On 10/02/16 22:24, Benoît Minisini wrote:
 Le 10/02/2016 12:22, richard terry a écrit :
> On 10/02/16 21:48, Benoît Minisini wrote:
>> gb.media can do that.
> MediaView1.URL = Media.URL("https://www.youtube.com/watch?v=h-cUFt2t0IY";)
>
> Hi Benoit,
> This doesn't work ?am I missing something?
> What I wanted to do was to stream an i-p camera from my front office to
> my room with a little media control in the corner of a window.
> thanks
> richard
 Are you kidding? 'https://www.youtube.com/watch?v=h-cUFt2t0IY' is
 "youtube", the website. Not the url of a streamed video!
>>> Benoit you should know by now I nothing of these things. So are you
>>> saying that if you point the control to a i-p camera if will work?. And
>>> also, how come it doesn't play a URL of a video? Just remember I'm
>>> ignorant of all  things like this. Not trying to be stupid.
>>> richard
>> Richard,
>>
>> Most IP cameras come with a program to watch them. This is usually Windows.
>> You can also use a browser, like Firefox, and the camera's URL will ask
>> you for your credentials (user/pass). All this you know.
>>
>> Android apps -for example- ask you for the make/model of the cam, its
>> URL and credentials to connect and stream the video.
>> The point here is that you should check the URL of the page with the
>> streaming video, after you connected successfully.
>>
>> For example, I do have a cam. I can use
>> *http://x/index.html* to authenticate and connect. That's
>> the cam main page, allows me to select use IE/FFox/Chrome, etc.
>> Once I select Firefox, I get to see the cam video at
>> *http://x/monitor2.html*. But even that is a page with some
>> decoration and the video in the middle.
>> I then right-click the streaming video itself and select '*Copy Image
>> Location*'. This gives me the URL to access the video itself.
>> In my particular cam's case (credentials changed, of course), it is
>> *http://x/videostream.cgi?user=myuser&pwd=mypass*.
>> Your cam's URL may (WILL!) change if it is a different make/model, but
>> the steps are the same:
>> 1- Authenticate and connect with browser and navigate to the video.
>> 2- From the video, if possible, get the stream's URL via
>> right-click/Copy Image Location in the browser.
>> Beware that most (chinese) IP-cams will send your credentials in plain
>> text in the URL, as shown in my case above.
>>
>> It can also happen that the cam does not send user/pass in the URL
>> because it uses browser cookies. In such cases, you may need to prepend
>> it to the URL in this form:
>> *http://myuser:mypass@x/videostream.cgi
>> *but, as you can see it also is sent in clear text. I'd recommend using
>> a view-only user/pass combination.
>>
>> Disclaimer:
>> I got this but did not test that it works with Gambas. It does work with
>> several Android phones and browsers, though.
>>
>> Regards,
>> zxMarce.
>
> thanks for the detailed description, that makes sense now
>
> Regards
>
> Richard
>

And note that I made a 'gb.media.form' component that provides a media 
player control that allows you to play any GStreamer URL without having 
to deal with the internals.

You just have to find which URL to assign to the control now. Maybe 
"http://"; URLs work out of the box, I don't know.

-- 
Benoît Minisini

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #889: new library management

2016-02-10 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.889&from=L21haW4-

Comment #9 by Benoît MINISINI:

Is is better now with revision #7602?

Benoît MINISINI changed the state of the bug to: Accepted.



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #893: Variables become Null after "Unable to load class file" error?

2016-02-10 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.893&from=L21haW4-

Comment #1 by Benoît MINISINI:

There is no automatic dependency managed by the interpreter (unless a few one 
explicitly).
The interpreter relies on the IDE to correctly define the dependencies inside 
the '.project' file.
Maybe it's a weird idea, and I should try to solve dependencies inside the 
interpreter...



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #893: Variables become Null after "Unable to load class file" error?

2016-02-10 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.893&from=L21haW4-

Comment #2 by Benoît MINISINI:

Anyway, weird behavior... I look at it!

Benoît MINISINI changed the state of the bug to: Accepted.



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #893: Variables become Null after "Unable to load class file" error?

2016-02-10 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.893&from=L21haW4-

Comment #3 by Benoît MINISINI:

The problem occurs even if there is no recursion at all.



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #893: Variables become Null after "Unable to load class file" error?

2016-02-10 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.893&from=L21haW4-

Comment #4 by Tobias BOEGE:

I thought it could maybe be a reference counting issue related to error 
management. It would fit into
the picture that things become Null (when an object is freed in Gambas, it is 
cleaned with zeros,
right?) and stop becoming Null if the module is exported (exported modules 
always have a reference
left, maybe?).



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user