Giter Site home page Giter Site logo

Comments (3)

arciisine avatar arciisine commented on July 21, 2024

https://github.com/arciisine/vscode-chronicler/blob/master/src/config.ts#L36-L44
https://github.com/arciisine/vscode-chronicler/blob/master/src/recorder.ts#L60

There is a flags object that should get passed through to the recording instance. I specifically added that for being able to manipulate the color profile as QuickTime works differently from most everything else.

from vscode-chronicler.

peter-kehl avatar peter-kehl commented on July 21, 2024

I've been using flags:

    "chronicler.recording-defaults": {
        "flags": {
            "c:v": "libx264rgb",
            "crf": 0,
            "color_range": 2
        },
        "fps": 4,
        "countdown": 3
    },

Out of the 3 entries under flags, only "c:v" gets passed through. But crlf and color_range don't get passed through. My settings:

"chronicler.ffmpeg-binary": "/home/pkehl/GIT/present_markdown_reveal.js/all_args.sh",

...

"chronicler.dest-folder": "${workspaceFolder}/.videos",
    "chronicler.recording-defaults": {
        "flags": {
            "c:v": "libx264rgb",
            "crf": 0,
            "color_range": 2
        },
        "fps": 4,
        "countdown": 3
    },

That records in /tmp/all_args.txt that FFMPEG would be invoked with: -threads 4 -r 4 -video_size 1440x900 -f x11grab -i :1+3200,898 -f pulse -i default -b:a 384k -c:a aac -ac 1 -preset ultrafast -crf 10 -pix_fmt yuvj444p -c:v libx264rgb -y /home/pkehl/GIT/no_std_rust_libs/.videos/no_std_rust_libs-1667520195632.mp4. So

  • crlf from the settings is not passed through (it's set to its default of 10 instead of 2), and
  • color_range is not passed through.

That works as documented - README.md only mentions passing through pix_fmt, c:v, preset. But that may not cover the needs of users.

from vscode-chronicler.

PEZ avatar PEZ commented on July 21, 2024

Could it be this definition that filters the flags? https://github.com/arciisine/vscode-chronicler/blob/master/src/types.ts#L3

from vscode-chronicler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.