How to read information from .3gp and .mp4 using ffmpeg-php?
Posted
by Neltharian
on Stack Overflow
See other posts from Stack Overflow
or by Neltharian
Published on 2010-05-12T07:17:51Z
Indexed on
2010/05/12
7:24 UTC
Read the original article
Hit count: 284
I have a bit of a problem with ffmpeg-php. I'm trying to get some information from video files and it works pretty fine with file formats like .avi, .mpg or .flv but when I try to use .3gp or .mp4 in:
$movie = new ffmpeg_movie('path/to/file/test.3gp');
I get error like this :
ffmpeg_movie::__construct() []: ISO: File Type Major Brand: 3gp5
or
ffmpeg_movie::__construct() []: ISO: File Type Major Brand: mp42
I installed ffmpeg-php on WAMP using instructions found here: http://stackoverflow.com/questions/1172916/how-to-install-ffmpeg-in-wampserver-2-0-windows-xp
I need those information to send them to ffmpeg using exec(). Anyone could help me with this?
© Stack Overflow or respective owner