Stream.record() keyframe issues

I have an application that uses server side recording using the Stream.record() method. The source for the Stream class is a live stream that several clients can publish to or view. Only one client can talk at a time but they can stop and start publishing when they like. Stream.record() allows me to handle recording from these different sources into a single server file. The code looks no different that that seen elsewhere on this forum or indeed in the Adobe documentation (FMIS3.0.4) and is something like this;
To start the recording;
application.recording =  Stream.get("recorded_stream");
if (application.recording) {
   application.recording.play("live_stream");
   application.record("append");
and to stop the recording;
if (application.recording) {
   application.recording.play(false);
   application.recording.record(false);
And on the client a NetStream.publish("live_stream","live") or NetStream.play("live_stream") are issued depending on whether the client is talking to a group of clients or listening to one of the other clients.
Now this code works provided, it seems, the first recorded section is greater than some interval around 30 seconds otherwise the keyframe metadata (as reported by YAMDI) has large gaps at irregular intervals that cause stalls during playback. You can see in the metadata output from YAMDI that the filepositions are consistent (all the data is there) but as there are large gaps (like up to 20 seconds) in the keyframe entries anything that plays it stalls, also the duration in the metadata includes the gaps.
I have tried using FLVCHECK and it says the files are fine. I have tried making each recorded segment into its own file (with the intention of joining them with FFMPEG post process) but it makes no difference, the playback stall manifests itself as a gap at the start of one of the movies and FFMPEG uses the metadata it finds so it can't help.
The second related issue is that the keyframeinterval and framerate of the recorded file don't relate to those requested by the client at all. In this case I am asking for 15fps with a keyframe every second and I am getting 7-11fps that and 4-5 keyframes per second. Also neither of these figures match the system wide defaults in the Application.xml file. In this particular application the system will be used to record British Sign Language exchanges and I need to keep the framerate and image quality high an although I can understand why the server would want to fix its framerate/interval (as its recording from different client sources) I can't find anywhere in the docs where these values can be set abd the dont relate to the settings in the Application.xml file for this app either. BTW the server running FMS3.0.4 is a quad-core XEON with 16GB through a 100Mbit switch that does nothing else so its not a resource issue !!
Anyone done anything similar or had a simlar problem? I guess the weird part in my app is that usually Stream.record() seems to be used for injecting live custom metadata or for recording live broadcasts from FME both of which probably aren't going to switch stream sources so quickly so maybe this is a bug?
thanks for reading this,
Andy Freeman
Correspondent Corp

Hi, there may be a component test for the keyboard in the F2 UEFI Diagnostics that you could try, I pasted the instructions from the manual below: To start HP PC Hardware Diagnostics UEFI: Turn on or restart the computer, quickly press esc, and then press F2 

Similar Messages

  • Strange live stream recording issue

    We are trying to record longer live streams on FMS 2.0
    real-time by duplicating the stream on the FMS and recording plus
    broadcasting at the same time. The recording seems to work but for
    some strange reason FMS stops recording after the first 4-5 minutes
    without throwing any error. Any idea what might be causing this?
    Which settings should we check? Any assistance is highly
    appreciated.
    Here is the code portion that handles the recording ('play'
    is the stream that is published from the streaming client):
    var stream =
    Stream.get('broadcast/'+chid+'/'+date.getTime());
    stream.owner = this;
    stream.onStatus = function(info) {
    if (info.code == 'NetStream.Play.UnpublishNotify') {
    application.saveVideo(this.owner, this.name,
    Stream.length(this.name));
    stream.record();
    stream.play('channel.'+chid);
    Thank you.

    This is similar to another problem that came up not sol long
    ago... it turned out to be how the stream variable was declared.
    Is the portion of code you posted part of a function? If so,
    this line:
    var stream =
    Stream.get('broadcast/'+chid+'/'+date.getTime());
    might be the problem.
    If you declare a variable inside of a function, the scope of
    that the variable is the function, not the application. When the
    function terminates, the variable will get garbage collected on the
    next GC. As I understand things, that will cause the stream to be
    closed.
    I might try assiging the stream var to the application
    object:
    application.stream =
    Stream.get('broadcast/'+chid+'/'+date.getTime());

  • Audio Stream Recorder - Error: Audio device is already being used by another prog

    I realized that Audio Stream Recorder is does not "work" through server list feature. So I am simply trying to use the manual method of adding URL's to the interface. However regardless of the type of stream, shoutcast, windows media or real audio, I receive the error "audio device is already being used by another program". Does anyone know how to fix this? I have closed my audio application etc to no avail. <RANT WARNING> I was very excited about using this application when I read about it. However an application that provides none of the stated features is not an application, its false advertising, since it clearly states on the box, help files and website this products "features". Anyway, it'ss very disappointing. Also, does anyone know what the supported steaming formats are, the help file say the application requires RealONE and Windows Media Player but does not mention audio stream formats? Thanks you in advance for any help.

    I have the same issue. I updated to the latest software, to no avail. My first suspicion is that some Microsoft patch caused this, but I cannot verify this.
    Apparently no one at Creative is very interested in this issue.

  • Select Recording Source issue on Audigy 2

    I unistalled and installed the program and can't get it to work. I have the Audigy 2 ZS plat. with the software and all. Problem I have when I open up the Organizer MediaSource Player everything works but the "select recording source" button or selection doesn't work. It's kind of blanked out as if I don't have that option at all. But when I go to the mixer I can here the line inputs but I can't record from it b/c I can't select it. If anyone has this issues let me know or how to solve it. I have windows XP and also my Audio Stream recorder doesn't work either.

    Ok I got it to work. This is the reply I got from Creative but I didn't remove the program from the add/remove option on the PC b/c that didn't work at first. I inserted the installation CD and remove it from that wizard. Rebooted and the PC found new hardware. I then installed the driver and software from the CD and now it works.
    For Mediasource. It appears something was corrupted in Mediasource or there is a conflict within the system.Please uninstall all software and drivers for the soundcard, from add/remove programs. Once this is done, shut down the system and changePCI slots for the soundcard, then turn the system back on, cancel the found new hardware wizard, disable all background applications (especially virus scanner, firewall, and any other background applications running in the bottom right hand corner of the system), andthen perform a full reinstallation of the drivers and software from the soundcard installation cd.
    CAT I hope you fix your sound card. Good luck.

  • Audio Stream Recorder Prob

    Have Audigy 2 Platinum Pro & XP Pro. Wish to set up timed recording of streaming radio broadcast. Audio Stream Recorder status window shows recording status as "Audio device is already being used by another program." No other audio/video program is running. Do have, however, Windows Media Player 9, Quick Time alternati've, Real player alternati've & Media Center installed; but none are running. How can I find out what program is interfering with the Creative Audio Stream Recorder? Is there a file association issue? Many thanks for all comments/suggestions!
    SKBrown

    I have the same issue. I updated to the latest software, to no avail. My first suspicion is that some Microsoft patch caused this, but I cannot verify this.
    Apparently no one at Creative is very interested in this issue.

  • Option Missing from "Record Keyframes" Box.

    I'm working through the Motion 5 tutorials.(Lesson 4) It tells me to "Select 'Record keyframes on animated parameters only' and click OK." That is not an option in my Record Keyframes box. I've gone back and re-worked all the steps multiple times- no luck. Suggestions? Thanks.

    That was removed on the Motion 5.0.2 update since keyframes now only get recorded automatically on parameters that have been keyframed by default.

  • [SOLVED] "No codec present that can handle the stream's type" issue

    Hello. I got a python program that would play musics on a website, which doesn't work for a "no codec present that can handle the stream's type" issue. I have installed things like gstreamer, gstreamer-plugins, gstreamer-python, gstreamer-ffmpeg, and libmpeg2, etc. However, this issue still remains. Would someone here be able to help?
    Here's the error message:
    ** Message: don't know how to handle audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)2, layer=(int)3, rate=(int)24000, channels=(int)2, parsed=(boolean)true
    Error: There is no codec present that can handle the stream's type. gstplaybasebin.c(2322): prepare_output (): /GstPlayBin:player
    Here's the program, written by a Chinese: https://github.com/zhendi/DoubanFM-CLI
    Edit:
    I'm able to play the musics on the websites via chromium.
    Edit:
    I tried to download the music, and use gst-launch-0.10 filesrc location=~/p535960.mp3 ! decodebin ! autovideosink, but only find these messages:
    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0: GStreamer encountered a general stream error.
    Additional debug info:
    gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0:
    streaming stopped, reason not-linked
    ERROR: pipeline doesn't want to preroll.
    Setting pipeline to NULL ...
    Freeing pipeline ...
    Last edited by lastland (2012-02-18 07:47:47)

    Sorry. I just found the reason. I missed gstreamer-ugly in this case.

  • Soundblaster 4 & recording latency Issues

    Hi. I'm new to this board and to Soundblaster. I'm hoping that its ASIO capabilities can resolve recording latency issues I'm having. I'm a voice over actress and singer and need to hear myself over the headphones while I'm recording in real-time. I have a split-second delay in the headphones, making it impossible monitor live. I have a brand new PC and just installed the SoundBlaster Audigy 4 card yesterday. I have several recording/editing programs (Acid Pro 3, Audacity, Cakewalk Express) and can't get it to work correctly.
    I downloaded a program from asio4all, but it doesn't seem to make any difference. Can someone wiser than myself help me resolve this issue?
    Thanks!
    Joni
    email: [email protected]
    www.jonilambert.com

    Does any of your software support ASIO (eg. ACID 3 PRO since Audacity and Cakewalk Express don't support)?
    If not, since you propably are familiar w/ ACID, you can download a freeware version of Sony ACID 5 Express to get ASIO supported. It's a bit limited from PRO but least it's newer than v3 that you listed.
    There are other similiar software available as freeware (some don't have MIDI features):
    Kreatives Kristal - http://www.kreatives.org/kristal/
    Mutools Luna FREE - http://www.mutools.com/products.html
    Cockos Reaper (free up to version 0.999) - http://www.cockos.com/reaper/index.php
    etc.
    jutapa

  • Audio Streamer Recorder content directory failing upd

    Trying to update content directory. Keeps failing. Firewall etc off. Any suggestions?

    If I remember correctly:
    original Audio Stream Recorder came with my (old) Audigy2
    Audio Stream Recorder 2 came with my (not too old) Zen USB 2.0
    When I get home on the weekend, I'll see if I can rip the app from the Zen's CD. Let me know if this is of interest to anyone here.<SPAN class=time_text>
    <SPAN><B><SPAN>macattak</B>
    <SPAN>I would like to record from a radio station on line. Can I still or actually do this?
    <SPAN>------------------------------------
    I would try using Media Source recording source "What you hear." Note that there is no timer to automatically start/stop the recording.
    Message Edited by johnston2 on -30-2005 09:08 PM

  • Audio Stream Recorde

    hi,
    when I open it asks for content update so i click update, but an error message pops up saying 'content directory update failed'
    i have got broadband via a router not a modemMessage Edited by valleyboy on 06-26-2006 07:40 AM

    The content partner who supplied the updates went out of business some time ago, so there will be no updated listings in Audio Stream Recorder.
    voknows

  • Linux installtion file for Creative MediaSource Player & Audio Stream Recorder under GPL licen

    I have Sound Blaster Audigy 2 sound card are where any Linux installtion file for Creative MediaSource Player & Audio Stream Recorder under GPL licens ?

    I don't think so. Creative's product CD installation seems to support Windows OS only.

  • Cannot update audio stream recorder connection fai

    cannot connet to the internet to download updates for audio stream recorder connection failed

    This had already been discussed in the forum before, check the other post.
    http://forums.americas.creative.com/creativelabs/board/message?board.id=General&message.id=26
    Jason

  • Satellite A100: audio stream recorder requires something called stereo mix

    Trying to use an audio stream recorder/convertor program but it requires something called "stereo mix". The toshiba A100 does not appear to have this?? Help?
    Tried downloading latest drivers from Tosh site for Realtek sound card but this has not made a difference.

    Here's how to fix the problem.
    1. You need a new driver in order to control the input signal given by any hardware (CD) or virtual source (WinAmp, streaming radio etc.). The driver you need is called Virtual Audio Cable that's able to connect and loop back any audio signal between any devices on your computer. You can check it out in a demo version before you buy it (price $30). Get more information and download it here: http://nrcde.ru/music/software/eng/vac.html
    2. After instalation read and follow the "Simple cable usage" part of the manual very carefully and you're ready to record on your virtual recorder from any source you want. Please notice you have to have the "Audio repeater" open (and started) in order to hear the output on your computer speakers. If you have set up the Virtual Cable 1 to control your audio input, it should be chosen as Wave in in the Audio Repeater and Realtek HD Audio output should be chosen as Wave out. This is set automatically if you In control panel/sounds and devices/devices chose Virtual Cable 1 as standard device for record of sounds instead of Realtek HD Audio input and Realtek HD Audio output as standard device for playing sound.
    3. Virtual Audio Cable mix any audio input including the Windows sounds. Select no sounds in Control panel/Sound and devices/sounds if you don't want to mix Windows sounds with your recording.
    4. Advanced functions: You can manipulate and optimize the sound quality in the cable and audio repeater setup.
    That's all - have fun
    Sincerely Cornelius
    PS. I have proved that my Satelite A100 can do the same as any other Windows computer with the Realtek driver instaled. It's the first time I have purchased third party software in order to get basic Windows sound functions to work.

  • Audio Stream Recorder 2 Content Update Ha

    Since the Content Update doesn't work and every time I load up Audio Stream Recorder 2 it pops up this:
    Content Update
    Audio Stream Recorder needs to connect to the internet now and retrieve updated content directory.
    |_| Automatically retrieve updated content directory
    I'm hoping someone knows if it is possible to either hack a config file or the windows registry and specify the last update date so loading the program up doesn't have to keep popping this up.
    I'm a programmer though I work with websites and python so its not like I can hack the program or try and create a patch for it. Creative should think about creating a patch for it or releasing information on how to hack this date.
    If I don't see a response to this in about a week or so I'll think about looking into the registry and whatever creative config/ini files exist and seeing if I can find a way to solve this problem. I'm hoping someone knows already because I don't really have a huge amount of time to waste. And if I can't get it to work I'll go back to using winamp to stream di.fm. I could care less about the recording built into the Audio Stream Recorder, what good is it to record a 56K quality MP3 anyways.

    I have the program installed and it works well. Entering the IP address for the server was confusing. Enter the IP address followed by /listen.pls The extension will allow the program to accept the address for the server. Hope this hel
    ps.
    You can only enter 30 stations. Take you pick of stations from shoutcast. Find a station you like and right click on the tune in button. Save the file to some folder and give it a new name. Open the file in some word processing program to find the http address. Copy the address to the URL line space -- add /listen.pls. Gi've the Channel a name. It works for me.

  • Audio stream recorder with Audigy 2 Plati

    I have never been able to get the audio stream recorder to work. I've used creative's online update, so everything is current, but when I tell the stream recorder to update the content directory, it just tells me the update failed. I've never been able to use this thing as it's never downloaded any content. I've also pasted in the URL to the stream I'm trying to record, but it doesn't work. Any advice?

    I found the information I was looking for, apparently the server service Creative was using shut down, and though the stream recorder was a component advertised with this line, they never came up with a replacement. It is unfortunate that this is the kind of support I've come to expect from Creative.

Maybe you are looking for

  • Transmission medium "8: Special function"

    Hi Experts, I have got an situation. I have made changes in customization for an output type of a billing document and kept transmission medium as 8: Special Function. And this output type is supposed to trigger PDF copy of invoice in a particular se

  • Service order update

    Dear All, We have developed a customised transaction to update/change our service order in mass. During the updation i found the following error:- Formatting error in the field RESBD-LGORT; see next message Message no. 00298 Diagnosis During batch in

  • Csv file to database tables and also foreginkey related columns directly

    i have created dimensions tables in ssis  and i need to load  the data into that tables from my given csv files. iand i have foriegien key columns of fact table for this also data need to load

  • Can non-speaking characters appear in the outline view?

    In the outline panel for a film script, I see little boxes that light up for each speaking character in a scene. Is there a way to have non-speaking characters show up in these boxes?

  • Multi-row single table form

    Hi, Is is possible to create a portal form based on a single table which can display/insert multiple rows in a single action? I have tried the custom display which supports displaying multiple rows. However, it sees these as duplicates since there is