[FFmpeg-user] Convert to mp4, video not found or access denied (libx264 and libfaac)
littlebat
dashing.meng at gmail.com
Fri Sep 13 04:23:47 CEST 2013
On Thu, 12 Sep 2013 19:38:19 -0400
Robin Maximus <rmaximus839 at gmail.com> wrote:
> Here is below code, cannot convert to mp4, here is the full command,
> using FFmpeg version: FFmpeg 2.0.1 , error is: video not found or
> access denied (libx264 and libfaac are installed) and FFmpeg goes
> well at other levels.
>
> Code is:
> -----------------------------------------
>
> <?php
>
>
>
> $ffmpeg='/usr/local/bin/ffmpeg';
>
> $videofileinput="inputfile.flv";
>
> $videoouputfile="outputfile.mp4";
>
>
>
> $cmd="$ffmpeg -i $videofileinput -vcodec libx264 -acodec libfaac
> $videoouputfile";
>
> exec( $cmd , $arrVAL);
>
>
Try the commands below in the terminal console:
/usr/local/bin/ffmpeg -i /PATH/TO/inputfile.flv \
-vcodec libx264 -acodec libfaac /PATH/TO/outputfile.mp4
If it still can't work, post the console output of the command above
and below:
whoami && ls -la /PATH/TO/inputfile.flv
More information about the ffmpeg-user
mailing list