Thanks, I changed the source code of ffmpeg and now it can ignore the -filter_complex if the stream is not right.
On Thu, Dec 3, 2015 at 8:24 PM, Moritz Barsnick <[email protected]> wrote: > On Thu, Dec 03, 2015 at 10:17:25 +0800, Hugo Li wrote: > > ffmpeg -i INPUTFILE -filter_complex scale=400x300 -c:v libx264 -b:v 100k > [...] > > So, my question is can ffmpeg ignore the "-filter_complex" parameters if > > the input file doesn't contain video? > > You filter isn't really complex, so you could use "-vf". > > > I know ffmpeg can ignore "-s" option, but I have to use > > "-filter_complex" in my case. > > Do you? If that is so, then *I* don't know. :) > > Moritz > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
