[MEncoder-users] Help with MPG video encoding

Walter Belhaven wbelhaven at yahoo.com
Tue Mar 13 18:36:17 CET 2007


RC <xxxxxxx at xxxxxxx.xxx> wrote:
> 
> There's no reason MPEG-2/4 would be inherently blocky.
> 
> Far more info is needed to even guess where your problem might lie. 
> Command-lines and output would be a start.  A short sample of the
> source may help as well.

Thanks RC.  Here's the command line I'm using for huffyuv (lossless):

mencoder -noautoexpand -forceidx -oac copy -ovc lavc -of avi \
  -vf pullup=1:1:75:75,softskip,crop=1280:800:0:140, \
      expand=1280:1080,scale=720:480,harddup \
  -lavcopts vcodec=huffyuv:format=422P:aspect=16/9 \
  -fps 30000/1001 -ofps 24000/1001 \
  -o wbelhaven-huffyuv-480p.avi wbelhaven-original-1080i.mpg

and the one for MPG4:

mencoder -noautoexpand -forceidx -oac copy -ovc lavc -of avi \
  -vf pullup=1:1:75:75,softskip,crop=1280:800:0:140, \
      expand=1280:1080,scale=720:480,harddup \
  -lavcopts vcodec=mpeg4:vqscale=0.01:aspect=16/9 \
  -fps 30000/1001 -ofps 24000/1001 \
  -o wbelhaven-mpg4-480p.avi wbelhaven-original-1080i.mpg

I'll start with a sample of the MGP4 output file, since it's nice and
small.  If you need more info I'll upload the original and/or the
lossless version.  Here's where I copied it, though I don't see it when
I look for it:

ftp://upload.mplayerhq.hu/MPlayer/incoming/wbelhaven-mpg4-480p.avi

Notice the blockiness in the background just to the right of Leon. :) 
There's an ever-so-tiny bit of that blockiness visible in the HD
original (telecined 1080i).  The lossless, inverse telecined, shrunken
version (480p) faithfully reproduces that very slight blockiness in the
original.  The MPG4 sample I uploaded is FAR more blocky in that
region.

Thanks,
WB



 
____________________________________________________________________________________
Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather



More information about the MEncoder-users mailing list