ffmpeg-cli-wrapper
ffmpeg-cli-wrapper copied to clipboard
-user-agent tag is not supported in the latest version of ffprobe
with ffprobe version 4.2.1:
FFmpegProbeResult probeResult = fFprobe.probe(INPUT_MP4_FILE_LOCATION, "-show_data");
this gives the error:
{ "error": { "code": -1414549496, "string": "Option not found" } }
A little digging shows that the command it run in the ffprobe is:
/usr/local/bin/ffprobe -v quiet -user-agent -show_data -print_format json -show_error -show_format -show_streams /Users/sandeep.kumar.sethia/Documents/projects/VAS/POCs/file-kvs-upload/src/main/resources/static/mp4video/newSample.mp4
and ffprobe does not support the tag -user-agent, at least in version 4.2.1.
An alternative is to not supply any additional parameter but that limits the usability of the ffprobe as -show_data is a very useful tag.