translate the note FFmpegHandler into English

translate the note FFmpegHandler into English
pull/112/head
xufulong 5 years ago
parent 918fe2bc12
commit 199d141e1c
  1. 6
      app/src/main/java/com/frank/ffmpeg/format/VideoLayout.java
  2. 8
      app/src/main/java/com/frank/ffmpeg/handler/FFmpegHandler.java

@ -1,15 +1,15 @@
package com.frank.ffmpeg.format; package com.frank.ffmpeg.format;
/** /**
* 视频布局 * layout of video
* Created by frank on 2018/6/18. * Created by frank on 2018/6/18.
*/ */
public class VideoLayout { public class VideoLayout {
//水平拼接 //horizontal join
public final static int LAYOUT_HORIZONTAL = 1; public final static int LAYOUT_HORIZONTAL = 1;
//垂直拼接 //vertical join
public final static int LAYOUT_VERTICAL = 2; public final static int LAYOUT_VERTICAL = 2;
} }

@ -9,7 +9,7 @@ import com.frank.ffmpeg.model.MediaBean;
import com.frank.ffmpeg.tool.JsonParseTool; import com.frank.ffmpeg.tool.JsonParseTool;
/** /**
* Handler消息处理器 * Handler of FFmpeg and FFprobe
* Created by frank on 2019/11/11. * Created by frank on 2019/11/11.
*/ */
public class FFmpegHandler { public class FFmpegHandler {
@ -37,7 +37,8 @@ public class FFmpegHandler {
} }
/** /**
* 执行ffmpeg命令行 * execute the command of FFmpeg
*
* @param commandLine commandLine * @param commandLine commandLine
*/ */
public void executeFFmpegCmd(final String[] commandLine) { public void executeFFmpegCmd(final String[] commandLine) {
@ -64,7 +65,8 @@ public class FFmpegHandler {
} }
/** /**
* execute probe cmd * execute the command of FFprobe
*
* @param commandLine commandLine * @param commandLine commandLine
*/ */
public void executeFFprobeCmd(final String[] commandLine) { public void executeFFprobeCmd(final String[] commandLine) {

Loading…
Cancel
Save