[FFmpeg-user] strange ffmpeg effect on bash

Lars Täuber lars.taeuber at gmx.net
Tue Apr 5 20:58:47 CEST 2011


Hallo CBee,

On Mon, 04 Apr 2011 22:59:57 +0200 "cbeerse at gmail.com" <cbeerse at gmail.com> wrote:
> On 4-4-2011 21:50, Lars Täuber wrote:
> > Hi,
> >
> > I've got a problem with ffmpeg in a shell script.
> > It's a bash script to be precise.
[...]
> 
> I think (close to being sure) that ffmpeg does something with stdin and 
> stdout. Hence as you use that too, that can somehow somewhere get mixed 
> up the wrong way.

you're right. Maybe ffmpeg should test for the shell being interactive or not.

> If you rewrite your script to read the file not using the stdin but 
> using one of the other I/Os:

Thanks. I did it like you suggested. It works very well.

Lars


More information about the ffmpeg-user mailing list