Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-13-2008, 12:24 AM   #1
Registered: Jun 2007
Posts: 67

Rep: Reputation: 15
Question How To Reduce / Improve Pixelated Result from FFMPEG?

I had converted several hundreds flv video to mpg using ffmpeg.
The screen resolution of the flv and mpg files are exactly the
same (ie 320x240 pixel).

Everything is OK, only in several video, the result is
"Pixelated" or small squares appear on the picture.

Is it possible to change ffmpeg parameters to reduce / eliminate
this "pixelated" effect?
Old 06-13-2008, 06:17 PM   #2
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
It all depends on what codec you are using etc...

Post the ffmpeg command that you used and we can probably give you a better idea of what to do, but here are a couple of ideas:

-try using a different codec (xvid maybe? - do you *need* the output video to be mpg?)
-try increasing the bit rate (use "-b XXXk" where XXX is your desired bitrate in kbps)
-try multiple pass encoding, run the same command twice, the first time with the "-pass 1" option and the second time with the "-pass 2" option
-try blurring the video a bit with "-qblur XXX" where XXX is some number (try values between 0.3-1.0)
Old 09-02-2011, 04:51 PM   #3
Registered: Nov 2005
Location: Berkeley, CA
Distribution: Slackware, Arch, Zenwalk (pre-2012)
Posts: 41

Rep: Reputation: 15
I've had this problem again and again, and I finally had to reverse engineer a video that I had seen transcoded properly. Its bit rate was around 2572k. So I took my audio and video streams and muxed them with the command below. The pixellation finally disappeared.

ffmpeg -i movie.m2v -b 2572k -i movie.mp3  final.avi
Hope this helps you or someone, because I know what an annoyance that problem is.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help !! My Computer Is Still Pixelated taurusx5 Linux - Software 3 04-20-2008 12:43 PM
Text pixelated after reboot justintime32 Mandriva 1 03-18-2005 01:39 PM
Virtual consoles just pixelated colors? robtheJobNorflk Slackware 4 04-08-2004 07:41 AM
Enlight is so pixelated CiTl2uS Linux - Newbie 2 05-27-2002 03:27 AM
Really small and pixelated fonts Infamous Tim Linux - Newbie 1 07-14-2001 10:22 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration