cut a part from an mp4 video with no wreckage using ffmpeg and php -


i use cmd below cut part mp4 video:

ffmpeg -ss 00:00:10.500 -i {$ffmpeg_mp4_vinput} -t 00:00:17.430 {$ffmpeg_mp4_voutput} 2>&1 

and

ffmpeg -ss 00:00:10.500 -i {$ffmpeg_mp4_vinput} -to 00:00:17.430 {$ffmpeg_mp4_voutput} 2>&1 

and

ffmpeg -ss 00:00:10.500 -i {$ffmpeg_mp4_vinput} -t 7 {$ffmpeg_mp4_voutput} 2>&1 

all cmds called exec() php function, work fine same result.

problem when cut video 1 of commands, video long video set in from-to in commands. example 1 second before , more 2+ seconds after.

is there missed out commands?


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -