[FFmpeg-user] information about ffmpeg

Roger Pack rogerdpack2 at gmail.com
Thu Aug 30 19:57:46 CEST 2012


> We want to able a user, to upload a video file in a server. The server using PHP, will be check the codec of the file. If it is right, the software will upload the software, if the codec is not right, the software will convert it.
> I think I can use a combination between ffprobe e ffmpeg.

Yeah if you call out (system call) to ffmpeg with just an input, like
$ ffmpeg -i yourfile
it should spit out some useful info for you.
Also possibly useful/related:
Linux "file" command, and
MediaInfo project.
-r


More information about the ffmpeg-user mailing list