FFMPEG running in Command Line but not PHP
Posted
by Freeman
on Stack Overflow
See other posts from Stack Overflow
or by Freeman
Published on 2010-03-24T01:46:49Z
Indexed on
2010/03/24
1:53 UTC
Read the original article
Hit count: 344
I am using ffmpeg build for windows to make video thumbnails . The command works well in command line but not from PHP exec method. am using PHP 5.2.11
Here is the command.
"E:/Documents and Settings/x/WINDOWS/ffmpeg" -itsoffset -4 -v "E:/Program Files/Apache Software Foundation/Apache2.2/htdocs/bs/files/videogal/c08c3d20eeb9083ed033577bd154cba6.flv" -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 "E:/Program Files/Apache Software Foundation/Apache2.2/htdocs/bs/files/gallery/8ff43b72b932d2a34e7a6733672ad4d6.jpg" 2>&1
Can somebody help. I checked the permissions they seem fine. GD is installed.
© Stack Overflow or respective owner