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 2016-06-22 19:53

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
i think i have fixed it in -61 (unless its in unreleased fixes)

KotCzarny 2016-06-27 17:48

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
oscp (0.9.7-62) stable; urgency=low

* refactored slaves code
* fixed stopping (again)
* bugfixes

@proprog: it should be fixed now
@vectis: same as above, it should work now

thank you both for the feedback, sometimes i forget to test it on every device before uploading

vectis 2016-06-27 18:14

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
Sound is working again, thank you.

I've only had time to test it quickly by playing a few .flac files. The bitrate indicator doesn't seem to be working for those files I tried (remains at zero)

KotCzarny 2016-07-01 18:44

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
oscp (0.9.7-63) stable; urgency=low

* ncurses: added mouse input (and buttons to ui)

woohoo! it even works via ssh :) on maemo it requires vkb disable (slide out kb or run in non-maemoized terminal, you might need to disable daemonizing via '-d 0' switch too).

enjoy!

screenshot: http://imgur.com/jkR4Boc

KotCzarny 2017-01-06 17:33

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
oscp (0.9.7-64) stable; urgency=low

* switched to libav resampler
* ncurses: cpu usage display
* x64 bugfixes
* alsa mixer fixes
* alsa native support
* new: oscp-remote-gtk (work in progress to replace python with c code, still missing few features)
* ncurses: added interactive time bar
* fix: rootmenu: network links fail
* updated wav converter
* lower initial libav probe/discover buffers (faster network playback)
* new slave: adlib-2.2.1
* fix: bug in dt_type logic
* fix: bug in long file comments
* iterate (play all) subsongs (adplug/xmp)
* display song/songs instead of kbit in case of modules

happy new year release!

endsormeans 2017-01-06 17:42

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
Thanks Kot :D

And a happy new year to you too! :)

KotCzarny 2017-01-08 16:34

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
oscp (0.9.7-65) stable; urgency=low

* updated slaves for multisong formats (where applicable)
* bugfixes

KotCzarny 2017-01-11 15:06

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
question, how many people are using other formats than those provided by libav/libxmp/libgme? (ie. mp3, avi etc) i'm asking because if i move to shared build only libav/libxmp/libgme would be supported (other libs are patched to make it work with oscp and build system would be cumbersome for autobuilder). would anyone miss sid2/sc68(sndh)/ym/uade2/mdx/fc/adlib formats?

list of supported formats in shared build:
- libav, formats: mp3, wav, ogg, flac, alac, ape, mpc, aac, m4a, mp2, wv, wma, ra, aif
- libxmp, formats: mod, med, xm, it, s3m, 669, abk, ac1d, amf, dbm, di, digi, dmf, dtm, emod, eu, far, flx, fnk, gdm, j2b, kris, lax, liq, m15, mdl, mfp, mgt, mmd0, mmd1, mmd2, mmd3, mtm, mtn, mtp, okt, okta, psm, pt36, ptm, rtm, sfx, stm, stim, stx, ult, umx, wow
- libgme, formats: ay, gbs, gym, hes, kss, nsf, nsfe, sap, spc, vgm, vgz

endsormeans 2017-01-11 21:03

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
I don't really delve into the "other formats" mentioned.
I am quite content with libav/libxmp/libgme formats ...
just my input...
others may desire alternatives....

KotCzarny 2017-01-15 14:06

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
1 Attachment(s)
oscp (0.9.66) stable; urgency=low

* switched n8x0 audio output to direct esd
* bugfixes
* ncurses: added refresh after window resize (to redraw buttons etc)
* add --help alias
* made mrl more verbose

special N8x0 release, one could use effects now (though one at a time ;). if some keys arent working one could remove config files from home directory. also changed version numbers to have fewer chars.

@endsormeans: thanks for the input! pity there are no more talkative oscp users around

ps. added a screenshot

