Bandwidth adjustment for streaming video to server
I am trying to adjust for available bandwidth at a mobile device sending live video to a server. I am currently using the total upload bytes per second and the video loss rate as the parameters to detect when I need to change the camera parameters. I am using the video size and framerate to estimate the required bandwidth. (bandwidth = height * width * framerate / [encoding contant] )
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStreamInfo .html
When the available upstream network capacity is low, I adjust the maximum video upload bandwidth and the framerate for the reduced capacity.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Camera.html
The problem I am having is that even after adjusting the camera parameters, the video loss rate can be very high ~0.6-0.7. This is even for values that seem to work normally if the camera is initially set with these values.
Can anyone explain why what causes the video loss rate to be high? I may need to use a different parameter to indicate when the camera parameters need to be changed.
CharlyV wrote:
...... Is that possible?
Welcome to the Apple Community.
Unfortunately not.
Similar Messages
-
MPMovieplayer for stream video from server
Hello all,
I want to stream video from server.So for that i am using mpmovieplayer.but its not load the video from server. I am try with http://km.support.apple.com/library/APPLE/APPLECAREALLGEOS/HT1211/sampleiTunes.mov but its not load in mpmovieplayer.
Thank you...
Message was edited by: diyoraHello all,
I am now able to load video from server successfully.Now i want to play this video recursively so for that i am used MPMoviePlayerPlaybackDidFinishNotification notification & again play my movieplayer. But its work in sdk 3.2 only. When i switch to sdk 4.2 then stop the video playing recursively.
Thank you... -
Will my phone carrier be charged for streaming video on a wifi only ipad?
Will my phone carrier be charged for streaming video on a wifi only ipad?
If you are using your phone as a hotspot for you to connect your iPad to for streaming then YOU will be charged for data... not your carrier.
-
Mac book pro verses iMac(intel)for streaming video
Mac book pro verses iMac (intel) for streaming video (skpying) which one would you recommend?
Neither one is particularly advantageous. Streaming video will take a considerable amount of power, meaning you'll probably want to keep a MBP's power adapter connected.
-
How pinnacle can be used for streaming video for mac app?
How pinnacle can be used for streaming video for mac app?
Hi naturalfemale,
As mentioned in the referring article, closed captioning content has to be specifically added/enabled to a video for closed captioning to function:
Additional Information
Not all videos include caption or subtitle tracks. Check the documentation for the video you are using to see if it includes these features.
OS X: Using captioning features in Mavericks
http://support.apple.com/kb/HT5910
At the moment, I do not believe there is an option for universal captioning.
Regards,
- Brenden -
What is the best flash app for an S3 for streaming video?
What is the best flash app for an S3 for streaming video?
Flash Player 11, but you have to sideload if you lost it.
http://blogs.adobe.com/flashplayer/2012/06/flash-player-and-android-update.html
Adobe stopped support a while ago for it. They are replacing Flash Player with Air. WatchESPN for example uses Air. -
Detecting Bandwidth Quality for Live Video Streaming
Hi,
We have an application that is using FMS to share slides (swf,jpg, etc) with another client. We added a video as an option. We would like to verify as often as possible the bandwidth quality between communications in order to suggest the user to close video if we notice bandwidth is not optimal.
We've been experimenting doing a bandwidth detection every 60 seconds, but I am wondering if there are specific guidelines to do this for live video, like how many times one should verify bandwidth? Is it ok to take one reading or should we take a few readings and then average out?
Taking into consideration that every time we test bandwidth fms seems to flood the connection to figure out the bandwidth, I was wondering if anyone has some insight into this.
Kind regards.
+LAPlease find the best practices for dynamic streaming at this place
http://www.adobe.com/devnet/flashmediaserver/articles/dynstream_on_demand.html
Let me know if that doesn't suits your need, then I will try to figure out something else for you. -
Encoder to Server URL for streaming video??
I am trying to encode and stream live video. I have downloaded both the Flash Media Encoder and Flash Media Server. To complete the process of streaming video, it appears that I need to obtain a "server URL address" which is called "RTMP" on the encoder page. Where can I find this? Is this something that can be downloaded, or do I have to purchase this from a partner like Level 3 communications, AT&T, etc.? Any information on this would be helpful. Thanks in advance!
You can give the URL as "rtmp://localhost/live"
where rtmp is the protocol used for streaming from FMLE to FMS.
localhost is the name or IP address of the machine on which FMS is. I have used localhost becuase i have assumed that your FMLE and FMS are on same machine else use IP adrress or name if the machine on which FMS is instead of localhost.
Live is the apploiction that is there in applocations folder of FMS.
then in stream name give any name you want to give -
Is there any way to change a title for streaming video in QT Pro?
I'm trying to follow several streaming feeds at the same time, all with unhelpful titles.
For example, this is the URL I'm using to view the ROV 2 feed for Discoverer Enterprise.
http://mfile.akamai.com/97892/live/reflector:21145.asx?bkup=21327
which results in the title, reflector:21145.asx?bkup=21327.Actually, what I was wanting to know is if I could just change the title while watching the streaming video rather than saving the feed. I can do this in a VLC playlist but I can't seem to figure out how to open multiple windows for feeds in VLC. Also, VLC doesn't let me go back in the cached feed to see and/or save snippets which I can easily do in QuickTime Pro.
I have been able to save the streaming feeds like this although I have the $30 upgrade for Flip4Mac which I needed to export for YouTube. There may be a way to do the same thing with something free but I know less than nothing about video and this worked.
Move the playhead slider to start of snippet
Type "i" to get slider for start of snippet
Move the playhead slider to end of snippet
Type "o" to get slider for end of snippet
Adjust the "i" and "o" sliders if needed.
Right click on the feed and choose copy.
Go to File -> New Player (command N)
Go to Edit -> Paste (command V)
Go to File -> Save (command S) and save as self-contained movie
After that I use the file I just saved with the directions on YouTube to export it to a file that will process on their site.
Here is an example that shows a ROV being lowered from the deck of its mothership into the water.
http://www.youtube.com/watch?v=VsYinE5cNx8
I saved it from this streaming feed which I loaded into QuickTime Pro (File -> Open URL or command U and paste URL). I seem to recall I needed the free Flip4Mac to view this in QuickTime.
http://mfile.akamai.com/97892/live/reflector:47175.asx?bkup=21144
I'm all set with what I want to do other than being able to change the titles on the feeds as I'm watching them in QuickTime Pro. -
Dynamic Playlist for streaming video
This is my first attempt at building a dynamic playlist for
streaming flash video and I'm following the tutorial at
"macromedia.com/devnet/flash/articles/video_player.html". I've
changed the paths to my FMS and loaded the video files to the
applications directory of the FMS (flash_applications/videosource).
The thumbnails load and the player skin loads but the videos do not
load when I click on the thumbnails.
I've read the earlier post about this same issue. I followed
the advice from that post and reloaded the 'main.asc' file from my
Flash 8 program files but the video still does not play.
Here is a link to the site so you can see the problem:
http://media.us.elsevierhealth.com/videosource/VideoSource1.swf
My FMS is 'media.us.elsevierhealth.com'
I believe my code is correct and I believe the paths I've
created are correct. If someone could review my code and check the
path info I would appreciate it. Here is the code from
'VideoSource1.as'
import mx.video.*;
//Set up the list box, call function VideoThumb to create the
actual thumbnails
list.rowHeight = 70;
list.cellRenderer = "VideoThumb";
list.selectable = true;
//create new empty listener object
listListener = {};
nc = new NetConnection(); //create a connection
nc.connect("rtmp://media.us.elsevierhealth.com/videosource");
//connect to FCS (nav.attributes.url)
ns = new NetStream(nc); //create a stream
ns.connect(); //connect the stream
nc.connect("rtmp://media.us.elsevierhealth.com/videosource");
var stream_ns:NetStream = new NetStream(nc);
stream_ns.play("video2.flv");
// Create function to trace all the status info.
function traceStatus(info) {
Message.text+="Level: " + info.level + " Code: " +
info.code+"\n";
} // Assign this function to onStatus handlers when you
create objects.
//Function to handle what happens when an item in the list is
selected
listListener.change = function( evtobj ) {
var nav = list.dataProvider[list.selectedIndex];
var reset = true;
for ( var i = 0; i < nav.childNodes.length; i++ ) {
var stream = nav.childNodes
if ( stream.nodeName == "stream" ) {
attachMovie("FLVPlayback", "my_FLVPlybk", 10, {width:320,
height:240, x:90, y:100});
//center the FLVPlayback component when FLV is ready to play
var listenerObject
bject = new Object();
listenerObject.resize = function(eventObject
bject):Void {
//center video in playback area
newx = (460 - my_FLVPlybk.preferredWidth)/2;
newy = (470 - my_FLVPlybk.preferredHeight)/2;
my_FLVPlybk._x = newx;
my_FLVPlybk._y = newy;
my_FLVPlybk.addEventListener("resize", listenerObject);
listenerObject.ready = function(eventObject
bject):Void {
my_FLVPlybk.setSize(250, 350);
my_FLVPlybk.skin = "ClearExternalAll.swf";
my_FLVPlybk.clear();
my_FLVPlybk.contentPath =
"rtmp://media.us.elsevierhealth.com/videosource/stream/_definst_/"
+ stream.attributes.name+".flv";
my_FLVPlybk.autoSize = true;
trace(my_FLVPlybk.contentPath);
reset = false;
//Add an event listener on the list, when it triggers, run
the listListener function to repopulate the list
list.addEventListener("change", listListener);
//Function that loads the XML file, parses it, and builds the
list of available video clips
var xmllist = new XML(); //setup a variable to hold the XML
xmllist.ignoreWhite = true;
xmllist.load( "playlist-demo-1.xml" ); //load the XML file
//The following gets called when the XML has been loaded
xmllist.onLoad = function( status ) {
if ( !status )
trace( status );
var entries = this.childNodes[0];
var playlists = {};
var nav = [];
for ( var i = 0; i < entries.childNodes.length; i++ ) {
var entry = entries.childNodes;
if ( entry.nodeName == "listitem" )
//builds array of video clip names
playlists[entry.attributes.name] = entry;
else if ( entry.nodeName == "menu" ) {
//builds array of available videos
for ( var j = 0; j < entry.childNodes.length; j++ )
nav[j] = playlists[entry.childNodes[j].attributes.name];
} //end else if
} //end if
//sends the array of videos to the listbox UI
list.dataProvider = nav;
} //end xmllist.onload
Any advice or troubleshooting will be appreciated. Thanks in
advance.I just used the server on Windows (as opposed to linux) and
it worked great. So the issue, at least for me and my issue (could
see the thumbnails, couldn't play the video) was windows vs. Linux.
I guess the linux version doesn't work with this exact script. Now
to put together something of my own to test to see if the linux
version works right. -
FLV files set for streaming video not working
Hi,
I have been using Captivate 4 for some time using imported FLV and progressive download options. Playback is too slow, so I am trying to use a streaming service (Limelight Networks Flash Video Streaming Service). I took an existing Captivate project, uploaded the FLV file to the streaming service and select the following in Captivate under the Flash Video tab:
Video type: Streaming video
Server URI: points to server, app, instance from provider (eg: rtmp://xxx.net/yyy/zzz...)
Stream name: filename.flv
I publish (htm and swf files are local, flv is on the streaming provider's machine) and try to playback. Captivate loads and after a time I get an error saying that a script is causing the flashplayer to run slowly (version 10). It then locks up (tested in IE, Firefox and Chrome). I've changed options in Captivate such as Flashplayer version (from 8-10) and buffer delay, to no avail. No video played. Previously the video played in the project as a progressive download.
Help appreciated!Hi Ashwin,
This still hasn't worked for us. We have been given a server name in this format: rtmp://server.name.net/ and an application name in the format app/name, which together form a url: rtmp://server.name.net/app/name
Then I have the move file in a subdirectory (/test) from this base url and finally the filename: myvideo.flv
So putting it together I have tried in Captivate:
Streaming
field 1: rtmp://server.name.net/app/name
field 2: /test/myvideo.flv
or
rtmp://server.name.net/app/name/test
myvideo.flv
or
rtmp://server.name.net/app/name
/test/myvideo
and other combations of these three. I've eliminated the flv extension, tried with and without preceding (/) and trailing (/) (eg: /test/... vs test/... or).
None of these seem to work. I can play the flv directly using a client called WIMPY so I know the streaming service works. With that client I enter a fully qualified path such as: rtmp:/server.name.net/app/name/test/myvideo.flv and it works flawlessly.
Thanks for your assistance. -
No full screen option for streaming video podcasts??
Why does Apple have to make things so difficult at times for something that should be so obvious and straightforward? Anyone know how to view streaming video podcasts in full screen?
Turning off the TV safe area is to prevent parts of the images from being lost, which is not the issue here. The problem I'm having is that there there are black bars around the entire displayed image. I believe this is called windowboxing. Letterboxing has black bars at top and bottom of screen, pillarboxing has the black bars at the left and right of screen. It's all to do with the ratio of the photographs.
My photos were all taken with a digital camera and are 4:3 ratio. I want the images to display FULL SCREEN. They are not doing this - not on a TV monitor - and not on a computer monitor!!! Is windowboxing hard-wired into the iDVD themes? This can't be right. PLEASE HELP!!! -
Which Plugin for Streaming video?
I am getting prompts from Quicktime for a missing plugin. I assume its related to streaming video fom sites I am viewing on Safari. I am directed to the codec download page for Quicktime. But I have no idea which plugin to download. I have current Quicktime Pro. My Quicktime Viewer is 7.1.3. I'm using a G5 Quad (non intel) with OS 10.4.8.
Is there a QT plugin which will accomodate a wide range of streaming video?Can you post the URL to these videos your trying to view?
Flip4Mac is one plugin you may need, it's free for view only.
http://www.flip4mac.com/download.htm
The green one.
You may need the Perian component too...again it free.
http://perian.org/
Make sure you have the lastest in the Flash plugin...free.
http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash
All of this should help you view video on the net. -
Airport Extreme's support for streaming video NOT reliable for RealPlayer
AIRPORT EXTREME BASE STATIONS DO NOT RELIABLY PROVIDE STREAMING SUPPORT USING NORMAL TRANSPORTS FOR REALPLAYER.
Based on a problem I've had for a long time and information provided in RealPlayer OnLine Help, it appears that the Airport Extreme Base Stations do not reliably provide streaming support using normal transports for RealPlayer.
HERE'S THE REASON FOR CONCLUDING THAT
Even after updating with the latest software and firmware available for my Airport Extreme Base Station, RealPlayer will not play streaming video when my iMac is online via my Airport Extreme Base Station.
(The configuration is iMac (non-wireless) --> Ethernet cable --> Airport Extreme Base Station --> DSL modem.
Note that with that configuration I can browse the internet and play audio through RealPlayer - even though I cannot play streaming video.
In contrast, when my iMac is connected directly to my DSL modem via an Ethernet cable, then I have no trouble playing streaming video in RealPlayer.
HERE'S THE "WORK AROUND" SOLUTION I'M USING
In RealPlayer/Preferences/Transport, I selected to use HTTP transport exclusively.
Here's where to find details of that solution in RealPlayer's OnLine Help:
In RealPlayer's Help menu, choose RealPlayer Online Help. Scroll down the left side of RealPlayer's help window to find the section Troubleshooting -> Network/Connectivity -> Wireless Issues.
CREDIT FOR PUBLICISING THE "WORK AROUND" SOLUTION IN APPLE DISCUSSIONS
I found the aforementioned "work around" solution in a posting in this forum by Greg Robbins on Sep 2, 2005.
The topic in which I found that posting has been archived - replies are not allowed.
I am posting this topic to clarify the deficiency in Airport Extreme, and to help keep this solution available for the Mac community.
G4 iMac Mac OS X (10.3.9)
G4 iMac Mac OS X (10.3.9)I should not have started this thread as a "question".
The initial posting presents a problem together with a "work around" solution. -
Urgent Help Required for streaming video on Flash Media Server 3.5
Please follow the link for the detailed question. As im not getting any replies so that is why attaching a link
http://forums.adobe.com/thread/559567?tstart=0before running my application ( HelloWorld )
i always start FMS & FMAdministratorServer ( also checked in system services that they are running )
allow them in vista firewall
PLEASE LET ME KNOW
> is any problem with apache server ? how i figure out that it is running by FMS
> any port issues ?
package {
import flash.display.MovieClip;
import flash.net.Responder;
import flash.net.NetConnection;
import flash.events.NetStatusEvent;
import flash.events.MouseEvent;
public class HelloWorld extends MovieClip {
// Represents a network connection.
private var nc:NetConnection;
// Responder for call to server's serverHelloMsg -- see onReply() below.
private var myResponder:Responder = new Responder(onReply);
// Constructor.
public function HelloWorld() {
// Set display values.
textLbl.text = "";
connectBtn.label = "Connect";
// Register a listener for mouse clicks on the button.
connectBtn.addEventListener(MouseEvent.CLICK, connectHandler);
// When button is pressed, connect to or disconnect from the server.
public function connectHandler(event:MouseEvent):void {
if (connectBtn.label == "Connect") {
trace("Connecting...");
nc = new NetConnection();
// Connect to the server.
nc.connect("rtmp://localhost/HelloWorld");
// Call the server's client function serverHelloMsg, in HelloWorld.asc.
nc.call("serverHelloMsg", myResponder, "World");
connectBtn.label = "Disconnect";
} else {
trace("Disconnecting...");
// Close the connection.
nc.close();
connectBtn.label = "Connect";
textLbl.text = "";
// Responder function for nc.call() in connectHandler().
private function onReply(result:Object):void {
trace("onReply received value: " + result);
textLbl.text = String(result);
======================
HelloWorld.asc
application.onConnect = function( client ) {
client.serverHelloMsg = function( helloStr ) {
return "Hello, " + helloStr + "!";
application.acceptConnection( client );
Maybe you are looking for
-
Can the iphone 4s bluetooth connect to multiple devices at the same time?
I would like to broadcast to multiple bluetooth enabled devices such as 2 car stereos to play the same song at the same time.
-
I cannot edit project in project server after editing it in project professional
Hi i cannot edit project in project server 2013 after editing it in project professional. i.e I created an enterprise project in project server and then edit it with project professional. after i published it to the server and open it with project se
-
Mail stops checking for new mail until closed and re-opened
This problem began a month or so ago and is only getting worse by the day. I have my Mail app set to check for new mail every minute, but recently it randomly stops checking at all and displays the triangle icon next to each Inbox. I have 10 differ
-
In PDP cycle is it possible to pull back transfered PR (from SRM to ECC)?
Dear Friends, We are working on PDP cycle where backend ECC Purchase Requisition is transferred to SRM client via program BBP_EXTREQ_TRANSFER so that the procurement activity is carried out in SRM. Now business decides to discontinue the procurement
-
Hi folks! Does any of you know a way to print check automatically in trx FCH5, after the check is created? I've search userexits and ampliations, but i've found nothing... Please HELP!