[Mp4-tech] Cropping in JPEG

Mayank Agarwal mayank_2001 hotmail.com
Thu Feb 8 20:05:17 ESTEDT 2007


Hi all,
I am trying to implement Cropping in JPEG.Suppose there is the decode r 
output YUV image of size 288*224
and i want to crop it to a size of 112*112 then what could be the possible 
approaches:
One approach is to modify the final output buffer at the end of each Y/U/V 
component to the required size
but i am not getting the correct Output.If anyone has worked on this 
previously,he can be of some help.
Regards,
Mayank
>From: Nilesh Dixit <Nilesh.Dixit lntinfotech.com>
>To: mp4-tech lists.mpegif.org
>Subject: [Mp4-tech] MPEG-4 Xvid output
>Date: Thu, 8 Feb 2024 14:14:34 +0530
>
>Hi
>I am currently working on MPEG-4 Decoder using XVID codec code.
>While running the application using -i
>C:\\xvidcore-1.1.2\\build\\win32\\output -d where output is the mpeg
>bitstream file I am getting the output in PGM format with headers as
>P5
>#xvid
>480 312
>255
>and some bit streams...................................
>
>But I wanted the output in YUV Format ,so  may i know exaclty which type
>of encoding it does to produce pgm format and how to obtain yuv format
>(4:2:0 ) from it???
>
>Also is the any specific tool using which i can get mpeg4 stream as an
>output from an mp4 input
>
>Thanks
>
>
>______________________________________________________________________

>_______________________________________________
>NOTE: Please use clear subject lines for your posts. Include [audio, 
>[video], [systems], [general] or another apppropriate identifier to 
>indicate the type of question you have.
>
>Note: Conduct on the mailing list is subject to the Antitrust guidelines 
>found at 
>http://www.mpegif.org/public/documents/vault/mp-out-30042-Antitrust.php

_________________________________________________________________
Latest updates from the world of sports 
http://content.msn.co.in/Sports/Default


More information about the Mp4-tech mailing list