This command worked on the local server:
ffmpeg -i "файл.mp4" -vcodec copy -acodec copy -bsf h264_mp4toannexb -ss 00:05:00 -t 00:00:04 "часть-файла.ts" This command from the 5th minute copies a piece of video clip lasting 4 seconds. But on the vps server, this command copies only sound, without video. Why there is no video?
ffmpeg -ss 00:20:34 -t 00:00:04 -i "file.mp4" -vcodec copy -acodec copy -bsf h264_mp4toannexb "tp_3.ts"- boomuoffmpeg -i "/home/admin/web/pornobody.ru/public_html/temp/video.mp4" -codec copy -bsf:v h264_mp4toannexb -ss 00:20:34 -t 00:00:04 "/home/admin/web/pornobody.ru/public_html/temp/tp_3.ts"Result: pastebin.com/8uzR7JEJ - boomuo