maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI (https://talk.maemo.org/showthread.php?t=94590)

KotCzarny 2015-02-09 11:15

Re: oscp - console player for (almost) any file format
 
here's compiled uade2 and mdxplay for oscp if you want to play their supported formats:

http://www41.zippyshare.com/v/2Goif30x/file.html

btw. anyone knows decent file hosting service that would not decay links?

reinob 2015-02-09 12:02

Re: oscp - console player for (almost) any file format
 
Quote:

Originally Posted by KotCzarny (Post 1460158)
as for volume, on n800 it shows -1 at first but works, as for n900 i will get around in a few days to compile/test it there

I tried on a N900 with headphones (work). I'll try again this evening. And thanks for the source code, I'll look at it as well!

KotCzarny 2015-02-10 15:03

Re: oscp - console player for (almost) any file format
 
http://www11.zippyshare.com/v/LguDdx4U/file.html

compiled and tested on fremantle (n900) uses libesd and esdcompat). it will change ~/.libao config file so keep that in mind if you use any other libao program. still can have few bugs, but overall works

juiceme 2015-02-10 16:23

Re: oscp - console player for (almost) any file format
 
Quote:

Originally Posted by sulu (Post 1460168)
Sorry, I don't have any IM accounts and I don't intend to change that.
Can you please attach an archive here?

Arrgh, @sulu please don't group IRC together with all the whatscrapps and other spyware!
It's the one and only true social media out there! :D

nokiabot 2015-02-10 16:40

Re: oscp - console player for (almost) any file format
 
Quote:

Originally Posted by juiceme (Post 1460340)
Arrgh, @sulu please don't group IRC together with all the whatscrapps and other spyware!
It's the one and only true social media out there! :D

100% correct sir .

wolke 2015-02-10 18:20

Re: oscp - console player for (almost) any file format
 
ooh, this looks nice!
im interested in using this as the backend for my weird music player, klomp

i use klomp on my laptop, my raspi, my htpc, my n9, and my n900.
it currently uses mplayer, which is suboptimal for many reasons, but is readily available on all the platforms i use, unlike mpd.

this doesnt seem to use anything that shouldnt be readily available in debian/arch/fedora. how about harmattan {and sailfish}?

also, can you host this on github? if i do use it, id love to contribute.

KotCzarny 2015-02-10 18:38

Re: oscp - console player for (almost) any file format
 
@wolke: all libs i use are gpl/lgpl so you can integrate them too. my oscp also started as frontend to mplayer but then i changed it to just use libs and play itself. further down the TODO i plan adding network controller to it (ie. server-client model). as for hosting on github or anything, its nice idea, but still its easier for me to just scp/tar.gz files now. if you are interested i can upload x86 build (linux or cygwin)

wolke 2015-02-10 19:11

Re: oscp - console player for (almost) any file format
 
Quote:

Originally Posted by KotCzarny (Post 1460353)
if you are interested i can upload x86 build (linux or cygwin)

thanks, that would be great.

as an aside, it would be fantastic if you could keep the curses/gtk/network interfaces separate from the player, or ifdef them and add a make config.
i think a standalone battery-efficient maemo-compatible audiophile music player library is a wonderful niche that needs filling, while the music player ui/clients world is fairly saturated.

also, github has a nice tar downloader that would make it far easier to distribute; no need to upload anything anywhere.

KotCzarny 2015-02-10 19:17

Re: oscp - console player for (almost) any file format
 
yes, that's what i plan to do, core integrated with ncurses interface (that can be disabled via param) + remotes tcp/socket (ncurses, gtk etc). still, i have to make it usable on n8x0/n900 first because there are obscure bugs related to arch and/or filesystem layout

sulu 2015-02-10 20:49

Re: oscp - console player for (almost) any file format
 
When trying to compile the sources you provided here [1] on Debian Jessie/amd64 I get this:
Code:

$ gcc --version
gcc (Debian 4.9.1-19) 4.9.1
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ gcc oscp.c
oscp.c: In function ‘show_help’:
oscp.c:112:13: error: ‘BUILD’ undeclared (first use in this function)
 ", VERSION, BUILD, MD5, confname, progname);
            ^
oscp.c:112:13: note: each undeclared identifier is reported only once for each function it appears in
oscp.c:112:20: error: ‘MD5’ undeclared (first use in this function)
 ", VERSION, BUILD, MD5, confname, progname);
                    ^
oscp.c: In function ‘get_ch’:
oscp.c:1634:14: warning: overflow in implicit constant conversion [-Woverflow]
  } else ch = (chtype) ERR;
              ^

Am I doing something wrong (I'm not that familiar with ANSI C) or is there something missing (the archive contains no oscp.h for example)?


[1] http://talk.maemo.org/showpost.php?p...2&postcount=10


All times are GMT. The time now is 10:26.

vBulletin® Version 3.8.8