Page 2 of 3

Posted: Sun 05 Aug 2012, 18:21
by pemasu
stu90. Your streamplay script for radio stations creates /tmp/ice-stations file if it is not there already. But....if you dont have net connection and you start the script...it creates the dummy ice-stations file which afterwards with net connection prevents the file to be overwritten. And leads to empty station list. I removed the if statement and let it be overwritten everytime. Curl is so astonishingly fast...as you know that overwritten file is not big thing. And it is in /tmp anyway.

Posted: Sun 05 Aug 2012, 22:18
by keniv
I think I have found the answer to the question about quiting cvlc. I found a hotkeys list for vlc here http://wiki.videolan.org/Hotkeys_table. Ctrl-q works for vlc but apparently there is no equivalent in cvlc and so I have change the player to vlc.

Regards,

Ken.

Posted: Mon 06 Aug 2012, 14:00
by sc0ttman
Attached script: StreamPlayer 0.2 (was watch_tv) ....

Changelog for 0.2
- better $? handling and error codes (click X to quit now works, etc)
- separate lists for radio and TV streams
- choose radio or TV at startup
- added more TV streams
- updated text in GUI, shows TV or radio, depending what you choose
- auto sort the stream lists alphabetically
- renamed cancel button, now called 'Stop and Quit'
- the 'Stop and Quit' button now ends playback as well
- relevant fixes to make it all work in Xdialog and dialog

NOTE: I didn't include Stu extra radio stations,
but this could be done easy enough

Also, if anyone can get some working DemocracyNow streams that would be great! :)

Posted: Mon 06 Aug 2012, 16:41
by stu91
keniv wrote:Hi All

Stu90

Thanks for v 0.2. I have made two small scrips so as I can run the TV and the radio from desktop icons. I'm afraid this is the limit of my ability. I would like to add the new urls to v 0.2. Is this a matter of adding the urls to your script in alphabetical order or is there more to it?
Ken.
Hi Keniv,
Sorry for the late reply - managed to break my old forum account so have had to re sign up.

For adding new urls - look in the section:
STREAMLIST=' notice the little apostrophe / single quote sign after the =' there is another one at the bottom of the urls section - you can paste the new urls (one per line ) between these two apostrophe's / single quote's - they dont need to be in any order as the script with sort them.

I have attached below v.03 with updated urls

Posted: Mon 06 Aug 2012, 16:58
by stu91
pemasu wrote:stu90. Your streamplay script for radio stations creates /tmp/ice-stations file if it is not there already. But....if you dont have net connection and you start the script...it creates the dummy ice-stations file which afterwards with net connection prevents the file to be overwritten. And leads to empty station list. I removed the if statement and let it be overwritten everytime. Curl is so astonishingly fast...as you know that overwritten file is not big thing. And it is in /tmp anyway.
Hi Pemasu,
I never thought about that. :oops:
cheers. :)

Posted: Mon 06 Aug 2012, 21:42
by keniv
Hi All

stu91

Thanks for telling me how to add a new stream then saving me having to do it by creating a new version. However, I will try adding any new streams that are posted.

scOttman

Thanks for all your work on the new version. I like the separation of the TV and radio and the ability to switch off the radio stream. However, I have found what I think might be a problem when playing the radio streams. When a stream is chosen the "radio" box disappears and the "startup" choice box appears. This means you cannot choose the stop and quit option. Hope this is clear.

Regards,

Ken.

Posted: Mon 06 Aug 2012, 23:49
by sc0ttman
keniv wrote:When a stream is chosen the "radio" box disappears and the "startup" choice box appears. This means you cannot choose the stop and quit option. Hope this is clear.
Yes that's clear... But I just click either Radio or TV then 'Stop', only 1 extra click... The script is not a serious attempt at anything, just a quick n dirty solution for viewing/listening to stuff... Essentially I started this thread to get more streams for VLC-GTK. If I think of a quick way to fix the issue I'll post another version...

Posted: Tue 07 Aug 2012, 18:44
by keniv
Hi scOttman

OK, as you suggest it is not much of a problem. It works well and I like it a lot.

Ken.

Streamplay in UBUNTU

Posted: Fri 02 Nov 2012, 12:37
by poilu
I want use the script streamplay in UBUNTU Lucid but I have this errors

:: Streaming Meida Player ::
:: Select Channel to Play ::

