ActionScript 3.0 :: Create A Player To Stream Audio Files?

Feb 22, 2011

need to create a player to stream audio files (mp3 and other audio extentions) in my website. To create this player I used flash cs3 and actionscript3.I found actionscript 2 is easyer to creat and get duration (mysound.duration) but in ac3 I can't get sound duration with this syntext : "mySound.duration"attention : In ActionScript3 BEFORE loading is completed , I need my audio file in player to show duration and displayed minute and second in the stage.I tried so many solutions in the internet but all of them provide sound duration AFTER loading is Completed (but I need sound duration BEFORE loading is Completed)attention : My audio files are multi bitrate rang exp.(24 kbs , 34kbs , 128kbs or higher).I am trying to get audio DURATION of audio "total bytes" but these solutions just are right for only 128kbs audios.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Audio Stream Player : Getting Informations From The Source

Sep 11, 2011

I'm trying to create a webRadio player, wich different sources. On a click on a button, the player plays the corresponding flow. I would like to display some informations, like : current music, url, description, I think it's possible to have all those informations, because when I play my. files in my audio player (winamp), I've got them. Here is my code corresponding to this part :

[Code]...

View 4 Replies

Media Server :: Stream Protected Audio To Html5/js Player ?

Oct 12, 2011

I have read that you can stream protected audio/video to iOS based devices with the new FMS 4.5.Is it also possible to stream protected A/V to a HTML5/JS based Player.

View 2 Replies

Force Flash Player To Play Audio Stream Of A Video File?

Apr 20, 2011

I'm trying to force the Flash player to play video files without showing screens. I did try to set vidDisplay.visible to false. But it seemed not working at all.I was doing was try to build a generic media player. Whatever the source is(audio or video), the control panel always the same, namely, a mp3 player panel is always displayed:However, when I stream in a video file, it would end up overriding mp3 panel with a partial video screen. I don't have enough reputation to upload images...

View 1 Replies

Actionscript 3 :: Stream Playback From Wowza Has Audio Crackling On Flash Player

Feb 2, 2012

I have a custom Flash video player that uses the NetConnection and NetStream classes to stream mp4 files from a Wowza server. Lately the playback has been having audio problems. The sound is crackled and in some cases may cause the Flash player to crash. This is not consistent between files. Meaning that a file that was played once with bad audio could be fine 5 minutes later when played again from a new instance of the player , but 5 minutes later have the same problem.

My thought direct me to thinking this was an encoding problem, but that wouldn't explain how one second the playback is fine, and once refreshed messes up again.

I should note that the Wowza server does not stream the entire file but only a portion of it based on various parameters it gets.

View 1 Replies

C# :: Develop A Silverlight Or A Flash Player Capable Of Reproducing The Stream Audio And Video?

Feb 20, 2011

I have a VLC player streaming my webcam video through RTSP on 5544 port, the video is encapsulated with MPEG-TS and compressed with MPEG-4 for both audio and video (as is VLC's default I suppose)You can access the streaming video with the following URL:[URL] All is working till here. I could also change transport protocol/incapsulation, that's not a problem since VLC allows me to do it.I want to develop a silverlight player (preferred) or a flash player capable of reproducing the stream (audio and video).I don't know how to do this.The question is: I could not find a link on the internet on how reproducing a VLC stream with a silverlight(preferred) or flash applet in a web pageSince I'm not a Silverlight/Flash developer.

View 1 Replies

Actionscript 3.0 :: Flv Player Will Stream Everything But .flv Files?

Jun 1, 2010

i feel like a fool right now. i'm working on a streaming (rtmp) player and i can't get it to stream .flv files. .mov .mp4 stream fine..

it sees the flv fine , loads it. runs the logic, but it never fills the buffer. it just hangs on "event.info.code: NetStream.Play.Start"

the .mov / .mp4 buffers and plays fine.

i've tested the flv with other player so i know it works.

i made and flv player that dosn't play flvs.... what a fail

Code: Select all public class player extends MovieClip {
public var rtmpPath:String = "rtmpe://path here";
public var vid:Video = new Video();
public var nc:NetConnection;

[Code].....

View 1 Replies

Flash :: Ffmpeg On Windows: Use Mp3 As Audio Codec To Create Mp4 Files?

Nov 29, 2010

I'm using ffmpeg on Windows to create mp4 files for web distribution. As libfaac isn't available, I use libmp3lame to encode the audio tracks. The mp4 are played back with a falsh player (JWPlayer).I was wondering if there were any shortcomings to use mp3 instead of aac on certain devices?

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

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 :: Create An Audio Player With Play, Stop, And Pause Buttons?

Apr 16, 2010

I want to do something that is probably very simple, but I'm having difficulty.
 
I want to create an audio player with play, stop, and pause buttons that I can then import into Fireworks/Dreamweaver. 

View 2 Replies

Create A Music Player In Flash That Creates A Waveform Of The Audio File?

Jan 16, 2010

I have got three screenshots below of Flash-based audio players on various websites that draw a waveform of the clip it is going to play and moves along while it is playing and also allowing the user to click on a point on the audio file and it jumps to that point.I have very little Flash knowledge but is this easy to achieve? I would like to just show the Flash file an mp3 and it draws the waveform. I understand this could be quite intensive on CPU so would there be a way of caching the waveform data so it doesn't redraw each time the file is loaded?

View 5 Replies

ActionScript 3.0 :: Create An Equelizer For Audio And Video Files In Flash/Flex?

Dec 9, 2011

I want to create an equelizer for audio and video files in Flash/Flex.
 
1) Is it possible for audio files other than MP3(i.e. FLV, MP4 etc.)

2) Is it possible for video file to display equilizer?

