[Ssc-dev] new FFMpeg need

Hans-Christoph Steiner hans at guardianproject.info
Tue Jul 9 15:50:43 EDT 2013


How new is the MD5 feature?  In my experience, stuff that's been in ffmpeg
works well, but can often be quite tricky to config properly to get it
actually running.  Are you looking to have the MD5 for the whole video, or per
frame?

I found one instruction that said per-frame MD5 works like this:
ffmpeg -i video.avi -f framemd5 checksum_output.txt

Here's someone else's attempt at something similar:

ffmpeg -vsync 0 -i ../x264/park.264 -v 2 -an -vcodec rawvideo -f md5 -

It looks like it might only work with a single -f arg.  Have you tried this on
the desktop? that's generally a lot easier place to start.

.hc

On 07/08/2013 05:45 PM, Harlo Holmes wrote:
> Hi all, but especially Hans:
> 
> We are hoping to do video hashing using the very expeditious FFMpeg
> rawvideo module and hashing that to md5.  (Also, doing the same with the
> audio)  The module seems to be supported, but the exporting to md5 fails.
>  I tried doing this on android running the following (and am including
> pastebin output below):
> 
> ffmpeg -i /storage/sdcard0/InformaCam/1373319350714tmp.mp4 -f rawvideo
> -pix_fmt rgb24 -f md5 -
> 
> http://pastebin.com/rhQtHyAf
> 
> While we could do hashing in a different way, this is obviously the best
> way to skin the cat.  Would it be possible to include it?  If not, how
> might I handle receiving the stream and performing the hashing manually?
> 
> Thanks,
> Harlo
> 
> ++++++++++++++++++++++++++
> Research Fellow, Head of Metadata
> The Guardian Project <https://guardianproject.info>
> 
> pgp: 0xA4469630
> twitter: @harlo
> 
> 
> 
> _______________________________________________
> Ssc-dev mailing list
> 
> Post: Ssc-dev at lists.mayfirst.org
> List info: https://lists.mayfirst.org/mailman/listinfo/ssc-dev
> 
> To Unsubscribe
>         Send email to:  Ssc-dev-unsubscribe at lists.mayfirst.org
>         Or visit: https://lists.mayfirst.org/mailman/options/ssc-dev/hans%40guardianproject.info
> 
> You are subscribed as: hans at guardianproject.info
> 

-- 
PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81


More information about the Ssc-dev mailing list