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.
Hi. I'm wondering if it's possible to fix a video file that I downloaded from a stream using MPlayer (using -dumpstream -dumpfile out.wmv mms://blah...). It did play once; in fact, I played it with xine while it was downloading. Now, I can't play it at all. MPlayer gives this error:
Playing out.wmv.
ASF file format detected.
No data chunk following header!
libavformat file format detected.
LAVF_header: av_open_input_stream() failed
As far as I know there is no DRM involved (I tried playing it on a windows pc in WMP10 and it wouldn't even recognize the format.) Why will this not play now, when it did before? (I hope I don't have 561 MB of crap sitting on my desktop.)
I have another file from the same stream that works, and I'm wondering is it possible to copy the header from the good file onto the bad one somehow? Any thoughts? Thanks..
I have another file from the same stream that works, and I'm wondering is it possible to copy the header from the good file onto the bad one somehow?
I doubt it, since ASF is a media container just like AVI and the header is built specifically for and describing that stream. You could try to demux the stream and rebuild it. I don't know if GNU/Linux can handle that with the win32codecs, could try ClippyOS, AVS with Virtualdubmod. Else if you could open the .asx file (it's just text) you could try downloading the stream directly?
Thanks for your reply. I tried Virtualdubmod (had to use a Windows PC for that) and it too complained about a missing chunk after the header. Whatever is missing won't let me demux using ffmpeg or similar. I tried opening the file in emacs and copied/pasted headers. ffmpeg was then able to tell that it is a wmv file but it couldn't detect the sample rate. Not much of the file is human-readable so it's probably a lost cause. Fortunately the TV station posted this program on their site, so I just downloaded it from there, albeit it's of much less quality than the original stream.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.