Comments (4)
I have located the problem. ov_open_callbacks() has changed slightly behaviour in libvorbisfile. I will add update to OCP to compensate
from opencubicplayer.
Hi
Can you please share one of the files with me privatly per email on [email protected] ?
from opencubicplayer.
Hi,
For example this file causes a division by zero here: https://commons.wikimedia.org/wiki/File:Example.ogg
Indeed, I can not play any ogg vorbis file currently with ocp. I probably just though I was playing an ogg vorbis file, when I wasn't; I have some mp3 and flac mixed inside my collection, and those play without any problems (*).
*) well, actually mp3 files cause some error messages along the lines:
wanted to read 39695 bytes, and got 39695 bytes
which is a bit annoying especially if running in text mode (it causes other elements of the display/player to be displaced as these messages are printed over the spectrum analyzer etc.). But that is a separate issue. The actual playback of mp3 sound fine despite the (error?) messages.
from opencubicplayer.
While running:
ocp Example.ogg >log.log 2>&1
i.e. the file from my previous comment, I get this in the log.log:
Setting to cfConfigDir to /home/ville/.ocp/
Setting to cfDataDir to /usr/share/ocp-0.2.90/data/
Setting to cfProgramDir to /usr/lib/ocp-0.2.90/
Open Cubic Player for Unix v0.2.90, compiled on Jun 27 2021, 21:12:07
Ported to Unix by Stian Skjelstad
linking default objects...
running initializers...
initializing fileselector...
adbMetaInit: open(cfConfigDir/CPARCMETA.DAT): No such file or directory
Loading /home/ville/.ocp/CPMODNFO.DAT .. Done
open(cfConfigDir/CPDIRDB.DAT): No such file or directory
Initing console...
stdout and stdin does not come from the same device, trying X11
[x11] X is online
[x11] rootwindow: width:3440 height:1440
[x11] xvidmode disabled in ocp.ini
Locating cdroms [.....]
wavetabledevices:
devwMixF: FPU Mixer....................... (#1 t0)
devwmixQ: Mixer........................... (#2 t1)
devwMix : Mixer........................... (#3 t0)
devwNone: None............................ (#4)
FPU Mixer selected...
[devwmixf] INIT, using dwmixfa.c C version
playerdevices:
devpALSA: ALSA device driver.............. (#1)
devpOSS : OSS player...................... not found: optimize ocp.ini!
devpCA : /usr/lib/ocp-0.2.90/devpcoreaudio.so: cannot open shared object file: No such file or directory
link error
devpSDL2: SDL2 Player..................... (#3 p0 q0)
devpSDL : /usr/lib/ocp-0.2.90/devpsdl.so: cannot open shared object file: No such file or directory
link error
devpNone: Super High Quality Quiet Player. (#4)
devpDisk: Disk Writer..................... (#5)
ALSA device driver selected...
samplerdevices:
devsOSS : OSS Recorder.................... not found: optimize ocp.ini!
devsNone: Eternal Silence Recorder........ (#2)
Eternal Silence Recorder selected...
unix_dir_readdir_file "/home/ville/Roskia/Example.ogg"
unix_file_steal => 0x5625e80c1490
loading Example .ogg...
^[[H^[[2J^[[3JDivision by zero / Floating Point Error
from opencubicplayer.
Related Issues (20)
- AHX replay on linux with ocp 0.2.105 HOT 1
- OCP fails to launch with libjpeg-turbo library (macOS Ventura) HOT 13
- gcc version check in configure.ac needs to check that the compiler is gcc first HOT 2
- X Error of failed request: BadMatch (invalid parameter attributes) HOT 3
- error: incompatible function pointer types HOT 4
- unifont path for ubuntu HOT 5
- no rule to make target after fresh git pull and ./configure HOT 5
- problems configuring 0.2.106 & libancient HOT 2
- Unifont no longer ships TTF fonts HOT 2
- ocp.nix (help wanted) HOT 3
- Some FLAC files fail to play HOT 3
- SPC files don't loop
- OCP 0.2.107 won't configure, syntax error HOT 7
- audio/x-lds magic rule is too broad HOT 1
- Is default `ocp` build static? HOT 6
- Shuffle is not random HOT 5
- SIGABRT while playing a tracker file HOT 1
- Segfault when playing specific broken(?) files from playlist HOT 3
- mixResample=on breaks analyser
- Prebuild windows os 32/64 bit HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencubicplayer.