Flash :: Format Of Flv-videos For A RTMP-implementation?

Nov 14, 2010

I'm implementing the RTMP-protocol for my bachelor thesis. I got through the handshake and application connect process and received the play-command from my client which is actually a jw player.But I now stuck with the audio and video-messages. I can't find something about the exactly built-up of these messages neither in the specification nor somewhere else.What should i do with the metadata and header of the flv-file? Can I send the whole tag and audio-/video-data from my file in the RTMP-audio- and video-messages?

View 1 Replies


Similar Posts:


Flash :: RTMP Streaming Server Implementation: Connect/createStream/play Message Sequence Passed, But No Video/audio In Flashplayer

Oct 8, 2010

Writing RTMP Streaming Server for streaming AVC+AAC video. And it works fine with rtmpdump. But I can't force it to work in flowplayer and other flash video players.The message sequence after handshake is similar to FMS / RED5 / erlyvideo / haxevideo servers: I've tried a lot of variations.

From Chrome debug console I can see, what all negotiating messages passed to the flowplayer. The last one is onMetaData. And after this the working sample (rtmp://flash.tvwmedia.net/LiveVideo//Live300) gets NetStream.Buffer.Full. And streaming from my server don't get it.

I'm starting with AVC Header message, containing sps/pps. After it first AVC picture passed. After - AAC header and AAC sample. And then AVC/AAC samples. This dumped OK by rtmpdump - I have working flv on exit. But flowplayer and others does not work.

[Code]...

View 2 Replies

Flash :: RTMP Streaming Videos Ending 3-4 Secs Too Early?

Jan 25, 2010

I've created a player for a client in the past using their LimeLight server to stream videos and not had an issue before, however for a new client using different LimeLight server, the videos seem to be ending 3-4 secs too early.

My traces on 3 vastly different videos I tested:

metadata duration = 32 // 32 secs long, ends at 27
Stop [27.350 seconds] = 4.65
metadata duration = 17 // 17 secs long, ends at 12
Stop [12.852 seconds] = 4.148
metadata duration = 258 // 258 secs long, ends at 255
Stop [255.861 seconds]

In the video players I check for NetStream.Play.Stop then put a 'reset' type function in there. This function however triggers too early due to this strange bug. Has anyone have seen this before?


private function netStatusHandler(event:NetStatusEvent):void
{
trace("connected is: " + nc.connected );

[Code].....

The only work-around I see for this is saving the initial number I get from the metadata duration, and running a timer to constantly check for when the current ns.time matches metadata and then run my reset function.

View 1 Replies

Professional :: What File Format Best Used To Put Videos On Flash Drives?

Nov 17, 2011

I have a video and I want to put it on a Flash Drive so I can view it on an large screen to watch w/o the computer. The file is currently .MKV.

View 1 Replies

Media Server :: Play 2 Rtmp Videos At The Same Time?

Apr 22, 2010

My swf is playing one video in using NetConnection, NetStream and Video object. If I want to stream one more video simultaneously in the same swf I have a few problems. It works when I create more NetConnection, NetStream and Video objects but is that necessary? The code rapidly becomes complex to handle.
 
Is there an easier way like perhaps share the NetConnection, or something (same FMS server)?
 
Question 2
 
The two videos on the stage are suppose to have different size, placement etc. Still the last one created inherit the properties of the first video display. It also starts playing for an annoying couple of seconds before the first one. How can I avoid that (inherit and delay)?
 
var ns1:NetStream;
var ns2:NetStream;
var nc1:NetConnection = new NetConnection();

[Code].....

View 7 Replies

Media Server :: Play .3gp Videos In Mobile Using RTMP (FMS) And HTTP?

Apr 21, 2010

I am not able to play video on mobile device which is .3gp container and H.263 / AMR_NB encoded. I just want to play my website videos in mobile device also just like[url]....I want to use RTMP and HTTP both. My requirement is as follows - Which codec and container will be best? Should I use FLV to play video on mobile device? RTSP required or can be use RTMP? Is NetStream and NetConnection methods different from Flash Player in Flash Lite Player? How to play 3gp video using RTMP stream ie.ns.play(mp4:mobilevideo.3gp¯, 0, -1, true) is it ok or any thing else required? For mobile browser and computer browser,can I use single player or I have to make different player for computer browser and mobile browser? It would be better if I can do it with single player for both mobile and computer browser. Sample code required for testing. If you can.I got below article in which they mention that we can play video 3gp container in mobile also.

View 2 Replies

Media Server :: Setup Multiple Videos Within A Single Swf Using RTMP/FMIS?

Oct 21, 2010

I have a case where I'm displaying 3 videos simultaneously using FMIS 3.5. When one is selected it will play the other two will switch and show a videoloop.
 
What is the proper way to accomlishing this. I actually have 6 videos (3 loops and 3 videos). Do I need a netconnection/netstream/video object for all of them or can they share something. What is the best practice?

View 2 Replies

Get Adobe RTMP SDK / Other SDK Which Implement RTMP Protocol?

Dec 26, 2010

Know how can i get the Adobe RTMP SDK or any other SDK which implement the RTMP protocol.[url]...

View 1 Replies

Media Server :: FMS4 - Change The Default Path (rtmp://serverName/vod/ To Rtmp://serverName/sites/)?

Jan 14, 2011

We had FMS2 installed before and the paths to all our videos are like rtmp://ServerName/sites/.... (the default path on FMS2) Now we upgrade to FMS4 and we would like to keep these paths the same because we have many HTMLs that reference these videos. However, the default path on FMS4 is rtmp://ServerName/vod/... Is there a way to change "vod" to "sites"?
 
I tried to change VOD_COMMON_DIR in fms.ini from /install_dir/webroot/vod to /install_dir/webroot/sites, and also changed the document root in httpd.conf, but rtmp://ServerName/sites/ is still not working.

View 5 Replies

Flash :: Good Implementation Of Polymorphism?

Jul 17, 2010

This is working, but is this a good example of polymorphism?[code]...

View 1 Replies

ActionScript 2.0 :: Does Flash Have Hashset / Hashmap Implementation?

Dec 31, 2005

Does Flash have a way of emulating Hashsets or Hashmaps? If it doesn't, what is the best way of storing and quickly retrieving 10-100 thousand entries of data?

View 14 Replies

Flash :: Implementation Of `<audio>` And `<video>` Tags For HTML 5?

Nov 11, 2009

I am trying to convert our all-flash website to HTML 5.But since so many users still use IE and other browsers that do not support HTML 5 yet,I am looking for some flash media players that can replace <audio> and <video>. My google skill does not yield good results.The flash media player should dispatch events specified at https:[url]..._audio_and_video_in_FireFox (or at least talk to javascript some how for those events).Do you know a flash media player that can easily be embedded inside <audio> or <video> and talks to javascript for events?

View 2 Replies

Flash :: Custom DEFLATE Implementation To Speed Up PNG Encoding

Jun 13, 2011

I'm optimizing a PNG encoder for use within Flash SWFs (but I'm writing it in HaXe).I've so far managed to speed things up a fair bit, mostly by using speedy memory read/writes.While profiling my code, I noticed that about 75% of the time is spent in a single call to Flash's built-in compress() method, which uses the zlib algorithm (which uses DEFLATE in turn).I'm not too fussy about compression ratio, but faster compression would be awesome. So, I was wondering if it's worthwhile to try to implement zlib/DEFLATE myself. A little searching has turned up the zlibC.implementation source, but it's not exactly light reading (or easy to port!).Are there any simple implementations of zlib/DEFLATE that I could use as a starting point? I'd rather not have to wade through the two specs, especially since I don't know whether an implementation running in AVM2 could even perform as fast as the native Flash one in the first place.

View 3 Replies

ActionScript :: Flash - Implementation Of Elliptic Curve Cryptography ?

Jul 14, 2011

Does anyone know if there is a (preferably efficient :-) ) implementation of elliptic curve cryptography for ActionScript? The only library I know of is as3crypto, which offers great implementations for symmetric cryptography, hashing and several other cryptography-related operations, but it has only RSA for public key cryptography.

View 2 Replies

Flex :: Flash Builder 4.5: Could Not Resolve X To A Component Implementation?

Aug 2, 2011

I just upgraded out Flex project to use SDK version 4.5.1.21328 and the Flash Builder to version 4.5

All of the sudden, I'm getting several red tags on the Flash Builder: "could not resolve s:State/fx:Script/whatever to a component implementation"

However, the project builds fine with Maven, and seems to work well too.

Does anyone have any information on how to remove these "problems"?

View 3 Replies

Actionscript3 :: Flash - Change The Backend Of The LLVM Implementation From ARM To Something Else For Instance C Or C++?

Aug 3, 2011

I've been wondering if it's possible to change the backend of the LLVM implementation from ARM to something else for instance C or C++? Currently Adobe uses a Actionscript3 frontend (which I can't currently find - closed source?) for the LLVM to produce iOS applications. I'm wondering why there isn't more options for other backends? Of course there are limitations to going this route, no loading of external swf files at runtime (to name just one), but the iOS applications seem to manage really well with this feat. I did find this pdf which talks about the AS3 LLVM frontend, but no guidance to where the code is or how to investigate... I just think it's a missed opportunity that Adobe are missing and wondered how much work it would be to do such a feat?

View 1 Replies

Media Server :: Create Videos In A Playlist That Can Limit The Views To 10 Videos Per User?

Nov 1, 2011

Is there a way to create videos in a playlist that i can limit the views to 10 videos per user?

View 1 Replies

Media Server :: Publish Live Video Feed From Webcam In H.264 Format Non VP6 Format With 3.5.2?

Dec 2, 2009

how to publish live video feed from webcam in h.264 format non VP6 format with FMS 3.5.2 without using Flash Media Live Encoder, and how to set all parametersto have a good quality and smooth video without interruption, i have a server with 50Mbit bandwidth output enough for a publisher and 10 clients meunderstand this thing's been months since I try but the quality ugly

View 1 Replies

Flash :: Settings For RTMP And AS 3.0?

Mar 31, 2010

Is there any extra code need for using rtmp with AS3.I have the code like this. Is that enough for rtmp or any other code needed?

var strSource:String = "rtmp://myserver.com/file.flv";
var ncConnection = new NetConnection();
var nsStream = new NetStream(ncConnection);

[code].....

View 1 Replies

Flash :: Progressive Download Vs. Rtmp?

Nov 17, 2009

I'm trying to understand and really pinpoint when to use progressive download vs. rtmp in flex/flash. It seems that the main point is that rtmp is not served with http, whereas progressive download is. Since it's not rtmp, the resource is protected since there is no way to connect to the rtmp server from outside the swf.

[Code]...

they would not be able to connect to rtmp. So rtmp seems to be more useful when you want to protect a resource? Is that all there is to it?

View 3 Replies

ActionScript 2.0 :: Format A Textinput To A Currency Format?

Dec 18, 2009

I want to make a textinput where a person can type in a price. I used "restrict" to only allow numbers and decimal. But the person can type in several decimals and create numbers like 11.1.1.1 or 11...11 or 1.11111

i want to restrict the entry to only one use of a decimal and only two numbers after the decimal.

any other way to format a textinput to a currency format?

View 1 Replies

Flex :: Format A Number In Indian Format?

Jul 13, 2009

I want to format a number in indian format.

for example,

x= 123456 should be formatted as 1,23,456.

How can i do it in flex?

View 3 Replies

Actionscript 3 :: Encode Video From Any Format To .flv Format?

Mar 18, 2012

Is there any library in Action Script that be able to convert any video format to .FLV?

I've been looking for it with no success. I thought that as3 had functions for that purposes but not found.

I want to give the possibility that in my site, users can upload any video, so I need to convert it to a standard and compress it to a fixed resolution.

View 1 Replies

Flash RTMP Streaming With No Filename - How To Connect

Mar 9, 2010

I am building a flash media player for an live audio stream. The server is set up to stream from a url that looks like so: [URL]. The instructions I have found say to first set the directory:

nc.connect("rtmp://ourwowzaserver.net:80/ourfiledirectory");
And then later play it:
nc.play(mp3:thefilename)

This works when we have discrete filenames on the server (thefilename), but the live stream is not a file - rtmp://ourwowzaserver.net:80/shoutcast. How in the heck do I get .play to play it?

View 2 Replies

Flash :: Pause An RTMP Stream Immediately?

Aug 18, 2011

I can stream video RTMP just fine in JW Player by LongTail Media. The Pause seems to work, however using Windows 7's Resource Monitor I can see that the player continues to download data when the video is paused, it downloads for about 60 seconds (and does not seem to be longer for longer videos). I have found the same using the examples on longtailmedia's website, so I know it is not something I have done.

I want a way to pause the video and have it stop downloading, this will save us lots of bandwidth. But also have it continue where it left off if play is pressed again.

I checked the logs on our wowza media server, which indicates that the player actually waits 60s before it sends the pause command to the server.

LongTail's support say that the pause functionality uses the built in NetStream class and its behaviour is out of their control.

I have tested flowplayer online examples, and a couple of Adobe / OSMF examples and they all continue to download for 60 seconds after the video is paused.

A way to get this working in JW player would be best, but Are there any flash players that will stop downloading while paused?

If this is not possible with RTMP are there any technologies that will do this with a flash player?

View 2 Replies

Flash :: Load Testing RTMP Connections?

Aug 23, 2011

I am using Wowza Media Server's webcam record capability in a project. It records the webcam feed over RTMP which is connected to via a flash file. It's all working fine, but I need to stress/load test the functionality to check how it'll scale up.

View 1 Replies

ActionScript 3.0 :: Rtmp Streaming In Flash Builder

Nov 11, 2010

I am trying to connect to an rtmp site using flash builder 4. I have created a class to handle the connection. This code works (traces a connection error) if connection.connect(null); but if i try to put an rtmp site in the connection, it doesn't do anything. I have it scripted that if the connection fails it should trace and error message but it just seems to stop. any thoughts?

ActionScript Code:
package com.streaming.video
{
import flash.display.Sprite;

[Code]....

View 0 Replies

Flash :: Professional - RTMP / FMS & Video Audio Echoing?

Jan 27, 2010

Our client has encountered a bizarre problem where they hear an audio feedback or some sort of "duality" when playing an F4V file through FMS. When I tested this myself, I did not encounter this issue. I'm wondering if anyone here can provide some insight as to some of the potential causes of this issue and how we can fix it. We are using

1) FLVPlayback 2.5.0.15

2) Application targets the Flash 10.0 runtime

3) We are using a standard FMS 3.5 install, videos located in the vod folder

4) Trying to playback F4V files. The samples provided by FMS also exhibit the same issue.

On another note, I built a bare-bones Flex application (SDK version 3.5.0.12683 and 3.4.0.9271) using the VideoDisplay component and it always has the duality problem. It even gets worse as I refresh the page, the echoing / multiple audio playbacks seem to compound.

View 5 Replies

Flex :: Flash - Buffer + Live Stream Via RTMP?

Jan 27, 2010

Live streaming and a buffer on a NetStream do not mix. Why? The docs don't say you can't do this.The playback gets hosed. Buffer is supposed to fill to what you set it to before playing. Instead though, about half the time, the player starts playing right away and disregards the buffer time you've set. Then you get caught in short buffering and rebuffering cycles that degrades the playback experience.

Give it a shot yourself. Here is the simplest of live streaming video players. No frills. Just connect it to your live stream by changing the defaultURL string and stream name in the ns.play() statement.

Run it in Flex debug mode. It will check and print the ns.bufferLength property every second. The buffer is set to 20 secs currently. Last time I ran it, I never made it above 2 seconds in the buffer. Player started playing right away instead of buffering the full 20 secs first. Sometimes you get to the full 20 and sometimes not.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
initialize="init()">
<mx:Script>

[code]....

View 2 Replies

Handbrake - M4V / MP4 Files With Flash Streaming Server Over RTMP

Oct 8, 2010

We are attempting to transcode some video to a format suitable for our Flash Streaming Server. In the past we have used Adobe Media Encoder (AME) CS4, but we are working with *.VOB files this time, and AME CS4 does not support them. We are attempting to use Handbrake now, as it has great support for h.264 and MP4 files. Unfortunately while the files play wonderfully on our local machines, they do not stream from the Flash streaming server over RTMP. The files come out of Handbrake with a *.m4v extension. Our old files out of AME CS4 are *.MP4's with h.264 and AAC audio. I can see no differences in video or audio codecs which leads me to believe it may be a container format problem. We are attempting to use Handbrake because it does an excellent job of batch encoding files and produces good quality files.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved