Flash - Restreaming Flv Stream - How To Do It Correctly?

Nov 11, 2011

After two days of hard working, reading specs, analyzing hex dump of flv's I feel frustrated. I'm trying to restream flv streming.I slightly modified my old code of shoutcast restreamer but no success. I can't figure where is the problem, probably flv-streming can`t be just cutted in random position and send to other user with header aadded.Flv header which I extracted from many dumped flv's:

46 4C 56 01 05 00 00 00 09 00 00 00 00 09 00 00 33 00 00 00 00 00 00 00 17 00 00 00 00 01 64 00 1E FF E1 00 1E 67 64 00 1E AC 24 A4 02 20 49 BF F0 01 80 01 11 00 00 03 00 01 00 00 03 00 32 8F 16 2D 92 01 00 05 68 EE B2 C8 B0 3E 00 00 00 08 00 00 04 00 00 00 00 00 00 00 AF 00 11 90 0F 00 00 00 09 00 40 25 3B E8 19 48 00 00 00 17 01 00 00 A0 00 00 40 1C 09 10 00 00 00 01 67 64 00 1E AC 24 A4 02 20 49 BF F0 01 80 01 11 00 00 03 00 01 00 00 03 00 32 8F 16 2D 92 00 00 00 01 68 EE B2 C8 B0 00 00 00 01 65 88 80 00 01

VLC detects codesc and two streams (video+audio) but fails to play actual content (black stop-frame).

View 1 Replies


Similar Posts:


Media Server :: Relaying / Restreaming Stream On One FMS Server To Another?

Sep 3, 2011

How would I go about relaying/restreaming my stream on one FMS server to another? So I am streaming live content via Flash Media Enconder on Server 1, I want that to be relayed to Server 2, so I can embed the stream using Server 2 on my website.

View 4 Replies

ActionScript 3.0 :: Playing A MP3 Stream Not Working Correctly?

Aug 12, 2010

when trying to play the MP3 stream of the URL "[add_http_://]radiow.cld.3qsdn.com/stream01" with ActionScript 3 it only "stutters" and sounds horrible, but it works perfectly with ActionScript 2.I'm using following Code in ActionScript 2:

ActionScript Code:
coolTune = new Sound(soundLoader);
coolTune.loadSound("[add_http_://]radiow.cld.3qsdn.com/stream01", true);
=> This works perfectly - no problems.

But when using this code together with ActionScript 3:

ActionScript Code:
var coolTune:Sound = new flash.media.Sound (new URLRequest("[add_http_://]radiow.cld.3qsdn.com/stream01"));
coolTune.play();
=> It sounds really horrible.

It is a normal MP3 stream (128 Kbps) that works perfectly with any other player (like WinAMP, VLC, Windows Media Player, ...).

View 9 Replies

Jquery :: Why Does Stream Play Correctly In JPlayer In All Browsers Except IE

Feb 4, 2012

I am currently building a custom jPlayer instance for a streaming media file. Having modified a supplied demo, I am able to get the player working in all major browsers except IE.

I have checked the swf path many times, which is loading without fault. I think I am unable to get the trigger to load the file in IE, resulting in "Attempt to issue media playback commands, while no mediaurl is set. Use mediaurl() to set. Context play()".

I am using an event trigger CSC class to play the media "track" in my source code (not mediaurl directly).

Below I will demo the current code, however I feel it would be more beneficial if someone could construct some pseudo code for me outlining the exact requirements to get this to work, and also an explanation of the GUI button CSS handles, so that I can get these working properly too (I may need to modify the JS, which is currently the standard).

I am using IE8 32 w/ Flash 8 and jPlayer 2.1.0

I only need the following functions:

Play button (jp_play?) - this should trigger the stream and then enable multiple other classes (jp_volume, jp_playline, jp_stop etc)

Stop button (to replace play button) - should stop (not pause) the stream and disable previously enabled classes.

If it helps jp_pause gives me all the required functionality with regard to hiding elements, except the mediaurl is paused, I need it stopping.

Current code snippets:

