0

I want to play .wmv files on Ubuntu, but it seems these files are proprietary and are not playable under Windows. So downloaded the ffmpeg source code and compiled it. Now, ffmplay is able to play .wmv files. I want to know how I can use ffmpeg codecs with VLC player, or with Ubuntu's default video player.

Richard
  • 8,588
ali129
  • 167
  • 2
  • 13

2 Answers2

2

Unless we need a new or special version we do not have to compile the video tool FFmpeg Install ffmpeg.

It is available for installation from the repositories. When installed from there it will also install the codecs needed to play most formats.

At present this will be the package libavcodec-extra-53 Install libavcodec-extra-53 which can also be installed without ffmpeg if we only needed the codecs for other applications.

After installation ffmpeg will list all supported codecs including WMV versions with:

ffmpeg -codecs

Due to a bug we will get this misleading message:

*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.

We can ignore this as ffmpeg is still being supported and will be further developed too. But we can of course also install and run avconv Install avconv which has almost the same functionality and command syntax.

Install via the software center

Takkat
  • 144,580
0

You will want to get h264 since that's what VLC uses. To get the codec for ffmpeg, you will need to recompile with the lib. I wrote bash script for that to download and do all of compiling of multi-libs.

https://gist.github.com/faroncoder/7935868

You will need to chmod +x the file before firing off the script.

Faron
  • 1,418
  • 11
  • 14