Hot answers tagged

157

There is also a PPA for libde265 GStreamer integration. With that installed one can playback H.265 with all GStreamer applications (Browsers, Totem, etc.). sudo apt-add-repository ppa:strukturag/libde265 sudo apt-get update Now try playing back a .mkv containing HEVC/H.265 content using any GStreamer-aware player (e.g. "totem"). This should detect the ...


89

To Enable Playback: Install libdvdread4: sudo apt-get install libdvdread4 Then install libdvdcss: sudo /usr/share/doc/libdvdread4/install-css.sh Best Players: According to the Ubuntu Wiki, Kaffeine, MPlayer, xine, Totem-xine, VLC, and Ogle will play DVDs with libdvdread and libdvdcss installed. I use both Totem and VLC to play DVDs. It's useful to ...


26

UPDATE: May-2015 For Ubuntu 15.04 and 14.04 LTS (12.04 or later) install CURL tool sudo apt-get install curl load VideoLAN repository curl ftp://ftp.videolan.org/pub/debian/videolan-apt.asc | sudo apt-key add - echo "deb ftp://ftp.videolan.org/pub/debian/stable ./" | sudo tee /etc/apt/sources.list.d/libdvdcss.list sudo apt-get update install VLC and ...


26

If you prefer command-line you can use ffmpeg (or handbrake-cli). MP4 Assuming you're using a recent version of ffmpeg: ffmpeg -i input -c:v libx264 -crf 23 -preset medium -c:a libfdk_aac -vbr 4 \ -movflags +faststart -vf scale=-2:720,format=yuv420p output.mp4 -crf: Quality. Range is logarithmic 0 (lossless) to 51 (worst quality). Default is 23. ...


25

Arista Transcoder You can use this software, that I always use and I think it's really good. To convert an ogv file to mp4 you should choose any Sony device.


21

Commercial DVDs are copy protected to ensure that you aren't able to backup your legally acquired movies, but instead have to buy new ones if they break. You also aren't allowed to enjoy them in just any manner you please; you may only watch them on certain devices with pre-installed decryption keys. Unless those devices are too old, of course; Then you ...


15

The files are maybe protected by Windows Media DRM. One solution is to play and record them without DRM with your windows system, another is to use a tool like FreeMe2. You could also burn the files as audio cd and rip them again. The Free Software Foundation calls it: "Digital Restrictions Management". Tip: Stop using Windows Media Audio. Use another ...


14

An alternative to @longsleep's great answer is, if using VLC: as noted here you can upgrade to VLC 2.2.x or higher to get HEVC/H.265 support. If on 14.04, you need to add this repo to get 2.2.x+ versions of VLC: sudo add-apt-repository ppa:mc3man/trusty-media sudo apt-get update, and sudo apt-get dist-upgrade or sudo apt-get install vlc vlc-plugin-...


13

Install this packageby clicking on this icon: Or via command line: sudo apt-get install ubuntu-restricted-extras Installing this package will allow you to play MP3 files, and to decode various audio formats such as LAME. It will also allow you to use Microsoft fonts, install the Java Runtime Environment, Adobe Flash, and play DVDs. Additional reading: ...


13

Please see the following official documentation for Bluray disc playback on Ubuntu:


13

Fluendo multimedia codecs exists as commercial products because of software patents (required for decoding mpeg, mp3, etc) and silly-DRM removal laws (ie parts of DMCA, Digital Economy and ACTA) that stop you removing the CSS DRM on DVDs. The Medibuntu variants are still free software as they're not infringing any copyright (to my knowledge anyway). Whether ...


13

One way of doing this is by using VLC. Open the file in question, right click on it in the playlist and you'll see something like this: I'm on OS X but the idea is the same. Another way is to open a terminal, navigate to the directory containing the file and do: $ file foo.avi This doesn't provide a great deal of information but it is a start.


12

This is explained in the official Ubuntu documentation under, well "Playing DVDs" ;) https://help.ubuntu.com/10.04/musicvideophotos/C/video-dvd.html Install the libdvdnav4, libdvdread4, gstreamer0.10-plugins-bad and gstreamer0.10-plugins-ugly packages and run the following in a terminal (Applications → Accessories → Terminal ): sudo /usr/share/doc/...


11

This is an older question now but a modern FFmpeg, early 2014, would convert in the following manner: ffmpeg -i demo.ogv \ -c:v libx264 -preset veryslow -crf 22 \ -c:a libmp3lame -qscale:a 2 -ac 2 -ar 44100 \ demo.mp4 and this should create an excellent file....


10

Install ubuntu-restricted-extras Also have a look at this page.


10

