Gstreamer-FFmpeg for MeeGo 1.2 Harmattan

Hi, If you are browsing this page you may be interested in adding additional codecs to the Harmattan GStreamer. Below you can find gstreamer-ffmpeg packages which allow your Qt app and the platform media player  to play more audio and video formats.

The packages here available are basically the Maemo ones: I’ve done only few changes in the debian files to let this package build on harmattan. Its source code has not been modified at all and it can be found in the Maemo extras repository: http://repository.maemo.org/extras-devel/pool/fremantle-1.3/free/source/g/gstreamer0.10-ffmpeg/

The packages you need to install on the device are the following:

If you are a developer and you found a bug you may want to install debug symbols on your device. If you are a normal user you don’t need this package at all!

In case you want to re-build this package on harmattan you have to:

2.uncompress the file with: tar cvf gstreamer0.10-ffmpeg-0.10.9-harmattan.tgz .
3. build it in the harmattan platform SDK (scratchbox) with the command dpkg-buildpackage -rfakeroot -b
To build this package you don’t need external dependencies. Additional libs are required in case you want to support additional codecs.

9 comments on “Gstreamer-FFmpeg for MeeGo 1.2 Harmattan

  1. I have one question. I installed this on my N9 hoping it would add wavpack support to the default media player but it didn’t seem to do the trick. How should I go about this thing. Does the repackaging pick up the wavpack codec if I add the debian wavpack arm dev package to the scratchbox, or how does adding codecs work? I’m in way over my head in this one so bear with me.

  2. Hi,
    WavPack has its own GStreamer plugin.
    So I suggest you to build and use it. What you need is just re-build the ubuntu/debian package.

    Anyway FFMpeg supports wavpack, but the binary you find here doesn’t because when I built FFMpeg I didn’t have wavpack libs on scratchbox.

  3. I couldn’t find the standalone wavpack plugin for ubuntu/debian, it seems to be baked into the gstreamer-plugins-good package. And I’m a bit hesitant to switch the plugins-good package since there seems to be hefty dependencies on it, if Aegis even allows it. Would it work to just take the compiled libgstwavpack.so and slot it into the proper /lib catalog?

    Otherwise I’ll see if I can build the ffmpeg-package per your instructions in the blog-post but with wavpack-libraries installed.

    But thank you so much for the help! Now I know it should at least be possible to do what I want. The thread I started on Nokia discussions didn’t render in many answers since I’m guessing the wavpack codec is pretty much unknown to most.

  4. You are right. It’s part of the “good” package. Well you could get gst-good package and:
    1. edit the rules file in order to build only your wavpack (not idea if it’s really possible)
    2. edit the debian/control file in order to change the name of the package.

    Packages installed by 3rd-party repository cannot replace Nokia’s packages, nor overwrite files installed by other packages.
    If you change the package name, then you can do bypass the first problem.

    Fill free to write me in case you need some help.

  5. Nice, I should have some free time in the weekend to try some of these things out so hopefully I can get things sorted, if not, I might drop by and ask for some pointers. Thanks again!

  6. Hi again, thought I’d just give a small status update.

    I didn’t repackage the plugin into a single gstreamer-plugin, but I did have a look at the control and rules files but I couldn’t figure them out (Debian is new to me)… so next step!

    I managed to set up scratchbox and rebuild the gstreamer-ffmpeg package with wavpack libraries installed, but it didn’t make much difference I’m afraid. So I used debian-arm library and pulled every dependency there and installed the debian version of gstreamer-ffmpeg instead. But that didn’t help either.

    So I’m either doing something very wrong or the default player is simply not accepting anything but the initially playable types. As the debian arm gstreamer library should be capable of this… don’t you think? Or maybe the arm version is simply not complete…

    Have you tried playing something that wasn’t initially playable in the music player, if so, any luck with that?

  7. Well just noticed someone enabling mod-playback in the default player so what I’m after is possible after all. So I’ll just have to take a look at the debs inner workings as you stated for this one. =)

Leave a Reply

Your email address will not be published. Required fields are marked *