3) I am creating a voice and video recorder application using FMS 3.5.Now is it possible to display sound equilizer while recording as well as while playing the netstream ?

View 1 Replies

ActionScript 3.0 :: Audio Synchronization - If The Audio Were On The Timeline You Could Set Sync Params To Stream?

Mar 11, 2010

Because the player optimizes framerate, antialiasing etc dependent on the performance capabilities of the platform upon which it is running, it was nearly impossible to ensure animation syncronization w/ audio. If the audio were on the timeline you could set sync params to stream, but if the audio is loaded programically forget it .. well until AS3 ..The following code throttles the player framerate to lock step the animation to the audio .. not perfect but the principal works ..

View 1 Replies

Php :: Recording Audio On Website: Red5 Stream Or Posting The Audio Data?

Sep 6, 2011

Let me first establish what I want to do:My user is able to record voicenotes on my website, add tags to said notes for indexing as well as a title. When the note is saved I save the path of the note along with the other info in my DB.Now, I have 2 choices to do the recording, both involve a .swf embedded in my site:

1) I could use Red5 server to stream the audio to my server and save the file and return the path to said file to my app to do the DB saving, seems rather complicated since I would have to convert the audio and move it to the appropriate folder that belongs to the user in a server side Red5 app, which I'm not very aware of how to build.

2) I could simply record the audio and grab its byte array, do a Base64 encoding on it and send it to PHP along with the rest of the data that is necessary (be it by a simple POST or an AJAX call), decode it on the server and make the file with the appropriate extension, audio conversion would also occur here using ffmpeg, this option seems simpler but I do not know how viable it is.

View 1 Replies

Media Server :: Stream And Audio Line Level Feed Rather Than The Audio From A Computer's Microphone?

Apr 1, 2012

Is there a way to stream and audio line level feed rather than the audio from a computer's microphone?

View 1 Replies

ActionScript 2.0 :: FREE Open-source Files To Create Audio-driven Flash?

Jan 31, 2002

I've created something that comes close.Download includes all open-source material and a manual to create your own audio-driven animations in Flash 5, and a player skinned by renascent of [URL]

View 8 Replies

ActionScript 3.0 :: Create XML File Dynamically By Selecting The Music Files Using The Player?

Nov 23, 2010

I was trying to make a media player with AS3 coding.. I know how to make play, pause, next buttons etc.. And i also learned to load playlist from a XML file (created mannually)..What i actually need is to browse the computer and select multiple files and add those files to a playlist.. All these must be done with the media player itself(not manually typing the XML data).. XML file dynamically by selecting the music files, using the player.. Or is there some other method to create playlist without making the XML?..

View 6 Replies

Asp.net :: Skinnable Audio Player (or Something Similar To Windows Vista Audio Control In Task Bar) For The Web?

Mar 11, 2010

Anyone know of a skinnable audio player (or something similar to Windows Vista audio control in task bar) that i can embed in my website?

A player that can be customized to use a 'speaker' icon instead of a 'play' icon. When the speaker is clicked, the volume can be adjusted or turned off. The option of being able to autoplay and set the default volume level.

View 1 Replies

ActionScript 1/2 :: Audio To Not Play When Moved To New Position For Audio Player

Aug 25, 2009

I have an audio player that has a custom timeline and playhead. I am using a start and stop drag to move in the time line but the only way i can make it work is to have it play when ever I release the play head. I would like it to stay stopped if the player is paused and play if the player was playing.
 
[Code]...

View 5 Replies

Flash :: Audio Player That Can Play Binary Audio Streams?

Apr 13, 2011

My server is streaming binary audio data (mostly mp3 files) to a client (a browser). This client stores the audio data in memory.

What I'm looking for is a flash audio player that I can input the binary audio data so that it can play the audio file.

Preferably, the flash client is merely a bridge to Javascript so that I can handle everything in Javascript and simply use Flash's audio features, but this is not a requirement.

View 1 Replies

Html :: Flash Audio Player For M4a (AAC) Audio File Embedded?

May 15, 2007

I'm looking for a (free) flash player that I can embed in my site and use to play a .m4a (.mp4 with AAC audio) file that will be obtained using a URL (i.e. it's not local to the server hosting the web page).I've tried searching on google for one, but either I'm searching wrong or no one has made such a thing. Ideally this would be very simple (small user interface with play button and maybe a progress bar) and it would be easy to have multiple instances of on an html page (can create the player with an <object> tag).

View 7 Replies

IDE :: Progress Bar For An Audio Player Streaming Audio From Wowza Server?

Feb 24, 2011

I am new in action script 3.0. i am trying to build an audio player which will stream audio(mp3 etc.) from wowza media server. the player needs to have a play button, stop/pause button, a play progressbar and a volume scroll bar. i am using NetStream object to paly the audio

View 1 Replies

Possible To Stream Only Audio?

Jun 8, 2011

Does anybody knows if it it possible to stream only audio?

I'd like to stream video+audio (different qualities : ~1000 kbps and ~400 kbps) and audio only for low-bandwidth (~128 kbps).

Adobe Flash Media Encoder Live allows me to stream different qualities. And what about audio-only stream?

And of course I don't want just to hide video on client-side.

View 2 Replies

ActionScript 3.0 :: How To Stream Audio Using Php

Nov 21, 2009

I'm interested in setting up a site where I can put MP3 files on my server (outside the web root) and stream them to a flash application. I'm not talking about progressive download here. The basic idea is to let visitors hear a band's music without actually downloading or caching an mp3 or SWF which could be located as a file and saved or ripped.I have seen this awesome tutorial on streaming an flv and was wondering

View 2 Replies

ActionScript 3.0 :: Stream Asx Audio In Flash?

Jan 9, 2009

I would like to stream asx audio in flash, is this possible?

View 2 Replies

Media Server :: HLS VOD Audio-only MP3 Stream?

Apr 7, 2012

I'm trying to setup an audio-only, on-demand HLS stream in FMS 3.5. I have no problems streaming the sample f4v files via HLS, nor do I have any issues streaming the mp3 files via RTMP to a Flash client. However, when I try to stream a sample mp3 via HLS (the mp3 file is located in the same directory as the sample f4v's), I get a 404 error. I can't find anything in the documentation about streaming audio via HLS on-demand.

View 1 Replies

Flex3 :: Stream Video And Audio

Mar 1, 2012

i am new to flex. I have this task. My boss wants an application that will enable his secretary in another room listen and view and probably take minutes of his meeting in the conference room. There is a webcam attached to one of the computers in the conference room.

View 1 Replies

ActionScript 3.0 :: Stream Audio With Flash And PHP?

Nov 21, 2009

I'm interested in setting up a site where I can put MP3 files on my server (outside the web root) and stream them to a flash application. I'm not talking about progressive download here. The basic idea is to let visitors hear a band's music without actually downloading or caching an mp3 or SWF which could be located as a file and saved or ripped. I have seen this awesome tutorial on streaming an flv and was wondering if anyone can recommend a PHP/AS3 solution which would let me do the same for audio.

View 9 Replies

ActionScript 2.0 :: How To Stream Audio Clip Through RTMP

Aug 20, 2009

I'm trying to stream an audio clip via rtmp in as2. I'm not particularly attached to the method, but this is the starting point I am at below:

Code:
var s:Sound = new Sound();
var req:String = "rtmp://path/filename"; //doesn't work
var req:String = "[URL]"; //This works
s.loadSound(req, true);

I need to get an RTMP audio stream working, does anyone have any experience with this? (Also not sure if this goes in the actionscript folder or the sounds folder.

View 3 Replies







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