0

my friend sent me film with xz format and that file can't open. How to open that xz file in movie player program?

  • 3
    Sounds like a compressed file, check this answer: http://askubuntu.com/questions/92328/how-do-i-uncompress-a-tarball-that-uses-xz – Jakob Lenfers Apr 12 '16 at 07:53
  • xz is a compression format. You uncompress it and then play it. – muru Apr 12 '16 at 07:53
  • 1
    Right-click on the file and select extract here. – mchid Apr 12 '16 at 08:01
  • Just a reminder: players like VLC have archive reader extensions that can play certain certain types of (compressed) archives as if they were folders. This doesn't work with every compression algorithm though. On the other side the are formats like Matroska with a pleathora of features (ordered chapters, header compression and stripping, font and cover attachments etc.). – LiveWireBT Apr 12 '16 at 23:43

2 Answers2

2

xz is a compression file format. To uncompress it

If your file format is tar.xz use

tar xf archive.tar.xz

and if your file format is xz use

unxz archive.xz

If you are having problem with tar xf command then you may need to install xz-utils . FYI xz-utils comes pre-installed in Ubuntu.

To install xz-utils use

sudo apt-get install xz-utils

You can also use Nautilus to extract the files. After that use a video player to play your video.

Rahul K Jha
  • 1,018
0

You first have to extract the .xz file. Open the nautilus file manager, right-click the file and select Extract Here. Now click on the extracted file and in case it has a format for which all the necessary media plugins are installed, your default media player will open and start playing.

cl-netbox
  • 31,163
  • 7
  • 94
  • 131