[mythtv-users] OT: ffmpeg - help with poor output quality

Lawrence Rust lvr at softsystem.co.uk
Wed Jun 27 15:35:16 UTC 2012


On Wed, 2012-06-27 at 08:44 -0400, Michelle Dupuis wrote:
> I have a job setup to convert myth recordings to a format I can use on
> my blackberry.  I built this based on snippets I found around, and it
> seems to work other than the output quality is very poor (but nice and
> small).  The output is grainy/blocky; can anyone suggest which
> parameters to tweak to improve quality?  Thanks
>  
> ffmpeg -i "/mythstorage/recordings/1201_20120626233400.mpg" -acodec
> aac -strict experimental -ab 128k -ac 2 -vol 2560 -s 800x600 -vcodec
> mpeg4 -flags +aic+mv4 -trellis 2 -cmp 2 -subcmp 2 -bufsize 20M -g 300
> -metadata title="The Colbert Report-Richard Ford"
> "/tmp/The_Colbert_Report-Richard_Ford.mp4"
> _______________________________________________

Try this:
https://wiki.archlinux.org/index.php/FFmpeg#Two-pass_MPEG-4_.28very_high-quality.29

or try the h264 codec with the hq preset:
-vcodec libx264 -vpre hq -crf 22

Increase the crf (it's a real) steadily towards 27 to increase
compression but lower quality.

-- 
Lawrence


More information about the mythtv-users mailing list