[FFmpeg-user] ffmpeg does nothing but using CPU

Moritz Barsnick barsnick at gmx.net
Tue Oct 20 21:44:01 EEST 2020


On Tue, Oct 20, 2020 at 19:33:05 +0200, Cecil Westerhof wrote:
> When looking into the log-file I see it ends with:
>     Enter command: <target>|all <time>|-1 <command>[ <argument>]
>
> What could be happening here?

This looks like something from stdin triggered interactive mode.

On Tue, Oct 20, 2020 at 20:38:03 +0200, Cecil Westerhof wrote:
> The command I use in the bash script is:
>     nice -n 10 ionice -c3                           \
>          ffmpeg -y                                  \
>                 -i          "${inputfile}"          \
>                 -vf         scale=${xDimension}:-2  \
>                 -crf        28                      \
>                 -acodec     libmp3lame              \
>                 -qscale:a   9                       \
>                 -preset     veryfast                \
>                 "${outputfile}" 2>"${logfile}"

If you add the option "-nostdin", this mode cannot be triggered. Do try
that. (You can then no longer interactively quit ffmpeg, of course.)

Cheers,
Moritz


More information about the ffmpeg-user mailing list