ant media server / The media could not be loaded - streaming

I'm, trying to make a 24/7 youtube live music stream with ant media server on a ubuntu VPS, i made 3 videos of 4hours / 5 hours / 6 hours music with premiere pro to .mp4 format but when i try to upload them from VPS, even if it say that the upload is completed, when i try to stream them or play them with the player i got the error The media could not be loaded, either because the server or network failed or because the format is not supported.
I tried to open the files on OBS in case the were corrupted but they play completely fine there. Is there something i can do about that? The mp4 file size is 6gb.
Thanks in advance.

Related

xamarin form: is there any way to compress video file before we upload to server

as when we use iphone 6 to record video, there is 130MB /min,
we have a program need user can record 5 min video, so nearly 600MB .
is there any way or sdk avaible in mobile client so we can use to compress video file before we upload to server?

Netstream() progressive download of internal file

Hello All I have been working on a project for a while:
I have a non standard MP4 video file I want to play off a server in a IPhone App (I am using Flash builder to create it).
Due to a combination of server problems (not correctly identifying MIME type and cant be changed) and IPhone limitations (e.g. not being able to force the iplayer to play files with wrong extension), I have had to setup a process that reads the file in, saves it locally and then point the video player at the local file.
Although this sort of works, i am having an issue with some of the files that are large (94mb for a 17 min video) and a slow server - which takes 120 seconds to transfer the whole file.
I thought that if you started playing the video, then the transfer rate would be faster than the playback rate so the video would play ok.
However sometimes the video just crashes, which i am guessing is a result of the video reading beyond what has been written.
If the video played the internal file using progressive download I think it would probably not crash but resume once more date had been read but understand that progressive download is triggered by a url extension beginning with HTTP://
Can you make an internal file play using progressive download ? I know this would not normally be expected as logically the system would expect a local file to already be download ?
Any help appreciated
Thanks
Toby
try this to know download file is complete or not
HCDownload
it is very easy to use only write its delegate method.
Edit
also see StitchedStreamPlayer

ios video playback using flash builder / flex

Hi I am trying to create an iphone app that streams a video from a remote server (that automatically creates video files) , I'm using flash builder 4.7, mobile flex.
My expertise with fb / flex is not great but am getting there.
Using StageWebView I have made some progress and can stream a simple mp4 file , however the files I want to stream have the wrong extension so the iphones internal video player won't play them. I have no control over the remote server so can't change the mime type or file extensions. The files are legitimate mp4 files, if I copy one and change the extension they work fine.
Anybody got any idea how I can fool the ios video player into playing them?
Any help grateful appreciated I have been working on this for weeks and its driving me round the bend
Cheers
Toby

Flash Media Server live streaming with multiple video files

I am using Flash Media server 4.5 and i read the tutorial if i want to stream the live feed, i may need to use the media live encoder. but what i found in media encoder is i have to manually setup everything and it only support camera devices.
But in my case i have multiple video files keep received from another program, my goal is use the Flash Media server to perform a live boardcasting with these video file one by one.
That means when client watching the streaming, they will not notice the server is play mov1, then mov2, then mov4, then mov5... and so on.
Also can FMS dynamically create a new streaming session (invoke by code), so that when client A uploading some video files to the server, the FMS open a new streaming session only stream cilent A video files?
Can FMS achieve such purposes? any tutorial provided would be very helpful!
Edit for Open Bounty
I want to basically deliver a live stream of video where a list of videos are source. I am currently using Flash Media Server with Cloudfront CDN to deliver content. So if I have video1, video2, and video3. I want to play them back to back as a live stream (so no skipping ahead in video), is it possible to do this? Bounty goes to clever workaround. Think of this as a television channel.
i have been working on the live streaming technologies for the past 1and half year . There is no option in flash live encoder for any file encoding.
1.To encoder your file you can use your dvd player devices or some thing else which supports usb devices playback options.and use the dvd player output to broadcast using flash media live encoder.
2.And the another set is to setup windows media encoder that supports file encoding(no need od dvd player) but it supports only windows media services.
At present i live webcast video file in this way only for my company http://www.malar.tv/live.php

"The Server is not configured correctly" message while playing movie in iphone

I am trying to play video files from iPhone media player in my iphone application.I am reading the stream from one Media server.
but i am getting error message as "The server is not configured correctly".
Here is my observation:
-> I kept five different video files on server.(i am sure that all of these files are properly encoded and in right format.)
-> When i try to run same video URL in Mobile Safari i works perfectly without any error.
-> When i try to run any of video it doesn't create any stream on media server.(Usually when i try to play video it create stream on media server.but here the stream is not created on server side.)
-> I tried to play this files using Apple's sample application MoviePlayer but i am facing same issue.(Here i tried to run the application on Simulator)
-> I also checked on my iphone 2G having OS 3.1.2 (jailbreak) but i face same issue.
Please let me know your response on this.
Thanks,
Jim.
You basically need a web server which supports progressive downloads. Apache does support it.
Maybe you want to try the same scenario with the videos hosted on apache.
If that does not work, do post your code.
I have figure out the solution.Actually for some links that i am getting from Server contains bad characters so the URL wasn't right one.
After correcting that issue now i am unable to play all the video file from media server.
Thanks a lot for your help and suggestions.
Thanks,
Jim.