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

Input arguments

Open 1ghost1 opened this issue 7 years ago • 1 comments
trafficstars

The ffmpeg-cli-wrapper library is a simple wrapper around the ffmpeg command line. If you have questions on how to use the library, please check out the usage, or random examples. If that doesn't solve your problem please fill out the following:

The question I need to run ffmpeg with rtsp_protocol tcp, but I cant seem to add input arguments

What you have tried I have tried to add addExtraArgs to input but according to do the documentation it just adds to the output

1ghost1 avatar Oct 11 '18 15:10 1ghost1

Okay, I fixed it for you. I had to write up an additional command in FFMPEGBuilder and recompile.

Il try to pull in, if not this would be a corrected jar: UncleGhostFixedRTSPTransportProtocol.zip

If you are using NetBeans right-click on ffmpeg-0.6.2 and select manually install artifact, then just provide the path where the downloaded and uzipped ffmpeg-0.6.3-SNAPSHOT.jar is.

Usage:

Consult https://ffmpeg.org/ffmpeg-protocols.html to see rtsp_transport types

but the function would be setRTSPTransport(String transportType)

1ghost1 avatar Oct 11 '18 16:10 1ghost1