GithubHelp home page GithubHelp logo

vid's People

Contributors

adeverteuil avatar

Stargazers

 avatar

Watchers

 avatar  avatar

vid's Issues

Make the bell from the --bell option sound better.

The -b option makes Vid beep when the encoding finishes. Here might be a better beep (more like a bell):

ffplay -f lavfi sine=2000,afade=out:d=2:curve=log

Idea : disable the graphical display with -nodisp?

Make RemoveHeader().run() fail more verbosely

When piping a shot that has zero data in it โ€” such as when the seek value exceeds the length of the file โ€” the only feedback the user gets on the terminal is "No data found on input".

This message is essentially useless as it does not help the user locate and correct the problem. I think a warning is fine, no need to throw an exception. But the message should explain the probable cause and identify the problematic shot.

Allow overriding file format specifications

The output format is derived from the file extension of the output file specified with --output. The mapping from an extension to a list of argument to pass to ffmpeg is hardcoded.

Create a "formats" section in the YAML document which allows the user to override this default.

Example:

formats:
  ogv:  # One itemp per argument.
    - -f
    - ogg
    - -vcodec
    - libtheora
    - -qscale:v
    - 2
    - -acodec
    - libvorbis
    - -qscale:a
    - 1

Or:

formats:
  ogv:
    f: ogg
    vcodec: libtheora
    qscale:v: 2  # Will the first colon confuse pyyaml?
    acodec: libvorbis
    qscale:a: 1
    # What about options that don't take an argument? Use null value?

Things to think of:

  • User input sanitation
  • Error handling

Timestamp starts at 20.0 when seek is greater than 30

The -ss option enables timecode information burned in the video frame. When the seek value is greater than 30 seconds, the timecode always start at 20 seconds. This has to do with the fast seek versus the slow seek.

The printed timecode should always start at the seek value.

Add logging options

Vid creates a log directory and creates very verbose log files in it. It's nice for development but this should be disable by default as of version 1.0.

Option -v should enable logging and option --logdir=DIR should specify the log directory to use.

Furthermore, the content of the log directory is erased at each execution of Vid. This is a potential problem. Create timestamped sub-directories instead?

Simplify the filters argument structure

Currently, each filter is a list of two items : the filter name, and the filter arguments.

movie:
  - - 42
    - vf:
      - - filtername
        - {argument: value, argument2: value2}
      - - filter2
        - {arg: v, arg2: v2}

This could be simplified as a list of mappings:

movie:
  - - 42
    - vf:
      - filtername: {argument: value, argument2: value2}
      - filter2: {arg: v, arg2: v2}

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.