[FFmpeg-user] It appears that FFmpeg is slipping into command mode

Mark Filipak markfilipak.imdb at gmail.com
Tue Jul 29 00:05:01 EEST 2025


On 28/07/2025 11.39, Devin Heitmueller wrote:
> On Sun, Jul 27, 2025 at 8:34 AM Mark Filipak <markfilipak.imdb at gmail.com> wrote:
>> executes, it's apparently slipping into command mode and taking in the
>> next line
>>
>> echo ffconcat version 1.0>"%JOB%CONCATa1.txt"
> 
> So prefixing the ">" with a number actually changes the redirection
> behavior to indicate the specific filenumber to redirect (e.g. "2>
> blah" redirects stderr).
> 
> Try the following:
> 
> echo "ffconcat version 1.0" >"%JOB%CONCATa1.txt"
> 
> and see if starts working for you.
> 
> Devin

Hi Devin,

Substituting ' >' for '>' had no effect.

The command is:

ffmpeg -y -safe 0 -i "c:\concat.txt" "c:\concat.ac3"
echo this is foo>c:\FOO.TXT

The thing that's bothering me so much is that while it's doing the
concatenation, FFmpeg signals:

Enter command: <target>|all <time>|-1 <command>[ <argument>]

Parse error, at least 3 arguments were expected, only 1 given in string
'ho this is foo>c:\FOO.TXT'

FFmpeg is clearly entering a command mode even though I'm not submitting
any options that support command mode.

--Mark.



More information about the ffmpeg-user mailing list