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)

0rphu 2014-01-02 17:22

Re: How to install all video and audio codec
 
Like it's been said here before, the multimedia is built around gstreamer, but not all plugins are available for whatever the reason. These should be the momentarily available decoders
Code:

[nemo@dhcppc1 ~]$ gst-inspect-0.10 | grep dec
openmax:  omxh263dec: OpenMAX H.263 Video Decoder
openmax:  omxh264dec: OpenMAX H.264 Video Decoder
openmax:  omxmpeg4videodec: OpenMAX MPEG4 Video Decoder
av:  avadec: av audio decoder
speex:  speexdec: Speex audio decoder
rtsp:  rtpdec: RTP Decoder
png:  pngdec: PNG image decoder
mulaw:  mulawdec: Mu Law audio decoder
jpeg:  smokedec: Smoke video decoder
jpeg:  jpegdec: JPEG image decoder
flxdec:  flxdec: FLX video decoder
flac:  flacdec: FLAC audio decoder
annodex:  cmmldec: CMML stream decoder
alaw:  alawdec: A Law audio decoder
vorbis:  vorbisdec: Vorbis audio decoder
theora:  theoradec: Theora video decoder
uridecodebin:  uridecodebin: URI Decoder
uridecodebin:  decodebin2: Decoder Bin
decodebin:  decodebin: Decoder Bin

you can notice for example mpeg2 decoder is missing.(it's part of gst-plugins-ugly which is not installed and not available in the repos)
Also not all plugins from other plugin bundles are available. Yesterday I compiled MPEG-2 transport stream demuxer from -bad, wasn't that hard using the Mer Build engine.

xerxes2 2014-01-02 18:18

Re: How to install all video and audio codec
 
I put gst-plugins-ugly on Openrepos now so AC3 should work. Will take a look at VP8/VP9 now.

Edit: Ok, no libvpx in Sailfish so will have to start building that and then look for gst plugins somewhere.

shmerl 2014-01-02 18:30

Re: How to install all video and audio codec
 
libvpx is missing in Sailfish for legal reasons (it's considered risky because of Nokia, but not because it's really infringing), but it can probably be added to Mer (unless Mer project also objects to it).

Teun 2014-01-02 19:01

Re: How to install all video and audio codec
 
I would love to see this realized... I remember the plugin package we had on the N900 it made it this multimedia beast. any way to recycle old maemo packages.. probably not

nieldk 2014-01-02 19:18

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

Originally Posted by xerxes2 (Post 1403122)
I put gst-plugins-ugly on Openrepos now so AC3 should work. Will take a look at VP8/VP9 now.

Edit: Ok, no libvpx in Sailfish so will have to start building that and then look for gst plugins somewhere.

not sure what you mean by having to search for gstreamer plugins ? you seem to have that - from freedesktop I assume :)

perhaps this link is useful for libvpx
http://www.linuxfromscratch.org/blfs...ia/libvpx.html

shmerl 2014-01-02 19:28

Re: How to install all video and audio codec
 
libvpx is here: http://www.webmproject.org/code/

xerxes2 2014-01-02 19:28

Re: How to install all video and audio codec
 
Yeah I found vp8 plugin in gst-plugins-bad but I can't get libvpx to build ... yet. Get an error:
"Requested CPU 'cortex-a8' not supported by compiler"

n950 2014-01-02 20:09

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

Originally Posted by xerxes2 (Post 1403145)
Yeah I found vp8 plugin in gst-plugins-bad but I can't get libvpx to build ... yet. Get an error:
"Requested CPU 'cortex-a8' not supported by compiler"

How can you compile a source code? for your exemple.

can you give me all the steps to add vp8 plugin to existing source codec? command lines plz
you are on linux? ubuntu? in terminal...
thanks in advance.

shmerl 2014-01-02 20:17

Re: How to install all video and audio codec
 
n950: Source code can be compiled with Mer SDK, or automatically with the OBS.

Start here:

https://wiki.merproject.org/wiki/Platform_SDK
https://wiki.merproject.org/wiki/Platform_SDK_and_SB2

This is also a useful page: https://wiki.merproject.org/wiki/Contribution_in_detail

aegis 2014-01-02 20:34

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

Originally Posted by n950 (Post 1403087)
For exemple I have recorded MP4 file with my Sony Cybershot and I can't read it with sailfish player why?

I've had this in the past with Sony equipment where they have their own codec. The file container format is MP4 but the codec is their own MSNV codec. Not all players support it so you have to convert it to regular MP4 before it'll play.

Handbrake or ffmpeg will probably convert it.


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

vBulletin® Version 3.8.8