I
I
Ivan_Ivanv2021-01-19 04:12:19
cmd/bat
Ivan_Ivanv, 2021-01-19 04:12:19

Where is the error in the file cutting code?

Dropped 500 pcs. .mp4 files to the c ffmpeg folder
and wrote a code to roughly cut each video in the middle and swap the resulting 2 pieces in each video. Accuracy doesn't matter where you cut.
But the code gives an error:
6006348c12f45689800462.jpeg
2nd day I can’t understand where the error

is.

@echo on
for %%i in (*.mp4) do (
start /b /wait C:\ffmpeg\bin\ffmpeg.exe -i "%%i" -map 0:0 -map 0:3 -map 0:2 -acodec copy -vcodec copy "%%~ni".mp4
)
pause

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question