use java-ffmpeg wrapper, or simply use java runtime to execute ffmpeg?

前端 未结 8 2080
余生分开走
余生分开走 2020-11-28 21:37

I\'m pretty new to Java, need to write a program that listen to video conversion instructions and convert the video once an new instruction arrives (instructions is stored i

8条回答
  •  鱼传尺愫
    2020-11-28 22:37

    The benefits of using the wrapper would be mainly that it offers more and fine-grained functionality not accessible via the command line (not relevant to you) and makes error handling and status control easier - you'll have to parse the command line tool's standard output and error streams.

提交回复
热议问题