show stream info of media files
ffprobe can't be given more than one file to analyse. If sv is called with multiple filenames, it invokes ffprobe for every single file. Because of this the file-index is for all files #0. In contrast to this ffmpeg can be called with multiple input files. The first one has file-index #0, the second one #1 and so on. As the file-index is part of the stream number, the output of sv and ffmpeg are not identical. Add a counter, and process the output of ffprobe through sed to substitute the file-index with an incrementing index, to make the stream numbering identical to ffmpeg. |
||
|---|---|---|
| PKGBUILD | ||
| si | ||