SliTaz SliTaz Forum

You are not logged in.

#1 2014-08-30 18:44:24

pirandr
Member
Registered: 2014-02-06
Posts: 32

omxplayer for RaspPi

Greetings,

I've cross-compiled [c]oxmplayer[/c] for the Raspberry Pi. I actually built two versions:

- the lastest from github https://github.com/popcornmix/omxplayer

- the version by gstein that is supposed to be lighter and have fewer dependencies https://github.com/gstein/omxplayer

Get them at https://github.com/pirandr/slitaz-arm/tree/master/binaries (they aren't tazpkg packages yet. More on that later.)

Video works for me without issue but I no audio through the 3.5mm jack in the gstein very and very static-y audio in the official version. But this might be related to my other audio problem (still having no audio with alsa here; this static-y bit is the first piece of audio I've gotten out of my Pi with ).

You'll need

- some pieces of [c]libboost[/c] (get [c]libboost-*[/c] from here for now https://github.com/pirandr/slitaz-arm/tree/master/cross-compiled). I don't know if you need all of it.

- raspberrypi-vc, pcre, ffmpeg, freetype (use [c]spk-add[/c] or [c]tazpkg -gi[/c]) and some other packages I'm probably forgetting

gstein's version shouldn't need ffmpeg and should work with just libav (libavcodec, libavutil) but I haven't tested it.

You might also need add a path to libraries in /opt/vc/lib for ld ([c]export LD_LIBRARY_PATH=/opt/vc/lib[/c] works as a temporary solution).

Subtitles will not work in either version.

I've hacked it a bit too much, which is why there isn't a recipe yet. I need to retrace my steps. Some bugs worth noting are

- a gcc 4.6 to 4.7 language update with interpretation of "template ... using" but our current tools use gcc 4.7

- something strange about the cross-compiler being in /cross/armv6hf (with some directories inside containing [c]armv6hf[/c] instead of [c]arm[/c]) but a lot of tools and recipes have [c]arm[/c] hardcoded into it)

- wget not being able to get https urls

I think the [c]libboost[/c] recipes are almost good. There's a commented out [c]wget[/c] line that needs to be replaced. (Maybe slitaz can host that patch file somewhere?)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]