endsormeans 2017-01-15 14:23

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
I do believe there is an undercurrent of n8x0 newmo's here in the subforums...hunting digging through the strata...pull out a mallet and smack it anywhere around you and I bet you would have a genuine game of "whack a [new] mo" ...
natch we invented whack a 'mo ...
it's the competition copying us and turning the game into something for the masses...
But actually...really ...we do have quite a lively herd of new 'mo's here now...
Over the last year alone I don't know the tally of the number of n8x0 newmo's there are...
...I have directed many hither and thither to learn as fast as they could...
It may take them a year or so to get up to speed to appreciate the work that is being done currently....and participate....it's only a matter of time...
There is after all...a great deal of ground for them to cover...
I have a great deal of optimism on their catching up and adding to the conversation...
So I'm not really the only one Kot... we are just lucky and privileged to have this conversation without a bzillion n8x0 users crowding us at the moment
:D

endsormeans 2017-01-15 14:26

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
Frankly I think oscp is the "Mr. Gadget" of the maemo audio world ...
...especially with the new bells and whistles you just added!
Excellent job sir.

proprog 2017-01-16 07:38

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
Not sure if the question regarded n900 as well but I'm using it as default player for both music and podcasts (from gpodder) and the formats provided by libav/libxmp/libgme should be enough for my use.

KotCzarny 2017-01-29 14:02

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
oscp (0.9.67) stable; urgency=low

* fix: n900: fixed audio glitches on system/high cpu activity
* fix: n900: silent mode doesnt mute oscp anymore

simple fixes to make oscp's audio experience on n900 smoother. also, happy new chinese year!

@proprog: yay, second active oscp user!

KotCzarny 2017-01-29 19:52

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
note for all future audio developers/porters, fix for audio stutter during high cpu activity/system work:

20:47 #maemo bencoh > KotCzarny: just added cat /usr/share/policy/etc/syspart.conf.d/cmus.
syspart.conf
20:47 #maemo bencoh > [rule /usr/bin/cmus]
20:47 #maemo bencoh > group mediasrc
20:47 #maemo bencoh > KotCzarny: works :)
20:48 #maemo bencoh > fixes the stuttering / interruption when pressing power key

KotCzarny 2017-03-02 18:50

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
oscp (0.9.68) stable; urgency=low

* ncurses: slight redesign to fit on 80 columns screen
* ncurses: clickable playlist scrollbar and volume bar
* ncurses: added clock next to cpu usage meter (updates only when something is playing)

although it requires stylus (and probably opened hwkb) to click things in osso-term, it's actually quite nice already. if you want to try it run it as: "oscp.sh" or "oscp -d 0"

mr_pingu 2017-03-03 12:12

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
Well,

Does it use the DSP, like MAFW-based players? Or is it solely using CPU?
Project seems nice but don't want to waste unneccesary juice by keeping the CPU running when DSP can handle it more efficiently. That's why I never bothered using someplayer.

KotCzarny 2017-03-03 12:43

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
it's purely cpu based decoding. but it works efficiently, supports more formats (almost everything you throw at it) and last time i did power measurements it wasnt that much different from mafw based system player

KotCzarny 2017-03-08 18:47

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
oscp (0.9.69) stable; urgency=low

* reworked slave system, no more reforking on type change or audio device close/open clicks on tra
ck change (when changing media types. mostly affecting module players)
* community radio browser (http://www.radio-browser.info/)
* multiple bugfixes

women's day release - greetings to all ladies using N900!

internet radio browser is available through root menu (ie. press / or go to parent dir few times). still a bit rough, but usable already in case you crave some random music ;) reworked slave system is a bit easier on resources and works nicely so far, so please report any bugs you might find.

KotCzarny 2017-03-10 13:33

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
oscp (0.9.70) stable; urgency=low

* integrated flod library (bd, bp, bp3, dm, dm2, dmu, dum, dw, fc, fc13, fc14, fc3, fc4, fred, hip, hipc, jb, mug, rh, sfx, sfx13, sfx2, sid2, sid1, smod)
* ncurses: redraw volume bar correctly on window resize

not-that-important-update release. still having fun with the slave engine rewrite. also uploading untested package. *yawn*

t-b 2017-03-10 20:26

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
Quote:

Originally Posted by KotCzarny (Post 1525054)
oscp (0.9.69)
internet radio browser

This player has tons of options, gui needs a few minutes 'getting used to' but works very nicely and fast - I might make one of my N900's a stand alone oscp player :)

