- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I'm doing color conversion YV12(YUV420) to NV12 using ffmpeg using sws_getCachedContext & sws_scale. Then I feed it IntelMedia VPP & Encoder. I have output but it is as following.
Y(luma) seem ok, but there seem to be a mismatch with UV(chroma) planes. Please give a hint if you recognize this problem.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the reason for this issue. Seems output slice linesize was being bitshifted and got cut in half.
Isn't avcodec_get_chroma_sub_sample for AVPixelFormat of AV_PIX_FMT_NV12 supposed to output 0 for horizontal shift ??
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