-
Notifications
You must be signed in to change notification settings - Fork 11
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
Netstrream.play.failed on Ubuntu 22.04 #1984
Comments
Hi - we're working on this, it looks like it's just linked with the removal of the software H.264 decoders from the runtime (due to patent licensing restrictions) so we're working on implementing a platform-specific implementation like was previously done for macOS/Windows... thanks |
Video still doesn't work for Linux with latest AIR 50.0.1.1. |
@ajwfrost
|
@itlancer @ajwfrost [1] We compiled using ./configure --prefix=~/ffmpeg --disable-stripping --disable-all --enable-protocol=file,cache,data,pipe,tee,unix --enable-parser=aac,aac_latm,h264,mpeg4video,mpegvideo,mpegaudio --enable-vaapi --enable-vdpau --enable-decoder=h264 --enable-avcodec --enable-avformat --enable-avfilter --enable-avdevice --disable-static --enable-shared --enable-rpath --enable-rdft --enable-filters --enable-ffplay --enable-demuxer=aac,avi,h264,m4v,mov && make && make install |
Hi |
Some success here. Tried several versions (including a couple libav releases) and they all still see avcodec_find_decoder called with AV_CODEC_ID_INDEO3, but FFmpeg 4.4.3 doesn't crash after patching around that. We can get video to display using the standard Video component, but it doesn't display with VideoTextures even though VideoTextures do now work with .flv files (so #2296 seems to be resolved). There are issues with some video files though, which play fine on other platforms, ffmpeg-based players, and ffplay. With those videos, a frame of video does display, then the message |
Andrew... Are there still plans to implement the ability to play MP4 (H.264) videos on iOS devices? Currently, we have to use FFmpeg to convert the MP4 video to FLV's in order to play the video on iOS devices. |
Hi @amorganiv -> just checking, do you need to use the We are looking at all this currently though, one of the team was checking how we could pull out the decoded video frames from the iOS av player and upload them into the internal rendering system for use in thanks |
Andrew... The StageVideo does work on iOS devices. Thank you! The only minor drawback is StageVideo objects always display behind other objects on the stage. The Video object is added to the display list. Glad to hear the team is looking into supporting the Video option on iOS. |
Has there been any update to this? We're still very interested in using video decoding capabilities with the Linux runtime, especially with hardware acceleration. Also willing to test any new code as its being developed. |
@ajwfrost
|
Problem Description
SWF Content on Ubuntu 22.04 fails to stream mp4s. This was tested on various versions of the SDK and confirmed on AIR 33.1.1.889.
Steps to Reproduce
The following code is what I've been using to test with:
Files.zip
`
package {
import flash.net.NetConnection;
import flash.display.MovieClip;
import flash.net.NetStream;
import flash.media.Video;
import flash.events.NetStatusEvent;
}
`
On a Mac, the result is that the video loads and plays with the following in the log:
onNetStatus NetStream.Play.Start
onNetStatus NetStream.Buffer.Full
onNetStatus NetStream.Buffer.Flush
onNetStatus NetStream.Play.Stop
onNetStatus NetStream.Buffer.Empty
On Ubuntu the video fails with the following log messages:
onNetStatus NetStream.Play.Start
onNetStatus NetStream.Buffer.Full
onNetStatus NetStream.Play.Failed
onNetStatus NetStream.Play.Stop
Known Workarounds
I haven't been able to work around the issue.
The text was updated successfully, but these errors were encountered: