How to connect wowza with symfony or php - symfony1

I am diong a video playing application in symfony.i want to convert the video in to different format while uploading the video in to server. How to connect this video with wowza server to convert the video in to different formats in symfony framework or php. I am new in symfony. I think you will give a good idea about how is it possible with symfony or php. Also i have some doubts, Is it possible with codeigniter framework?. Why wowza server prefer symfony framework more than other frame works , to connect with wowza server ?.

First off you try searching for Symfony or Code Igniter plugins to connect to Wowza. (which probably don't exist).
If they don't exist, you will have to write it yourself. Which is analyzing what you want to happen when you upload a video, and them implementing it.
So, let's say the video is uploaded to <your symfony dir>\uploads, which commands would you have to execute (on the server) to get them in Wowza.
(I have no experience with video hosting on wowza, only retrieving data from a wowza server using the built-in wowza webserver.)

Related

How to build a Video Streaming Server with Rails?

I was trying to build an application, like Eros Now or Hotstar, that can serve/play local video for the user. I am using ivy-videojs pluging for Frontend (ember), but not sure how to serve video content through rails.
Can anyone help me to stream content from Rails or to choose proper technology stack for it?

Heroku - does it support HTTP Live Streaming?

I have a Rails 4 application that is deployed by Heroku servers. To serve videos (stored on Amazon S3 servers), I've decided to implement HTTP Live Streaming. While any web server can be configured for HTTP Live Streaming, does anybody know if Heroku servers have been set up to support Apple's adaptive bitrate streaming solution?
For more info, see "Configuring a web server" at the following -https://developer.apple.com/library/ios/documentation/networkinginternet/conceptual/streamingmediaguide/DeployingHTTPLiveStreaming/DeployingHTTPLiveStreaming.html#//apple_ref/doc/uid/TP40008332-CH2-SW3
Thanks!
Here's a good SO answer that describes how HLS works. You'll notice that there's nothing special about the files involved; just a playlist of video segments at different bitrates and the client decides which segment at which bitrate to load. These video files and associated playlist file can be stored and accessed directly from S3, or any other basic web server for that matter.
You do have to encode the different streams, but this can be done locally, on your server, or through some other service like Amazon Elastic transcoder, and it only has to be done once per video file.
As it turns out, Heroku servers do allow for HTTP Live Streaming.

iOS Client + Rest API to upload photos

I have a basic requirement of uploading an image from an iOS App to a remote server. I know that I can use NSURLConnection to transfer the image to a remote server but I need to develop a REST Webservice also in the remote server which can accept images from the iOS Client and store inside a DB/hard disk .
Can anyone please suggest me the best method/libraries which can be used to to develop the REST Webservice .
I'd recommend using Ruby on Rails with the Paperclip gem.
If it's completely new to you, you can start with the Guides.
There's a lot of material on how to build a RESTful API with Rails, like this screencast.
Once you've understood how to develop an API, and how to use Paperclip to save images on the server, the answer to this question might help you with the file upload part.

Easy way to upload mp3 to a public link that automatically plays when the url is called

For a ruby on rails twilio app, I simply need to upload an mp3 to a url that will automatically play when someone visits the url.
I tried using dropbox, but when a public link is created, it no longer automatically plays the mp3 file.
I am fine with using another file sharing service, etc. OR if there is an easy ruby API that will do this, that will work too.
Thanks for all of the help.
Jeff
I personally use Amazon S3 for this. You should have no problem finding a library to allow you to upload to S3.
The reason I use S3 is because it's super cheap for the amount I'm using it, and Twilio uses Amazon Web Services, so it may help with network latency, though I have no way to confirm that.
This SoundCloud API Ruby Wrapper might fit the bill of what you're looking for.

Amazon Cloud Media Server Streaming Help

Can someone PLEASE help me with setting up Adobe Media Server Streaming on Amazon Cloud?
I am reading whole day about it, about how to set it up on "regular" machines, but I can't find anywhere how to configure it on Amazon Cloud... After whole day reading I can say that I am still at start, don't know anything, and totally lost...
Can someone just point me in right direction? I don't know anything about Cloud servers, and working with this platforms...
So can anyone just point me where to start?
I need Adobe Media Server Live Streaming for HTML5 streams... I know HTML5, know how to make video element and everything, but I don't know how to start server...
Thankful for any help!
If you're using HTML5, you will not be able to use the RTMP streaming type in cloudfront. Don't worry about using the Adobe Media, or anything like that. Just look at hosting the files in S3 first, get the files loaded to that and pull them down in your HTML5 tag. Then, if you want cloudfront, you can easily add that and use that moving forward.
If you end up using a flash client to play the video, like the JW player, you could then setup a streaming cloudfront instance and utilize the RTMP streaming.
If you need to only stream existing content, AWS CloudFront runs Adobe Media Servers for files stored in S3 at no additional cost. The CloudFront term for using their Adobe Media Servers is "Streaming Distributions".
The Getting Started with CloudFront guide outlines setting up up streaming distributions. The Where Do I Go From Here page has links to several how-to articles.

Resources