Auto-archiving streams with H.264 video

My CDN is running FMS, and my customers and I stream a lot of live traffic through it. We've got FMS configured to auto-archive our live streams, but that only works for stream using VP6 video. When I look at the archived files captured from H.264 streams I get audio but no video.
Is it possible to get FMS to autoarchive H.264 streams? Or is this planned for a future release of FMS?

Yes, that does help, thanks!
We do indeed have a script running to do our auto-archving. It currently doesn't recognize h.264, but with the info you provided I should be able to modify it to do so.
What we are currently running is:
* (C) Copyright 2007 Adobe Systems Incorporated. All Rights Reserved.
* NOTICE:  Adobe permits you to use, modify, and distribute this file in accordance with the
* terms of the Adobe license agreement accompanying it.  If you have received this file from a
* source other than Adobe, then your use, modification, or distribution of it requires the prior
* written permission of Adobe.                                                                
* THIS CODE AND INFORMATION IS PROVIDED "AS-IS" WITHOUT WARRANTY OF                           
* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO                         
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A                              
* PARTICULAR PURPOSE.                                                                         
*  THIS CODE IS NOT SUPPORTED BY Adobe Systems Incorporated.                                  
/* Adobe Flash Functions */                                                                    
/* Load webservices.asc */
load("webservices/WebServices.asc");
trace(" * Loaded webservices/WebServices.asc");
trace(" * Started Application");
application.onConnect = function( client ) {
        /* Connection has started */     
        client.getStreamLength = function( streamName ) {
                trace(" * Length => " + Stream.length( streamName ));
                return Stream.length( streamName );               
        trace(" * Camera Connected");                             
        application.acceptConnection( client );                   
application.onPublish = function (p_c, p_stream) {
        /* Publishing has started */           
        trace(" * p_c => " + p_c);             
        trace(" * p_stream => " + p_stream);   
        trace(" * Publishing started for stream " + p_stream.name);
        p_stream.archiveStart();                                
application.onUnpublish = function (p_c, p_stream){
        /* Publishing has stopped */            
        trace(" * Publishing stopped for stream " + p_stream.name);
        p_stream.archive();                                     
/* Our Custom Functions */
/* Last Modified Tue Dec 1 2:55 pm */
trace(" * Loading Custom Functions ... ");
Date.prototype.unixTime = function () {
        /* Create and returl unix timestamp */
        trace(" * Getting UNIX Timestamp ... ");
        return Math.round(this.getTime() / 1000);
Stream.prototype.archiveStart = function() {
        /* Start archiving stream */     
        this.record(); // start recording live stream
        trace(" * Recording started for stream");          
        this.startTime  = (new Date()).unixTime();
        // attach start time in unix time to object
Stream.prototype.archive = function() {
        trace(" * Function => Stream.prototype.archive");
        this.record(false);
        // stop recording live stream                                                                                                                                                                                                              
        trace(" * Setting this.record to false");                                                                                                                                                                                         
        f = "/streams/_definst_/" + this.name + ".flv";
        // current name of file that was recorded                                                                                    
        trace(" * f => " + f);                                                                                                                                                                                                            
        src             = new File(f); // create a new file object of for sourse                                                                                                                                                                                                  
        if(src.exists){
                /* src file exists */
                trace(" * Src for " + f + " exists");
                /* Create new unique name for recorded stream */
                f1 = '/streams/_definst_/live_event_archives/auto_archive_' + this.name + '_'  + this.startTime + ".flv";
                trace (" * New file name => " + f1);
                /* Copy src file to new file */
                try{
                        src.copyTo(f1);
                        trace(" * Copied src to " + f1);
                catch(error){
                        trace(" * ERROR copying src to " + f1 + ": " + error.message);
                /* Remove src file */
                try{
                        src.remove(); // remove source file
                        trace(" * Removed src");
                catch(error){
                        trace(" * ERROR deleting file: " + error.message);
                /* Make web service request to vod server */
                trace(" * Preparing to send to vod server ... ");
                this.sendToVOD(this.name,f1,this.startTime,new Date().unixTime());
        else{
                trace(" * ERROR! Src does not exist! " + src);
Stream.prototype.sendToVOD = function(n,f,s,e) {
        trace(" * Preparing to submitting data to vod server ... ");
        trace(" * n => " + n );
        trace(" * f => " + f );
        trace(" * s => " + s );
        trace(" * e => " + e );
        /* URL for web service call */
        var cst_url = "http://cst.{OUR DOMAIN}.net/gateway/point/?name=" + n + '&file=' + f + '&start=' + s + '&end=' + e;
        trace(" * URL => " + cst_url);
        /* Init new webservice url call */
        var web = new WebService(cst_url);
        /* Make web service request */
        web.onLoad = function(wsdl){
                trace(" * Connected to vod web service");
        web.onFault = function (wsdl){
                trace(" * Could not connect to vod web service!");
So, I will see if I can't modify it to decide whether it need to do mp4 or flv, and see if that helps.

Similar Messages

  • Streaming with H.264 (jiggle)

    Hello,
    After streaming with Flash Media Encoder 3.1 and ManyCam/Splitcam with VP6 and 320x240,30fps (works good!!),
    I tried to stream HQ with H.264,30FPS,640x360,700kbps...
    Buter after pressing start,the both Windows (Input and Output) will jiggle very strong.(In the Justin.tv stream,too,of course)
    Looking in the Encoding Log,it shows me an Output with 11-12 fps.
    But where is the Problem? (PC,Internet...?)
    My System:
    Laptop Core 2 duo T5250@1,50GHz
    3GB RAM
    Windows Vista
    enough Harddisk
    ATI Mobility Radeon X2300
    DSL 20.000/1.024
    Thanks a lot =)

    Ithink the problem is that the H.264 codec needs more CPU resources compared to ON2 VP6.
    I tried 640x480, 25fps, 200Kbps with the 2 codec (VP6, and h264). I have the H.264 codec with a delay of 3 seconds and a delay vp6 less than 1 second.
    I think these should you need more CPU resources with H264
    the cpu works a lot with h.264 and this makes for more delay
    http://help.adobe.com/es_ES/Flash/10.0_UsingFlash/WS9222D73A-676D-41cd-9222-A4884858BBA3.h tml
    Enrique Figueroa

  • Record stream with H.264 and PCMU: is it supported?

    I tried to record a stream which is published with H.264 codec and the telephony (PCMU) codec with a Flash Player 11+ client. The stream plays fine live but when I try to record it, I get the following error on the status of the stream: NetStream.Record.NoAccess. The file is created on disk but has only 21 KB, never more, never less. This is my log:
    10:21:49.550  info   Stream (record_Aaj3g/u28_T32l87h.f4v) status: NetStream.Data.Start (level: undefined, length: 0 sec.)
    10:21:49.554  info   Stream (record_Aaj3g/u28_T32l87h.f4v) status: NetStream.Publish.Start (level: status, length: 0 sec.)
    10:21:49.556  info   Stream (record_Aaj3g/u28_T32l87h.f4v) status: NetStream.Play.Reset (level: status, length: 0 sec.)
    10:21:50.107  info   Stream (record_Aaj3g/u28_T32l87h.f4v) status: NetStream.Record.Start (level: status, length: 0 sec.)
    10:21:59.962  info   Stream (record_Aaj3g/u28_T32l87h.f4v) status: NetStream.Record.NoAccess (level: status, length: 0 sec.)
    10:21:59.966  info   Stream (record_Aaj3g/u28_T32l87h.f4v) status: NetStream.Record.Stop (level: status, length: 0 sec.)
    I digged the problem a little and found that I also have an error in the Windows Event Viewer from AMSCore:
    Error from libmp4.dll:
    Received an audio packet of unknown type..
    I even tried to publish the stream in "record" mode instead of "live" directly from the client to see if it does the same thing. It does, I get exactly the same result.
    I searched on the web hoping to find something about the problem but without any result. The only reference I see is a table in the AMS documentation listing the supported file types and codecs but there is no mention of the PCMU/PCMA codecs. Here: http://help.adobe.com/en_US/adobemediaserver/techoverview/WS07865d390fac8e1f-4c43d6e71321e c235dd-7fff.2.3.html#WS5b3ccc516d4fbf351e63e3d119ed944a1a-7fe7.2.3
    In last resort, I tried to publish the file as RAW. It seems to work but I can hardly use this format since it is only usable by Flash Player I think. I cannot convert or reuse the file on another platform.
    By the way, I had the same result on FMS 3.5.3 and AMS 5.0.1
    Any idea? Is this normal or what?

    Update: I discovered several other recordings which had 21 kb in size, also f4v but with only sound, nellymoser. I did not get any error in logs or event viewer which makes it tough to debug! What could cause such a thing? I understand that there is no data recorded in the stream file, except metadata probably. I tried to convert such a file with ffmpeg and got an error saying there is no stream data found in file.
    The method we use for publishing/recording is the following: the stream is published from the client in live mode (no record at all). On the server side, I create a new Stream and attach the publishing stream to it. Then I record the new stream. It seems to be working great in most cases but sometimes, for unknown reasons, it does not work.
    Anybody, an idea?

  • CS6 Project With H.264 Video Wont Open in Premiere CC

    I wonder if some one can explain to me that on the same exact system where both CS6 & now CC live, i cannot open Certain .MOV files, i believe they are H.264, in Premiere Pro CC where they Open just fine in the CS6 Prekiere Pro? Has this happened to anyone else? is this an Activation issue? i dont recall, after installing CC it asking me to Activate, it only asked me to Sign into CC. Any Help Is appreciated

    I cannot repro on GM build of CC on mac/win using 'MVI_1982.mov. I do get the 'no video/audio streams error' on win7 but only with no quicktime installed. As soon as I install quicktime 7.7.4 and re-launch then I can import your test file no problem. This is an expected bhavior on win since it needs QT to import third-party mov files. (mov files ecported by ppro don't)'
    All I can suggest is to check your quicktime version again on that system, make sure it's updated, re-start, relaunch, all that stuff... and then try again.

  • Best way to work with H.264 video

    Hello!
    I'm working with 1080p 29.97 (H.264 encoded) video and I want to bring it into FCP (off a SDHC card) edit it and export it out. I would like to do everything always keeping the highest possible quality. What is a good workflow for this?
    Right now I'm using the Apple ProRes 422 (HQ) compression. When I bring my video into a sequence it says (in Sequence Settings) that the aspect ratio is HDTV 1080i (16:9). Should I change it so it isn't interlaced because it really is progressive video and that is the way I would like it?
    Thanks!

    First you say...
    I'm working with 1080p 29.97
    Then you say...
    Should I change it so it isn't interlaced because it really is progressive video and that is the way I would like it?
    It isn't interlaced. Just because the sequence settings are, doesn't mean that your footage is. Interlaced means two fields...and if your footage was truely interlaced, both fields would be different. But with Progressive footage, both fields are the same. SO nothing has changed.
    You are doing things right. OH, but ProRes HQ is overkill. The only thing you gain are files that are 50% larger than regular ProRes. HQ is designed for working with 10-bit codecs, H.264 is an 8-bit codec.
    Shane

  • Receiving a stream published with H.264 settings

    I publish the video stream with H.264 settings to fms 3.5 as recorded and at the receiver's end play it as live. The problem is that at the receiver's end stream is played from the last 4-5 seconds. I want it to play from the current position of the live stream.
    Any Help please???
    netstrm = new NetStream(nc);
    netstrm.play("mp4:"+instanceName+".f4v", -1);
    h264Settings= new H264VideoStreamSettings();
    h264Settings.setProfileLevel(H264Profile.BASELINE, H264Level.LEVEL_1_1);
    nsPublish.videoStreamSettings = h264Settings;
    nsPublish.publish("mp4:"+instanceName+".f4v","record");  

    I believe is a matter of playing aroun with hte stream.play parmaeters ant the bufferLength, buffer time propertie on the stream. Though I don't have code too look into it so I may be wrong.
    C

  • Go to "menu" when h.264 video ends

    Hi there
    I am working with Director 11.5 on Apple Mac.
    I am looking for some code that will keep my h.264 video sprite playing until it finishes and then go to a marker such as "menu"
    For some reason, all the codes I have tried so far don't work. Is this because I am on Mac or maybe because these codes don't work with h.264 video?

    If you are using the built in MP4 asset, you would compare the sprite's currentTime to its duration.  When the current time reaches the duration, you go to your menu.
    See the docs for that MP4 Asset:
    http://help.adobe.com/en_US/Director/11.5/UsingScripting/WSCD0716BB-53F6-44b9-8D20-0CEDC6C 5E8A1.html

  • Need license for using H.264 Video codec for live stream with FMS 3.5 series

    Hi,
        I am creating a live audio-Video chat application  in which I use H264 video codec for live streaming.  I am using Flash Media Server version 3.5.7. I read some where that H.264 Video streaming using FMS required seperate licencse. So I want to confirm , It is true that H264 video streaming required seperate license? If yes then what is the procedure to get license.
    Please let me know its urgent.
    Regrads,

    Hi Again,
    Thanks for your reply.
    Here are some articles/posts which says about Royalties to use h264:
    http://www.mpegla.com/Lists/MPEG%20LA%20News%20List/Attachments/226/n-10-02-02.pdf 15:27
    http://www.mpegla.com/main/programs/AVC/Documents/AVC_TermsSummary.pdf
    http://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=65403&PageNum=3
    http://www.mpegla.com/main/programs/avc/Documents/AVC_TermsSummary.pdf
    According to these, any  product/service provider, need to pay one time fee based on # of subscribers if we are using h264 for encoding and is charging fee from its users.
    About our business: We are web-conferencing solution tool provider and are using Flash Media Server version 3.5.7. I for audio/video. Please help me out if h264 is really free for us or we need to buy license to use that.
    Looking forward to hear from you soon.
    Regards,

  • H.264 Video Streaming Help

    Need help integrading H.264 Video Streaming in Flex. I started looking at this thread: http://forums.adobe.com/message/3796848#3796848.
    It is now out of date and flash player 11 is released (no longer from incubator site). How is the set up different now? Since my project is built on the older SDK, is there any way to do this on Flex SDK 3.5?
    I have already dewnloaded and installed flash player 11 and am using the following code:
                import flash.media.H264VideoStreamSettings;
                import flash.media.VideoStreamSettings;
                import flash.media.H264Level;
                import flash.media.VideoCodec;
                import flash.media.H264Profile;
                nsPublish = new NetStream(nc_publish);
                var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();
                h264Settings.setProfileLevel(H264Profile.BASELINE, H264Level.LEVEL_2);
                nsPublish.videoStreamSettings = h264Settings;
    Any help is appreciated. Thanks!

    Make sure you have the new playerglobal.swc also drop this additional compiler arg: -swf-version=13. Need also to target flash player 11.
    I did it with 4.5 works like a charm. If this does not make it work you may need to upgrade. If you encounter errors can you post them ?
    C

  • Something causes video to skip with FMS if we are starting our player after we started a stream with

    Hi, I'm playing live stream supporting FMLE from FMS. There is no problem with playing if we are starting at first the player and then we are starting the stream with FMLE. The video skipping problem is occurs only if we are starting first the stream with FMLE and than our player.
    The versions:  FMLE 3.0.1.5963, FMIS 4.0.0, Flash Player 10.1.53.64, and codec h.264
    Is this a bug in FMS/FMLE or I'm doing something wrong?
    Regards, kissk

    Ideally order of publish and play should not matter - i mean whichever way it should work fine. When you say video skipping problem what do you exactly mean - you mean you get only audio, also are you playing live or DVR stream?

  • How does exactly AMS sync a video stream with another stream of audio only ?

    I have the following situation: 2 instances of FMLE on one machine and another machine with AMS Starter.
    The instances of the FMLE are:
    1. Video H.264 + audio MP3
    2. Audio only MP3 - track 1
    The application on AMS is a livepkgr/_definst_ and i am using HDS with a live event
    I have an OSMF based player to consume the streams and to do audio switch using late binding audio.
    When I consume the Video with the Default audio everything works just fine. The problem is that when I try to consume the Video with the other audio track, the audio tack has a 1 second delay compared to the video.
    I have tried to fix this by changing the configurations on the FMLE, but it doesnt seem to work. So I really want to know how does exactly AMS syncronize differents streams, in this case a video stream with a different audio stream.

    First, what is the file format, and its specs. for the remote recorder?
    Though the rates of modern cameras and digital recorders SHOULD match 100%, in the real-world, they seldom do. This make perfect syncing a labor intensive process.
    One should do tests between the cameras and the recorders, to find out the % or error. Then, adjust their Audio to match first. As an example, one user in the PrPro Forum tested his Panasonic cameras, and his Zoom recorders, and found that the Zooms were off by 0.04% constantly. To correct this, he used the Time Remapping (with Maintain Pitch checked), and would apply that adjustment to all of the Zooms' files - perfect sync.
    As for the Waveform not displaying for your remote recorder, did you allow those files to completely Conform (creation of the CFA and PEK files, the latter is the Waveform Display)? See this article: http://forums.adobe.com/thread/726693?tstart=30
    Also, you should be able to increase the vertical zoom of your Audio Tracks, and hence any Clips on them, by hovering the Cursor over the junction between Tracks, in the Track Header, and when it turns into a = sign, with up/down arrows, click+drag. Then, you should be able to find commonality in the beginning, to sync up to. Tip: for this critical work, toggle the Snap feature OFF, with the S key.
    Good luck,
    Hunt

  • IOS Client Video Streaming with Chapter Markers

    Are there any ios client applications that will receive an h.264 video stream and provide a list of chapter markers for the video?
    It seems AVFoundation definitely supports this: http://developer.apple.com/library/ios/releasenotes/AudioVideo/RN-AVFoundation-O ld/_index.html#//apple_ref/doc/uid/TP40011199-CH1-SW6
    However, I can't find any client applications out there that seem to support this. I can't even really get a clear answer as to whether or not HTTP Live Streaming for iOS has a feature for providing chapter metadata.
    Any help would be greatly appreciated! Thanks.

    My most sincere of apologies.  My "instruction redo" for clarity included a cerebral gaseous emission in the one place that was most important.
    Step 6 should read "Select "Movie""
    1. Go to iTunes->Home Videos
    2. Right-click the video
    3. Choose "Get Info"
    4. Click the "Options" tab
    5. Click the "Media Kind" pull-down menu
    6. Select "Movie"
    7. Click "Okay"
    Fell into that trap where you read something over several times to make sure you got everything correct, but you aren't really looking because you KNOW you got everything right.
    Not only that, but I got it wrong the first time as well, although Florbid got it right (for Windows) in spite of my initial blundering.  If you read my first post, I say to select "Video", which was supposed to be "Movie" even then.
    Hope this relieves your frustration.  But if it doesn't solve the problem, I have no other answer.
    Message was edited by: Clyde Crocker to replace "brain **** " with "cerebral gaseous emission".

  • How can I do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder which does not have firewire out/input? it comes only with a component video output, USB, HDMI and composite RCA output?

    I need to do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder (http://store.sony.co...ber=HDRAX2000/H) ..this camcorder model does not have firewire out/input ..it comes only with a component video output, USB, HDMI and composite A/V video output..
    I wonder how can I plug this camcorder to the firewire port of my laptop? Browsing on internet I found that Grass Valley Company produces this converter http://www.amazon.co...=A17MC6HOH9AVE6 ..but I am not sure -not even after checking the amazon reviews- if this device will send the video signal through firewire to my laptop, in order to live streaming properly? ..anyone in this forum could help me please?
    Thanx

    I can't broadcast with the built in iSight webcam... how would I zoom in or zoom out? or how would I pan? I've seem people doing it walking with their laptops but that's not an option for me... there's nothing wrong with my USB ports but that's neither an option to stream video because as far as I know through USB you can't connect video in apple operating systems ..you can for sure plug any video cam or photo camera through usb but as a drive to transfer data not as a live video camera...  is by firewire an old interface developed by apple that you can connect all sorts of cameras to apple computers... unfortunately my new sony HDR-AX2000 camcorder doesn't have firewire output...
    thanx

  • How to play live Video Stream with Flex?

    I'm trying to get Flex Builder 3 to play a live video stream with Flash Media
    Server and Flash Live Media Encoder.
    I'm able to stream pre-recrorded (vod) flvs in flex from flash media server.
    I'm able to stream live video using Flash/FMS/Flas Live Media Encoder, but not
    with Flex.
    This code streams pre-recorded Video on Demand flvs, but not live streams:
    If I change source to "rtmp://localhost/live/livesream.flv, I get nothing.
    What am I doing wrong?
    <?xml version="1.0"?>
    <!-- controls\videodisplay\VideoDisplayFMS.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:HBox>
            <mx:Label text="RTMP FMS 2.0"/>
            <mx:VideoDisplay
                autoBandWidthDetection="false"
                source="rtmp://localhost/vod/Legend.flv"/>
        </mx:HBox>
    </mx:Application>
    Oh and sorry for the double post. I didn't know there was a seperate FMS forum.

    That worked! Thanks  *very* much. Stupid of me to forget to set the live attribute to true. Also removed the .flv. BTW: what video component do you prefer?
    Here's the working code:
    <?xml version="1.0"?>
    <!-- controls\videodisplay\VideoDisplayFMS.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:HBox>
            <mx:VideoDisplay
                live="true"
                autoBandWidthDetection="false"
                source="rtmp://localhost/live/livestream"/>
        </mx:HBox>
    </mx:Application>

  • HT3775 Video recorded with a digital video recorder with H.264 and Avi options. how do I manage to preview the video and burn it on a disc

    I have a problem previewing data recorded on DVR machine H.264 trnsfered to the apple machine using a flash disk.
    The data is in form of video footage.
    The Mac player warns of missing codec to allow the preview.
    How do I tell which codec and how will I achieve my goal?

    Sorry, you need to convert if you want it on iPad.
    iPad video formats:
    Video formats supported: H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG‑4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format

Maybe you are looking for

  • Work around passcode? help!

    My dear friend died suddenly and left me his new ipad2, but I can't find his passcode anywhere. I am the executor of his estate and have been thru all his things.  Any way to work around this problem?  Really need help here, thx!

  • F110 Payment with different currencies for a vendor

    We want to run a payment in transaction F110, where we have different currencies for the same vendor. An example: We have a debit invoice on 100 € and a credit memo on 50 SEK. When the payment is run, the currencies are not summarized into one record

  • Extractor for Vendor Classification as hierarchy

    Hello, The standard don't extract more than one value for the classifcation. Then, I want to extract this data as a hiearchy. Example R/3: Vendor   Classification V1 G1 V1 G2 V2 G3 V3 G1 V3 G3 Then, the datasource should create this hierarchy: G1 ...

  • Bug in playing back video podcasts from playlists?

    I subscribe to about 2 dozen podcasts, a few of which are video podcasts. I have a smart playlist that collects all the podcasts together, based an their Album name. I have a second smart playlist that collects all unplayed & unrated members of the f

  • Is iphoto part of OS X v.10.7.5?

    I am using new MBA since 30 days with OS X version 10.7.5. I realise that there is no iPhoto in. Can somone help me is it available option to install it. I am not confident that I have to pay for it ,am I? Tx to all