C
C
caof192018-03-29 17:53:12
Command line
caof19, 2018-03-29 17:53:12

How to get rid of the error?

Good day, there was a problem when using FFMPEG, the batch file executes the following instruction: FORFILES /M *.mp4 -C "ffmpeg -i @file -acodec copy -vcodec copy -vbsf h264_mp4toannexb -f mpegts cut/@file.ts" and for each file produces an error "Output file #0 does not contain any stream". What could be the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
caof19, 2018-03-29
@caof19

If anyone encounters a similar error in FFMPEG, then the solution looks like this: FORFILES /M *.mp4 /C "ffmpeg /c -i @file -acodec copy -vcodec copy -vbsf h264_mp4toannexb -f mpegts cut/@file.ts"
Problem was in the "/s" parameter after the ffmpeg command

R
res2001, 2018-03-29
@res2001

Run the ffmpeg command manually with the same parameters (file name, of course, substitute something) - does it work without error?
Modify the command like this:
FORFILES /M *.mp4 -C "cmd /c echo ffmpeg -i @file -acodec copy -vcodec copy -vbsf h264_mp4toannexb -f mpegts cut/@file.ts"
This will just print the command, check the command is this as you expect.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question