Skip to main content
Known Participant
October 14, 2010
Question

Record "black" frames

  • October 14, 2010
  • 1 reply
  • 372 views

Hi,

I need to create a 5 seconds FLV file that doesn't have content, only black frames.

I've trying with something like this on the server side (onUnpublish):

application.onUnpublish = function(p_c, p_stream) {

     serverStream = Stream.get('emptyVideo');

     serverStream.record('append');

     serverStream.play(p_stream.name);

}

any ideas?

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    October 14, 2010

    I do not think above code would work - have you tried it - i suspect it might give some errors. Can you try and let me know what you see - my feeling is that it won't work

    storm767Author
    Known Participant
    October 14, 2010

    it doesn't throw any errors, and doesn't work neither. It just doesn't add "empty" video the the existing FLV. any ideas?