Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to extract frames from yuv file ?

Status
Not open for further replies.

amith

Member level 2
Joined
Feb 17, 2005
Messages
43
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,560
yuv frames

HI all

how do i extract frames from yuv file.


amith
 

Re: yuv frames

Hi amith,
Are u talking about interleaved or planar yuv frames bcoz there are lots of formats in which yuv pixels can be arranged like YUV420, YUV422, YUV400, YUV444, YUV4111 (all can be interleaved/planar)???

~R
 

Re: yuv frames

Hai,
In yuv format there is no header information and hence you just need to give the required offset (Frame Size) from the starting to get to you required frame..the offset will depend on the specific YUV format, whether it is 420,422 etc..In case of a YUV420 stream, the offset for each frame will be Frame_Width * Frame_Height for luma and (Frame_Width/2) * (Frame_Height/2) for each of the chroma components...

- matt
 

yuv frames

you have to know how many lines per frame there are in your yuv file. And how many bytes per line.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top