Hacker News new | ask | show | jobs
by gyan 791 days ago
This uses the hash muxer in ffmpeg, which consolidates all streams into one. Use the streamhash muxer to emit hashes per-stream, which can isolate any changes to specific streams.
2 comments

See the --only flag too:

    --only=<ONLY> 
    hash the an input file container's first audio or video stream only, if available.  dano will fall back to default behavior, if no stream is available. [possible values: audio, video]
I noticed that both muxers convert audio to signed 16-bit PCM by default. Is there a way to avoid this behavior without specifying a codec?
No, 16-bit PCM is the default audio codec. If no `-c` is specified for a stream, ffmpeg will encode using the default codec. But if `-c X` is declared where X=`copy` or something else, then that is honored.