ffmpeg-cli-wrapper icon indicating copy to clipboard operation
ffmpeg-cli-wrapper copied to clipboard

not support this command '-itoffset'?

Open autismbug opened this issue 7 years ago • 2 comments

要指定 input 的 -itoffset 指令时,没法通过 FFmpegBuilder 来拼接,能否支持下?

autismbug avatar Feb 05 '18 02:02 autismbug

Hello! Thank you for this project.It is helpful to me. But I found that it did not support this command '-itoffset'. I want to use it before the input command '-i'. like: ffmpeg -y -i testA.mp4 -itsoffset 10 -i testB.mp4 -filter_complex ... output.mp4 What should I do?

autismbug avatar Feb 05 '18 02:02 autismbug

Easy way: You can call addExtraArguments() method to add the -itoffset argument and then the second input.

Better but longer: use the AbstractInputStreamBuilder to implement your own InputStreamBuilder instances, which you can use to individually configure each input as needed. I believe a default implementation is in the works

Omar-Riaz avatar Aug 06 '18 16:08 Omar-Riaz