tibi38 wrote:On which lib base the omxplayer?
omxplayer uses two (2) libraries to accomplish the work: 1) libav [ffmpeg] and 2) openmaxil
The former provides demux and sound decoding. The latter provides video decoding.
Ideally, openmaxil would be the single library to use for media processing. The implementation on the Raspberry Pi lacks the ability to demux a stream and decode audio compression. This is why both libraries are required to make a functioning media player for it. FFmpeg by itself does not know how to use the hardware video decoder (GPU) so it uses the much slower CPU on the PI.
omxplayer source code is here: https://github.com/huceke/omxplayer
as pointed out above, its also here https://github.com/popcornmix/omxplayer
Not sure what the difference is.