[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mjpeg-users
Subject:    Re: [Mjpeg-users] aspect-ratio & mmx with AMD-CPUs
From:       Gert Vervoort <gert.vervoort () hccnet ! nl>
Date:       2007-03-20 17:27:27
Message-ID: 4600197F.9080404 () hccnet ! nl
[Download RAW message or body]

Hi Christian,

As far as I know, mjpegtools do not have a problem with AMD-CPUs and mmx.
My cpu is also an Athlon64. I'm using a cvs version of mjpegtools.

   Gert

christian.wirtz@online.de wrote:
> Hello Gert,
> 
> I am glad to hea that you do not have the memoryacesserror.
> I have also already tryed without any -O infer parameter since CAP is default but I \
> still get the same problem. :( Maybe the problem only shows up because I use an \
> AMD-Athlon64-3200+-Prozessor and I have heared that mjpegtools have a problem with \
> AMD-CPUs and mmx. Is there already a new version available as debianpackages which \
> has no problems with AMD-CPUs? 
> beye
> 
> chriwi
> 
> 
> christian.wirtz@online.de wrote:
> 
> > Hello Gert,
> > 
> > thank you for your Tip, 
> > 
> > 
> > 
> > > djpeg 20070225_2710.JPG  | ppmtoy4m -r -n 200 -F 25:1 | y4mscaler -I 
> > > sar=1:1 -O preset=DVD -O infer=PRESERVE_X -O infer=EXACT | mpeg2enc -f 8 
> > > -o photo.m2v
> > > 
> > > 
> > > works fine and the resault is almost what I want, only the 
> > > parameter "-O infer=PERSERVE_X" leeds to the oversize in Y will be 
> > > clipped what I don't like, Indeed, I didn't notice this before, but 
> > > it seems that indeed it clips in the Y direction. When I do use "-O 
> > > infer=PERSERVE_Y" I get  small black bars left and right. Actually, 
> > > this is strange since the photo's from my digital camera have a 4:3 
> > > ratio and PAL also has a 4:3 ratio, so I what expect it to fill the 
> > > full video frame without any clipping or black bars.
> > > but when I use "-O infer=PERSERVE_Y" or "-O infer=PAD" than the 
> > > script produces "memoryaccesserror 4952" for every conversion, how 
> > > can I avoid this and can I get padded MPEG-immages with black bars 
> > > for the space not used?
> > > 
> > > 
> > > 
> 
> 
> 
> > Tried both options and they seem to work fine here, I do not get a 
> > "memoryacesserror".
> > 
> 
> 
> > If I use y4mscaler without these options it will also add black bars 
> > if needed, just tried it with a photo in portrait format and it gives 
> > me black bars left and right:
> > djpeg IMG_5171.JPG  | ppmtoy4m -r -n 200 -F 25:1 | 
> > y4mscaler -I sar=1:1 -O preset=DVD | mpeg2enc -f 8  -o photo3.m2v
> > 
> 
> 
> > But, it also adds small black bars on the bottom and top, to remove 
> > these I needed to specify  "-O infer=PRESERVE_Y -O infer=EXACT".
> > 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic