P
P
pr0kazn1k2014-11-07 23:18:12
PHP
pr0kazn1k, 2014-11-07 23:18:12

Cut video using ffmpeg?

I want to cut the first n seconds of the video using php using ffmpeg.
exec('ffmpeg -itsoffset -00:00:10 -i video.avi');
This execution did not give any results, maybe I didn’t add something, or it’s not appropriate to use -itsoffse at all. Help out.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Vsk, 2014-11-08
@viktorvsk

Firstly, all the keys are well described on the site
Secondly, if something went wrong, ffmpeg has good error messages
Thirdly, it seems like if you are processing something, you need to specify both the input file and the resulting

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question