Any idea why the browser 'by country' doesn't find stations selecting 'Netherlands' while it does show it should contain 131 stations? There are a few other countries with the same issue (e.g. Australia)
If I select by language 'Dutch' the stations do appear so there is a workaround.

Another (minor) thing the back button doesn't always seem to work as expected. When I enter a directory from root menu and use the back button the program can't re-enter root menu and selecting / doesn't work anymore.

KotCzarny 2017-03-10 21:12

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
@t-b: as i've said, radio browser is still rough draft, most likely some bug i will have to find and squash. added to TODO. as for back button it's a bit complicated, root menu is something virtual, so going to dir1 changes context to dir1 and 'back' is 'parent dir' now. in short, 'back or parent' is something that's in the first position in the playlist. as for '/' not working, was it in ncurses or gtk ui? hmm. gonna investigate that. quick tip, you can start oscp in console (ie. oscp -d 0) and with hw kb open you can click misc parts of the screen just as in gtk. don't forget to quit the previous core from gtk though (red button near the gears icon i think). thanks for the feedback!

t-b 2017-03-11 10:28

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
Quote:

Originally Posted by KotCzarny (Post 1525173)
as for '/' not working, was it in ncurses or gtk ui?

Happens in gtk ui

KotCzarny 2017-03-11 16:22

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
oscp (0.9.71) stable; urgency=low

* ncurses: added: ctrl-l - redraw window (in case it gets mangled), ctrl-r - reload dir
* pygtk: updated multisong display
* list display fixes

@t-b: can you update to 0.9.71 and check if it's still happening (both issues)? if yes, try to describe exact steps to repeat the bug (check first if it's repeatable or random)

t-b 2017-03-11 21:07

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
Quote:

Originally Posted by KotCzarny (Post 1525229)
@t-b: can you update to 0.9.71 and check if it's still happening (both issues)? if yes, try to describe exact steps to repeat the bug (check first if it's repeatable or random)

Update did indeed fix the back to root issue. The other issue with selecting station 'by country' is still there. For some countries it works for some not (e.g the Netherlands). Not really an issue for me because I can select the same stations if I select Dutch 'by language'.

KotCzarny 2017-03-11 21:28

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
hrm, can't reproduce it. even if i start it anew and go to 'by country' -> dutch, i get stations already. i will keep trying to find a way to brake it on my n900 too. offtopic, to anyone using oscp, i've replaced third post with a manual draft and i will keep on adding info there (http://talk.maemo.org/showthread.php...stcount1460158)

KotCzarny 2017-03-13 21:16

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
oscp (0.9.72) stable; urgency=low

* fix: shoutcast servers being confused by UA
* fix: missing stations bug in radio browser (hopefully)

@t-b: please check if the bug is gone.

t-b 2017-03-14 14:52

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
Quote:

Originally Posted by KotCzarny (Post 1525351)
oscp (0.9.72) stable; urgency=low
@t-b: please check if the bug is gone.

Yes, I needed to disconnect and connect again to make it work but it is fixed :) thx

KotCzarny 2017-03-14 15:15

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
well, technically it's 'kill core' + 'respawn local core and connect to it', but i'm glad it works, cheers!

KotCzarny 2017-03-15 08:21

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
oscp (0.9.73) stable; urgency=low

* fix: some more shoutcast quirks
* fix: some audiocards support only one frequency

if you stumble on a station that fails in oscp, but works in any other player, please let me know.

KotCzarny 2017-03-15 17:47

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
oscp (0.9.76) stable; urgency=low

* limit data sent to remote (from vbr codecs)
* ignore invalid volume sent by remote
* fix: some more shoutcast quirks
* fix: some audiocards support only one frequency

oscp (0.9.75) stable; urgency=low

* fix: another shoutcast quirk

oscp (0.9.74) stable; urgency=low

* fix: segv.

---
fixes ahoy! also, there is a new oscp-remote-gtk bundled, so you might want to check if it works better than pygtk version. also builds for linux and windows are updated on sf page. also there is a mingw64 build of oscp-remote-gtk, so right now you can use it on windoze without the need for pygtk (its standalone 10MB pkg)

