Skip to main content
Participating Frequently
February 2, 2010
Question

MetaData of recorded streams - problem...

  • February 2, 2010
  • 1 reply
  • 1495 views

Hello guys,

I have a problem with recorded stream: The MetaData its partialy correct.

Most of the informations are correct, but the 2 most important information for me width and height for the video are always 320 x 240 for any recorded stream althow they are published at different WxH.

I tried to get my head around this but cant seem to figure out were the problem is.

FMLE its used to publish the stream useing H.264 / MP3 codecs.

Here is the server side code used to record the stream:

    _isLive = true;   
    if ( _isRecording == false ) {


        function ISODateString(d){               
            function pad(n){return n<10 ? '0'+n : n}               
            return d.getFullYear()
              + pad(d.getMonth()+1)
              + pad(d.getDate())
              + pad(d.getHours())
              + pad(d.getMinutes())
              + pad(d.getSeconds())
        }
           
        var d = new Date();
        livefilename = streamname.name + "_" + ISODateString(d);
           
        s = Stream.get("mp4:"+livefilename + ".f4v");
           
        if(s) {
            s.record();
            s.play(streamname.name);
            _isRecording = true;
            trace("Recording: " + livefilename);
        }

    This topic has been closed for replies.

    1 reply

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    February 3, 2010

    Check the maximum width and height of your input device to FMLE. It could be less than what you set while publishing.

    Regards,

    Janaki L

    MareleADIAuthor
    Participating Frequently
    February 3, 2010

    Oh, yes i forgot to mention this. The inpute size of the video device is 640x480.

    And also i must mention that i have publish also from wirecast with the same effect. It must be something server-side... ?! any ideea? any hint were to dig?

    Ive also done some test and for example the fps does show corectly all the time i change it also audio sample rate. But the width and height its always stuck at 320 x 240.


    The only way i was able to change the w x h metadata on a recorded stream was to import it in Premier and then encode-it once again. After i copy it in the live_records dir under FMS app and start my test, the onMetaData return the apropiate W x H. But ofc thats not an option... nor did it give me any ideea were to look next...

    There seem to be 2 leads on this matter:

    http://kb2.adobe.com/cps/407/kb407850.html - Flash Media Live Encoder does not currently support F4V custom metadata - but this seem not to refer to standar FMLE metadata's

    http://www.sti-media.com/blog/archives/000072.html - Sorenson Squeeze 4 problem - it doesent put the right H x W metadata. But here i am not sure if FMLE is useing this encoder so it may have nothing to do with the subject.

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    February 4, 2010

    Both the link doesnot apply to your case, as FMLE does not use Sorenson encoder.

    Which version of FMLE are you using? If it is FMLE 3, check whether the output size in the UI is set to the input size which you have entered.

    Regards,

    Janaki L