[Ssc-dev] Fwd: ffmpeg 0.9 + redact filters
Nathan of Guardian
nathan at guardianproject.info
Tue Dec 20 18:48:53 EST 2011
from Hans...
-------- Original Message --------
Subject: ffmpeg 0.9 + redact filters
Date: Tue, 20 Dec 2011 15:44:54 -0800
From: Hans-Christoph Steiner <hans at eds.org>
To: ssc-dev at lists.mayfirst.org
I set up a git repo that is ffmpeg 0.9 plus our video and audio
redaction filters:
https://github.com/eighthave/FFmpeg
And now the android-ffmpeg build is based on our version of ffmpeg:
https://github.com/guardianproject/android-ffmpeg
And I setup a regular build of this here:
https://build.safermobile.org/job/android-ffmpeg
So now the next question is how to go about integrating it. The command
line will need to be different because there is some new way that
filters are handled in 0.9. Here's how I got it working:
./ffmpeg -f lavfi -i \
"movie=cvideoproto_nexuss_high_quality_2_3_3.mp4,redact=redact_unsort.txt" \
-f lavfi -i \
"amovie=cvideoproto_nexuss_high_quality_2_3_3.mp4,aredact=aredact_unsort.txt" \
-acodec copy -vcodec libx264 -b:v 1000k -an -f mp4 -y /tmp/output.mp4
Shall I just stick this into the code, or does someone else want to take
it on?
.hc
----------------------------------------------------------------------------
As we enjoy great advantages from inventions of others, we should be
glad of an opportunity to serve others by any invention of ours; and
this we should do freely and generously. - Benjamin Franklin
More information about the Ssc-dev
mailing list