Skip to main content
Participant
November 23, 2011
Question

Record from webcam - show on demand on iOs

  • November 23, 2011
  • 1 reply
  • 1750 views

Hi,

We've purchased the FMS 4.5 and are now planning an application that lets users record a video to the server using their webcam. Straight forward, if we were to stream only to a flash video object. BUT, we would like our padders to be able to see the videos on demand too. Can't find a tutorial on this, seems like everyone's more interested in live streams.

The server is able to record a stream in mp4, but when I'm testing these files in Adobe Media Player it won't play 😐 What codec is used, and is it possible to play this format on an iPad? If not, is there som sort of solution other than manually transcode to the right format.

I would really appreciate all help I can get on this matter.

Thanks:)

This topic has been closed for replies.

1 reply

Graeme Bull
Community Expert
Community Expert
November 23, 2011

There are a few posts out there on this specific topic. In a nutshell, you will never be able to play a video made from the Flash Player on an iOS device. The reason is that Adobe is using the wrong encoding tech for the audio. There are a few options but none of them make any sense for the MP4 container.

In the end you will have to transcode them to a proper codec before being able to play them. I've heard a lot of people having issues there too though....

The last approach is to use a different encoder to send the bits to FMS to have saved.

Adobe Employee
November 24, 2011

hi Weell,

As I understand, you want to use FMS to record your video as MP4 and then use the FMS to stream same video on the iOS player via FMS 4.5 HLS solution.

If so, then answer is yes.. You can do it with FMS 4.5 ..

You need to make sure that your video has right codec's for it to be playable on the iOS as mentioned in the Apple's HLS specs. i.e you video must have H264 video and AAC/HEAAC audio.

Once you are done with recording the MP4 file, you can proceed with these steps to stream your video on iOS iPad.

http://knowfms.wordpress.com/2011/09/14/fms-video-on-demand-on-ios-devices/

Let me know if this works for you. We can then proceed for next step.. like auto pick of recorded MP4 for the iOS streaming, etc..

In case, you are trying play FMS recorded MP4 directly on the iOS or any other player, it may not play well because even today most player don't implement the complete mp4 specification (like fragmented mp4 specification). For this, you would require to flatten the mp4 file first. But that's a different story. You can try the above procedure first.

Hope it helps

Weell___Author
Participant
November 24, 2011

Hi Graeme and Nitin,

Thanks for your replies. Yes, I'm trying to play FMS recorded MP4 directly on the iOS, with no luck so far. It's not an option for us to manually transcode the recorded videos. Any chance there's a server side transcoder software that you guys would recommend? Back in the days there was Flix, but looks like they've taken it to the cloud, not the best solution for us in this project.