Package net.bramp.ffmpeg.progress
Class Progress
java.lang.Object
net.bramp.ffmpeg.progress.Progress
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionlong
Current bitratelong
Number of frames droppedlong
The current frames per secondlong
The frame number being processedlong
Output time (in nanoseconds)float
Speed of transcoding.Current status, can be one of "continue", or "end"long
Output file size (in bytes) -
Constructor Summary
ConstructorDescriptionProgress()
Progress
(long frame, float fps, long bitrate, long total_size, long out_time_ns, long dup_frames, long drop_frames, float speed, Progress.Status status) -
Method Summary
-
Field Details
-
frame
The frame number being processed -
fps
The current frames per second -
bitrate
Current bitrate -
total_size
Output file size (in bytes) -
out_time_ns
Output time (in nanoseconds) -
dup_frames
-
drop_frames
Number of frames dropped -
speed
Speed of transcoding. 1 means realtime, 2 means twice realtime. -
status
Current status, can be one of "continue", or "end"
-
-
Constructor Details
-
Progress
public Progress() -
Progress
public Progress(long frame, float fps, long bitrate, long total_size, long out_time_ns, long dup_frames, long drop_frames, float speed, Progress.Status status)
-
-
Method Details
-
parseLine
Parses values from the line, into this object.The value options are defined in ffmpeg.c's print_report function https://github.com/FFmpeg/FFmpeg/blob/master/ffmpeg.c
- Parameters:
line
- A single line of output from ffmpeg- Returns:
- true if the record is finished
-
isEnd
-
equals
-
hashCode
-
toString
-