You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
S1. Play this video
auto videoPlayer = ax::ui::VideoPlayer::create();
videoPlayer->setPosition(winSize / 2);
videoPlayer->setAnchorPoint(Vec2::ANCHOR_MIDDLE);
videoPlayer->setContentSize(0.25f*Size({1920,1080}));
videoPlayer->setUserInputEnabled(true);
videoPlayer->setKeepAspectRatioEnabled(true);
videoPlayer->setURL("https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_adv_example_hevc/master.m3u8?58331");
videoPlayer->play();
this->addChild(videoPlayer);
S2.
Screen.Recording.2024-06-11.at.10.58.09.mov
Data :
YWidth: 1920
YHeight: 1080
UVWidth: 960
UVHeight: 540
YPitch: 1920
UVPitch: 1920
YDataLen: 2073600
UVDataLen: 1036800
videoDim.x: 960
videoDim.y: 540
Expected Data Length (aligned): 777600
Assertion failed: YDataLen + UVDataLen does not match expected data length. Expected: 777600, Actual: 3110400
The text was updated successfully, but these errors were encountered:
axmol version:2.1.3
devices test on:Apple M2/ IOS 17.4.1
developing environments
Steps to Reproduce:
S1. Play this video
auto videoPlayer = ax::ui::VideoPlayer::create();
videoPlayer->setPosition(winSize / 2);
videoPlayer->setAnchorPoint(Vec2::ANCHOR_MIDDLE);
videoPlayer->setContentSize(0.25f*Size({1920,1080}));
videoPlayer->setUserInputEnabled(true);
videoPlayer->setKeepAspectRatioEnabled(true);
videoPlayer->setURL("https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_adv_example_hevc/master.m3u8?58331");
videoPlayer->play();
this->addChild(videoPlayer);
S2.
Screen.Recording.2024-06-11.at.10.58.09.mov
Data :
YWidth: 1920
YHeight: 1080
UVWidth: 960
UVHeight: 540
YPitch: 1920
UVPitch: 1920
YDataLen: 2073600
UVDataLen: 1036800
videoDim.x: 960
videoDim.y: 540
Expected Data Length (aligned): 777600
Assertion failed: YDataLen + UVDataLen does not match expected data length. Expected: 777600, Actual: 3110400
The text was updated successfully, but these errors were encountered: