maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   How to install all video and audio codec (https://talk.maemo.org/showthread.php?t=92246)

xerxes2 2014-01-05 14:37

Re: How to install all video and audio codec
 
Quote:

Originally Posted by n950 (Post 1403946)
one error. it's not plcon refresh for the command line.

it's pkcon refresh.

anyways my Mp4 file i need to read it with what player if i have installed all the plugins?

if i try to read it going in gallery and videos and i push play icon in center. nothing move!
even with LLs video player no run of the video.

why?

is there a command line to run a mp4 file?

You've already been told that mp4 is just a container and you're trying to play a weird Sony format that is not supported atm. Just use Handbrake or something to convert them to h264 and they'll work just fine. And no, afaik there's no cli app available either.

xerxes2 2014-01-05 14:54

Re: How to install all video and audio codec
 
Done some more testing now. First audio, I've tried aac, opus, ac3, vorbis, dts, mp3, alac and flac and I haven't had a single glitch with audio so far. And hopefully it stays that way. :)

Now for video, I've focused on three different formats, h264, xvid and vp8. H264 just seems to work and I haven't noticed any problems so far. With vp8 and xvid on the other hand there are problems with some files. If I take a legal example like BBB:

This one works:
http://video.webmfiles.org/big-buck-bunny_trailer.webm

but this one doesn't:
http://bennugd-vlc.googlecode.com/fi...unny_480p.webm

And for xvid there's this one that doesn't work either:
http://thepiratebay.se/torrent/53160...Rip.XviD-MEDiC

And for other mpeg4 codecs this one works:
http://download.blender.org/peach/bi...rround-fix.avi

but this one doesn't:
http://download.blender.org/peach/bi...80p_stereo.avi

So to sum it up, there's something missing in the gstreamer pipeline for some files, possibly just a ffmpegcolorspace element. IIRC the jolla gstreamer dev has posted on TMO and if you want help with testing stuff but don't want to do it in the open due to legal reason you can pm me and we can take it from there. This bug is probably in opensource code but to find it in the huge qt codebase is not that easy if you don't know where to look.

rainisto 2014-01-06 00:17

Re: How to install all video and audio codec
 
xvid codec is not included in SailfishOS because of patent license fees.

https://together.jolla.com/question/...etter-support/

xerxes2 2014-01-06 00:20

Re: How to install all video and audio codec
 
Well, that much we know. Together with lots of other codecs. :)

Kaacz 2014-01-22 00:11

Re: How to install all video and audio codec
 
Quote:

Originally Posted by rainisto (Post 1404115)
xvid codec is not included in SailfishOS because of patent license fees.

https://together.jolla.com/question/...etter-support/

Thanks for info.
But we not solve "why not". We want solve "how we (community) do it". :)

Kaacz 2014-01-22 00:20

Re: How to install all video and audio codec
 
Interesting is:
- x264 video with AAC/AC3 stereo/6ch in MKV work fine.
- FLAC stereo audio play fine.
- x264 video with FLAC stereo/6ch in MKV => video without sound
:)
in both Gallery & LLs.vPlayer

DeeGee 2014-01-22 07:37

Re: How to install all video and audio codec
 
Shouldn't XviD play back just fine with standards compliant h.263 decoder? So no need for specific XviD decoder, just need to send XviD streams to the h.263 decoder. And Jolla should already have a h.263 decoder, at least mp4 files with h.263 play back fine.

xerxes2 2014-01-23 12:31

Re: How to install all video and audio codec
 
Unfortunately not, it seems that there are lots of incompatible h263 type codecs.

hana 2014-01-23 14:23

Re: How to install all video and audio codec
 
MPEG-4 Part 2 (ASP, DivX, Xvid etc.) is only partially based on H.263.

n950 2014-01-24 14:06

Re: How to install all video and audio codec
 
when i try to read a .mov file from Iphone 4 it doesn't work with codec installed why?

How can i read it?


All times are GMT. The time now is 14:24.

vBulletin® Version 3.8.8