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

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -