Skip to content

Commit

Permalink
Update README with warning on ffprobe+streams
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Joyard committed Apr 30, 2016
1 parent a247893 commit e1b2651
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,8 @@ ffmpeg('/path/to/file1.avi')
});
```

**Warning:** ffprobe may be called with an input stream, but in this case *it will consume data from the stream*, and this data will no longer be available for ffmpeg. Using both ffprobe and a transcoding command on the same input stream will most likely fail unless the stream is a live stream. Only do this if you know what you're doing.

The returned object is the same that is returned by running the following command from your shell (depending on your ffmpeg version you may have to replace `-of` with `-print_format`) :

```sh
Expand Down

0 comments on commit e1b2651

Please sign in to comment.