- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
Base "simple_decode", When I decode the H264 to YUV, I find the output is always NV12?
How can I get the YV12 or YUV420 directly ?
Don't use the " WriteRawFrame" to copy each bits.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Media SDK HW only decodes to NV12 format in memory, psurface o/p in simple_decode is provided as a pointer where Y data is planar and U V are packed. Developer can choose any method to write it to a file. Our samples & tutorials uses fwrite to write the yuv from a memory to a file.
-Surbhi

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page