[MPlayer-dev-eng] [PATCH] -identify vids, aids, sids, alangs and slangs

kiriuja mplayer-patches at en-directo.net
Tue Nov 2 05:24:41 CET 2004


This patch enhances the -identify option to print out the available ids
as well as the corresponding langs if they are known.

The format is ID_VIDEO_ID=N for vids, ID_AUDIO_ID=N for aids and
ID_SUBTITLE_ID=N for sids; ID_AID_N_LANG=lang for the alang corresponding
to -aid N, and ID_SID_N_LANG=lang for the slang corresponding to -sid N.

Where a demuxer accepts a lang but not an id, the format is
ID_AUDIO_LANG=lang and ID_SUBTITLE_LANG=lang.

For external subtitles the format is ID_FILE_SUB_ID=N and
ID_FILE_SUB_FILENAME=filename.

This patch will allow MPlayer frontends to display the available streams
and let the user choose them through the UI. A lot of people are asking
for that functionality.

Please consider.

--
kiriuja




More information about the MPlayer-dev-eng mailing list