I have a video file that I play in an Android application. I am trying to capture a frame with bitmapData.Draw(video), but it only works for .flv video.
Videos play locally - no internet or server.
As soon as I changed the video to .mp4, it plays it on stage, but it has a bitmapData bit after calling the draw function. I am not talking about mistakes.
How can I capture a frame from a playable .mp4 video?
Note. This is a component of the video, not StageVideosince I know that this is not possible with StageVideo.
Initializing a clean thread. I also added checkPolicyFile = true- it did not help.
my_nc.connect(null);
my_nc.client = this;
_ns = new NetStream(my_nc);
_ns.client = this;
_ns.useHardwareDecoder = true;
_ns.checkPolicyFile = true;
source
share