-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues when decoding H264 streams with weighted P-frame prediction #1
Comments
Spent a bit of time investigating the same issue. I wish I could find your bugreport earlier :) Added a link here from http://linux-sunxi.org/CedarXVideoRenderingChart |
I reported this issue here, on http://linux-sunxi.org/CedarXVideoRenderingChart and on http://forum.xbmc.org/showthread.php?tid=126995&pid=1234463#pid1234463 6 months ago |
Well, not enough details (x264 has a bit different name for this encoding option) and a broken mediafire link for the sample itself introduced a bit of a challenge :) Yes, the hardware is OK. However unless Allwinner provides an updated linux blob, we don't have many options. Trying to somehow use the android blob in linux (via libhybris?) is one of the things to test. |
Sorry for the broken link : Of course it was valid when I submitted the issue... |
Because weighted_pred_flag is set in PPS, is it possible that init_data isn't set up the right way in the different linux ports? |
@rellla It looks like the PPS data gets properly passed to libvecore library. For example, testing cedarx vlc with the two files obtained via "x264 --weightp 0 -o testfile-good.mkv sintel_trailer-1080p.mp4" and "x264 -o testfile-bad.mkv sintel_trailer-1080p.mp4" shows that init_data pointer is set to a chunk of 43 bytes in both cases, with only one bit of difference (weighted_pred_flag): |
Android libraries loaded via libhybris are not affected by this bug. Verified with the blobs from allwinner-dev-team/android_external_cedarx@ef36cd7 The tested blobs are (sha1 sums): |
Added some libhybris usage instructions - http://linux-sunxi.org/CedarX/libve |
That is a very good news ! |
Great news !!! Is it possible port to XBMC on Linux with framebuffer ? |
@addison: It has been already done. http://linux-sunxi.org/XBMC . |
Make the default build config setting for cedarx "m" Signed-off-by: Patrick Wood <[email protected]>
While using the linux armhf version of cedarx libs with both :
It appears that H264 videos which are encoded with weighted P-frame prediction enabled (weighted_pred_flag in PPS) are decoded with a lot of artifacts.
You can find an instance of such a video (which exhibits the issue) here : http://www.mediafire.com/?amt4ge2mkzj
To check whether the hw VPU of the A10 is responsible for these issues, I tried to use ICS android and mxplayer (using hw decoding) on a A10 tablet and there is no artifact so I guess (and hope) that the issue is within the cedarx library.
Is there any chance to improve and/or investigate further this issue ?
The text was updated successfully, but these errors were encountered: