ActionScript 2.0 :: Seek Bar For Streaming Mp3?

Aug 4, 2008

I am working on a music player where the music list is loaded using xml. I am using sound object and the streaming property is set to 'true'. Now I want to calculate sound.duration, but I don't get the actual value when it is streaming, probably because the entire file is not downloaded at once because of streaming, and it is returning the duration of the portion of the file downloaded. So I am unable to develop a seek bar which shows the current position of the music.

I even tried to get the file duration using ID3 tag but the TIME property does not seem to work either.

Another options could be using php to get the duration of the mp3 file and generate an xml file which specifies the duration of the file.

View 9 Replies


Similar Posts:


Flash :: Getting Error While Trying To Seek In My Streaming Video Player

Jan 28, 2010

I'm building a video player here[url]...

It's streaming RTMP, and I'm trying to get my video to seek correctly if the user clicks on the groove bar (gray bar under the green progress bar) Currently it does not seek and gives me a NaN on my duration variable and an error on my progress bar width variable, which is puzzling me.

For some reason my videoDuration variable is coming up as NaN when used inside of my seeker function, also I'm getting a null object reference error when trying to trace out playerCntrls.progressTotalW which is the total width of the groove bar[code]...

View 1 Replies

ActionScript 2.0 :: Streaming Server Ignoring The Seek() Method

Oct 29, 2008

I am building a flash app that will start playing a streaming video (wowza streaming server) x number of seconds in. I have built the player, and I have it reading the file name and start point (in seconds) from an XML file. The problem is, it is ignoring the seek() method. I have traced out the variables, so I know that the value is being passed to the function properly, but it always starts playing at the beginning. Here is the code:

[Code]...

View 1 Replies

Actionscript :: Implement Adobe HTTP Streaming Spec Without Using Their Streaming Server

Dec 14, 2010

As of Flash 10.1, they have added the ability to add bytes into the NetStream object via the appendBytes method URL...The main reason for this addition is that Adobe is finally supporting HTTP streaming of video. This is great, but it seems that you need to use the Adobe Media Streaming Server (URL...) to create the correct video chunks from your existing video to allow for smooth streaming.I have tried to do a hacked version of HTTP streaming in the past where I swap out the NetStream objects (URL...), but there is always a momentary pause between the chunks. With the new appendBytes, I tried to do a quick mock up with the two sections of video from the preceding site, but even then, the skip still remains.Does anyone know how the two consecutive .FLV files needs to be formated in order for the appendBytes method on the NetStream object to create a nice smooth video without a noticeable skip between the segments?

View 6 Replies

Flash :: Streaming Large Files (streaming Media Server)

Jul 2, 2009

We are streaming a one hour F4V from streaming media server 3.5.2 and for some reason it is seeing our one hour video as being 10 hours long. We have tons of other videos and never ran into this problem in any of the other files. This is the only file that exceeds one hour. This occurs in the default player from the streaming server.

View 1 Replies

ActionScript 3.0 :: Streaming Mp3 Using Mms Network Streaming Protocol?

Jan 8, 2009

Is it possible to stream mp3 files from mms url's like this? [URL]

It throws an error when i try the way i use to load mp3 files (it works with other mp3s):

var sndObject:Sound= new Sound();
var reqObject:URLRequest=new URLRequest("mms://example.streamsvr.com/example.mp3");
sndObject.load(reqObject);

[Code]....

View 1 Replies

Media Server :: Streaming Videos From Virtual Location On Flash Streaming Server

Feb 24, 2010

I have a virtual directory (Storage Area Network) in 'C' drive as well as in "webroot" folder in Flash Streaming Server. What do I need to do to make RTMP videos work from SAN directory on Flash Streaming Server. It works fine for http. RTMP from vod -> application folder works fine. I have done a lot of research and found out that we can use virtual directories for streaming videos. I am unable to find steps on how to use it..

View 4 Replies

Use Seek() In Flowplayer With An FLV File?

Nov 16, 2009

Is it possible to use Flowplayer (flowplayer.org) and the seek() function with an FLV file?

View 3 Replies

Actionscript 3 :: Seek Bar In Flash?

Jun 1, 2010

I have created a flash movie in AS3, I wanted to have a seek bar [or a Back and Forward button] to move my movie forward/backward.

View 1 Replies

ActionScript 2.0 :: Clicking FLV Seek Bar?

Oct 24, 2008

if Flash can listen for a click/drag on the seek bar playhead from the FLV player controls? I'm attempting to perform an action when a user drags the playhead through the video.

View 2 Replies

ActionScript 2.0 :: Add Seek Bar MP3 Player?

Sep 24, 2009

I built an MP3 player a couple years back in AS2. I have tried various tutorials and can't seem to implement a basic seek bar. I am hoping for something with a draggable scrubber bar.I have attached the .as file, and stripped out all my failed seek bar code. It's currently published to work with Flash Player 8, and works fine - except for no seek bar.

View 2 Replies

ActionScript 2.0 :: Clickable Seek Bar?

Sep 29, 2011

iam using media display for display video , and media controller for controlling flv video, i want the seek bar to be clickable ,i made the clicking,but how to make the video to jump to the clicked time line. iam editing the mediacontroller.fla in .../en/components/ and coverting it into swc and using it

on(release)
{
var mcli = _parent._tray._xmouse;

[code].....

View 1 Replies

ActionScript 3.0 :: Seek Button For FLV Component?

Oct 29, 2009

I'm building an flv player using the cs4/as3 video playback component as a basis with custom buttons on the interface. I'm trying to figure out how to do rewind or fastfoward using a button instead of a scrub bar. I've seen plenty of tutorials on how to develop a scrub bar but I can't figure out a way to apply the theory to a button you hold down and it fast forwards/rewinds until you mouse off.

Obviously a mouse_down event only fires one signal and causes a jump effect if you click repeatedly, so is there a way of firing multiple events whilst holding down the mouse button?

Code:
flvPlaybackComponentname.seek(flvPlaybackComponentname.playheadTime + fastForwardSeekAmount);

to achieve the skip through the video, but this only happens as I said with multiple clicks.

View 4 Replies

ActionScript 3.0 :: Timeline Seek Bar For Animation

Oct 27, 2008

I'm not able to create a working seek bar (or progress bar or timeline bar) to give the viewer complete control for where they want to play an animation. The animation is a .fla file, which moves frame-by-frame with motion tweens). There are 4446 total frames (at 12 fps), so I'd like the viewer to be able to skip ahead or back as they desire. The instructions I've found so far all have to do with FLV files instead of FLA.I've tried the following Actionscript, but I get errors(which are also listed below). As the seek bar object, I'm using the UIScrollBar (with a horizontal direction).[code]I'm more than willing to try a different Actionscript.

View 4 Replies

ActionScript 3.0 :: H.264 .mov And NetStream.seek Not Working?

Apr 6, 2009

When working with MOV files using the h.264 codec and AAC sound I am unable to get netStream.seek to work correctly. No matter what argument I pass to netStream.seek it will always seek to 0. I have this problem on both a legacy as2 and a newer as3 video player I have built. Regular flvs work perfectly on both players.

View 1 Replies

FLV Playback Seek Bar Handle Not Disappearing?

Sep 22, 2009

I have child movie in a project that contains a FLV Playback instance with an associated Seek Bar component.  The child movie fades in and fades out when a button is pressed.  When a the child movie fades-out, the handle of the seek bar is retained.  If I watch the movie multiple times, multiple seek bar handles remain behind.

[URL]
 
Click the "View Entry Footage" button and then click the "Return to Map" button. 

View 2 Replies

ActionScript 3.0 :: Flv Length/creating A Seek Bar?

May 15, 2010

I'm using the following code to load a flv:
 
var connection:NetConnection = new NetConnection();var stream:NetStream;var videoMain = new Video(600,340);var metaObj:Object = new Object();
function onMetaData(data:Object):void{}

[Code].....
 
I can create play/pause funtionality just fine with stream.play(); and stream.pause();, but I also want to have a seek bar for the user to scrub. I'm just starting this, and I think I can do it once I figure out how to call the flv total length and link it to a custom seek bar movieclip.   So is there a way to call on the total length of a flv file?
 
such as:
 
var videoLength:uint = videoMain.length;

View 1 Replies

ActionScript 3.0 :: VideoDisplay Seek Always Goes To The Same Location

Aug 2, 2010

Do you know why the VideoDisplay.seek() would always go to the same frame at 1 second, no matter whether it is asked to seek forward or backward?  This happens to some MP4 and other others.  Is there some functions or variables I need to set?The MP4s that don't work with VideoDisplay.seek(), can be seeked using Quicktime.

View 5 Replies

ActionScript 3.0 :: Seek To Cue Point Vs Time

Mar 26, 2011

I know seeking to a cue point is known to be inaccurate at times so I'm wondering if the accuracy of seeking to time and secs better. So far I've seen no true difference.

View 12 Replies

Media Server :: Seek Bar Updation In DVR?

May 30, 2011

Currently i am working with the dvr functionality here i need to set the seek bar for the video. This could be used to seek the video to the particular position. I don't know how to set the maximum time on the seek bar dynamically (Since its DVR maximum time will be increase if publishing video is continues) .I think through the metadata we can get the total time of video Tell me how to call the metadata externally .

View 5 Replies

ActionScript 3.0 :: FLVPlayback: Seek Is Not Accurate Enough

Jul 18, 2011

My FLV is paused and I do a seek to FLVPlayback.playheadTime-1. This i.e. equals to 22-1=21. It works, but than VideoEvent.PAUSED_STATE_ENTERED is called and my trace shows playheadTime = 22 and nothing changed. If I seek to playheadTime+1. This i.e. equals to 22+1=23 my onPaused trace shows playheadTime = 24 and my FLV advanced 2 sec. not 1. So there is always 1 sec. added to playheadTime and its cut to absolut .000 numbers.
 
It seems like FLVPlayback alligns my seek into blocks of 2 seconds. But I need to position more accurately and jump in half seconds even.
 
[Code].....

View 6 Replies

C# :: Unable To Seek In Flv Movie On IIS7

Jul 15, 2010

I have 2 identical ASP.NET applications, one running on Windows Server 2003 with IIS6 and another running on Windows Server 2008 with IIS7.

The one on IIS6 runs perfectly, but on IIS7 I'm unable to seek while playing my video. They are both using the exact same HTTP-handler for streaming.

I'm using the JW player for Flash (v. 5.2) and Sorenson Squeeze 6 for converting the videos from .mpg to flv. The FLV stream-handler is very (but not completely) similar to the one on this site

The one on IIS6: demo.orbicon.dk/wgv
The one on IIS7: kloakkort.nk-forsyning.dk/webgrafvideo/?filename=15050

View 1 Replies

ActionScript 2.0 :: Getting Flv Video Seek Bar Control?

Aug 3, 2009

i am working in Flash AS2. still now i want one flv video play back with seek bar control animation script (not a Flvplayback component).

View 0 Replies

ActionScript 2.0 :: Seek Bar For An Embedded Video?

Nov 19, 2010

Does anyone know of any tutorials that explain how to make a seek bar with a handle that will be linked to the main timeline, so that when you move the handle the animation will move too, e.g. if you drag the handle to the centre of the bar then it will skip to the middle of the animation?

I currently have a handle that move on the x axis with in a set boundary, but not sure how to link it to the main timeline.

View 0 Replies

ActionScript 2.0 :: FLV Playback - Seek Bar Not Moving

Dec 17, 2010

I'm using the FLVPlayback component and using ClearExternalAll as my skin. I noticed that the SeekBarHandle does not move while the video is playing. I can drag the handle to go to different parts of the video, but it does not move by itself as the video plays. All other buttons work fine. I've already tried setting the total FLV video length in the parameters, but that didn't work. How to make the slider move as the video plays. Is there any other skin i can download from ??

I am using
import mx.video.*;
if(movB == 1){
vidPlayer1.load("images/01.flv");
vidPlayer1.isLive = true;
vidPlayer1.totalTime = 165;
}else if(movB == 2){
[Code] .....

View 1 Replies

ActionScript 2.0 :: Circular Seek Bar Is Missing

Jun 21, 2011

I'm trying to build a circular player. I've done it with a mask but the seek bar is missing. I couldn't find a circle one. The seeking is not necessary. I want to at least show how much played of how much.

View 0 Replies

Actionscript 2.0 :: Seek Bar Making For FLV Player?

May 22, 2009

Now i am doing a FLV Player. But how to make a seek bar for that.?

View 5 Replies

ActionScript 2.0 :: Make Seek Bar In My MP3 Player?

Apr 23, 2008

I want to make seek bar in my MP3 Player.

View 1 Replies

ActionScript 3.0 :: Disappearing Seek Bar Handle

Mar 21, 2009

So I have a flash file I'm working on. I have an FLVPlayback Component inside a movie clip called mcVideo. I have that clip set up with a MainVideo class which sets the player and all the controls.

Everything works except that I do not receive a seekbar handle, ever. I get a seekbar that shows the loading progress, but the handle never appears. Whether I create an instance of the seekbar in the AS3 class or if I drag an instance of it onto the stage of mcVideo. The loading progress always shows, but never the actual handle.

View 1 Replies

ActionScript 3.0 :: Video Scrubber/Seek Bar?

May 11, 2009

I'm looking for a tutorial on the interwebs to create a scrubber for the length of a movie clip.For example:If a movieclip is 300 frames long, the beginning of the scrubber would be Frame 1 and the end would be Frame 300 with Frames 2-299 in the middle.I'd like the user to be able to scroll through the movie much like a Quicktime VR

View 2 Replies







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