You are not logged in.

#1 2010-12-19 14:09:30

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

SLIMPlayer - Simple and Lightweight Media Player (based on FFmpeg)

SLIMPlayer is a media player I've been working on that aims to make a make a no-frills media player based on FFmpeg and related libraries (libass atm for SSA/ASS fonts).
Something like FFplay, just more modern and readable.

It is written in C++0x, with required GCC version 4.5 (might work on 4.4, but not sure).

Video output: GLFW / Cg shaders. This could be replaced with XGL / GLSL to minimize dependencies, however, I have no experience with X11 programming. If someone is knowledgeable with VDPAU/VA-API and know how to hook it up in FFmpeg (hw decoding), that would be nice as well.
Audio output: ALSA, RSound, (OSSv4 will come).

It is in heavy development now, but it is decent enough that you could watch a movie with it. I've mostly tested the standard H.264/AAC/MKV with ASS subs (anime big_smile).

Keybinds:
Will use MPlayer bindings where appropriate. Currently seeking, pausing and quitting works. (You need the video window in focus for this currently.)


Notable issues atm:

* Some video files don't seem to provide essential audio timestamps. Seeking in those files will be very hacky and somewhat broken.
* Rarely, seeking could lead to a segfault in ffmpeg. Not sure what's causing this. Probably threading issues. (EDIT: Seems to be fixed.)
* ASS font rendering seems to eat a lot of CPU.


Repo:
git://github.com/Themaister/SLIMPlayer.git

Dependencies at the moment:
* glfw (AUR)
* nvidia-cg-toolkit [community]
* alsa-lib [extra]
* ffmpeg [extra]
* libass [extra]

Building:
Just type

make && sudo make install

EDIT: PKGBUILD

Last edited by Themaister (2010-12-19 18:55:00)

Offline

#2 2010-12-20 11:55:09

jlcordeiro
Member
From: Portugal
Registered: 2009-05-23
Posts: 76

Re: SLIMPlayer - Simple and Lightweight Media Player (based on FFmpeg)

Awesome. On top of my todo list smile

Will check it later and give some feedback. Will be difficult though, since I use mplayer-minimal-svn.



Good work.

Offline

#3 2010-12-20 13:28:00

mukl
Member
From: Vienna, Austria
Registered: 2008-01-30
Posts: 52

Re: SLIMPlayer - Simple and Lightweight Media Player (based on FFmpeg)

rsound is missing as dependency.

Offline

#4 2010-12-20 14:17:57

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: SLIMPlayer - Simple and Lightweight Media Player (based on FFmpeg)

Ah, sorry about that. Included the header too many places and forgot to remove it later. Should be fixed now (no rsound needed).

Offline

#5 2010-12-22 23:30:27

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: SLIMPlayer - Simple and Lightweight Media Player (based on FFmpeg)

does the nvidia-cg-toolkit mean you have to have an nvidia card to run the program?

Offline

#6 2010-12-23 00:47:24

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: SLIMPlayer - Simple and Lightweight Media Player (based on FFmpeg)

No, Cg generates GL programs, so it should run just fine on ATi or Intel, however, I can't test and verify this. Porting the Cg to GLSL should be trivial, so I hope someone is willing to port that.

Offline

Board footer

Powered by FluxBB