- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone
asking for help with the Media Accelerator
i am trying to run an image thru the accelerator how ever the image is loosing color in the output
with out using the filters, can any one please help me understand why?
thank you in advanced!
commands in order:
sample_decode.exe jpeg -i 3.jpg -o out.yuv
sample_vpp.exe -sw 1706 -sh 1280 -scc nv12 -dw 1706 -dh 1280 -iopattern d3d_to_d3d -i out.yuv -o out_modifed.yuv
sample_encode.exe jpeg -i out_modifed.yuv -o outputfile.jpg -w 1706 -h 1280 -sw -q 100
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tal,
Sorry for the late response since I was busy on other project.
My colleagues and I did some research and we found only the final output file has the black/white problem you mentioned, so I checked the readme of sample_encode.exe:
In the optional argument, it says the default input format is YUV420, since the output of sample_vpp.exe is NV12, this is the issue. You should add "-nv12" in the middle of the command so it becomes
sample_encode.exe jpeg -i out_modifed.yuv -nv12 -o outputfile.jpg -w 1706 -h 1280 -sw -q 100
I have checked outputfile.jpg and it has the correct color.
Mark
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for reaching out to us.
We are trying to figure out your issue internally. We will get back to you on the updates.
Regards,
Raeesa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We were able to reproduce your issue from our end. We are forwarding this case to subject matter experts.
Thank you ,
Raeesa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tal,
Sorry for the late response since I was busy on other project.
My colleagues and I did some research and we found only the final output file has the black/white problem you mentioned, so I checked the readme of sample_encode.exe:
In the optional argument, it says the default input format is YUV420, since the output of sample_vpp.exe is NV12, this is the issue. You should add "-nv12" in the middle of the command so it becomes
sample_encode.exe jpeg -i out_modifed.yuv -nv12 -o outputfile.jpg -w 1706 -h 1280 -sw -q 100
I have checked outputfile.jpg and it has the correct color.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page