Viewing audio from RTMP live video stream.

I need to remote monitor video base is present and audio levels.

I had hoped to used http://www.longtailvideo.com/addons/plugins/247/SUB-Equalizer

but it seems to be incompatible with the broadcasts.

the required level of SEEN is the basis that there is a live audio feed and does not need to be fancy at all.

Currently, we use JWPlayer but am not bound to her for this project.

Cheers for the help

Robert

Have you tried the Sound class computeSpectrum() method? Since flash V9.x, it can calculate the spectrum on RTMP. The link to the API has a complete example that makes a wave form. It calculates a value between-1.0 and 1.0 for the values 512, 256 for the left and right channels 256.

You can group them into blocks and use the data to calculate your audio levels. Simply to group a bunch of values and therefore one that shows the average of the values to simplify. for example, 4 bar uses the average of the values of 0-64, 65-128, 129-192, 193-256 for the left channel... You get the idea.

http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/Flash/Media/SoundMixer. HTML #computeSpectrum)

Tags: Adobe Animate

Similar Questions

  • Audio IOS RTMP live stream

    Hi guys I hope that some of you will be able to help me.

    I'm trying to stream audio from a live RTMP stream using the NetConnection and NetStream classes. I managed to get my app works without problem on Android, but I have some major difficulty make him play the audio back on iPad. Interestingly, it works in the device emulators when you are debugging, but I guess this isn't really an accurate representation. I tried streaming RTMP in AAC and MP3, but without success to be. I check through debugging that there haven't connected to the stream, however I just get no audio playback.

    Everything I read on door to believe that this is possible on IOS that I'm only interested by audio and video not. Can anyone help?

    Code example below (it's quick and dirty! ).

    Thanks in advance!

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:fx s:View ' http://ns.Adobe.com/MXML/2009 "

    xmlns:s = "library://ns.adobe.com/flex/spark" title = "Audio" creationComplete = "init ()" >

    < s:layout >

    < s:VerticalLayout paddingLeft = "10" paddingRight = "10".

    paddingTop = "10" paddingBottom = "10" / >

    < / s:layout >

    < fx:Script >

    <! [CDATA]

    import flash.media.Video;

    import flash.net.NetConnection;

    to import flash.net.NetStream;

    Import mx.core.UIComponent;

    private var vid:Video;

    private var videoHolder:UIComponent;

    private var nc:NetConnection;

    private var defaultURL:String = '[STREAM]. "

    private var streamName:String = '[STREAMNAME]. "

    private var ns:NetStream;

    private var msg:Boolean;

    private var intervalMonitorBufferLengthEverySecond:uint;

    private function init (): void

    {

    vid = new Video();

    VID. Width = 864;

    VID. Height = 576;

    VID. Smoothing = true;

    Join the video of the scene

    videoHolder = new UIComponent();

    videoHolder.addChild (vid);

    addEventListener (SecurityErrorEvent.SECURITY_ERROR, onSecurityError);

    grpVideo.addElement (videoHolder);

    Connect();

    }

    public void onSecurityError(e:SecurityError):void

    {

    trace ("error in security :");

    }

    public void connect (): void

    {

    NC = new NetConnection();

    NC.client = this;

    nc.addEventListener (NetStatusEvent.NET_STATUS, netStatusHandler);

    nc.objectEncoding = flash.net.ObjectEncoding.AMF0;

    NC. Connect (defaultURL);

    }

    public void netStatusHandler(e:NetStatusEvent):void

    {

    Switch (e.info.code) {}

    case "NetConnection.Connect.Success":

    trace ("audio - connected successfully");

    createNS();

    break;

    case "NetConnection.Connect.Closed":

    trace ("audio - Connection closed");

    Connect();

    break;

    case "NetConnection.Connect.Failed":

    trace ("audio - connection failed");

    break;

    case "NetConnection.Connect.Rejected":

    trace ("audio - connection rejected");

    break;

    case 'NetConnection.Connect.AppShutdown ':

    trace ("audio - application shutdown");

    break;

    case 'NetConnection.Connect.InvalidApp ':

    trace ("audio - app connection not valid");

    break;

    by default:

    trace ("audio-" + e.info.code + "-" + e.info.description);

    break;

    }

    }

    public function createNS (): void

    {

    trace ("NetStream creation");

    NS = new NetStream (nc);

    NC. Call ("FCSubscribe", null, "live_production"); Do not use this option if your CA requires it

    ns.addEventListener (NetStatusEvent.NET_STATUS, netStreamStatusHandler);

    vid.attachNetStream (ns);

    OnMetaData and onCuePoint //Handle event reminders: solution to http://tinyurl.com/mkadas

    //See another solution to http://www.Adobe.com/devnet/flash/QuickStart/metadata_cue_points/

    var infoClient:Object = new Object();

    infoClient.onMetaData = function MDGs (): void {};

    infoClient.onCuePoint = function oCP (): void {};

    NS.client = clientside;

    ns.bufferTime = 0;

    NS. Play (StreamName);

    ns.addEventListener (AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);

    function asyncErrorHandler(event:AsyncErrorEvent):void {}

    trace (Event.Text);

    }

    intervalMonitorBufferLengthEverySecond = setInterval (monPlayback, 1000);

    }

    public void netStreamStatusHandler(e:NetStatusEvent):void

    {

    Switch (e.info.code) {}

    case "NetStream.Buffer.Empty":

    trace ("audio - buffer empty :");

    break;

    case "NetStream.Buffer.Full":

    trace ("audio - buffer full :");

    break;

    case "NetStream.Play.Start":

    trace ("audio - beginning of the game :"); ")

    break;

    by default:

    trace ("audio-" + e.info.code + "-" + e.info.description);

    break;

    }

    }

    public function monPlayback (): void {}

    Print the current length of the buffer

    trace ("audio - buffer length:" + ns.bufferLength);

    trace ("audio - FPS:" + ns.currentFPS);

    trace ("audio - delay Live:" + ns.liveDelay);

    }

    public function onBWDone (): void {}

    Do nothing

    }

    public void onFCSubscribe(info:Object):void {}

    Do nothing. Prevents the error if connection to CDN.

    }

    public void onFCUnsubscribe(info:Object):void {}

    Do nothing. Prevents the error if connection to CDN.

    }

    []] >

    < / fx:Script >

    < s:Group id = "grpVideo" >

    < / s:Group >

    < / s:View >

    Just an update on this for all of you who come along after me.

    I managed to get this working on the MP3 but not AAC (I guess just AAC is not taken in charge?).

    My problem was the buffertime. Docs seemed to indicate that it should be set to 0 for live streaming, however he switch to "1" has solved my problem on the particular flow I pointed at.

    So, essentially above the justchanged line:

    ns.bufferTime = 0;

    TO

    ns.bufferTime = 1;

    Would be nice to know if someone got AAFC works though...

  • After the update for tvOS 9.1, it cannot play Live Video Streams from the start, Breaking NHL Gamecenter Live

    Since tvOS 9.1, update when I try to play an ongoing game from the beginning, using the NHL Gamecenter Live application, it will start playing for a second and then jump to live.  Basically, it breaks the app for the way I use it.  You can save 10 seconds each time, and he will play where leave you, but if interrupt you or try to fast forward / rewind it leap backward to live again.

    Jumping to living like that can easily spoil a game showing you the advance score.  In addition, it allows me to watch a game that has already started overnight since I don't want to miss the beginning of the game and can not start from the beginning to the end of the stream.

    I contacted NHL Gamecenter Live about this and they made it the Apple TV update:

    "At this time, the new Apple TV update does not support advance fast/quick return characteristic of live broadcasts."

    Does anyone know of a way around this, or if this is a bug or design?  If it's normal then Apple has actually ruined my Apple TV after only a few weeks of use.  I really hope that's not the case.

    Has anyone else noticed this problem?  I can't find any discussion about this but it seems like a pretty major flaw for me.

    Thank you!

    Scott

    I accidentally tag this message with iOS 9.1, it had to be tvOS 9.1.  Sorry about that!

  • Windows 7 Media Center plays audio from VOB, no video. However, the VOB files play fine in Windows Media Player 7. What gives?

    I have VOB files in a VIDEO_TS folder.  Windows 7 Media Center will generate a thumbnail for them, but when I play them I'm audio but not video.  However, when I play in Windows Media Player will play without any problem.  Can someone help me solve this problem?

    Hello Pinkled,

    Just got out how we can get video of .vob files play correctly:

    It's pretty simple, just add the folder to the library of MOVIES instead of VIDEOS. It is true that videos, just listen to the audio, but no video appears during playback.
    Once you add to the movie library, W7 Media Center it will read "like a DVD" then you will also be able to navigate through menus.

    Hope that works for you also.

    Kind regards

    Miguel.

  • PPcc only import audio from AEcc - no video "channel."

    Hello. Everything began with the AEcc. I have a project PPcc. file/adobe dynamic link/new AE comp. I'm doing a simple comp with just text, back to PP and it's there (in the project) and it plays (and updates) in the source window, but when I drag the to the timeline (in the sequence with all my videos, or an empty sequence), only the audio channel "" gets there. and I have no audio. If I change or move the copy in AE it updates the preview import icon, but I still can't get it appears on the timeline. In the project window, it has only the orange audio icon, not the film (attached picture). When I'm dragging the file on video channels I get a helping hand with a cursor of "not". My preference are all 'standard '. don't know what's going on. Thanks in advance for any help. Mike

    I am doing something stupid?

    With the help of Mac 10.9.3 latest CC updated and tried with forms and different fonts.

    Quad 2x3.2 2008 intel MacPro

    PPcc 7.2.2 (33)

    12.2.1.5 AEcc

    None of the additional plugins or anything.

    Posted in the AE community also because I do not know which program is the question.

    ScreenShot_MJ_ 2014-06-03 at 8.27.37 PM.jpgScreenShot_MJ_ 2014-06-03 at 8.31.17 PM.jpg

    I don't know exactly, but it could be something to do with an inconsistency in your sequence settings and parameters of the Ae file... the way I normally work with Premiere and After Effects... First, I normally place a piece of footage on the button 'New element' first to create a sequence that matches the sequence of dimensions etc, then selecting the images (or text or whatever), right click and select 'Replace with After Effects Composition'... which creates a model of EI that corresponds to the sequence settings. Try to create a text in your empty first sequence (that you had problems with), right click and select 'Replace with Composition Effects'... it should work.

  • playing audio from a youtube video that I watched a week ago, I continue.

    I hear a sound in the background of a Safari you tube clip I watched a week ago.  It is not in the tabs or running in the background that I see.  I read all the posts and tried everything including deleting downloads and the latest files from session, she draws in Safari.  I'm under ElCapitan.  I also have Parallels installed with Windows 10 in the background.  Any ideas?  Thank you very much.

    Hey, Moheckie,.

    It seems that your Safari on MacBook Pro running El Capitan is trying to keep you entertained. You have tried several different ways so he can stop already, then I'll be happy to help you!

    Safari 9 (El Capitan): delete your browsing history -maybe it's all you need to do. Once you have identified history of Safari, quit Safari, and re - open. If he always plays, quit Safari again and hold down the SHIFT key while opening upward.

    OS X El Capitan: start in safe mode -even if your Mac is started, safe mode allows to ensure it starts successfully

    How to test one question in another user on your Mac account - maybe it's just a software problem if the previous steps have not helped. Use this article to see if it comes up with a new account or just your.

    Use Time Machine to back up or restore your Mac - if you have reached this point, I highly recommend making a backup of your Mac costs to ensure that your personal data are safe. It is always better "to have" a backup for a backup "need."

    On OS X Recovery - if it happens in your user and the account that you just created, use this article to reinstall the operating system, your Mac is currently.

    Have a great day!

  • AIR SDK 16 (and 15): video stream live stops during non - iOS iOS

    Using the sdk 15 or 16, when live video streaming via media server, if I leave iOS to iOS devices, without issue. If I'm going non - iOS device iOS device, the non - iOS device receives the video and audio fine of iOS devices, but on the iOS video device it receives freezes (almost from the beginning, after that a couple of frames, then a pause long, long gel - minutes long - and then some more images, and then freeze it, etc.)-the sound is fine It seems to be just the video. I've tested this with android to android to iOS, android android (fine), office (fine), IOS IOS (fine) (video on iOS side gel), iOS on the desktop (freezing only the side iOS).

    Hey!

    The total solution.

    I had this problem and stuck - the same situation just like the author. But it's the Air 3.5, 3.1. It works well, but is not compatible with modern IOS8-9.

    So, the solution is very simple, and it was the last thing I have left to check - why did not I do it earlier?) 2 weeks pass.

    Set the micro android SpeeX, NOT Nellymosser codec.


    Why? Who knows... but it works.

    That's all. It may be useful

  • To make a video streaming (live app) which is best? IE, silverlight or html5?

    Hiiii

    I want to develop an application for live video streaming... which should be compatible with internet explorer 9... While technology will be the best suitable and compatible... Silverlight or HTML5? .... I want to start the project please do not answer... which will be better doing live video streaming... could not oly target to internet explorer 9... which might be compatiable... Please guide me...
    Thank you best regards &,.
    Divya.K

    Hello

    The Internet Explorer Web development forum
    http://social.msdn.Microsoft.com/forums/en/category/iedevelopment
    would be a more appropriate forum for your question.

    A web search will also provide opinions and useful information:
    http://www.Google.com/search?q=Silverlight+vs+HTML5

    Hope this helps,
    Don

  • Oracle open world 2010 video streaming

    Last year I remember that they showed this to otn.oracle.com, I was wondering oracle made this year, unable to find live video streaming free to otn however, looking for URLs, if any...

    Published by: DBA2008 on Sep 20, 2010 14:58

    Hello
    I saw that the RTO but with registeration.
    Kind regards
    Mohamed

  • Problems with audio/video streaming with USB devices on zero clients

    Hello:
    We are using view 6.1.1 in our environment and problems getting audio/video streaming to work well with the USB headsets, with zero customers.  Helmets are Jabra Link 360 and customers zero Samsung NC241.  Helmets are used as well for the phones to Jabber and also as audio device by default.   We started with the audio driver Teradici and everything seemed to work well, except that users could not answer calls on the headset itself with the button on the headset.  They were able to answer the calls of Windows though and the part worked fine.  In order to get the physical button to work, we had to first fill the USB receiver they use on the zero clients so that Windows will see as the device Jabra 360 and not the audio device Teradici.  Then we had the EHCI USB mode on them as well, and after that he started to work very well.  However, the helmets also serve as the audio device main as well as the communication (phone) device, with audio streaming continuously throughout the day.  With the current configuration, audio streaming will cut in and out during the day, and audio/video is not always to stay in either phase.

    I also applied the registry in this KB hack, VMware KB: improvement in audio quality when you use speakers or USB headsets with a desktop VMware view Horizon 5.2 , which helped clear up Crackle that we originally with the part phone headsets.  But there is still the issue of streaming audio.

    I wonder if the effectiveness of the bridging USB is not as effective and also is there a way to make this work better?  I read that the use of the pilot Teradici is supposed to help with audio/video problems, but do not know how that can be applied to USB devices as we use.  I've been reading upward on Teradici audio/video settings, but do not know where to go from there.  I was hoping that there are some best practices to use USB headsets with a view, but so far I'm not finding anything useful.

    For any help or suggestion would be greatly appreciated.  Thanks in advance.

    We were finally getting help by the people of Cisco after validation in the here and even open a support ticket with VMware, which was open for more than a month without will.  Where others try to implement similar, here are our findings:

    • Zero clients combine traffic USB and PCoIP.  It is not good when there is a lot of audio/video/USB traffic, especially the USB headsets that also carry audio softphone.  In our case, the USB traffic was so dense that it was causing audio and video become troubled and freeze and eventually cause the pcoip_server service to break in the virtual machine itself and cause the client disconnect.  The fix?  Don't use customers zero with USB phones software, they are not just designed for this type of solution.
    • Thin clients are much better designed for USB softphones.  In our case, we used the Cisco VXME client, which is the method of support for the use of Windows thin clients with the client of the Horizon.  There is integration between the two products that isolates the VOIP traffic out of the virtual machine and keeps it local on the client itself.  Regular audio and video traffic still go through the virtual machine using Teradici or VMware RTAV driver.

    Hope this helps others who may run this question.  One thing we did not try was a wired headset using the AV sockets on the zero client and Teradici audio driver.  This can work, but our needs here were the headphones must be bluetooth, so we were forced to stick with USB.

  • I tried to record some live audio. I downloaded Wondershare Streaming Audio Recorder I opened the program - but could not hear the audio I tried to play.

    original title: sound problems

    Hello!

    I tried to record some live audio. I downloaded

    Wondershare Streaming Audio Recorder

    I opened the program - but could not hear the audio that I tried to play. I don't know if downloading this program is related to the problem.
    I opened Skype - and everything worked fine. I could hear, etc. But if I run an MP3 in Windows Media Player - I hear nothing!
    My sound is at the top.
    In my Volume mixer, I see:
    1 output device digital (SPDIF) bounce up and down. (but I don't)
    2 but applications: sounds of Windows, Windows Media Player and Google Chrome will not move. (but they are at the top).
    Any suggestions?
    Jews

    I managed to get the results of work. I don't know where come the SPDIF.

    I downloaded a new driver Realtek for audio from the computer. This corrects the problem.
    But I still want to know what happened.
  • The file has no audio or video stream

    Before asking this question, I did a quick search and found out that someone else has already reported that this problem and cause seem to be the lack of Quicktime player when you import mov files.  In my case, I have on my PC, and as a matter of fact, the export worked perfectly with these mov in my sequence front of quicktime.

    Today when I opened my project, these * files mov became offline.  And when I tried to Link Media, he gave me not wander from audio or video stream.  What is wrong with him?  I did nothing of PP since the last time where everything was perfect.

    Never mind.  I just thought of it myself.  I installed the kkkkk emulator on my PC that apparently confused the system.  After uninstalling it, PP works well again.

  • . MOV in CC files: the file has no Audio or Video Streams

    I've recently updated the Prime Minister to CC, since I questions auditing all .mov files.

    The specific ones Im trying for my current project is exports of EI, visited .mov without loss of animation, worked well in CS6, will play in quicktime and other generic company but still get the message of that the queue has no Audio or Video Streams trying to import them into a project.

    QuickTime is updated so I do not understand why him will not play, is this a bug CC?

    I will return to cs6 on my another computer they open very well...

    I've seen a few topics on this zero with a resolution and in addition to those from where the cam is an export of EI, anyone able to help it prevent me from work atm...

    Troy

    I had tried, has not worked for me, I think it was a confrontation with sorreson for me, I reinstalled is and all the progs out of squeeze and have no problem now, when I have the time to do a recovery point and test it out I will, right now got to a lot of work to spend time on it

    Sent from my iPhone

  • Premiere Pro CS6 importing .mp4 = "the file have no audio or video streams."

    Hello

    When I import a clip in Adobe Premiere Pro CS6 MP4, I get the following message:

    "Failure to import a file.

    151_0010_01.MP4

    Error message

    The file has no audio or video streams. »

    I have the latest Quicktime, and I reinstalled Premiere Pro CS6 several times already.  If someone knows a solution for this, I'd be very happy.  Below are my system info and the clamp.  Thank you, Robert.

    Operating system

    Win 7 Ultimate 64 bit

    CLIP INFORMATION

    Full name \BPAV\CLPR\151_0009_01\151_0009_01.MP4

    Format: MPEG-4

    Operating name: XDCAM EX 35

    Format profile: Base Media / Version 2

    Codec ID: mp42

    File size: 1.76 Gio

    Duration: 7 min. 5 sec.

    Overall bit rate mode: Variable

    Overall bit rate: 35.6 Mbps

    Encoding date: UTC 2009-07-19 04:22:10

    Marking date: UTC 2009-07-19 04:22:10

    Video

    ID                                       : 1

    Format: MPEG Video

    Operating name: XDCAM EX 35

    Format version: Version 2

    Format profile: Main@High

    The format, BVOP settings: Yes

    Format settings, matrix: Custom

    Parameters of the format, GOP: M = 3, N = 15

    Codec ID                                 : 61

    Duration: 7 min. 5 sec.

    Bit rate mode: Variable

    Bitrate: 34.0 Mbps

    Maximum bit rate: 35.0 Mbps

    Width: 1 280 pixels

    Height: 720 pixels

    View picture format: 16:9

    Frame rate mode: Constant

    Frame rate: 29.970 fps

    Color space: YUV

    The chroma subsampling: 4:2:0

    Color depth: 8 bit

    Scan type: Progressive

    Compression mode: lossy

    /(pixel*Frame) bits: 1.231

    Stream size: 1.68 Gio (96%)

    Language: English

    Encoding date: UTC 2009-07-19 04:22:10

    Marking date: UTC 2009-07-19 04:22:10

    Primaries: BT.709

    Transfer characteristics: BT.709

    The matrix coefficients: BT.709

    Audio

    ID                                       : 2

    Format                                   : PCM

    Parameters of the format, "endianness": Big

    Format settings, sign: signed

    Codec ID: two

    Duration: 7 min. 5 sec.

    Bit rate mode: Constant

    Flow: 1 536 Kbps

    Channels: 2 channels

    Sampling: 48.0 KHz

    Color depth: 16 bit

    Stream size: 77.9 MiB (4%)

    Language: English

    Encoding date: UTC 2009-07-19 04:22:10

    Marking date: UTC 2009-07-19 04:22:10

    DELETE files inside "Media Cache files" and "hide media".

  • Can I extract audio from video?

    I want to extract the audio from a video, but I don't want to import the video to audition only. Can I do this?

    I'm working on Audition CS5.5

    Thank you!

    Hey guys,.

    Maybe I'm misunderstanding here, but simply to open a video resource will give you this behavior. When a video resource opens in Audition CS5.5, we split the stream in the video and audio part automatically.

    Yes, this means you have the video stream in your Panel files as well, but you can simply close or ignore it if you won't need it.

    Audio can be edited and saved as a single audio resource just as he might the Audition 3 and earlier versions.

    Please let me know if I misunderstood the goal here.

    Thank you

    -Ron

Maybe you are looking for

  • Google maps and maps does not not on iOS10/iPhone 7

    Since I have the iPhone 7 and by doing so updated to iOS10 my Google Maps constantly I am at home. I've deleted and reinstalled and it worked brielfy before stopping in a random place, and then finally get back to me at home. The possible reasons for

  • How can I get wifi calling on my 5 c?

    Hello. Can someone help me find the wifi calling on my 5 c please? This is supposed to be at my disposal, but there is no option under "settings - phone". I am on iOS 9.3.2. Thank you.

  • WiFi connection stops 1-2 min - Satellite P300D - 21K

    Hello I have a laptop satellite. P300D - 21K. My wireless connection seems to have been interrupted every 1-2 minutes. I can say this, because when I watch BBC iplayer or youtube streaming, you can see the buffering stops and the audio/video will sto

  • How to display a picture of the purple line

    The output of the vi is an image reference (purple) How can I convert a 2D image and display it on the front panel?

  • RSS feed of rendering

    Hi all I made the content of normal url on the screen using the example provided with jde4.5. all I want to know is how to render the content of the RSS feeds on the screen. an example would help. Thanks in advance