./streamplay.sh: 48: select: not found
./streamplay.sh: 50: [[: not found
./streamplay.sh: 63: [[: not found
Not a menu entry - please select again
./streamplay.sh: 65: Syntax error: "done" unexpected

Why doesn't go in UBUNTU? Is only a script!
Can you help me?

PS: in puppy is ok!

Posted: Fri 02 Nov 2012, 21:00
by Keef
Might be a shell problem. Ubuntu uses dash rather than bash. Some built-in commands are different.
See here: https://wiki.ubuntu.com/DashAsBinSh#select

Posted: Sun 11 Nov 2012, 08:55
by poilu
That was the problem! Thanks.

I have another question: the capture of rtmp stream.
I can locate many streams.
I use wireshark or iptable in association with rtmpsrv.
Some streams I can't!
Where is the problem? What don't I know of rtmp protocol?
I think that I can't to capture the stream in http://www.coolsport.tv/ but I don'know why!?

Sorry for my bad english :)

Posted: Tue 13 Nov 2012, 23:25
by poilu
I have resolve. Was a problem of redirection. I was seen the redirection link with the option -V in rtmpdump.
Bye

rtmpsuck

Posted: Sun 10 Feb 2013, 05:26
by GaRailroader
This thread is very interesting. I have an interest in identifying streams though I don't think I'm following the instructions correctly. My goal is to be able to rip videos from Hulu and other sources so that my son can watch them on my tablet on car trips when we don't have internet connectivity.

I am using Precise Puppy 5.4.3 and the closest thing I've been able to find for running as spot or fido is Main Menu: Menu-Utility-Gexec and not checking the run as root checkbox. I've run the iptables command exactly as it is typed into this thread and it doesn't give me any error messages.(I was thinking maybe I am supposed to be making some substitutions in this entry.) Lastly, when I run the rtmpsuck command it looks like it is watching port 1935 at ip address 0.0.0.0. When I go to a streaming video the rtmpsuck terminal window doesn't show anything. Any suggestions to get me on the right track are greatly appreciated.

Pat

spot

Posted: Mon 11 Feb 2013, 03:46
by GaRailroader
I've had some success since last night. I followed sc0ttman steps #1 and #2 verbatim. Step 3 was for Akita, I was using Precise 5.4.3. I opened a terminal and typed in the command: su -l spot<cr> I then typed in whoami<cr> and it reported back spot. I fired off a Seamonkey session from this terminal using : DISPLAY=:0 seamonkey<cr> I then browsed to Hulu and played a video. Upon completion, the video was saved in the root folder using the same name as Hulu server. This is a major breakthrough for me. Thanks to all those contributors to this thread.

Pat

Posted: Tue 12 Feb 2013, 17:57
by poilu
Hulu is only for USA but are you sure that is rtmp stream?
You can verify with wireshark: http://www.youtube.com/watch?v=8PuUnQCS7DQ.
Ciao

Posted: Tue 05 Mar 2013, 03:19
by GaRailroader
From everything I've seen and read, Hulu is an rtmp stream. Unfortunately, my success has been limited. I've been able to get rtmpsuck to save a video that I'm streaming in a spot user Seamonkey session but rtmpsuck seems to choke on an error message before completing a stream. The most video I've been able to get is about the first 12 minutes of a 42 minute video. If anyone has any tips, I'm all ears.

Pat

New question on rtmps/tlsv1/ssl

Posted: Wed 06 Mar 2013, 09:50
by poilu
Can I capture a stream video in tlsv1 on ssl?
Peraphs rtmps so work?
I want capture rtmps on 443 tcp port.
Am I delirius?
Thanks

Posted: Thu 14 Mar 2013, 13:13
by poilu
Ok.
if you get a dev channel release of Chrome and a trunk build of Wireshark you can run Chrome with the environment variable SSLKEYLOGFILE set to, say, /home/foo/keylog. Then, in Wireshark's preferences for SSL, you can tell it about that key log file. As Chrome makes SSL connections, it'll dump an identifier and the connection key to that file and Wireshark can read those and decrypt SSL connections.
Ciao

Totally awesome......so far

Posted: Thu 28 Mar 2013, 04:35
by stevielee
Hi all....

I was started on this kick of acquiring video over the net (in a variety of ways) and had varying degrees of luck. Some browser plugins do a lot, but big sites like Hulu seem to evade me. Maybe the usual capture plugins just need to be updated - I have not tried it in a while.


This thread here got me started on a much closer monitoring of incoming streams rather than relying on the plugins which don't let you get into the guts of what is really happening. I played with it a while back, but no luck. Thanks to Garailroader I did get a stream from Hulu today, and was quite pleased. I would like to know the following:

I first tried to run as spot with su spot then I started a browser with the defaultbrowser command, but I got the same result as Garailroader.....the rtmpsuck terminal produced no response.

I then did exactly as he did,...I used su -l spot and then DISPLAY=:0 seamonkey.........and the Hulu stream came in on the rtmpsuck window nicely. It also automatically recorded it to /root (the home or ~ directory) without me doing anything. Is that normal? Do live streams record automatically as well? Also, why did small changes in the su and browser commands get the right results?

I don't know why this thread is not hugely popular. What are the best methods for getting the videos one wants - outside of direct downloads of files, drop sites, torrents, etc. Mainly I was wondering if this rtmpdump method is the best way to get into the heart of a media stream. Also, what does wireshark do and is that useful here?

I am very appreciative of the insights of scottman, garailroader, and poilu....I would get nowhere without your input.

Thanks,

Steven




Hmmm....seems like Hulu is not cooperating on full episodes of things....it has erratic behavior...does anyone see this also?

Posted: Wed 05 Jun 2013, 19:22
by poilu
@all.
STreamplay with vlc and now ok also in UBUNTU!
Thanks to Sc0ttman STu90 and Darby Crash for modify.
And other.
Ciao