![]() |
How to install all video and audio codec
Hello,
I want to install video and audio codec on my jolla phone. Where can i find them to read all video files? How to install them too? Thanks |
Re: How to install all video and audio codec
http://en.wikipedia.org/wiki/List_of_codecs
Some are opensource, som are not. There is no 'install'em all' package :P Allthough, you can try and compile VLC http://www.videolan.org/vlc/download-sources.html |
Re: How to install all video and audio codec
Sailfish OS uses gstreamer right? Should'nt it be relativly easy to compile gst-ffmpeg for sailfish?
Will have a look with mer platform-sdk in the future |
Re: How to install all video and audio codec
Yes, probably also simple to compile VLC, did a small test here (at work LOL) and I dont think it should be to hard, will look into it later
|
Re: How to install all video and audio codec
Quote:
|
Re: How to install all video and audio codec
heh, yeah, I am not a GUI kinda guy. I love my commandline crap ;)
But, perhaps, someone can add that to compiled code ;) |
Re: How to install all video and audio codec
What codecs are missing? Give me some examples and I'll look into it. Gst-ffmpeg is already installed by default but could of course be missing stuff that's been disabled for legal reasons. I can't find gst-plugins-ugly though. IIRC VLC is not yet ported to Qt5 so no luck there.
|
Re: How to install all video and audio codec
I think that they disabled them ;). AC3 is missing probably DTS and co too. Must test it soon
|
Re: How to install all video and audio codec
VP8 / VP9 are notably missing ("thanks" to Nokia for being a troll serving their MS overlords).
One can also build mplayer, or mpv. They support tons of codecs and don't rely on gstreamer (they use ffmpeg or libav directly). |
Re: How to install all video and audio codec
For exemple I have recorded MP4 file with my Sony Cybershot and I can't read it with sailfish player why?
I need one codec (support all video and audio) to install in RPM file possible? with the terminal. Like FFdshow http://sourceforge.net/projects/ffdshow/ http://www.free-codecs.com/download/ffdshow.htm or FFmpeg :) |
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 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. |
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. |
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).
|
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
|
Re: How to install all video and audio codec
Quote:
perhaps this link is useful for libvpx http://www.linuxfromscratch.org/blfs...ia/libvpx.html |
Re: How to install all video and audio codec
libvpx is here: http://www.webmproject.org/code/
|
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" |
Re: How to install all video and audio codec
Quote:
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. |
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 |
Re: How to install all video and audio codec
Quote:
Handbrake or ffmpeg will probably convert it. |
Re: How to install all video and audio codec
Quote:
For exemple with my windows XP and FFDshow installed all MP4 files can play. I think it's possible with Linux but need to add some codec to the existing one in SailfishOS. |
Re: How to install all video and audio codec
n950: Windows example is irrelevant. Codecs are handled through libraries on Linux (libvorbis, libopus, libvpx, libav etc. etc.). And then there are frameworks built on top of that (like the mentioned above gstreamer). Applications use those libraries (for example mplayer) or they use higher level frameworks. Or a combination of both (for example Sailfish browser).
|
Re: How to install all video and audio codec
Any updates?
|
Re: How to install all video and audio codec
I managed to build libvpx but I can't seem to get any picture. The Gallery app only seems to take mp4 and gst-launch doesn't give any picture only sound. Is there not a video player available that plays everything that gstreamer supports?
Edit: And are Opus and DTS also missing? Because those are part of gst-plugins-bad too. |
Re: How to install all video and audio codec
Quote:
|
Re: How to install all video and audio codec
Opus is WIP, it's going to be enabled together with transition to gstreamer 1.0 (according to Jolla). I.e. nothing legal prevents it.
|
Re: How to install all video and audio codec
How did you run the gst-launch by the way?
|
Re: How to install all video and audio codec
Opus fixed and tested, was in -bad too. VP8 works according to gst-launch but it doesn't give any picture. I'm running gst-launch like this:
gst-launch-0.10 playbin2 uri=file:///home/nemo/test.opus But it doesn't seem to support pictures, we'll have to investigate a bit more. Someone must also write a video player that supports everything that gstreamer do. |
Re: How to install all video and audio codec
For video you need to use proper sinks I think. I'll take a look at how to run it.
|
Re: How to install all video and audio codec
I added support for DTS to -bad and tested on device. And xvid doesn't seem to be supported in -bad either so will have to add that too. Maybe even Gallery will support that.
|
Re: How to install all video and audio codec
Ok I added the rest of the plugins to openrepos now. So ...
gst-plugins-ugly -> ac3 and some more stuff gst-plugins-bad-extra -> dts, opus and vp8 gstreamer0.10-ffmpeg-extra -> xvid and the kitchen sink :) But we need a good video player too because Gallery is seriously crippled. Edit: Install instructions: Code:
ssu addrepo sailfish_lib http://sailfish.openrepos.net/sailfish_lib/personal/main |
Re: How to install all video and audio codec
|
Re: How to install all video and audio codec
@xerxes2:
ok can you create for me the rpm file to install it on my jolla for these codecs? support mp4 file from sony cybershot? |
Re: How to install all video and audio codec
Quote:
https://openrepos.net/user/876/programs |
Re: How to install all video and audio codec
how can i install it?) just download and ...?
|
Re: How to install all video and audio codec
1 Attachment(s)
Quote:
I just have color issues with some XVID videos (see the attachment). But I don't know whether it's codec or player issue. |
Re: How to install all video and audio codec
Quote:
rpm --import http://sailfish.openrepos.net/openrepos.key plcon refresh pkcon install gstreamer0.10-ffmpeg-extra gst-plugins-bad-extra gst-plugins-ugly |
Re: How to install all video and audio codec
Quote:
http://pastebin.com/TxtdWMrg There you have everything that is supported by ffmpeg but Gallery might not play it anyway because it's crippled. |
Re: How to install all video and audio codec
Quote:
Edit: BTW, my messed up file looked exactly like yours so something is not quite right here. |
Re: How to install all video and audio codec
Quote:
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? |
All times are GMT. The time now is 14:20. |
vBulletin® Version 3.8.8