Skip to content

Commit

Permalink
fixed README
Browse files Browse the repository at this point in the history
  • Loading branch information
schaermu committed Mar 29, 2012
1 parent e8daa12 commit 35c8240
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,13 @@ You can set the call back onProgress if you want to be notified on every progres
});

The progress object consists of 6 properties:
* frames: the total processed frame count
* currentFps: the framerate at which FFMPEG is currently processing the file
* currentKbps: the throughput at which FFMPEG is currently processing the file
* targetSize: the current size of the target file
* timemark: the timestamp of the frame being processed right now
* percent: an estimation on the progress (metadata is used, durationsec * fps)

* `frames` - the total processed frame count
* `currentFps` - the framerate at which FFMPEG is currently processing the file
* `currentKbps` - the throughput at which FFMPEG is currently processing the file
* `targetSize` - the current size of the target file
* `timemark` - the timestamp of the frame being processed right now
* `percent` - an estimation on the progress (metadata is used, durationsec * fps)

### Creating a custom preset
To create a custom preset, you have to create a new file inside the `lib/presets` folder. The filename is used as the preset's name ([presetname].js). In order to make the preset work, you have to export a `load` function using the CommonJS module specifications:
Expand Down

0 comments on commit 35c8240

Please sign in to comment.