We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Video recording feature

Home Forums Bug Reports and Feature Requests Video recording feature

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #20994
    Giovanni
    Customer

    Hi!

    A customer asked for the possibility to render / record a video of the viewport clicking on the customized UI (like the Playblast mode in Maya).
    Alternatively he would like the possibility to take automatic multiple screenshot while the product is rotating (multiple images of the product while this is rotating 360°). Any suggestions or feature would be appreciated. Thank you

    #21016

    Hi,

    So you’d like to record video of Blender viewport, or of the WebGL canvas?

    Chief 3D Verger | LinkedIn | Twitter

    #21019
    Giovanni
    Customer

    I meant to record WebGL canvas and to save it. Is it possible?

    Thank you!

    #21031

    I guess this is possible, although with coding. See this toolkit for example:
    https://github.com/spite/ccapture.js/

    Chief 3D Verger | LinkedIn | Twitter

    #21034
    GLiFTeK
    Customer

    There are open source streaming/screen recording software available.
    You could also have a dictionary constantly update your camera’s position, rotation, etc, and have that info write to a list of iterated dictionaries, then write to a file through json or php, when finished…
    then call on that data backwards what I just described to control the camera when desired to recreate the desired effect.
    To playback when you have screen capture software set up.
    (There are also video screen capture apps for phones)
    Verge 3d also just upgraded the screen capture feature for still shots.

    #62104
    cbcl4655
    Customer

    Thank you so much for Verge, as a non-coder I am finding it so easy to use.

    I was trying to get the CCapture toolkit mentioned above to work, but am having trouble figuring out where/how to put the code so it works with Verge. I have started with this plugged into an exec script puzzle. I made some buttons to start and stop the recording:

    var capturer = new CCapture( {
    framerate: 30,
    format: webm,
    name: video,
    verbose: true
    } );

    var start = document.getElementById(‘Start’);
    start.addEventListener(‘click’, function() {
    capturer.start();
    });

    var stop = document.getElementById(‘Stop’);
    stopButton.addEventListener(‘click’, function() {
    capturer.stop();
    capturer.save();
    });`

    The CCapture instructions say:

    “Then, in your render() method, after the frame is been drawn, call .capture() passing the canvas you want to capture.”

    function render(){
    requestAnimationFrame(render);
    // rendering stuff …
    capturer.capture( canvas );
    }

    render()

    I am not sure where I would plug that part in to get it to work with verge? Sorry for the probably dumb question, but I’m just barely grasping javascript at this point.

    #62108
    kdv
    Participant

    Screenshots and Video Grabs

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #62126
    cbcl4655
    Customer

    I was actually using the code from that thread (thanks for that!) it works great.

    But, I am getting some complaints that the video output is oversaturating the colors. I hadn’t really noticed, but looking at them side by side, the colors are actually quite different from what you get when you take a screenshot from the puzzle. So, I was trying to see if there was another method that may produce a video closer to what you see on screen.

    #62127
    kdv
    Participant

    CCapture.js uses the same MediaRecorder…

    And on my side I see no significant difference.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #62149
    cbcl4655
    Customer

    Yours looks exactly the same. I wonder what I am doing wrong. The left is the color from the take screenshot puzzle and looks the same as the viewport. The right is from the captured video.

    I’ll have a look at my puzzles and page and see if I can figure out how to get them to match.

    Attachments:
    You must be logged in to view attached files.
    #62151
    kdv
    Participant

    I would say that the left image is oversaturated relative to the right one :scratch: On my screenshot the red color is also a little more red on the left )))

    • This reply was modified 1 year ago by kdv.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #62154
    cbcl4655
    Customer

    Yeah, I hadn’t noticed until someone complained about it. I’m going to mess with setting the brightness/contrast post processing puzzle before the video starts and see if that helps.

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.