Normally when you install Ubuntu in the installer it asks you to install 3rd party stuff which includes this codecs for video/audio. Click here: ubuntu-restricted-extras It will ask for some additional dependencies, just say yes. Then click on the apply button. This will install not only the codecs you need but many other things including fonts, flash ...


8

Some are for legal reasons - some video/audio formats require further license agreements or don't quite fit under the Ubuntu license schema. You can read more about this on the Ubuntu Wiki: Restricted Formats page. I know that Ubuntu Studio comes with a lot of these codecs and "drivers" already installed. However for an average desktop user it's a lot of ...


8

My solution was to go to Tools > Preferences in VLC and, in the Video tab: Check the box for Enable video (if it's unchecked). Check the box for Window decorations (if it's unchecked). Set the Output drop-down menu to X11 video output (XCB). Then Save your changes. That may fix the problem.


8

-addons vs -extras Looking at the packages it's easy to tell these are metapackages - they're just depending on other packages and are empty by themselves. The only reason for their existence is to ease the user in installing a set of packages by just setting dependencies. By looking at the dependencies of these you can see that -extras is depending on -...


8

UPDATE: The fix has now been released. On 12.04, 12.10, 13.04, 13.10. Do: sudo apt-get update Then just like on PlayingDVDs Wiki: sudo apt-get install libdvdread4 (make sure to do this step, or do sudo apt-get upgrade) And: sudo /usr/share/doc/libdvdread4/install-css.sh Old Information on bug A Fix has been proposed on Launchpad and is not ...


7

You will need to install these : sudo apt-get install ffmpeg libavcodec-unstripped-52 libavdevice-unstripped-52 libavformat-unstripped-52 libavutil-unstripped-50 libpostproc-unstripped-51 libswsclale-unstripped-0 x264 In Karmic, Lucid and Maverick you should replace "unstripped" by "extra" but since there is transitional packages this work too. And then ...


7

As noted in Ubuntu Community Documentation, by default, Ubuntu tries to only include completely free software means that proprietary media formats are not configured 'out of the box'. However, extra packages can be installed to play those proprietary media format. To play the proprietary media format, install the ubuntu-restricted-extras package. You can ...


7

The instructions on the Ubuntu Documentation site were quite right. As david6 pointed out, I simply needed to read further down the page and set the region code. The process: 1. Install libdvdcss sudo /usr/share/doc/libdvdread4/install-css.sh (libdvdread4 came installed with the laptop.) 2. Set my region code After making sure the universe ...


7

Ubuntu's commitment to only include completely free software by default means that proprietary media formats are not configured 'out of the box'. See Ubuntu's Free Software Philosophy and the Free Formats page for a more comprehensive discussion of these issues. Notable part from the 1st link: Ubuntu 'main' component licence policy All application ...


6

You can't compare Windows and Linux, because video driver performance and features are different. For instance, if you are using nVidia you need a card that supports vdpau for best performance, which is equivalent to PureVideo in Windows. PureVideo supports many more cards. However, depending on your CPU, you can play HD videos smoothly without vdpau support....


6

Another command line option with less "harsh" information: ffprobe -show_streams "file.mp4" Even with better output, it's still hard to a regular guy understand. If you need samples of several file formats to test it: Video Format Examples


6

There is a plugin for the GIMP, written by Nathan Osman. You can add this plugin from his webptools PPA: sudo apt-add-repository ppa:george-edison55/webp Then install the required package: gimp-webp (Click the link above or run the following): sudo apt-get install gimp-webp As for thumbnails in nautilus, this seems to be a bug with MIME, as ...


6

This should start with a caveat, that transcoding between lossy media formats will generally involve loss of quality. There are lots of options here: Convert older formats (MPEG-1, DivX 3 etc) to newer and more efficient codecs (eg x264, theora) which will generally mostly preserve video/audio quality in a smaller output. Reduce the target bitrate or ...


6

Yet another alternative - if you have Google Chrome installed - is to add/install H.265 / HEVC player (in)to your Chrome browser. After that, you can head straight to "Google Chrome Applications" (at your Ubuntu distro menu) and run the player. Or you can just start Google Chrome, type in the URL chrome://apps and hit Enter. This will cause Google Chrome to ...


6

No need to spend this ridiculous amount of money on some codecs! Use it to make a donation or buy some flowers instead. This is a free way: Make sure to install both mplayer and lame. To do this open a terminal (Ctrl+Alt+T or Super+T) and paste (Ctrl+Shift+V) the following line and hit Enter to run: sudo apt-get install mplayer lame Enter your password when ...



Only top voted, non community-wiki answers of a minimum length are eligible