[FFmpeg-user] Running multiple ffmpeg commands with minimal loss in quality

Francois Visagie francois.visagie at gmail.com
Sat Jul 25 10:56:03 CEST 2015


> -----Original Message-----
> From: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of
> Moritz Barsnick
> Sent: 25 July 2015 10:45
> To: FFmpeg user discussions
> Subject: Re: [FFmpeg-user] Running multiple ffmpeg commands with
> minimal loss in quality
> 
> On Fri, Jul 24, 2015 at 16:02:22 -0700, Michael Nolan wrote:
> > do things like overlay, scale and trim videos, render text, render
> > images,
> [...]
> > The biggest issue that I have is that the application that I run has
> > to run ffmpeg multiple times, thus re-encoding the video(s) and making
> > the end video look much lower quality than the original content. The
> > original videos are .webm and encoded using QTmuxingAppLibWebM-
> 0.0.1.
> 
> You say it "has to". Could you elaborate?
> 
> > Is there any way that I can help prevent this sort of thing or is
> > there any existing tooling for taking a series of edits and running
> > them in one command (meaning I don't have to re-encode multiple times)?
> 
> Not if it "has to". You didn't give us examples of what you are doing - full
> command lines for the chain of edits - so I can only guess you are basically
> using ffmpeg's filters (in the widest sense) to do these edits.
> 
> If so, you can chain your filters to a filterchain or a complex filter.

Thanks, I neglected to mention this.

> 
> $ ffmpeg [...] -vf filter1=a=a1:b=b1,filter2=c=c1:d=d1 [...] $ ffmpeg [...] -
> filter_complex
> "[0:v][1:v]filter1=...[outv];[0:a]filter2[outa];[outv][2:v]overlay" [...]
> 
> Please show us your commands.
> 
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list