Audio dropping from recorded stream during playback
NOTE: I posted this same question on the Adobe Groups FMS
Users page.
I am using Stream.play() on the server side to set up a hub
to switch between live streams and recorded streams. Basically, I
have a live video stream that we want to switch in a recorded
segment (flv) at the end of which we go back to the live stream.
Both the live stream and the recorded stream are at the same data
rate.
I'm following the code samples from:
http://livedocs.adobe.com/flashmediaserver/3.0/hpdocs/help.html?content=00000386.html
The problem I'm having is that the audio starts for the
recorded segment but goes silent after the first 2-3 seconds of
audio. This happens every time the clip is played. This clip plays
fine when linked to directly, without being part of the hub system
using Stream.play(). I have tried this with several recorded
segments with the same result.
Has anyone seen this happen before?
Thanks for the suggestion Jody. Would this work in 3.0.3 as I
am not on 3.5 yet? I tried adding this to the fms.ini for 3.0.3 and
nothing changed. It may also be worth noting that I am having the
issue even with only a single user connected.
When the client sends a message to the server to play my
"demo" the server calls the following lines of code:
application.mainStream = Stream.get("foo");
application.mainStream.play("shortDemo", 0, -1, false,
application.myVODConn);
application.mainStream.play("liveEncoderVideo", -1, -1,
false);
This should switch from the currently playing
"liveEncoderVideo" stream to the "shortDemo" and then back.
The myVODConn is getting set up right as I can see the demo
but again the audio just drops out after 2-3 secs. I also tried to
use the AdobeBand sample files and I get the same thing.
Similar Messages
-
Audio drops mid recording and/or playback
I recorded a video on my 3gs phone last night and it isn't that long, maybe 4 minutes in length. I was able to upload to my computer and when I went to play it back the audio drops halfway through. I checked on my iPhone and the audio drops out there as well. Anyone know why or how this happened that when I'm recording something the audio just stopped being recorded while the video was still recording?
I recorded a video on my 3gs phone last night and it isn't that long, maybe 4 minutes in length. I was able to upload to my computer and when I went to play it back the audio drops halfway through. I checked on my iPhone and the audio drops out there as well. Anyone know why or how this happened that when I'm recording something the audio just stopped being recorded while the video was still recording?
-
Synchronizing streams during playback
Hi does anyone know of a good way to synchronize separate
(video/audio) recorded streams during playback?
For example takea video conferencing app; I can can record
each stream separately but during playback is there anything i can
do force them to be synchronized? From reading around, it seems
like the answer is "No".. Any thoughts?quote:
Originally posted by:
JayCharles
Unfortunately, what you've found from your reading is pretty
much it. There is no way to sync FMS streams reliably.
Thats very interesting considering the effort Macromedia took
to provide playback functionality in streams (video/audio and even
data). It almost seems like an oversight that streams can't be
synchronized.
Thanks for the reply Jay. -
Changing subtitle stream during playback of Video track
Hi all,
Can someone please help me out with changing the subtitle stream during playback of a video track? The subtitle button doesn't seem to cycle through the 4 languages we have on the track.
thanks!hey nipponese (great name)
when you press the subtitle button, does it restrict you, or does it not go through all 4 subs, or maybe even, does it go through more than your original 4?
do you have a menu, or is it just the video, audio and subs?
Mike -
Hi Guys,
I was wonderng if you could help me. I have been a FIOS customer for many years and have a multi-room HD DVR and 2 HD set-top boxes. I have always had some problems during playback on some recordings where the picture and sound will skip, but over the last several months some new problems have appeared. Frequently during playback of recorded shows the recording will stop playing and I will get a message on the screen "unable to locate hub". I then have to power off the STB, reboot and when I go to the dvr option I have to refresh the devices before connecting to the dvr again. If this happens while a show is recording then the recording stops and then restarts causing the show to be split into 2 recordings. Sometimes I get a message "You have reached maximum playback on DVR". This really frustrating and I would like these issues resolved. I have the older HD dvr, 1 new hd set-top box, and 1 old hd stb. The playback issues happen on both hd stbs. We don't usually watch shows on the dvr itself so I am not sure how it performs during playback. 1 other note that might help troubleshooting is that I can't seem to display the IMG in full screen on the dvr.
Thanks in advance for your help,
Sincerely,
Randy R.uncorrdinated wrote:
Hi Guys,
..I. Sometimes I get a message "You have reached maximum playback on DVR". This really frustrating and I would like these issues resolved. I have the older HD dvr, 1 new hd set-top box, and 1 old hd stb. The playback issues happen on both hd stbs. We don't usually watch shows on the dvr itself so I am not sure how it performs during playback. ..
Thanks in advance for your help,
Sincerely,
Randy R.
You can only do 1 playback at a time UNLESS you are playing back from the DVR/HUB. If you want to do 2 simultaneous play backs, one of them must be from the DVR. I ran into this same message when my wife would watch a recorded program in one room and I would try to watch a recorded program in another room. Fixed it by moving the DVR to one of the rooms where the conflict occured most often. As for the "unable to locate hub" message. This was a very common problem about a year ago, which was fixed with a software update. You need to check what version software is on all your boxes. -
Acquire/manipulate audio data from internet stream
I want to acquire the audio data from an audio stream (i.e. pandora, youtube, etc.) from the internet. If I can get this data and be able to play it/graph it/etc in Labview, I will be pleased. However, I'm not sure if this is even possible not knowing the details behind how packets are built and transmitted over the internet.
The closest I've come is using the acquire_sound.vi and taking the data from the sound card; albeit, it's very noisy.
For fun though, I'd like to do something directly from the audio stream itself (perhaps building a dll?) to gain a better understanding and experience.
Any advice is greatly appreciated!Dnor -
As far as I am aware there is a specific data time for audio streaming online, and it's something specific you would likely need to know on a low level to communicate/copy to. Although it wouldn't be real-time, you can run a Windows audio recording program like TotalRecorder which should save and convert the audio output to .wav. Then run a LabVIEW vi to read the wave file, which you could graph. There is a KnowledgeBase on setting up the read from .wav file here if you'd like to go that route: http://digital.ni.com/public.nsf/allkb/1BE60DBBFA22ACC186256DFB000B8464.
Regards,
Ben N.
Applications Engineering
ni.com/support -
Dropped Frame Error Message During Playback in Snow Leopard
I have FCE 4.0.1 and I just recently upgraded to 10.6.1 and now I keep getting these error messages during playback saying Dropped Frames. Its telling me to try lowering my audio playback quality, increase my ram, etc.. Before I upgraded to Snow Leopard I never got these errors. I have a 8 core Mac Pro with more than enough ram and hard drive space and again this wasn't happening until I upgraded. Can someone assist and tell me why this is happening and what can fix this issue.
You can try trashing your preferences and rebooting and repairing permissions and running Disk Utility, the usual maintenance suggestions, but I think the real issue is the OS and software installation, and the only way to fix that is to redo it.
-
Recovering audio signal from PCM stream
Hi i want to recover an audio signal from a PCM stream which is being transmitted by a third party system on RS 422 wires. the only information i have about the PCM stream is
sampling freq 16kHz
bits 8
quantization tech u Law qunatization
over all PCM data transmmison vlaue mentioned is 2.408 M bits
please suggest me if it is doable or not . further more suggest the proper NI hardware as well as software modules required to achive this. will NI 9401 do this jobTirmizi,
I think it may be possible. You could not use a 9401 but if you had a USB to RS-422 converter you could probably read the PCM data into LabVIEW using VISA functions.
If you can successfully import your data to LabVIEW, I found a similar forum post that explains the functions in LabVIEW to use to create a .wav file and what you can do with it:
http://forums.ni.com/t5/LabVIEW/Raw-PCM-to-WAV/m-p/2739674
Hope this helps!
Jon F.
Applications Engineer
National Instruments -
Draw an audio waveform from recorded sound
I have problem with draw static waveform from recorded sound. Here is an example of which I wanted to use: http://cookbooks.adobe.com/post_Draw_an_audio_waveform_from_an_MP3_file-16767.html
Here is an excerpt of my code, where the recorded sound, and I play it:
public function startRecording():void
stop.enabled=true;
soundClip = new ByteArray();
microphone = Microphone.getMicrophone();
microphone.rate = 44;
microphone.gain = 100;
microphone.addEventListener(SampleDataEvent.SAMPLE_DATA, microphone_sampleDataHandler);
public function stopRecording():void
play.enabled=true;
microphone.removeEventListener(SampleDataEvent.SAMPLE_DATA, microphone_sampleDataHandler);
level.width = microphone.activityLevel * 0;
level.height = microphone.activityLevel * 0;
protected function microphone_sampleDataHandler(event:SampleDataEvent):void
level.width = microphone.activityLevel * 1;
level.height = microphone.activityLevel * 1;
while (event.data.bytesAvailable)
var sample:Number = event.data.readFloat();
soundClip.writeFloat(sample);
public function startPlaying(soundClip:ByteArray):void
this.soundClip = soundClip;
soundClip.position = 0;
sound = new Sound();
sound.addEventListener(SampleDataEvent.SAMPLE_DATA, sound_sampleDataHandler);
channel = sound.play();
protected function sound_sampleDataHandler(event:SampleDataEvent):void
if (!soundClip.bytesAvailable > 0)
return;
for (var i:int = 0; i < 8192; i++)
var sample:Number = 0;
if (soundClip.bytesAvailable > 0)
sample = soundClip.readFloat();
event.data.writeFloat(sample);
event.data.writeFloat(sample);
Is there any other way than to save the recorded sound as mp3 (which will also be complicated), or can I use this example given and work on ByteArray? I tried to redo it a little, I'm sitting on this already a lot of time and unfortunately to no avail. Any ideas? Tips?
I would like to compare the recorded sound with the original. Draw waveform will be the first step. Maybe you also have some tips of how to compare the two sounds?
I would be very grateful for every answer,
LillyMaybe not related to your problem, but your plugins list shows outdated plugin(s) with known security and stability risks.
# Shockwave Flash 10.0 r32
# Next Generation Java Plug-in 1.6.0_17 for Mozilla browsers
Update the [[Java]] and [[Falsh]] plugin to the latest version.
See
http://java.sun.com/javase/downloads/index.jsp#jdk (you need JRE)
http://www.adobe.com/software/flash/about/
See [[No sound in Firefox]] and [[Video or audio does not play]] -
Audio tracks are auto muting during playback...
Is anyone else experiancing auto-muting of a selected audio track when the play button is toggled? It is very annoying, and i'm wondering if its a bug or whether i have messed up some settings? At first i though it was only on track i had used the bounce in place feature (.bip but it happens to any audio track that is selected when the play is toggled!
Help?Thanks for the suggestion Jody. Would this work in 3.0.3 as I
am not on 3.5 yet? I tried adding this to the fms.ini for 3.0.3 and
nothing changed. It may also be worth noting that I am having the
issue even with only a single user connected.
When the client sends a message to the server to play my
"demo" the server calls the following lines of code:
application.mainStream = Stream.get("foo");
application.mainStream.play("shortDemo", 0, -1, false,
application.myVODConn);
application.mainStream.play("liveEncoderVideo", -1, -1,
false);
This should switch from the currently playing
"liveEncoderVideo" stream to the "shortDemo" and then back.
The myVODConn is getting set up right as I can see the demo
but again the audio just drops out after 2-3 secs. I also tried to
use the AdobeBand sample files and I get the same thing. -
Alarming buzzing from external Hd during playback
Hi- there's no sign of clipping when I play my project, and input levels are well down. Yet at certain points in the piece the external HD from which I'm working buzzed alarmingly.
Could the reason be 1) because it's on the external HD ?
2) Because I'e got 3 instances of Space Designer loaded:- a) with 5 EXS instruments b) with piano + 5 Jam Pack wind instruments c) with Audio (VoiceOver)
I sent all instruments using the same reverb to the same Bus.
Could I simply send all SD instruments to the same Bus even though they use different reverb settings to cut down the load ?
Any bright ideas wuldbe appreciated.
Thanks, SeaDreamPerhaps you can explain more clearly where the buzzing is. Is it on an audio track, (when you solo/mute-you hear/don't hear buzz). Is it physically coming from the hard drive?.
Does it only become apparent when you use Space designer/ or a certain patch in SP? If you just send one instrument to SP do you hear it.. If you overdrive the bus send you can get distortion.
Solo each EXS instrument - is it clean? I have noticed that if I set the volume of the EXS instrument up all the way to get decent level - there is distortion on some samples coming out. Better to set EXS volume to 70% and then use a 'gain' plug-in after to make up for volume.
I've also found that one of the EXS pianos has some distortion in the upper registers if you are playing several sustained notes.. Not always apparent. This distortion appears to be in the recording of the sample or the fact that I am holding a six note chord out in a high register. I never noticed it before until I was working on this one particular song.
It is possible to get a ground hum when using external drives, but you hear that all the time.. You are talking about an 'alarming buzz"
I'd try different reberbs and sends, keep experimenting until you isolate the cause.. If you replace Space Designer with platinum reverb is there still the buzz? If not you're starting to trace it down.
Good luck -
How to mix audio data from multiple streams without increasing in size?
For example, two clients use JMF to capture audio in linear format (content type is raw)and both send the captured data to a third client where it performs mixing to generate one data stream. Suppose each source data size is S, the mixed stream (using JMF "merge") size is S+S which is not what I want. Is there any function to generte mixed stream with size S? I don't need to the capability to reverse mixed stream back to two individual source streams.
Thanks.S+S, ahh an academic.
This is actually a forest-trees issue here.
What your doing is appending the files, which would result in a size of 2S. What you want is somthing of size S. To do this you would need a Normilized merge. I say normalized merge because thats going to give you the best result while still avoiding out of range values.
This is easy enough to by hand if both streams S1 and S2 are of the same frequency. If they are not the same frequency, the result will be size of the larger file when convereted to whatever uniformfrequency. -
Recording VST during playback?
Good day guys,
This should be an easy one. I'm just struggling with it at present.
I'm using an Audiophile firewire card (latest drivers/firmware) with AA3. I've recorded a number of tracks from my external sequencer and all is good. Now, I want to record some lead tracks from my Korg Legacy VST. I recall with the older versions of AA I was able to do this with ease. I just needed to select 'monitor' in the record section and that was it. However, I find myself unable to do this now. It's as if the system won't allow me to use the ASIO drivers for both AA and the VST at the same time. Is there limitations in these situation? I am using Vista whereas before I was always using 2000 or XP.
Now lads, as I've said above, this could be something handy that I am just overlooking. Indeed, I hope this is the case. Anyway, I'm sure whatever it is it will be easy pickings for somebody else here.
So, into your hands I expectantly pass my problems
Regards,
TonyIt's as if the system won't allow me to use the ASIO drivers for both AA and the VST at the same time. Is there limitations in these situation?
There is an ASIO limitation that only lets you use one hardware device with any PC, yes. Since ASIO bypasses most of the OS, it would appear that it can only dig this tunnel to one place. Usually in these situations the thing to do is to use ASIO4ALL - which would let you use WDM hardware drivers with Audition's ASIO engine. Snag with that is that the latency will worsen somwhat, but that's rather better than the infinite latency you have at present! ASIO4ALL is free though, so it won't cost you anything to try this - just Google it, download it and you're good to go. -
Audio falling out of sync during playback of videos
I now have Windows 8 on a brand new laptop, and new TV dls fall out of sync between audio and video within minutes. Skipping to the beginning and dragging back to my last place in the timeline corrects this for a minute or so, and then falls out of sync again.
Also, other new purchases skip/pause every few minutes. I tested previous dls (that are still in the cloud) and had no playback problems. I don't want to delete everything and redownload until I know for sure that is the solution.Hello dreamsofthespider,
Thanks for using Apple Support Communities.
To troubleshoot audio sync issues in iTunes on your PC please follow the steps in the article below.
iTunes and QuickTime for Windows: Audio does not play or plays incorrectly
http://support.apple.com/kb/TS1362
Take care,
Alex H. -
We have a problem with our licsened account. On my last recording there are long periods of dead air. Everyone is using the VOIP for their audio. This seem to be an ongoing problem.
BobYou need to enable "Punch On The Fly".
Click and hold the record button in the transport to find this, and enable it.
And while you're at it, go to key commands, and assign a KC to "Record toggle".
Maybe you are looking for
-
How can I re-arange the apps on my screen?
How do I arrange my homescreen?
-
Firefox hangs upon pressing a Browse... button in a file upload form
Firefox consistently hangs when you press the Browse... button on a form to upload a file. This affects one single user account. The problem occurs even in new firefox profiles. Other users on this computer are not affected.
-
Where are the key short cuts in latest update Adobe 9?
When I updated last version of Adobe all the old key short-cuts disappeard. I can´t use the normal Windows short-cuts for opening, mowing window etc. Thanks for help! / C-G R
-
Re: CS3 master suite installation complete Finally
Finally I Was able to get CS3 Master suite installed . all of it. ( and cannot afford cs4 so here we are) after many many unsuccessful installs and uninstall's). by just doing it one to two programs at a time. ( or a complete suite) which worked p
-
Rendering a column before the nodeStamp column in an af:treeTable
I have a requirement to show a column before the nodeStamp column in a treeTable. Is there a way to achieve this? Code looks like the following - <af:column id="t3c1" width="50px" headerText="#{dbdiscoveryuiBundle.SELECT}" align="center"> <af:selectB