<p>According to the <a href="http://ffmpeg.org/ffmpeg-formats.html#framemd5" rel="nofollow">framemd5 muxer documentation</a>:</p>

<blockquote>
  <p>This muxer computes and prints the MD5 hash for each audio and video
  packet. By default audio frames are converted to signed 16-bit raw
  audio and video frames to raw video before computing the hash.</p>
  
  <p>The output of the muxer consists of a line for each audio and video
  packet of the form:</p>

<pre><code>stream_index, packet_dts, packet_pts, packet_duration, packet_size, MD5
</code></pre>
  
  <p>MD5 is a hexadecimal number representing the computed MD5 hash for the
  packet.</p>
</blockquote>

<p>If you want to omit a particular stream or stream type use the <code>-map</code> option. This example will only process the video stream while ignoring audio:</p>

<pre><code>ffmpeg -i input -map 0:v:0 -f framemd5 -
</code></pre>

CC BY-SA 3.0
2014-06-19T00:31:21.727Z
2014-06-19T00:31:21.727Z
llogan
<p>Does a frame consist of audio and video or just video? I am trying to verify if this can be used for confirming both audio and video data were successfully sent or if I need to handle the audio separately.</p>

<ffmpeg>
ffmpeg framemd5 format explanation
James Andino
# ffmpeg framemd5 format explanation

(Asked by: username_0 on 2014-06-18)

Does a frame consist of audio and video or just video? I am trying to verify if this can be used for confirming both audio and video data were successfully sent or if I need to handle the audio separately.

**Tags:** ffmpeg


---

## 1 answers

### Answer by username_1 on 2014-06-19. Score: 3

According to the framemd5 muxer documentation:

This muxer computes and prints the MD5 hash for each audio and video
  packet. By default audio frames are converted to signed 16-bit raw
  audio and video frames to raw video before computing the hash.
The output of the muxer consists of a line for each audio and video
  packet of the form:
stream_index, packet_dts, packet_pts, packet_duration, packet_size, MD5

MD5 is a hexadecimal number representing the computed MD5 hash for the
  packet.

If you want to omit a particular stream or stream type use the -map option. This example will only process the video stream while ignoring audio:
ffmpeg -i input -map 0:v:0 -f framemd5 -


---

