[Ssc-dev] fine-tuning the ffmpeg build
Hans-Christoph Steiner
hans at at.or.at
Wed Sep 28 14:36:52 EDT 2011
Hey Shawn,
I haven't heard back about the most recent ffmpeg update. Is it
working for you? I think it would be possible to strip it down
further. Its including quite a bit now. I think its at 5.7megs.
.hc
On Sep 14, 2011, at 11:04 PM, Shawn Van Every wrote:
> Hey Hans,
>
> Fortunately the latest is 9 mb rather than 27 mb but it could still
> use some optimizing and trimming.
>
> For the input videos we want it to work with both our app and the
> built in camera. In our app we are using the camera defaults anyway
> so the best thing to do is record a video using the built in camera
> app at each of the quality settings as the source.
>
> Unfortunately, this won't get us 100% of the way there as it is
> possible that some devices will support different formats but for
> now I think we should support what is spit out on the Nexus 1/Nexus
> S running 2.3 (I assume that is what you are running).
>
> The output isn't completely nailed down but I think we want it to be
> an MPEG-4 file with H.264 video and AAC audio. size, bitrate,
> framerate, sample rate, bit depth and so on should be consistent
> with the input. If it is a LOW quality original then use lower
> quality settings, if it is HIGH then higher quality settings.
>
> Here is what I have right now:
>
> Super Duper High Quality (probably too high)
> (audio is already in AAC so it is simply copied but we should nail
> down the settings there as well)
> ffmpeg -v 10 -y -i input.mp4 -vcodec libx264 -b 3000k -s 720x480 -r
> 30 -acodec copy -f mp4 -vf 'redact=redact_unsort.txt' output.mp4
>
> Lower Quality (Didn't get the audio right so using the -an to strip
> it for now)
> ffmpeg -v 10 -y -i input.mp4 -vcodec libx264 -b 1000k -s
> widthxheight -r 15 -vf redact=redact_unsort.txt -an -f mp4 output.mp4
>
> -shawn
>
>
> On Sep 14, 2011, at 5:10 PM, Hans-Christoph Steiner wrote:
>
>>
>> Hey Shawn (and anyone else who's interested),
>>
>> I want to fine-tune the ffmpeg build for SSC so its not 27 megs, uses
>> faster ARM assembly, etc.. If you could provide me with an example
>> video file to start from and the flags for the file you want to end
>> up
>> with, I can nail down a small, optimized ffmpeg for it.
>>
>> I can also work on the resulting format, if that's not already nailed
>> down.
>>
>> .hc
>>
>> _______________________________________________
>> 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/vanevery%40walking-productions.com
>>
>> You are subscribed as: vanevery at walking-productions.com
>
> Shawn Van Every
> vanevery at walking-productions.com
> Mobile and Streaming Consulting
> http://www.walking-productions.com/notslop
> Author: Pro Android Media: http://amzn.to/eYb48C
>
----------------------------------------------------------------------------
“We must become the change we want to see. - Mahatma Gandhi
More information about the Ssc-dev
mailing list