[MPlayer-users] Re: external name of MPEG streams

Tobias Diedrich ranma at gmx.at
Thu Feb 26 01:42:13 CET 2004


Chris Phillips wrote:

> Hi, I've found that mpeg1 and mpeg2 video streams get -identify'd as 
> 0x100000001 and 0x100000002. is it possible to make these actually report 
> readable names instead?

You could write a wrapper script that replaces them with readable names.

-- 
/* Tobias */     int main(int a,char **b)    /* PGP: http://9ac7e0bc.2ya.com */
{char i,j,t,*r=*++b;srand(time());for(;*r;){for(;*r&&!isalpha(*r);r++);for(i=1;
 isalpha(r[i+1]);i++){j=rand()%i;t=r[i];r[i]=r[++j];r[j]=t;}r+=i+1;}puts(*b);}




More information about the MPlayer-users mailing list