Re: [FFmpeg-user] Read values from a text or CSV file?

2019-09-02 Thread Michael Koch
That's a good idea! Are line feeds allowed in the text file, or must all be written in one line? Try it? It works with line feeds. Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To

Re: [FFmpeg-user] Read values from a text or CSV file?

2019-09-02 Thread Paul B Mahol
On 9/2/19, Michael Koch wrote: > Hello Gyan, > >> You can just read the whole filtergraph from a file. >> >> ffmpeg -i in -filter_complex_script graph.txt ... >> >> where graph.txt is >> >> e.g. >> >> [0:v][2:v]overlay=...[out] >> > > That's a good idea! > Are line feeds allowed in the

Re: [FFmpeg-user] Read values from a text or CSV file?

2019-09-02 Thread Michael Koch
Hello Gyan, You can just read the whole filtergraph from a file.     ffmpeg -i in -filter_complex_script graph.txt ... where graph.txt is e.g.     [0:v][2:v]overlay=...[out] That's a good idea! Are line feeds allowed in the text file, or must all be written in one line? Michael

Re: [FFmpeg-user] Read values from a text or CSV file?

2019-09-02 Thread Gyan
On 02-09-2019 12:05 PM, Michael Koch wrote: Hello all, for a special effect I want to overlay a small video over the main video, where the position of the overlay is a function of time. It's a complicated function and can't be expressed by a simple formula. Segment-wise linear

[FFmpeg-user] Read values from a text or CSV file?

2019-09-02 Thread Michael Koch
Hello all, for a special effect I want to overlay a small video over the main video, where the position of the overlay is a function of time. It's a complicated function and can't be expressed by a simple formula. Segment-wise linear interpolation might work, but many segments are required