![]() |
Re: oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
First, thank you for this great app :).
Is it possible to set the playback device? Something like you can do in mplayer for example? To use external USB soundcard. |
Re: oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
not now, but i might add a cmd line param to TODO. for a quickie just edit oscp binary and change hw:0,0 into hw:1,0 (assuming aplay -l lists usb device as such)
|
Re: oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
ahm, nah, just remembered that n900's version uses libao/pulseaudio as output and not direct alsa. so it depends if libao allows selecting audio device
|
Re: oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
@muto: hmm, apparently libao supports few user configurable options:
ao_alsa_options[] = { "dev", "id", "buffer_time", "period_time", "use_mmap", "matrix", "verbose", "quiet", "debug" }; ao_pulse_options[] = { "server", "sink", "dev", "id", "verbose", "quiet", "matrix", "debug", "client_name" "buffer_time" }; ao_esd_options[] = { "server", "host", "matrix", "verbose", "quiet", "debug", "client_name" }; wild guess, edit /home/user/.libao and adding there: default_driver=alsa dev=hw:1,0 (though i think i force pulse in libao (for reasons) so you might try: ) default_driver=pulse dev=dont-really-know-what-to-put-there-maybe hw:1,0 too? |
Re: oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
oscp (0.9.7-51) stable; urgency=low
* -A option to set audio device name (sink name for pulseaudio or "dev" key for libao) * -C option to generate .wav out of file (useful for rendering exotic formats) * removed libao dependency from n900's package @muto: if you can find out what is proper pulseaudio sink name for that usb device you might try using -A 1 option to use it. but pulseaudio is evil and should die in a fire. |
Re: oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
oscp (0.9.7-52) stable; urgency=low
* switched to libav (avresample), should handle weird channel configurations and sample rates better |
Re: oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
oscp (0.9.7-53) stable; urgency=high
* fixed oscp.slave inotifier code typo that led to busyloop. oops. * fix for formats returning huge packets with multiple frames (.ape) i highly recommend to update. fixed busyloop introduced few revisions ago (read: battery drain). also, .ape files are playable now (no one reported them not working, so i guess no one uses them, but still.) |
Re: oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
oscp (0.9.7-54) stable; urgency=low
* bugfix in playlist descriptions handling * bugfix in network msg sending * new eq based on biquads effect from sox (new shortcut: toggled with shift-E by default) * new flanger effect (also from sox, toggled with shift-F by default or in eq window) * fixed softvol (should work again) shortcuts might need to be assigned manually or you can delete the .oscp.conf to be reset to defaults. in the works are other effects from sox, notably 'earwax': "Makes audio easier to listen to on headphones. Adds `cues' to 44.1kHz stereo (i.e. audio CD format) audio so that when listened to on headphones the stereo image is moved from inside your head (standard for headphones) to outside and in front of the listener (standard for speakers)." |
Re: oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
oscp (0.9.7-55) stable; urgency=low
* new effect: earwax (from sox 14.4.2, toggled with shift-W by default or in eq window) * new effect: contrast (from sox 14.4.2, toggled with shift-C by default or in eq window) unfortunatelly n900@500mhz is too slow for earwax, any neon wizard able to speed up this code?: (p->tap, earwax_filt, ibuf and obuf are 32bit ints, output is double, NUMTAPS is 64) <code> while (len--) { output=0; // update taps and calculate output for(i=NUMTAPS-1; i; --i) { p->tap[i]=p->tap[i-1]; output+=p->tap[i] * earwax_filt[i]; } p->tap[0] = *ibuf++/64; output += p->tap[0] * earwax_filt[0]; // scale output *obuf++ = output; } </code> |
Re: oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI
oscp (0.9.7-56) stable; urgency=low
* new effect: reverb (from sox 14.4.2, toggled with shift-V by default or in eq window) * new effect: overdrive (from sox 14.4.2, toggled with shift-O by default or in eq window) * new effect: karaoke (based on remix/oops from sox 14.4.2, toggled with shift-K by default or in eq window) reverb is again not crunchable by my n900@500, still, enjoy! |
All times are GMT. The time now is 16:10. |
vBulletin® Version 3.8.8