// Instance jPlayer
my_jPlayer.jPlayer({
ready: function () {

[Code]...

View 1 Replies

Media Server :: RTMP Restreaming With Seamless Transcoding?

Aug 31, 2010

Our company is developing the product that includes rtmp restreaming/transcoding server.Our goal is to restream rtmp stream taken from external rtmp server(probably FMS), transcoding it in real-time.By transcoding I mean changing the stream resolution, quality and bitrate.Does FMS privide such a functionality? Which version of server we have to use? Does we have to use additional software such

View 1 Replies

Media Server :: When Append A Recording From A Stream Does The Metadata Get Updated Correctly After The Append?

Aug 20, 2011

I recently had to tell a client that I didn't want to work on their project because I was unclear about something. When you append a recording from a stream does the metadata get updated correctly after the append? I've worked with metadata before and from my recolection anytime a .flv was changed I had to manually update the metadata.

View 1 Replies

Media Server :: Close Another Live Stream B If Opening When Stream A Is Closed?

Aug 28, 2010

close another live stream B if opening when stream A is closed? Does FMS support this kind of logic?

View 8 Replies

Media Server :: Recording RTMFP P2P Stream By Sending Simultaneous Stream To FMS

Oct 8, 2010

Only just getting started on this whole domain of learning, so go easy!If I set up a P2P video/audio chat (similar to the sample VideoPhone thing on the Cirrus site), can I get the stream from both parties to send to a server at the same time so that I can record it? If so, would I have to use a FMS to stream it to and perform the recording (and if so which version could I get away with)? Are there any (preferably free, or just tutorialised) solutions for the recording side of things?
 
Currently it seems like the only option for doing the P2P thing is to use Stratus/Cirrus unless I use FMS4 Enterprise.
 
how effective this kind of situation can be, in terms of quality of the stream and recording? Does any of this make sense?

View 1 Replies

Media Server :: Write Access Denied For Stream Error When Recording Audio Stream

Jul 26, 2010

I've had FMS running on my local machine for a while and have had a little experience writing FMS apps, but I've just tried recording audio for the first time using the standard vod application and I keep getting a "Write access denied for stream" error. My AS3 code is copied and pasted for various examples and am confident that it works.
 
I'm running Windows XP service pack 3 & FMIS 3.5.
 
I've had a look at the vod/media directory and under windows->properties the read-only attribute is ticked. Every time I un-tick this it reverts back to being ticked. I've googled this and MS say that most programs ignore the read-only attribute and that it only really applied to files. I've also tried the MS fix for setting the read-only attribute via cmd and still no joy (doesn't fix read-only attribute or FMS recording the audio after setting via cmd).
 
I've also tried our dev server install of FMS (running under linux) and am getting the same results.
 
Here's my AS3 code...
 
private function initApp(event:Event):void
{
removeEventListener(Event.ADDED_TO_STAGE,initApp);

[Code].....

View 1 Replies

Media Server :: RTMFP Multicast Stream Has Exceeded Max Duration Allowed Closing Stream?

May 9, 2011

i test the fms 4 update 1 rtmfp streams multicast after 10 minutes i get this message RTMFP Multicast stream has exceeded max duration allowed; closing stream. but i do not use IP multicast

[Code]...

View 3 Replies

Media Server :: Dynamic Live Stream Don't Take The Best Stream For Bandwith

Mar 9, 2010

I build a client side application where is only a FLVPlayback2.5 component and a short AS3 script.

[Code]....

My Encoder is setup with three streams: Vid: 500 kbps - Audio: 48 kbpsVid: 800 kbps - Audio: 48 kbpsVid: 1500 kbps - Audio: 48 kbps I start the encoder and everything looks fine in the log. In my browser (Safari or Firefox) I go to my html site and the stream starts after 6-8 sec. But anytime with the lowest bitrate 548 kbps and nothing look like the stream is switching to another bitrate. I tried it with the smil playlist and the result is the same. Only the lowest bitrate is plublished.

[Code]....

View 3 Replies

Media Server :: Access Log- Stream Play & Stream Stop?

May 24, 2010

I have recently installed FMIS 3.5.3. In checking the access logs I find data in both logs that display the same stream stop and stream play time .I'm not sure why the time is the same (00:19:27 example below). Videos play fine when testing from work (T3 connection). However, occasionally a very slight hesitation when playing video from home (I have cable connection). [code]...

View 4 Replies

Media Server :: Last Few Seconds Of Stream Cut Off When Recording A Live Stream?

Aug 27, 2010

I'm having a problem with recording a live webcam stream. The last few seconds of the stream is getting cut off.
The recording is stopped with the following piece of code:
 
vid.attachCamera(null);
vid.clear();
ns.attachCamera(null);
ns.attachAudio(null);
ns.pause();
  
What could be causing this? Is the stream cut off too soon? Is the client unable to send buffered data to the server?

View 2 Replies

ActionScript 3.0 :: Getting Audio Stream Meta Data From An Akamai FMS Stream

Jul 21, 2009

I am having trouble getting audio stream meta data from an Akamai FMS stream. Everything is undefined and I'm not sure why. I am hoping maybe someone will notice something that I am overlooking. The stream is connecting and playing without a problem I just can't seem to figure out why all the meta data is undefined.

[Code]...

View 6 Replies

Professional :: Sound Stream From One Clip Playing Over Stream From Another

Jan 23, 2011

I have a layout with narration and a nav bar. When I click a nav button for section 2, the audio from section 1 (set to stream) continues to play over the audio for section 2. This cumulates so if I click buttons for sections 3, 4 and 5, I get five audio files playing on top of each other. Sections are individual movie clips with embedded audio streaming on a Sounds layer in each movie clip.

View 3 Replies

Media Server :: Stream A HDS Live Multi-bit Stream?

Dec 12, 2011

I'm trying to stream a HDS live multi-bit stream, it seems to push to the FMS but my player doesn't display the stream.Are these settings and files correct? The documenation is confusing on what and which files need to be edited and/or created.

Encoder settings:
Bit Rate: 150,500,700
FMS URL: rtmp://myserver/livepkgr
Stream: liveevent%i?adbe-live-event?liveevent

FMS 4.5

I see the following directories being created when I start encoding and each directory has a single file with a .stream extension in them. Are these correct? fC:FMS-HOMEapplicationslivepkgrevents\_definst_liveevent1[code].....

View 2 Replies

ActionScript 3.0 :: Stop Publishing Stream And Restart The Stream

Mar 8, 2011

I am very new to action script. I want to stop the stream from publishing then later on i want to publish the same stream again. My problem is that I have 3 levels of stream processing (Ingress-Rename ProxyLimelight-AuthProxy-Live) before it goes live. User wants to stop stream from publishing and then publish the same stream when he wants in each level. User does not want to start the stream from the begining, he wants to restart the stream on the same where he stopped.

View 0 Replies

Flash :: Can't Get It To Embed Correctly

Jun 1, 2011

I have tried a million different ways, nothing works.My main website is a .php file, so I am having trouble getting it to work.I embed using[code]...but it just shows up as a white box flash. (with the flash watermark)if i load the flash directly, it works fine.my website is [url]...

View 4 Replies

Flash :: Set Countdown Correctly?

Apr 20, 2010

How can I set my countdown correctly? I'm counting from 33,000.00 to zero. It works in a fashion, but the minus operator appears in the textfield.

//Countdown from 33,000.00 to zero
var timer:Timer = new Timer(10);
var count:int = -3300000; [code]..........

EXAMPLE: I need something I can update with XML, to be an up-counter or down-counter depending on the variables.

//Count up from 33,000.00
var countValue:int = 3300000;
count = countValue;[code].................

View 3 Replies

Media Server :: Can Re-stream A Stream From Wowza To Fms 4.5

Dec 11, 2011

Can I re-stream a stream from wowza to fms 4.5?I have a wowza stream with the url similiar to URL... Is it possible to restream this to fms 4.5?

View 3 Replies

Sound Stream From One Clip Plys Over Stream From Another?

Jan 24, 2011

I have a narration and a nav bar. When I click the button for Section 2, the audio for Section 1 continues to play on top of the audio for Section 2.

View 1 Replies

Flash 10 :: Not Work Correctly In Chrome And Will Ultimately Crash The Flash Player

Jan 20, 2012

If you set a .swf with wmode transparent mode and register the Event.RESIZE in it. It will not work correctly in Chrome and will ultimately crash the Flash Player. Of course same thing in FF, EI or any other browser works like a charm. Setting wmode to window fixes the problem but anyone knows a work around with wmode set to transparent?

View 0 Replies

ActionScript 2.0 :: Flash Login Isn't Working Correctly?

Jan 13, 2009

The page I created can be found here: [URL]

The login info should be "letmein77"

This is my AS (2.0):

Code:
loginbutton.onPress = function() {
if (password == "letmein77") {
gotoAndPlay("correct");}
else {

[Code].....

I don't work much with input variables (my focus is more in animation/design than forms and scripting) in my flash movies and i've been scratching my head for days now.

View 3 Replies

Flash :: Spanish Text Is Not Correctly Encoded?

Jul 26, 2009

I have an XML that contains Spanish text. I noticed that when I traced out this XML to a string characters that contain accents where not correctly represented. I tested this by tracing out a single character, "è" and the output is "é"race("è"); //outputs éHow is this resolved in ActionScriptSample of the XML that is affected:

'<month name="month6"> ' +
'<link.content document-href="tn5684" section-href="tn5687" document-type="SPECIAL-TOPIC" rank="1" link-url="">Bebé prematuro</link.content> ' +

[code]....

View 2 Replies

ActionScript 1/2 :: Flash Not Playing Correctly In Mac Browser

Feb 9, 2010

I have this thumbnail photo gallery (AS2)that is running fine on a pc, but when viewed in firefox or safari on a mac the thumbnails do not show up. Here is a live link: [URL] at the bottom you should see the thumbnails, but maybe not if viewing on mac? You can download the fla from here [URL].
Attachments: photos.zip (1.1 MB)

View 9 Replies

Flash 10.1 :: Make Sure That Correctly Installed Adobe?

Nov 17, 2011

I have an updated version of Firefox and I'm experiencing difficulty installing Adobe Flash. What should I check or uncheck on the browser and what else should i insure is done to have a successful installation?

View 1 Replies

Flash - Display Objects Not Aligning Correctly

Jan 6, 2010

I am aligning my display objects in the middle. stage.stageWidth/2. for some reason, they are aligning further off to the right of the screen. I haven't altered anything but the stage width in flash. Has anyone heard of this problem? Again, I haven't done anything except widen the screen and adjust the height.

My focus point on the display object is top left. So it aligns perfectly when set to 0,0
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stage.stageWidth = 300;

View 2 Replies

Flash :: Javascript - Object Not Embedding Correctly In IE

Apr 7, 2011

I donwloaded this small sample for jquery [URL] it is a plugin for a webpage and it displays a flash player to capture a qr code through a webcam. It shows the flash player in firefox and chrome, but it doesn't show it in IE. I do have the flash player in IE because i tried the project in this webpage [URL] and it does display the qr code. A person told me to check if it was embeded using swfobject and I checked the .js file of the project and it is embedding it as an swfobject, this is part of the code in the jqery.webcamqrcode.js

[Code]...

View 2 Replies

Flash :: AS3 - HitTestObject Collision Not Registering Correctly

Aug 7, 2011

I had a problem with my hitTestObject collision detection a couple of days ago which has since been fixed (How can I solve my hitTestObject Collision Null Object Ref Error) with the help of you folks. My problem now is as such: When my "enemy.hit" comes into contact with "player.hit" it registers as a hit - this is good. When my "building.collide" comes into contact with "player.hit" it registers as a hit - this is good.

However, when my "building.collide" comes into contact with my "enemy.hit" it does not register, but sometimes it does register even though the only enemy on-screen is many pixels away from it - as if either the building or enemy "hitBox" is somewhere other than directly on the graphic(MovieClip in this case).

[Code]....

View 3 Replies

Flash :: Correctly Reopen A Session Using Symfony2?

Nov 13, 2011

I'm using a flash component in my symfony2 application which uploads multiple images, and when they reach the server I want to re-open the session so that I can store the image in a location relative to the logged in user. I am sending the PHP session ID with each file upload..

[Code]...

View 4 Replies







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