[MEncoder-users] Mencoder lost its cropping precision of olde?

Miroslav Rovis m.rovis at inet.hr
Wed Jan 4 00:14:20 CET 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In this version,
#  mencoder  --version
MEncoder SVN-r33094-4.5.3 (C) 2000-2011 MPlayer Team
this script:

#!/bin/bash
# script /usr/local/bin/do_x264_02.sh

v1=`echo $1 | cut -d '.' -f1`
echo  "\$v1: $v1"

v1_p=${v1}_p
echo  "\$v1_p: $v1_p"

ext=`echo $1 | cut -d '.' -f2`
echo  "\$ext: $ext"

mencoder -ss $2 $v1.$ext -o ${v1_p}1.avi -profile x264_p1$3
mencoder -ss $2 $v1.$ext -o ${v1_p}2.avi -profile x264_p2$3 && cp -iav
divx2pass.log $v1.divx2pass.log && cp -iav divx2pass.log.mbtree
$v1.divx2pass.log.mbtree

works when invoked at the command line, like so:

# do_x264_02.sh  
EWTN_UK_2011-12-22_0452_CET_Christmas_Cartoon_for_Kids.avi  0 _crop_EWTN_UK

the respective profiles being, in ~/.mplayer/mencoder.conf these lines:

[x264_p1_crop_EWTN_UK]
profile=x264_p1_crop_EWTN_UK
profile-desc="x264_p1_crop_EWTN_UK"
ovc=x264=1
x264encopts=pass=1:slow_firstpass:bitrate=900:bframes=1:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=50
vf=harddup
vf=crop=508:544:18:16
oac=faac=1
faacopts=br=192:mpeg=4:object=2
channels=2
srate=48000
ofps=25

[x264_p2_crop_EWTN_UK]
profile=x264_p2_crop_EWTN_UK
profile-desc="x264_p2_crop_EWTN_UK"
ovc=x264=1
x264encopts=pass=2:slow_firstpass:bitrate=900:frameref=3:bframes=1:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=50
vf=harddup
vf=crop=508:544:18:16
oac=faac=1
faacopts=br=192:mpeg=4:object=2
channels=2
srate=48000
ofps=25


However, the same profiles in the same script issued at command line,
fail to work,
i.e. the newer mencoder can't crop to 8 pixel IMHO, as the older one,
I am talking about the new mencoder:
# mencoder --version
MEncoder SVN-r34445-4.5.3 (C) 2000-2011 MPlayer Team

And since replacing the Width to be cropped to, "508", by either "512"
or "496" does work as expected (and no other numbers around but 512 and
496), than the cropping seems to have lost some precision capability...

But that's whole lot of a border to be left black, or a whole lot of
live video to waste...
So, if the developers read me, I vote for more precision in the next
mencoder release!

On a more cheerful note (albeit a little embarssing to me), I made my
first burned-in subtitle video with the program that is still, of all
the programs, the most at my fingertips, with Mencoder:

http://forums.gentoo.org/viewtopic-t-868401-highlight-.html#6917692

I have been using Mencoder for long, and occasionally still no other
program comes any close for some tasks...
Occasionally I still make superb recoding/compressing/archiving of video
footage that is difficult to match by any other program.
It may be that Mencoder is getting overshadowed by ffmpeg in HD, as I
read somewhere... I can't even properly watch HD on my old equipment,
and don't have sufficient experience to confirm that or say to the contrary.
But I contributed a little to this list, like the little menc_avx_cp.sh
script for cutting avi files (
http://lists.mplayerhq.hu/pipermail/mencoder-users/2010-May/011583.html
), and with some others, we discovered the workaround to digitize VHS
tapes (there was an ugly A/V sync issue scaring us all, anyone in need
of sorting some olde VHS who stumbles upon the current message, can go
from, say: 
http://lists.mplayerhq.hu/pipermail/mencoder-users/2010-April/011535.html )

I would like to post my mecoder.conf entire file, so possibly newbies
can find some benefit in their exploring of Mencoder. But I'd like to do
it in the next message, since the topic is completely different, and I'd
like to limit myself in this message to just the light digression to
which what I wrote so far amounts.

On the other hand, it is best to have working profiles in the
mencoder.conf that I intend to post. So, let's first see if the cropping
precision will be taken care of, else the profiles in my current
mencoder.conf wouldn't all work as they did for years...
God bless!
Miroslav Rovis
Still free, but prison sentence still pending over my head, just as I
wrote, say, here:
http://lists.mplayerhq.hu/pipermail/mencoder-users/2011-March/012591.html .
It goes like that, happens all of a sudden, like the court trial did.
Everybody was saying, no, c'mmon, they won't touch you...)
miro.rovis at gmail.com
m.rovis at inet.hr
+385 1 660 2633
+385 91 266 0202
http://www.CroatiaFidelis.hr
http://www.exDeo.com
http://groups.google.com/group/croatian-news/
http://www.youtube.com/user/miroR2 (Google cut me back to 15min video,
after long months of 2h-2G high limit, under political influence, I am a
*tollerant* rightwing)
not my profile, but lot of my stuff there:
http://www.youtube.com/user/prosvjednikkrcmarek

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8Di8sACgkQ5NaGZVDan0qi2gCeOwpICh9O86bU69l+L7zmiMHw
w+UAn3BtoOblFs1KBM3b4sq/B/HoStHw
=Vrh3
-----END PGP SIGNATURE-----



More information about the MEncoder-users mailing list