I wish to determine the MIME type of the contents of a pipe. The pipe is outputting a transcoded video stream, so there is no corresponding file extension.
Can I determine the MIME type in these circumstances using say ffprobe -i pipe:0
or some equivalent? Is there a canonical mapping of codecs or container formats to MIME type?