Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Mpxplay v1.57 beta 9 is out | WEBM (Users)

posted by Mpxplay, 17.11.2010, 20:47

> The detection should start when I try to play 1 file, not be done in
> advance for all files, So if I try to play "BLAH.MP5" or "NOPE.TXT",
> MPXPLAY should look whether it is one of the supported audio or video file
> types.

1. I did want to make the less modifications in the old functions/routines
(because I have no time to test again everything if I modify something
in the source), so I implemented the "switch" in the in_file.c, which
has effect at every file open, at the pre-checking of files too (-idl, -ipl).
2. If you press enter on an unknown file and Mpxplay cannot play it,
then the program automatically skips to the next file. This works
on this way from many years (truely this is designed for skip-back/skip-forward keys)...

But I will think again on this function (at v1.58), maybe I will able to do something...

> BTW, if every file type had a reasonable sigi like PNG or FLAC, the
> content-autodetection would not be slow at all.

Not every. Only containers (AVI,MP4,WAV) And - for example - the FLAC also can contain an ID3v2 header. We have to skip that too.

Mpxplay has no fast content parsing (Mplayer has it), my program always read the complete header to detect/parse a file. This is slower, but sure way, even if the header/structure of the file/song is not correct.
Mpxplay supports 15 filetypes, if we want to detect a TXT file (that it's a non-audio file), we have to open the file and read the header 15 times.
btw. AAC is not autodetected in Mpxplay (detected by extension too), because it (the aac decoder for detection) is a little unstable.

 

Complete thread:

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