We have moved to a new Sailfish OS Forum. Please start new discussions there.

.avi files better support [answered]

asked 2013-12-25 11:39:09 +0200

petros gravatar image

Seems like I can't play .avi files from sd card though it appears on the gallery but when I try to play the file I get a blackscreen with sound only!

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by JSEHV
close date 2016-02-08 12:19:37.235373



.avi is not a media format, but a container. So if you have an .avi, it could be of any common or exotic supported or unsupported format. In your case, the audio stream e.g. is in a supported format, while the video stream is not.

pycage ( 2013-12-25 18:02:35 +0200 )edit

Maybe some error message could be shown in such a case ?

Can't play video: the WMV format is not supported

Or something similar.

MartinK ( 2013-12-25 18:39:13 +0200 )edit

The n9 had a brilliant way of playing many video files without resizing/changing format of the file.

petros ( 2013-12-25 19:26:06 +0200 )edit

same here with xvid, thumbnailer seems to support it, gallery does not show any error. xvid is widely used, if it is not supported by sailfishos the video player is probably useless for many people (including me). I'm using vlc for now.

kelvan ( 2013-12-25 19:46:18 +0200 )edit

@petros - Add 'Ultimate Codec Support` from Openrepos (Warehouse) by xerxes2.

Openrepos; https://openrepos.net/content/xerxes2/ultimate-codec-support or download on your device from Warehouse on your Jolla.

I've tested 3 movies so far, 2 are .avi the other .mkv - only 1 of the avi's has problems, coloured streaks are visible across the screen but plays, the other 2 are playing back properly and are very watchable.


Spam Hunter ( 2015-04-12 17:51:56 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2013-12-27 00:41:16 +0200

rainisto gravatar image

updated 2013-12-27 00:43:43 +0200

Unfortunately we currently do not support xvid officially on our devices because of propriatary licencing fees of xvid. So it depends on what coded you have inside the avi, if its playable or not.

edit flag offensive delete publish link more


xvid is GPL, so no license fee for xvid, but there are still some patent sh..stuff. I don't think it should be a problem in the EU, but probably in the US. Is it possible to push a codec pack in the store?

kelvan ( 2014-01-05 03:43:47 +0200 )edit

Isn't it mentioned on that link that XviD files are MPEG4 ASP compliant, so your default h.263 decoder should play back (at least most) XviD files? Just need to route files with XviD FOURCC identifier to the h.263 decoder. Or is there some other legal problems?

DeeGee ( 2014-01-22 09:44:29 +0200 )edit

In N9 I played all video format without problems, why it's not the same in sailfish?

idro ( 2014-02-13 10:49:18 +0200 )edit

How can I add XviD support unofficially? Its a shame the media playing capabilities render the phone useless for watching/listening anything.

Whats funny is that when sending xvid files from windows to the phone windows offers to convert the files to a format supported by the phone and converts the files to WMV which isnt supported either :D

vasavr ( 2014-06-02 00:21:09 +0200 )edit

Question tools



Asked: 2013-12-25 11:39:09 +0200

Seen: 992 times

Last updated: Dec 27 '13