WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Video playback  (Read 10061 times)

Offline Alligadi

  • Newbie
  • *
  • Posts: 25
Video playback
« on: December 14, 2013, 10: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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Video playback
« Reply #1 on: December 15, 2013, 06: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) .

Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Video playback
« Reply #2 on: December 15, 2013, 08:23:26 AM »
How about VLC Media Player ?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Video playback
« Reply #3 on: December 15, 2013, 08:46:48 AM »
How about VLC Media Player ?

It requires Qt4 which is not in the repo and lack hw acceleration anyhow.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Alligadi

  • Newbie
  • *
  • Posts: 25
Re: Video playback
« Reply #4 on: December 15, 2013, 09: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)
« Last Edit: December 15, 2013, 09:20:33 PM by Alligadi »

Offline onelife

  • Full Member
  • ***
  • Posts: 141
Re: Video playback
« Reply #5 on: July 07, 2014, 04: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

Offline Alexey

  • Newbie
  • *
  • Posts: 14
Re: Video playback
« Reply #6 on: January 22, 2015, 04:42:30 AM »
Any progress on playing accelerated HD Video on PiCore, so far?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Video playback
« Reply #7 on: January 22, 2015, 05: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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline szymtro

  • Newbie
  • *
  • Posts: 9
Re: Video playback
« Reply #8 on: October 13, 2015, 03: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.