Flutter plays H264 raw stream - flutter

In Flutter, I want to obtain H264 raw stream playing video through WebSockect. I can support playing video on the web and Android by using Jmuxer with embedded web pages.
but I can't play it because of the ios player。
Therefore, I used the method I used in js before. I transferred h264 to YUV through ffmpeg and then played it through WebGL. But I don't know how to convert h264 to YUV through FFmpeg in Flutter

Related

Flutter Video_player not playing rtsp stream

I am trying to play the rtsp in my flutter app using this plugin video_player but this is showing Player Exception how to play rtsp only using this video player?
Have you tried flutter_vlc_player for better rtsp support?
https://pub.dev/packages/flutter_vlc_player
I had a combo of rtmp, rtsp, http mp4 clips and http motion jpeg and flutter_vlc_player handles them. I think video_player just doesn't do everything.

iOS Mjpeg encoding and muxing to MP4

I need to dev an app to encode a Mjpeg stream into an MP4 in ipad/iphone.
Are there available iOS API that I can use to encode & mux (hopefully hardware accelerated).

iPhone - IMA WAV ADPCM audio stream for iOS

I am trying to write an app for a school project that will play a video stream of the lab. They use Foscam cameras, and from what I understand they only stream audio in FFMPEG and VLC (a wrapper of FFMPEG and others, correct?). I can play the video stream in a UIWebView just fine, but I can't figure out how to get audio to work. I have read a bunch of post on here about the different audio stream options, but none support this format. I have also looked into VLCKit, but that seems to only work in OS X, not iOS.
Is there a Framework, or Kit that can stream IMA WAV ADPCM audio from a VLC/FFMPEG file, or does someone know of a better way to get audio from a Foscam?
EDIT - I know more about the stream and I have tried a few things. I tried AVPlayer, but discovered Audio FIle Stream and Audio Queue Services but can't find a good tutorial.
I also found THIS site, and tried the project with my stream and it did not work.

Can MPMoviePlayerController play SMI files?

Can a MPMoviePlayerView play a .smi file? If not, is there any other way to play this type of file?
Unfortunaly, there's no way to play that format on iOS. It only supports mp4/m4v (h264) video format with AAC audio codec.
You should try to convert it into those supported formats.
Also, take a look at HTTP Live Streaming.
HTTP Live Streaming, FFMPEG & FFSERVER, and iPhone OS 3

What format should I be publishing my videos in?

Just wondering what format is accepted as "the best" to have your video content on. We currently have our videos in FLV format being played by a JW Player. Are FLV's iPhone compatible or should we be encoding in another format? Thanks!
FLV video is not supported on the iPhone. H.264 should be you choice if you plan on targeting the iPhone.
If you're looking into streaming the video have a look at Apple HTTP streaming which is supported by the iPhone.
HTTP Streaming Architecture - Might need Apple ID to view it.
According to the iPhone SDK, You can use -
Media Player framework to display
full-screen video from files in either
H.264 (Baseline Profile Level 3.0)
format or MPEG-4 Part 2 video (Simple
Profile) format.
So I gather that the FLV video is not supported on the iPhone and you should encode the videos in one of these two formats. Also note that only full-screen video playback is supported on the device, with a fade-in transition to the player when video is started.