my friend sent me film with xz format and that file can't open. How to open that xz file in movie player program?
Asked
Active
Viewed 1,173 times
0
-
3Sounds 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
-
1Right-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 Answers
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
- 1
- 11
- 18
-
1There is no need to install xz-utils - it is already included in Ubuntu ! :) – cl-netbox Apr 12 '16 at 08:28
-
1And I doubt you want to use `tar` if you don't have `tar.xz` file. Just `unxz` in that case. – muru Apr 12 '16 at 08:38
-
-
-
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
- 30,845
- 7
- 93
- 131