This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
ffmpeg [2026-02-09 15:40:29] mi [Other options] |
ffmpeg [2026-03-25 10:53:44] (current) mi [Stream MD5] |
||
|---|---|---|---|
| Line 356: | Line 356: | ||
| ==Stream MD5 | ==Stream MD5 | ||
| - | |||
| - | $ ffmpeg -i "$filename" -map 0:a -codec copy -f md5 "$filename.md5" | ||
| - | |||
| - | $ ffmpeg -i "$filename" -map 0:a -codec copy -hide_banner -loglevel warning -f md5 - | ||
| $ ffmpeg -i "$filename" -map 0 -c copy -f streamhash -hash md5 - | $ ffmpeg -i "$filename" -map 0 -c copy -f streamhash -hash md5 - | ||
| Line 366: | Line 362: | ||
| 1,a,MD5=1d2a32ed72798d66e0110bd02df2be65 | 1,a,MD5=1d2a32ed72798d66e0110bd02df2be65 | ||
| - | $ ffmpeg -i "$f" -map 0 -c copy -f streamhash -hash md5 "$f.stream.md5" | + | or to output into a file: |
| + | |||
| + | $ ffmpeg -i "$filename" -map 0 -c copy -f streamhash -hash md5 "$f.stream.md5" | ||
| + | |||
| + | or for a single track like for example the first audio track: | ||
| + | |||
| + | $ ffmpeg -i "$filename" -map 0:a:0 -codec copy -f md5 - | ||
| + | |||
| + | or the second subtitle track: | ||
| + | |||
| + | $ ffmpeg -i "$filename" -map 0:s:1 -codec copy -f md5 - | ||
| See also: | See also: | ||