Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm on a fairly slow Internet connection and even with a 1-minute buffer, my media player skips from time to time when I play a streaming video. What I'd like to do is download the streaming video (it's a 90MiB file), save it as wmv (for instance) and watch it locally. The URL of the video is:
%mplayer -dumpstream -dumpfile HD_20h_20071123.wmv mms://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/20h/HD_20h_20071123.wmv
MPlayer 1.0rc2-SUSE Linux 10.3 (i686)-Packman-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing mms://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/20h/HD_20h_20071123.wmv.
STREAM_ASF, URL: mms://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/20h/HD_20h_20071123.wmv
Resolving sdmc.contents.edgestreams.net for AF_INET6...
Couldn't resolve name for AF_INET6: sdmc.contents.edgestreams.net
Resolving sdmc.contents.edgestreams.net for AF_INET...
Connecting to server sdmc.contents.edgestreams.net[81.52.201.106]: 1755...
Connected
unknown object
unknown object
file object, packet length = 1444 (1444)
unknown object
unknown object
stream object, stream ID: 1
stream object, stream ID: 2
unknown object
data object
mmst packet_length = 1444
Cache size set to 64 KBytes
Stream not seekable!
%
Or...
Code:
%mplayer -dumpstream -dumpfile HD_20h_20071123.wmv mms://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/20h/HD_20h_20071123.wmv?WMCache=0
MPlayer 1.0rc2-SUSE Linux 10.3 (i686)-Packman-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing mms://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/20h/HD_20h_20071123.wmv?WMCache=0.
STREAM_ASF, URL: mms://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/20h/HD_20h_20071123.wmv?WMCache=0
Resolving sdmc.contents.edgestreams.net for AF_INET6...
Couldn't resolve name for AF_INET6: sdmc.contents.edgestreams.net
Resolving sdmc.contents.edgestreams.net for AF_INET...
Connecting to server sdmc.contents.edgestreams.net[80.12.192.79]: 1755...
Connected
unknown object
unknown object
file object, packet length = 1444 (1444)
unknown object
unknown object
stream object, stream ID: 1
stream object, stream ID: 2
unknown object
data object
mmst packet_length = 1444
Cache size set to 64 KBytes
Stream not seekable!
If you can't capture the stream with mplayer by dumping the stream then your installation of mplayer is messed up. I've saved streams hundreds of times with mplayer that way. Works on Linux, BSD, and Windows version of mplayer. Or you may not have the correct codecs installed.
Do you know how I could set up a cronjob to run this script everyday at 6:00pm and to change the date in the URL of the video?
Old thread, but since nobody answered. This is how I did it.
It's a radio chanel, but video ought to work the same way.
I always add a couple of minutes at the beginning and the end of the show, and then edit the wav-file in kwave before converting it to mp3 with lame.
In crontab, e.g.:
Code:
# Record Radio
52 19 23 7 * ~/bin/radio1
58 20 23 7 * ~/bin/radio2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.