How to embed an adpcm format audio stream to rtmp stream?

I am a flex developer, i encounted a problem when i develop a flash program for my ipcamera,
i add a adpcm format audio stream to the rtmp stream, but the specification says that only 5.5k,11k,22k and 44k is supported,
but my device can only generate an audio stream which has a 8k sample rate, can any one help me to do some thing.

It's possible.
Did some experiments with this about a year ago using both HSound and JMF, it works but the results were not very good but probably today's boxes do it better. The problem is that it's heavy for a box to play a long or a looped clip with the result that the overall performance of your application goes down dramatically.

Similar Messages

  • Playback of Audio Stream in OSMF

    How do you play back an audio stream in OSMF?
    Apparently this is not working... the steam is loading, but CanPlay = false is fired. It's silent.
    protected function initMediaPlayer():void
         var mediaPlayer:MediaPlayerSprite = new MediaPlayerSprite();
         mediaPlayer.mediaPlayer.autoPlay = true;
         addChild(mediaPlayer);
         var audioElement:AudioElement = new AudioElement(new URLResource("http://listen.to.techno4ever.net/dsl/mp3"))
         mediaPlayer.media = audioElement;
    Not using OSMF this is working:
    protected function initSound():void
         var sound:Sound = new Sound();
         sound.load(new URLRequest("http://listen.to.techno4ever.net/dsl/mp3"));
         sound.play();
    Thanks for any input on this...
    Stefan

    Hi Stefan,
    What stream?
    I get only a playlist file :
    [playlist]
    File1=http://listen.to.techno4ever.net/dsl/mp3
    Title1=Techno4ever Radio - 24 hours open
    Length1=-1
    Browser1=http://www.winamp.com/bin/sc/sccontext.php?host=whatever&title=For Trackupdate and latest News visit our Page!&slots=3400&genre=Techno Trance Dance&url=http%3A%2F%2Fwww.t4e.dj
    NumberOfEntries=1
    Version=2
    Neither of your example worked.
    on the other hand,
    var sprite:MediaPlayerSprite = new MediaPlayerSprite();
    addChild(sprite);
    sprite.resource = new URLResource("http://mediapm.edgesuite.net/osmf/content/test/train_1500.mp3");
    does play a good mp3 file.

  • Audio streaming in MIDlet??

    Hi all
    How do you incorporate a live audio streaming feature into a MIDlet?
    To listen to radio stations that broadcast online
    Thank you kindly

    There is something about it in here .
    Edited by: Sypress on Apr 20, 2010 12:26 PM

  • Sync of Video and Audio streams

    I got a main project to make a video conferance system. And i'm not sure how to sync the video and Audio streams. (Audio need to have higher priority than video)
    Video is all moust real-time but audio is around 0.5 sec delay at the fastest.
    I realy need to find out how to sync them since its one of my main subjects in the project.
    So if anyone know how to, plz let me know.

    Hello,
    I try to implement a videoconference in Java with JMF. At the reception, audio and vid�o aren't synchronizing. I'm looking for a solution to resolve this problem because i think in this kind of application, audio and video tracks must be synchronized. I'd like to know when and how can i do the synchronization : at the capture, before transmission, or at the reception ?

  • How to embed radio audio stream into a website?

    Hello.  I'm helping out with the radio website below and at the top of the left column is a "Listen Live" link, which currently just goes directly to their live audio stream.  We would instead rather embed that into a Flash player, or such, to make it more professional.  Would someone have a suggestion of a Flash music player that I could embed?  Maybe something like one of Premiumbeat's Flash players?
    http://www.ksevradio.com
    Thank you,
    Wesley

    Hi
    Inserting an mp3 file and live audio streaming are very different, and the difference in complexity would be the equivalent of servicing a bike and servicing a car.
    Even though the tutorial I pointed you too is more complex than you require, the basics are the same, and as there are almost no tutorials on this subjects available unless you wish to delve into the programming - http://www.aaronsw.com/2002/howto/stream, - http://www.phpclasses.org/browse/package/3927.html.
    There are commercial providers available, but the cost may be excessive, e.g. - http://www.livevideostreaming.co.uk/.
    PZ

  • How to embed audio to my website using quicktime when I get "file not found

    hi,
    i've been trying to embed audio into my website all night and I get a file not found message even though I;ve checked 100 times and all files are where links say they should be..
    but even just linking to audio (mp4) files won't work...
    everything is o.k. with non-audio links on my website - only the mp4 audio can't be found.
    can anyone help me? or post the correct code?
    I've tried using these formats..
    <EMBED SRC="anymovie.mov" HEIGHT=176 WIDTH=136>
    <embed
    src="http://www.crossandthrone.com/.samples/qt/sample-reference2.mov"
    width="242" height="199" autoplay="false" loop="false"
    controller="true" bgcolor="#666666"
    pluginspage="http://www.apple.com/quicktime/"></embed>
    the pages that should play audio just have a quicktime file with a question mark on them
    help would be much appreciated!

    Start here:
    http://www.mediacollege.com/video/streaming/
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "subdued2u" <[email protected]> wrote in
    message
    news:gbg2th$r13$[email protected]..
    > Hello ,guys, i have a website,, and i would like to add
    upload vidoes on
    my
    > website i have tried but did not work can anyone please
    tell me how to
    embed my
    > videos in my website using dreamwever ?
    > thank so much
    >

  • How does exactly AMS sync a video stream with another stream of audio only ?

    I have the following situation: 2 instances of FMLE on one machine and another machine with AMS Starter.
    The instances of the FMLE are:
    1. Video H.264 + audio MP3
    2. Audio only MP3 - track 1
    The application on AMS is a livepkgr/_definst_ and i am using HDS with a live event
    I have an OSMF based player to consume the streams and to do audio switch using late binding audio.
    When I consume the Video with the Default audio everything works just fine. The problem is that when I try to consume the Video with the other audio track, the audio tack has a 1 second delay compared to the video.
    I have tried to fix this by changing the configurations on the FMLE, but it doesnt seem to work. So I really want to know how does exactly AMS syncronize differents streams, in this case a video stream with a different audio stream.

    First, what is the file format, and its specs. for the remote recorder?
    Though the rates of modern cameras and digital recorders SHOULD match 100%, in the real-world, they seldom do. This make perfect syncing a labor intensive process.
    One should do tests between the cameras and the recorders, to find out the % or error. Then, adjust their Audio to match first. As an example, one user in the PrPro Forum tested his Panasonic cameras, and his Zoom recorders, and found that the Zooms were off by 0.04% constantly. To correct this, he used the Time Remapping (with Maintain Pitch checked), and would apply that adjustment to all of the Zooms' files - perfect sync.
    As for the Waveform not displaying for your remote recorder, did you allow those files to completely Conform (creation of the CFA and PEK files, the latter is the Waveform Display)? See this article: http://forums.adobe.com/thread/726693?tstart=30
    Also, you should be able to increase the vertical zoom of your Audio Tracks, and hence any Clips on them, by hovering the Cursor over the junction between Tracks, in the Track Header, and when it turns into a = sign, with up/down arrows, click+drag. Then, you should be able to find commonality in the beginning, to sync up to. Tip: for this critical work, toggle the Snap feature OFF, with the S key.
    Good luck,
    Hunt

  • Can I deal with the audio stream while recording?How?

    Hi, All,
    I am doing a project about SIP phone using J2ME. I am quite new to this area. I want to mask the audio stream before it sends out. I want to know if it can be achieved in J2Me. if yes, would you give me some reference? Thanks for any reply.

    Is anyone who knows how to achieve this&#65311;

  • How do I stream music from non-iTunes apps to Airport (mac air core-i7 OS 10.7.5 airport firmware 7.6.1 --- option-clicking speaker icon only shows internal speakers - audio streaming works from iTunes just fine.

    How do I stream music from non-iTunes apps to Airport (mac air core-i7 OS 10.7.5 airport firmware 7.6.1 --- option-clicking speaker icon only shows internal speakers - audio streaming works from iTunes just fine.

    Hello Achates:
    I did not read the rather long post. If you wish to reinstall OS X 10.4, use your software install DVD. Backup is essential. To minimize your risk, I would use an archive and install:
    http://docs.info.apple.com/article.html?artnum=107120
    In that way, you will have a fresh copy of OS X and your current settings will be preserved.
    Incidentally, I do not agree that the printer problem is best solved by reinstalling OS X. I have had HP printers for sometime and, on one occasion, had difficulty after an upgrade. HP technical support walked me through uninstalling all traces of the HP driver and then reinstalling.
    Barry

  • Can anyone tell me how to embed a flash video stream in html5

    Can anyone tell me how to embed a flash video stream in html5. I have a video stream but would love to be bale to get it to run on ipads so would like to know how to embed the flash video stream in html5 http://www.ravedance.net

    Gary, thank you for responding:
    1) I know my "profile" indicates I'm on Mountain Lion.  I have not figured out how to update that.  I am using Yosemite and Keynote Version 6.5.2 on a 15" Macbook-Pro  (tell me how to update my profile, please - nothing I click on opens any kind of "edit" options)
    2) My 20 sec video does play in Quicktime.  I find nothing in the Quicktime Inspector about deselecting "start movie on click."
    3) in my slide presentation I can insert the video on a slide okay and if I click on it can get it to play, But I cannot seem to get it to play after a transition automatically.  Maybe it cannot be done.  Obviously I would like the entire presentation to play automatically without clicking on or between slides.
    Again, thank you for you kind help!

  • How to publish a local audio stream using NetStream?

    As all we know, if we want to publish a stream to FMS or Red5, we can code like below:
    var nc:NetConnection = new NetConnection();
    nc.connect("rtmp://localhost/myApp");
    var ns:NetStream = new NetStream(nc);
    ns.attachAudio(Microphone);
    ns.publish("audio", "live");
    my problem is that we can pass an instance of Microphone to ns.attachAudio() only, if I want to attach a local audio stream,like playing a local sample.flv file to become a audio stream, how can I do?
    this issue has been asked 7 years ago, see the post. but i can not find any solutions.
    any tips will be appreciated. thx in advance.

    how to watch my local network stream using java,help!http://www.ethereal.com - a third party program (but not using java)

  • How do I Label Audio Streams for Playback

    I am working on a DVD with 2 audio streams and the client would like when toggling from one stream to the next for them to be labeled on the DVD player "5.1" or "2.0". I know I have seen it on retail DVD's. Currently it just reads 1 or 2. How do I change it so it reads "5.1" or "2.0"? Is this a scripting thing? Scripting is the one thing that I am really having a hard time grasping and understanding unfortunately even with tutorials. Any help, info, or tutorials are greatly appreciated. Thanks.

    If you mean labelled on the text display screen on the front of the DVD player hardware, then this isn't something you can control from the disc. It is a feature of the player itself.
    If you want to show the audio choice on the TV screen as the disc plays back (i.e. within a menu where you make an audio stream choice) then that's different - it is possible to do this.
    If you want to change the audio stream using the remote handset and show the change in audio stream dynamically at any time on the TV screen as the disc is playing, then that is also not possible.

  • Premiere CS6 won't import mov files, the message: "file has no video or audio streams" shows up instead. How can I import the files?

    Premiere CS6 won't import mov files, the message: "file has no video or audio streams" shows up instead. How can I import the files?

    MOV is a wrapper that can contain many different codecs. The message you get is indicative of a distribution codec inside the MOV wrapper. You may need to convert the material to an editable codec before importing.

  • How to merge multiple live audio streams into a single stream in FMS?

    I need to merge multiple live audio streams into a single stream so that i can pass this stream as input to VOIP through a softphone.
    For this i tried the following approach:
    Created a new stream (str1) on FMS onAppStart and recorded the live streams (sent throgh microphone) in that new stream.
    Below is the code :
    application.onAppStart = function()
    application.myStream=Stream.get("foo");           
    application.myStream.record();
    application.onPublish = function (client,stream)
          var streamName = stream.name;
          application.myStream.play(streamName,-2,-1};
    The problem is that the Stream.play plays only 1 live stream at a time.As soon as a the 2nd live stream is sent to FMS then Stream.play stops playing the previous live stream.So,only the latest live stream is getting recorded.Whereas i need to record all the live streams in the new stream simultaneously.
    Any pointers regarding this are welcome.
    Thanks

    well i tried this once for one of my scripts and the final conclusion is its not possible to combine two streams into 1.....how would you time/encode the two voices......there is no know solution to this in flash. If you continue on despite me and find a solution please post it so we can explain to rest of world.

  • How can I publish and record video stream in h.264 format

    I'm a fresher. I want to publish and record video stream in h.264 and audio stream in AAC format .
    Does flash player support to publish video stream in h.264 format ?
    And which version of flash player and FMS could implement this function ?
    Thank you very much.

    The Flashplayer does not support h264 or AAC publishing. The Flashplayer supports only h.263 (sorenson spark) video, and Nellymoser Asao and Speex audio.
    If you want to publish h.264 you'll need to use Flash Media Live Encoder, or a third party encoder.

