[mythtv-users] encoding for Samsung Galaxy S i9000

John Baab john.baab at gmail.com
Thu Sep 23 15:18:18 UTC 2010


On Thu, Sep 23, 2010 at 7:56 AM, Patrick Davila
<pdavila at thelinuxlink.net> wrote:
> The following works well for the Nexus1 & Droid:
> Good quality:
> ffmpeg -i inputfile.mpg -aspect 16:9 -s 800x480 -vcodec libx264 -b 480k -r
> 13 -acodec libfaac -ab 128k -sameq -pass 1 -f rawvideo -an -y /dev/null &&
> ffmpeg -i inputfile.mpg -aspect 16:9 -s 800x480 -vcodec libx264 -b 480k -r
> 13 -acodec libfaac -ab 128k -ac 2 -sameq -pass 2 outputfile.mp4
>
> Very good quality:
> fmpeg -i inputfile.mpg -aspect 16:9 -s 800x480 -vcodec libx264 -b 1000k -r
> 50 -acodec libfaac -ab 128k -sameq -pass 1 -f rawvideo -an -y /dev/null &&
> ffmpeg -i inputfile.mpg -aspect 16:9 -s 800x480 -vcodec libx264 -b 1000k
> -r 50 -acodec libfaac -ab 128k -ac 2 -sameq -pass 2 outputfile.mp4
>
>
> It does a 2 pass encoding which removes any artifacts you get with a
> single pass. I have the same setup in Mythexport and forwarded my settings
> to the maintainer but the mythexport page has not been updated with this
> information. Let me know if you want the mythexport entry.
>
>
> Pat
>
>
>
>>Does anyone have a good recommendation for this specific smartphone?
>>
>>Which encoding to use, what resolution to choose?
>>
>>Thanks for any hints on this, Stefan
>
>
>
> --
> http://tllts.org/ - The Linux Link Tech Show
> http://mythtvcast.com/ - MythTVCast
> http://patdavila.wordpress.com - My blog
>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

In the next release of MythExport I am only releasing ffmpeg lines
that use presets, in an attempt to minimize the ffmpeg testing with
each release.

The following should work for all android devices, you may need to
lower the resolution if its too high for your specific devices: ffmpeg
-i <input_file> -y -pass 1 -an -vcodec libx264 -vpre slowfirstpass
-vpre ipod640 -b 1500kb -bt 1000kb -threads 0 -s 800x480 -aspect 16:9
-f ipod <output_file> && ffmpeg -i <input_file> -y -pass 2 -vcodec
libx264 -vpre hq -vpre ipod640 -b 1500kb -bt 1000kb -threads 0 -s
800x480 -acodec libfaac -ab 192kb -ac 2 -aspect 16:9 -f ipod
<output_file>

This is fairly close to Patrick's ffmpeg line, but using the presets
where available.


More information about the mythtv-users mailing list