Склеить видео и аудио дорожки
Добавлено: 22 апр 2025, 04:00
cmd
/bin/bash
Код: Выделить всё
@echo off
set /p id="Enter video file: "
set /p id1="Enter audio file: "
ffmpeg -i %id% -i %id1% -map_metadata -1 -map_chapters -1 -avoid_negative_ts make_zero -c copy %id%.mp4
Код: Выделить всё
#!/bin/bash
ffmpeg -i "$1" -i "$2" -map_metadata -1 -map_chapters -1 -avoid_negative_ts make_zero -c copy "$1.mp4"