Skip to main content
Known Participant
Oct 14, 2010 1:21 AM UTC
Question

Record "black" frames

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 is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    Participating Frequently
    Oct 14, 2010 4:53 AM UTC

    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

    Translate
    storm767Author
    Known Participant
    Oct 14, 2010 3:08 PM UTC

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

    Translate