Hi, I've just commited new video stuff (part of libmpcodecs). It's a way intelligent - at least it solves the most common problems of users, selecting the best, working codec for a given file, without messing with options -vfm, -vc etc. It has simple, but efficient flow: if -vc used then try to init selected codec else scan over all codecs in codecs.conf, but first the untested ones (normally no such codec, but with this trick we can force users to upload samples for testing new stuff :)), then: working codecs and finally buggy codecs. crashing codecs aren't auto-selected, they must be forced by -vc. if -vfm option used, the codec in the given codec family will be preferred. note: if you have buggy codec in teh given -vfm, and working one in other, the working codec will be selected. -vfm has only effect if there are 2 or more codecs at the same stability level. each matching codec is inited, but if it failed, don't give up, it continues with the next matching codec. endif if codec init failed, disable video, play only the audio. if no audio, jump to next file or quit. with this flow, we can reorder video codecs in codecs.conf, put native codecs, libavcodec, divx4linux first, and the win32 stuff as fallback. A'rpi / Astral & ESP-team -- Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
participants (13)
-
Alex Beregszaszi -
Arpi -
Aubin Paul -
D Richard Felker III -
Daniel Egger -
Diego Biurrun -
Felix Buenemann -
Gabucino -
Gábor Lénárt -
Horváth István -
Juan J. Sierralta P. -
Michael Niedermayer -
Mike Melanson