Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Mpxplay v1.60 alpha 2 with HTTP and Opus support (Announce)

posted by Mpxplay, 23.12.2012, 13:10
(edited by Mpxplay on 23.12.2012, 13:41)

> I'm using FreeDOS 1.1 and HIMEMX.EXE as a memory manager (actually I don't
> know anything about other memory managers and not sure which I should use).
> And yes, I can also confirm that the Opus file
> (http://people.xiph.org/~giles/2012/opus/ehren-paper_lights-96.opus)
> crashes. At the first run of mpxplay it happens after some 3 seconds, at
> the second run - after one second.
>
> I've also noticed that with some MP3 and AAC files mpxplay shows very
> incorrect duration, i.e. when it's 1h20min or something, it shows 8 hours
> or more. And I can't rewind back or forward correctly. (This sometimes
> happens in Gnome-MPlayer in Linux, btw). Can't provide the examples for
> now, sorry, but the problem remains.

Thank You for the testing.

Now I've also run some tests (in DosBox), and I found that the playing works, if I use the -bs option. (this disables the interrupt decoding)
Maybe the Opus decoder calls a malloc in the decoding thread, or the stack size is small on my int08/decoder interrupt. I'll try to find the problem.

The AAC length can be incorrect, because it's VBR, but without exact informations about the bitrate and duration (ADIF/file header contains such info, but the most AAC files use ADTS/frame headers only).
Mpxplay reads the first 40 frames and calculates an average bitrate from this, but usually the first frames are smaller than the average in the whole file. Probably I could correct this problem (partially), but only with slowing down the AAC file parsing.

I think so the MP3 length can be incorrect only if the VBR header contains invalid informations (I've also got a test file, which shows 4 minutes len, but truely it's 15 secs only). I cannot really verify that that info is correct or not (only if I read more/longer part of the file -> slower MP3/VBR parsing)

I will look around all of these problems... :-)

 

Complete thread:

Back to the forum
Board view  Mix view
22780 Postings in 2123 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum