LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-09-2011, 01:15 PM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Rep: Reputation: 213Reputation: 213Reputation: 213
Determine the RTSP stream of Youtube video?


Hello,

VLC can play the RTSP streams. Thus VLC could play the Youtube videos. Would you know a plugin for VLC to watch Youtube, or also could it be possible
from a given video to determine its rtsp url to watch it?

That would be great to directly watch in fullscreen with good resolution.

A solution with SH could be universal.

If it might be possible

Thank you
 
Old 10-09-2011, 01:35 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
I'm not sure what you're looking for. Perhaps something like this:

Code:
http://www.videolan.org/doc/vlc-user-guide/en/ch04.html

vlc -vvv rtsp://www.example.org/your_stream
These links might also be helpful:

* http://www.videolan.org/support/faq.html

* http://wiki.videolan.org/VLC_command-line_help
 
Old 10-09-2011, 01:47 PM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by paulsm4 View Post
I'm not sure what you're looking for. Perhaps something like this:

Code:
http://www.videolan.org/doc/vlc-user-guide/en/ch04.html

vlc -vvv rtsp://www.example.org/your_stream
These links might also be helpful:

* http://www.videolan.org/support/faq.html

* http://wiki.videolan.org/VLC_command-line_help
Well, Here is an example.

Would you have the same as vlcflvplayer.user.js but into Bash or perl?

Code:
http://pastebin.com/7Qr7KMU6
...
An alternative is to get it mozilla plugin.

Is there a SH script that does it as well (without even opening the youtube or requiring the mozilla iceweasel)?
Attached Thumbnails
Click image for larger version

Name:	plugin_mozilla.png
Views:	11
Size:	145.3 KB
ID:	8146  

Last edited by Xeratul; 10-09-2011 at 01:58 PM.
 
Old 10-09-2011, 03:47 PM   #4
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
In Linux at least, FlashPlayer downloads the video to a temporary file, then plays it from that. At least one version I've used saved the file to /tmp/flash?????? or something like that, and the current version downloads the file to a similar location and immediately deletes it (available by copying the hanging fd in /proc/???/fd for the process running the plugin.) I'm not sure if this is different YouTube versions, different FlashPlayer versions, or different plugin wrappers. Anyway, you might take a look at how the plugin wrappers are written. It's generally been a .flv, .wmv, or .mp4 format.
Kevin Barry
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloading Stream from RTSP protocol Snigger Linux - Software 2 01-02-2012 09:33 PM
Unable to play RTSP streaming from YouTube server paldebojyoti Programming 0 03-06-2010 02:34 AM
Stream rtsp:// (windows media, not real) or mms:// via command line gdanko Linux - Software 1 07-15-2009 04:31 PM
any way to find the stream duration of a ra audio radio via rtsp Emmanuel_uk Linux - General 3 01-11-2006 02:43 PM
how to use rtsp to stream in local? joeywu Fedora - Installation 0 06-16-2005 09:34 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration