LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-28-2014, 03:18 AM   #1
Filippo.rosa
LQ Newbie
 
Registered: Feb 2014
Posts: 14

Rep: Reputation: Disabled
Why can MPlayer open a rtmp video but cannot download it?


when I open a rtmp movie with Mplayer I can see the streaming but when I try to download it I have:
"ERROR: Closing connection: NetStream.Play.StreamNotFound"
anyone knows something about?
I am running linux mint 13 based on Ubuntu Precise.
 
Old 02-28-2014, 12:51 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,288
Blog Entries: 6

Rep: Reputation: 1906Reputation: 1906Reputation: 1906Reputation: 1906Reputation: 1906Reputation: 1906Reputation: 1906Reputation: 1906Reputation: 1906Reputation: 1906Reputation: 1906
Post the link to the video.
Post the command string that you are using to download it.
 
Old 02-28-2014, 01:23 PM   #3
LinuxCrushesWindows
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Rep: Reputation: Disabled
You can try these two flags with mplayer: -dumpfile and -dumpstream

mplayer -dumpfile filename.xxx -dumpstreamm <URL of video stream>

if that doesn't work, install a firefox plugin called DownloadHelper.

If the video is protected then mplayer and Downloadhelper won't cut it. Your last option, if you really want the video, is to do a screencast recording of the browser window as the video is playing.
 
Old 02-28-2014, 03:58 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,643

Rep: Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653
Quote:
Your last option, if you really want the video, is to do a screencast recording of the browser window as the video is playing.
only if you ARE the legal holder of the copyright
but then you would not have to do that

suggesting copyright infringement is a bit against the forum rules
 
Old 02-28-2014, 04:27 PM   #5
Filippo.rosa
LQ Newbie
 
Registered: Feb 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
thanks for the replies

Hi,
I don't know if the video is protected, but with vlc on a windows PC I can save it.
On the contrary vlc installed in LinuxMint does nothing.
Mplayer can play the rtmp but when I tried the command:
mplayer -dumpfile filename.mp4 -dumpstreamm <URL of video stream>
4 hours have passed and nothing happened!
so I decided to use curl or rtmpdump but the NetStream.Play.StreamNotFound error comes out.

DownloadHelper (and similar) doesn't recognize the rtmp...

unfortunately I can no longer use the windows PC...

Last edited by Filippo.rosa; 02-28-2014 at 04:33 PM.
 
Old 02-28-2014, 06:28 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,643

Rep: Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653
Quote:
On the contrary vlc installed in LinuxMint does nothing.
please define " dose nothing"
did you install any of the non free codecs , they are not normally installed by default

and what version of VLC ?
vlc 1 or the current vlc 2

and can you post a link to this " non working URL"

i use the QT front end to mplayer "Smplayer" and have no issues with one of my YouTube videos
http://youtu.be/ObRGqnMi158
i open that link in the qt4 gui ( copy / paste ) and it plays
 
Old 02-28-2014, 06:51 PM   #7
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,301
Blog Entries: 24

Rep: Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256
Quote:
Originally Posted by John VV View Post
only if you ARE the legal holder of the copyright
but then you would not have to do that

suggesting copyright infringement is a bit against the forum rules
No one is remotely suggesting copyright infringement!

The absurdity of the concept of intellectual property! If the hardware and software are capable of storing a sequence of images that appear in his browser window on his own computer during some period of time absolutely, that unequivocally does not harm anyone in any way whatsoever - EVER! There is no need to ask permission from anyone EVER for such a thing!
 
Old 03-01-2014, 06:08 AM   #8
Filippo.rosa
LQ Newbie
 
Registered: Feb 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
ok

hi,
"does nothing" means that when I open the url, vlc stays in the idle mode (black screen with the traffic cone) until I have to close it. I have VLC media player 2.0.8 Twoflower installed.
I have also tried smplayer, but acts the same way as vlc.

I didn't install codecs, how to do it?
I simply run: sudo apt-get install ubuntu-restricted-extras!
I am a newbie.
Otherwise can I store the complete video in the mplayer's cache folder from the interface?
I attempted to install mplayerplug-in but got me Dependency satisfiable error.

It isn't a problem of a single rtmp url, but of all the ones I tried.
For example the video in this page:
http://home.popcorntv.it/video/?cid=11329
smi for the rtmp:
http://rrr.sz.xlcdn.com/?account=del...za&output=smil
 
Old 03-01-2014, 07:38 AM   #9
bat999
LQ Newbie
 
Registered: Sep 2013
Location: UK
Distribution: Linux Mint 18 "Sarah" - Xfce (64-bit)
Posts: 29

Rep: Reputation: Disabled
Quote:
Originally Posted by Filippo.rosa View Post
For example the video in this page:
http://home.popcorntv.it/video/?cid=11329

... I have VLC media player 2.0.8 Twoflower installed...

... can I store the complete video in the mplayer's cache folder from the interface?...
Hi
To download this type of video, MPlayer or VLC are no use.

It can be downloaded with RTMPDump.
This is the command that worked for me ---> ___http://pastebin.com/raw.php?i=g5Bg9yHu
(But sometimes the commands "time out", so my command might not work for you when you come to try it)
 
Old 03-02-2014, 09:12 AM   #10
Filippo.rosa
LQ Newbie
 
Registered: Feb 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
thanks

I realized my mistake: I wrote the swf and the playpath wrongly. Sorry everyone.
So I decided to do another download, but once rtmpdump had finished, the file did not come properly: there are frequent still images. While the audio goes, the video remain locked at the same frame every X time.
I thought that the solution could be removing the -v command, but doing in this way rtmpdump always starts downloading again from scratch after some time.
Is there a way to get an autoresume on rtmpdump to prevent the restart loop?
or at the most to ensure that the program will stop instead of start again downloading.

To sum up the question thread:
Mplayer can play rtmp video, but for download I must use rtmpdump.
 
Old 03-03-2014, 06:48 AM   #11
Filippo.rosa
LQ Newbie
 
Registered: Feb 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
I started by reading this thread:
http://www.linuxquestions.org/questi....php?p=4709033
but I was unable to figure out how to do it.
 
  


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
Question about RTD VFG7350,Compressed video capture,Mplayer,Cat video dxj Linux - Hardware 1 01-10-2010 05:32 AM
Question about RTD VFG7350,Compressed video capture,Mplayer,Cat video dxj Linux - Software 0 01-10-2010 01:49 AM
Mplayer doesn't open video files Shaopudding Linux - Software 2 06-24-2005 11:22 AM
How to set double click to open video in full screen in mplayer ankur_linuxfan Linux - Software 1 05-14-2005 04:33 AM
Mplayer plugin download, but no video Ottoguy Linux - Software 3 04-20-2004 01:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:48 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
Open Source Consulting | Domain Registration