Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: Alligadi on December 14, 2013, 07:06:13 PM

Title: Video playback
Post by: Alligadi on December 14, 2013, 07:06:13 PM
I was able to compile Mplayer with success, but since it can not use the power of the GPU and thus not play HD videos, this was a fail :D Instead I will try to compile omxplayer now the following weeks.
Title: Re: Video playback
Post by: bmarkus on December 15, 2013, 03:14:33 AM
Not really a fail, as it can be used for audio playback. I compared my mplayer video playback with ffmpeg's ffplay and ffplay is significantly faster on the same video, whill too slow still for normal use.

omxplayer would be great as it is the only usable player (at least I know) .

Title: Re: Video playback
Post by: coreplayer2 on December 15, 2013, 05:23:26 AM
How about VLC Media Player ?
Title: Re: Video playback
Post by: bmarkus on December 15, 2013, 05:46:48 AM
How about VLC Media Player ?

It requires Qt4 which is not in the repo and lack hw acceleration anyhow.
Title: Re: Video playback
Post by: Alligadi on December 15, 2013, 06:37:13 AM
There is one other possibility:
http://wiki.matthiasbock.net/index.php/Hardware-accelerated_video_playback_on_the_Raspberry_Pi

According to this page, a little extension to (which is already in the rep) gstreamer-1.0, called gst-omx, can make HD enabled video play possible.
May be a much easier to compile method to bring HD video play to work than the omxplayer.

The command which plays a video: gst-launch-1.0 playbin uri=big_buck_bunny.avi

I will try that today or next week, if successful I will create a gst-omx extension with gstreamer-1.0 as depency.

EDIT:
I was unable to bring gst-omx to compile, also omxplayer failed. Also using the precompiled version from http://omxplayer.sconde.net/ failed, the time I realized it is not Windows, static library distribution-independent builds may be possible though, but nobody created them so far.
At least I was able to steal rox-filer from the debian sid armel repository, I will submit the extension the next week, it is only dependent on gtk2. I will now also try to install the newest raspian, and copy omxplayer with all needed .so files into a tcz, which will just work in piCore then, hopefully. :D If yes, I will submit omxplayer too.

The extensions i will commit:
rox-filer    - FINISHED (copied from debian)
mplayer - FINISHED (compiled, but not fast enough for HD videos)
omxplayer - working on, no success so far
fluxbox - working on, no success so far
and maybe, but I'm sceptical if I can bring it to work, since ./configure make is the same lotto game as stealling binaries from other distributions:
Midori (not tried yet)
Title: Re: Video playback
Post by: onelife on July 07, 2014, 01:51:36 AM
Hi Guys,

Just wondering what the status is on the omxplayer?

I can't see a tcz so thought I'd see what else needs to be done before it can be used?

Chat when you can - Regards
Dean
Title: Re: Video playback
Post by: Alexey on January 22, 2015, 01:42:30 AM
Any progress on playing accelerated HD Video on PiCore, so far?
Title: Re: Video playback
Post by: bmarkus on January 22, 2015, 02:07:22 AM
Any progress on playing accelerated HD Video on PiCore, so far?

No, and still it has nothing to do with piCore but the lack of proper Xorg accelerated drivers. As soon as it will be available it will be used.
Title: Re: Video playback
Post by: szymtro on October 13, 2015, 12:32:46 PM
I was working on compiling omxplayer too with no progress.
To be sure that the rest is working i tried mplayer.

Please test if it is working on your devices gentelmans, i am using b+ with 3.18 kernel but newer should work also:
http://szymon.trocki.pl/tinycore/mplayer/
It needs ffmpeg.tcz from tcz (i was using 6.1) or manualy copied proper libs into proper places.
Playing that famous video with bunny 480p it shows at the bigining that machine is to slow , then cpu usage is 103-105% and drops to 80-90% after few seconds of playing.