LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-25-2011, 04:54 AM   #1
sokha
Member
 
Registered: Sep 2008
Posts: 46

Rep: Reputation: 15
mplayer how to dump the streaming internet TV


Today I would like to figure out of how to save the Internet TV for later view by using mplayer.
Example address of TV station: http://mms1.mekongtv.net:8888/bayontv

I would like to limit the dumpfile size or duration to limit but it did not work. Here are a few thing I tried:

Code:
mplayer -dumpstream -dumpfile "$(date +%H%M_%d%m%y).wmv" -endpos 00:05:00 http://mms1.mekongtv.net:8888/bayontv
Code:
mplayer -dumpstream -dumpfile "$(date +%y%m%d_%H_%M).wmv" -ss 00:00:00 -endpos 00:05:00 http://mms1.mekongtv.net:8888/bayontv
Code:
mplayer -dumpfile "$(date +%y%m%d_%H_%M).wmv" http://mms1.mekongtv.net:8888/bayontv -endpos 30mb
I just read http://wiki.multimedia.cx/index.php?title=MPlayer_FAQ and they say that -dumpstream and -endpos or -frames dont work together. Is there anyway or other software that I could dump the internet TV to a file with limit duration or size? The three commands above stream the file forever until I interrup.

Thanks a lot,

Last edited by sokha; 01-25-2011 at 04:55 AM. Reason: typo
 
Old 01-25-2011, 08:59 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
If anything, you could pipe a limit into it, such as using awk or grep, or something from that nature.
 
Old 01-25-2011, 04:59 PM   #3
sokha
Member
 
Registered: Sep 2008
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by corp769 View Post
If anything, you could pipe a limit into it, such as using awk or grep, or something from that nature.
I do not understand, could you explain it more detail?

Thanks,
 
Old 01-25-2011, 07:22 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
I'm just saying in general, maybe use grep or awk to do whatever you are trying to do with the file.
 
Old 01-25-2011, 10:26 PM   #5
sokha
Member
 
Registered: Sep 2008
Posts: 46

Original Poster
Rep: Reputation: 15
OK. I found a solution now. Eventhough that is not the best but it works. http://www.cyberciti.biz/faq/shell-s...er-alarmclock/
 
Old 01-26-2011, 03:17 PM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Nice to see that you figured something out. Mark your thread as solved if you can, thanks.
 
  


Reply



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
streaming video with MPlayer linuxhippy Linux - Software 1 07-28-2006 02:47 PM
streaming media with mplayer filterfann Linux - Software 1 03-02-2006 09:56 PM
91x.com streaming and Mplayer? QubeSquare Linux - Software 1 03-31-2004 06:47 PM
MPlayer: DVD stream.dump - what format? dreamtheater Linux - General 1 02-20-2004 05:04 AM
mplayer and intelligent streaming vurtuali Linux - Software 1 09-21-2003 09:58 AM

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

All times are GMT -5. The time now is 12:28 PM.

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