[MEncoder-users] Mencoder video check

jay.r jay.r at funwithmsn.com
Wed Jun 7 14:31:22 CEST 2006


On Jun 7, 2006, at 9:38 AM, RC wrote:

> On Wed, 7 Jun 2006 09:05:48 +0200
> "jay.r" <jay.r at funwithmsn.com> wrote:
>
>> How do you check if a videofile is supported by mencoder?
>
> I doubt there's any sure way, other than trying to play it (with
> mencoder).
>
mplayer -identify file.extension -nosound -vc dummy -vo null
printed out the info I needed.
>> (f.e., using this in a webinterface, a user uploads a video and you
>> want to know if you can encode it with mencoder..
>> if you don't do this, a malicious user can search for vulnerabilities
>> in mencoder an upload a script or executable and exploit your whole
>> system.. )
>
> Not if you run mencoder with low privlidges in chroot/jail/systrace/ 
> etc.
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>
Thanks for your answer,
Jay




More information about the MEncoder-users mailing list