[FFmpeg-user] essence MD5

Ganesh.Irelan at syda.org Ganesh.Irelan at syda.org
Wed Oct 12 15:16:33 EEST 2016


Hello,

Non-developer here...

I want to generate an essence MD5 for WAV files and then populate that value into a field in a DAM system.  I have tested two commands to generate the essence MD5 hash.

ffmpeg -i INPUT -map 0:a -f md5 OUTPUT.md5
ffmpeg -i "INPUT" -map 0:a -f md5 -hash md5 -

Neither of these is ideal.  The first one puts the value in a separate file.  The second puts it amongst other info in the console making it difficult to parse out as in the following example.  (The value I want is the fourth line from the bottom.)  Is there an FFMPEG command that will give a cleaner console output than this?

Thank you,
Kevin

C:\>ffmpeg -i "Test BWAV 2.wav" -map 0:a -f md5 -hash md5 -
ffmpeg version N-79546-g13406b6 Copyright (c) 2000-2016 the FFmp
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32thr
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --e
enable-libfreetype --enable-libgme --enable-libgsm --enable-libi
modplug --enable-libmfx --enable-libmp3lame --enable-libopencore
libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable
e-libschroedinger --enable-libsnappy --enable-libsoxr --enable-l
-libtheora --enable-libtwolame --enable-libvidstab --enable-libv
ble-libvorbis --enable-libvpx --enable-libwavpack --enable-libwe
264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-
-lzma --enable-decklink --enable-zlib
  libavutil      55. 22.100 / 55. 22.100
  libavcodec     57. 35.100 / 57. 35.100
  libavformat    57. 34.102 / 57. 34.102
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 44.100 /  6. 44.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, wav, from 'Test BWAV 2.wav':
  Metadata:
    comment         : Test File with BEXT
    time_reference  : 0
  Duration: 00:00:14.55, bitrate: 1413 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100
s16, 1411 kb/s
[md5 @ 0000000000506520] Using AVStream.codec to pass codec para
is deprecated, use AVStream.codecpar instead.
Output #0, md5, to 'pipe:':
  Metadata:
    comment         : Test File with BEXT
    time_reference  : 0
    encoder         : Lavf57.34.102
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 k
    Metadata:
      encoder         : Lavc57.35.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
MD5=0c9f578c5d4849d4f18e07dfe08370e5
size=       0kB time=00:00:14.55 bitrate=   0.0kbits/s speed= 93
video:0kB audio:2507kB subtitle:0kB other streams:0kB global hea
overhead: unknown




This e-mail (including any attachments) is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are notified that any dissemination, distribution or copying of it (including any attachments), or taking any actions based on it, is prohibited. If you have received this e-mail in error, please immediately notify the sender by reply e-mail, delete the original, and destroy any copies or printouts. Thank you. em-tr-v1-2016



More information about the ffmpeg-user mailing list