KotCzarny 2017-03-24 16:13

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
oscp (0.9.77) stable; urgency=low

* added oscp-remote-ncurses
* bundled libsidplayfp and updated SID songlenghts db to hvsc66
* bundled stsound and fixed build bug. now .ym files play again
* fixes and new ui mode (hippo) in oscp-remote.py. inspiration: https://nils2.files.wordpress.com/20...ippoplayer.gif , on pc it looks like this: http://i.imgur.com/o3984M6.png
* initial silence trimmer (enabled in: gme)
* ncurses: fixed list post bug
* added keybinding to return to currently playing file, default '?', you might want to edit your ~/.oscp/oscp.conf and oscp-remote.conf files to reassign it (which is good idea, because you might be missing some keybindings due to upgrades)
* network links can now also be played as other types (than just libav types)
* added to dynamic build: zzlib, gme, libav, xmp, wildmidi, adplug
* bundled flod
* add version to dlog init

oh, and btw. oscp-remote.py now launches oscp automatically when host is 127.0.0.1 and it doesnt find running core

totalizator 2017-03-28 10:45

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
Quote:

Originally Posted by KotCzarny (Post 1525938)
oscp (0.9.77) stable; urgency=low

[...]

Impressive update! oscp-remote-ncurses FTW.

dameceno 2017-03-28 16:53

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
Maybe I shouldn't ask this, but any hope for a sailfsh port?

KotCzarny 2017-03-28 17:38

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
@dameceno: unfortunatelly i dont have any SF device, so can't work on it there. unless there is some sdk similar to the fremantle's one (ie. vm image with emulator and sdk set up)

KotCzarny 2017-03-29 14:58

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
@dameceno:
if you want to do a quick test, there is a chance that n900's version could work (oscp by design has as few dependencies as possible). please download latest package from http://repository.maemo.org/extras-d...n-free/o/oscp/ and check if it installs? also, anyone with sf device wanting to help, please join #maemo irc channel on freenode and poke me directly. it's much easier than forum

dameceno 2017-03-30 11:12

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
Quote:

Originally Posted by KotCzarny (Post 1526115)
@dameceno:
if you want to do a quick test, there is a chance that n900's version could work (oscp by design has as few dependencies as possible). please download latest package from http://repository.maemo.org/extras-d...n-free/o/oscp/ and check if it installs? also, anyone with sf device wanting to help, please join #maemo irc channel on freenode and poke me directly. it's much easier than forum

@KotCzarny I have no n900 device, and Sailfish uses rpm packages therefore there is no way it can install on my Jolla 1. There are SDK for Sailfish out there have never needed them, let me try and grab a download link for you if I can

https://sailfishos.org/wiki/Applicat...K_Installation

Available for windows and linux with a full documentation. I can only be on freenode later in the evening when I am back from work, but would gladly help anyway I can

proprog 2017-04-10 09:24

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
Since the last update I'm having problem killing the core from oscp-remote on n900. It just restarts and starts playing the last saved song. I'm now killing it from the terminal but would be nice to be able to use oscp-remote. What is the best way to kill the core?

And on a similar topic. Is there a way to not start with the last played song? I want oscp to just start and will then manually select the song. To be honest I've never really figured out how and when the song to start with is saved and it has been the same for some time now.

KotCzarny 2017-04-10 12:18

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
um, are you sure you are using the right button? if you press the 'gears', it's spawn-local-core. nearby button (X or power symbol, depending on iconset) should be sending QUIT command to core. as for last played song, if core dies for some other reason it might not be able to save current dir (ie. if you kill it instead of sending QUIT command, so maybe you were killing it all the time instead of quitting core?). and since i dont remember it misbehaving, so if you keep having troubles with it, please join irc to have it debugged (forum is a bit slow to communicate). also, you might consider not quitting core at all, because in stopped state it consumes no resources (other than some ram, which would be happily swapped out when not in use)

proprog 2017-04-18 16:32

Re: [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
 
Works like a charm when I use the right button. Can't understand how I missed that. To my defence I usually leave oscp running, starting/stopping it more at the moment to test maebble.


All times are GMT. The time now is 08:11.

vBulletin® Version 3.8.8