How to convert HEVC videos from Photos to h264 on iOS? - ios

I've been looking into the Apple documentation but I couldn't find anything that would allow me to convert a video recorded on an iPhone 7 (HEVC) to h264.
I need to do this because the app has a web server running and it's streaming the video to web browsers that don't support HEVC.
Is there any way to do this?

Related

Play MKV video using videojs on ios

I have integrated videojs in my website and there are mostly Mkv files to play in videojs. Now the concern is that iPhone is not playing Mkv videos and showing messages like "format not supported". If anyone has an idea regarding this issue or any alternative, please let me know.
HTML5 video has to be a format supported by the browser natively, or via media source extensions. MKV is not supported by iOS nor widely supported on desktop browsers - even if some play, others will not.
If you need a single video format, MP4/h.264/aac is the most widely supported format, but consider HLS for adaptive streaming.

How to create RTSP player in iPhone

Is it possible to view video stream (H.264 live feed) over RTP/RTSP in native iPhone ? If not,is it possible to write an application and then I have rtsp url how to get streaming video in iPhone.
"rtsp://192.168.2.148:1935/live/test.stream"
I got code Streaming Video in Android using above url, but now I tried iPhone I don't know
which frameworks are used and how to get Video Streaming please give me any Idea
I have the same issue,and I found an excellent ffmpeg player for iOS, IJKPlayer.
You can change the build script in config/module.sh to support RTSP.
If you want to play rtsp real time stream.I have already fock another version IJKPlayer to support that.
Yeah Sure. You can do RTSP stream in iPhone but with the help of some libraries. You can use the DFURTSPPlayer for that purpose
https://github.com/durfu/DFURTSPPlayer

is it possible to play h264-mpegts format in ios?

Server transcodes the video to the h264/aac, and send video data to client simultaneously. To play and save the video data at the same time, I use mpegts as the container format, but the problem is that ios MediaPlayer can not play mpegts file.
Google said that i can used ios-build of ffmpeg to do the task, but it seem to be an overkill. is there any other ways to play mpegts in iphone using just iOS SDK?
i dont know much about ios but yes, you can play mp4(h264) videos in your ios device. i run my h264 video url to ios safari web browser, it detect the video and quicktime player start to play that video. so you can check this by entering video url (i.e:- http://yourserver.com/yourvideo.mp4) to your ios safari web browser.
NOTE :- your mp4 video should be of codec "h264". Use FFMPEG to convert videos in h264 codec

How to play mp4 in iOS Flex application

I'm developing a Flex application to iOS devices and I can't find a way to play mp4 video inside it...
I know it works with navigate to URL command but it's open browser and then the vieo player, which is not what I'm intending...
Thanks
If you work with audio and video streaming, one of the worst limitation of AIR 2.6 for iOS is that it is not possible to stream video encoded in H.264 (and audio in AAC) inside your AIR application. AIR 2.6 for iOS supports NetConnection and NetStream but can decode only Spark, VP6, MP3, NellyMoser and Speex formats. So no H.264 and no AAC.
I've tried play .flv video fine in flex app on iOS.

How facebook stream MPEG-DASH Videos in iOS browsers?

I am studying some of the concepts of MPEG-DASH and it's features. I have researched about adaptive streaming technology . Now i am trying to stream MPEG-DASH videos in browser for live telecasting and on demand videos .
I have gone thorough some of the open source libraries . I can able to work DASH on latest browsers which are supporting Media Source Extension (MSE) .But i couldn't able to work on iOS devices and it's not supporting MSE .
So i want to know how can i work DASH videos in iOS browser and how Facebook and other services streaming their videos in iOS browsers?
Is Facebook/other services supporting DASH videos in iOs ?
How Facebook/other services streaming videos in iOS?
Is Facebook using HLS in iOS for streaming ? if it is, How they convert DASH to HLS (if they stream DASH videos) ?
They trying to check Operating system (OS) first and it will select HLS/DASH with respect to that OS . Is it like they are doing ?
Detailed explanation would be more helpful .
Safari (the browser) on iOS does not support media source extensions. Anyone doing adaptive streaming on that platform is using the native HLS implementation in Safari.
<video src="http://example.com/manifest.m3u8"></video>
Both DASH and HLS are just text-based manifests pointing to video files, so you wouldn't convert a DASH file to an HLS file, you would generate them independently. Now that iPhones are support fragmented MP4s you can use the same video files for both DASH and HLS, whereas before you needed different files for each.

Resources