Answer the question
In order to leave comments, you need to log in
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
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
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 questionAsk a Question
731 491 924 answers to any question