Maybe you are looking for

  • IMac hangs at startup - DU says "Volume can't be repaired"

    Came back from holiday to find my 18month old work iMac wont boot up. Opened Disc Utility in safe mode and says "Can't be repaired" and i can't get into the hdd http://i160.photobucket.com/albums/t190/yorkshirezen/B20CEAD0-77C2-4DFD-9600-282 6839EC45

  • As a uni student, should i go for a macbook pro 13 inch or 13 inch with retina? concerns include overheating, lagging etc.

    gotta get a new computer from uni, not too sure on the pro or pro with retina. its deffinately going to be a 13 inch but im concerned about overheating ,the removal of the optical drive in the retina plus ive heard stories that mountain lion and the

  • Cubes to Cube

    Dear All,      I want to make a copy of the exsisting cube and load the exsisting data in that cube to the new cube. Can anone help me, what is the simpler way of doing it, wiithout making any flaws. I am using a BW system not BI Thanks..

  • Video Podcast Playback Issue

    I am having trouble with downloaded podcasts showing "This movie format is not supported" when I try to play the successfully downloaded video podcast on my iPhone 3G. These movies are .mov QuickTime files, but they will not play in the iPhone's iPod

  • Outgoing Email Doesn't Go Through CISCO Router

    Hi, We have Cisco 1900 Series Integrated Services Routers (has a wired router and a wireless router) and since this morning we can not send emails. I inquired with both the ISP and the hosting provider and all settings are correct. I can receive emai