LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-16-2005, 03:08 AM   #1
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Rep: Reputation: 31
unable to play wmv + convert


I'm trying to play WMV files and have had no success-- I've tried mplayer and vlc, both of which simply show the first frame and fail to continue. Has anyone else run into a similar or identical situation? If I can't resolve this, I would like to convert wmv to avi or mpeg... which would be interesting to know how to do anyway.


I've tried both transcode and ffmpeg:

#transcode -x mplayer -i file.wmv -y xvid4 -o file.avi
[transcode] ERROR: The 'mplayer' program was found, but is not accessible.
[transcode] Not a directory
[transcode] Please check your installation.
audio import module error: OPEN failed
[transcode] critical: failed to open input source


#ffmpeg -i file.wmv -an -vcodec xvid file.avi
Unknown codec 'xvid'

If I remove 'xvid' I'm greeted with the error:
Unknown codec 'file.avi'


I have tinkered around with transcode before with a very low success rate and have yet to really try doing anything with ffmpeg up to this point.
 
Old 07-16-2005, 05:31 AM   #2
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Hi,

I use xine, which is a very compatible player and supports lots of formats. You can download it from the the link above. I quote (from the xine documentation):
Quote:
Can I watch Windows Media (.asf/.wmv/.wma) files using xine?

While the container format (system layer) ASF (wmv is just an alias) is fully supported in xine, for newer windows media 9 based streams you'll need to install windows binary codecs (.DLLs).

Possibly the most convenient way to get the Windows DLLs is to download them from the MPlayer website. The package is called "essential". Unpack it and move everything you find inside to /usr/lib/win32 (actually you can place them anywhere you want, e.g. someplace in your home directory, but then you'll have to set decoder.external.win32_codecs_path in your xine config file accordingly). Restart xine then and you should be able to watch windows media streams.


J_K9
 
Old 07-16-2005, 01:35 PM   #3
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
I just looked at the VLC features list and it turns out it doesn't support WMV 3 (only WMV 1/2).

I have downloaded 'essentials' and placed the files under /usr/local/lib/codecs.
Quote:
Unpack the codecs archives and put the contents in a directory where MPlayer
will find them. The default directory is /usr/local/lib/codecs/ (it used to be
/usr/local/lib/win32 in the past, this also works)
I was never successful in compiling Mplayer from sourcecode when I tried a month or so ago and therefore finally ended up installing it with apt-get (mplayer-586). I uninstalled it and reinstalled it in order for it to recognize the codecs, but it still fails to play the wmv file. Is there a rule that I have to compile it from sourcecode for it to work or should apt-get work just the same? I can't think of any reason why it wouldn't.
 
Old 07-17-2005, 03:16 PM   #4
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Original Poster
Rep: Reputation: 31
Bump.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert .wmv to .mp3.... Scrag Linux - Software 11 12-01-2013 04:21 AM
how do i convert wmv to flv using ffmpeg? farmerjoe Linux - Software 0 11-15-2005 02:20 PM
convert wmv to mpeg-4? cs-cam Linux - Newbie 2 01-17-2005 04:36 PM
How would I convert WMV to MPEG? db391 Linux - Software 6 11-16-2004 05:17 PM
Mplayer unable to play 'wmv' format harsha_vardhan Linux - Software 1 02-02-2004 01:30 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration