Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-31-2007, 09:16 PM   #1
tsj4
Senior Member
 
Join Date: May 2005
Location: San Francisco
Posts: 741
Default FLV initial sound problem

in my flv player when the player triggers the ns.play('somevideo.flv") I here a crackle or some sort of chirp at the very beginning even if autoPlay is set to false. It might be the beginning of the audio of the .flvcode. I am wondering if it is my code or if someone else has experience something similair.

code:

ActionScript Code:
if (autoPlay_FV == "true") {     ns.play(flvURL_FV);     ns.seek(0);     trace("play");     _global.playStatus = true; } else if (autoPlay_FV == "false") {     ns.play(flvURL_FV);     ns.seek(0);     ns.pause(true)     _global.playStatus = false; } else {     ns.play(flvURL_FV);     trace("play");     autoClose = setInterval(forceClose, 10, ns); }
tsj4 is offline   Reply With Quote
Old 08-01-2007, 02:01 AM   #2
atomic
Banned by AS.org Staff
 
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,073
Default

Same problem on any .flv, or just on this particular one?
atomic is offline   Reply With Quote
Old 08-01-2007, 03:24 AM   #3
pan69
Fight ya for a pint!
 
pan69's Avatar
 
Join Date: Jan 2005
Location: Sydney / Australia
Posts: 1,706
Default

Does the same occurs when you play the video with a player like VLC?

http://www.lukeschreur.com

Last edited by pan69; 10-14-2012 at 04:54 AM.
pan69 is offline   Reply With Quote
Old 08-01-2007, 05:07 AM   #4
tsj4
Senior Member
 
Join Date: May 2005
Location: San Francisco
Posts: 741
Default

sorry for the late response. I have noticed it happens to any. Sounds like when the net stream is initiated the player makes a crackling sound but some times it is obviously the first piece of the audio that begins and then stops.
tsj4 is offline   Reply With Quote
Old 08-01-2007, 05:10 AM   #5
tsj4
Senior Member
 
Join Date: May 2005
Location: San Francisco
Posts: 741
Default

Pan69 I use wimpy flv or perian for quicktime but no it does not seem to be a sound artifact at the beginning of the file if thats what you are getting at.
tsj4 is offline   Reply With Quote
Old 08-01-2007, 06:29 AM   #6
pan69
Fight ya for a pint!
 
pan69's Avatar
 
Join Date: Jan 2005
Location: Sydney / Australia
Posts: 1,706
Default

Yep, thats what I was getting it, if you don't here it in another player you can safely say its not in the sound data. It sounds like there is some residue data in the sound buffer. What player version are you using and are you using by any change a debug player?

http://www.lukeschreur.com

Last edited by pan69; 10-14-2012 at 04:54 AM.
pan69 is offline   Reply With Quote
Old 08-01-2007, 07:19 PM   #7
tsj4
Senior Member
 
Join Date: May 2005
Location: San Francisco
Posts: 741
Default

I am using 9,0,47,0 but I have noticed this on multiple player versions. Not sure if it is a debug player.
tsj4 is offline   Reply With Quote
Old 08-01-2007, 11:11 PM   #8
pan69
Fight ya for a pint!
 
pan69's Avatar
 
Join Date: Jan 2005
Location: Sydney / Australia
Posts: 1,706
Default

Are you using progressive download or are you using a streaming server to retrieve the FLV data?

http://www.lukeschreur.com

Last edited by pan69; 10-14-2012 at 04:55 AM.
pan69 is offline   Reply With Quote
Old 08-01-2007, 11:13 PM   #9
tsj4
Senior Member
 
Join Date: May 2005
Location: San Francisco
Posts: 741
Default

progressive download
tsj4 is offline   Reply With Quote
Old 08-02-2007, 12:16 AM   #10
atomic
Banned by AS.org Staff
 
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,073
Default

In the Property Inspector, set the initial volume at 0, then when the player starts playing, re-set it to 100 or whatever else...
atomic is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
big problem emergency: sound problem adamdaly ActionScript 2.0 1 05-15-2007 01:48 AM
Sound problem Zebdaag ActionScript 2.0 0 02-24-2006 10:26 AM
drag & drop audio - slight problem :) whiteybags ActionScript 1.0 (and below) 6 05-31-2004 02:39 PM
sound problem flashdudette ActionScript 1.0 (and below) 2 04-08-2003 03:24 PM
help with sound problem jake88 ActionScript 1.0 (and below) 4 02-09-2001 10:24 PM


All times are GMT. The time now is 04:33 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.