Coder Social home page Coder Social logo

Comments (4)

LolicoreExpress avatar LolicoreExpress commented on May 29, 2024 1

That's perfect. Thank you as always. 😄

from webmgenerator.

dfaker avatar dfaker commented on May 29, 2024

I suspect the DAR and or SAR are non-square, could you let me know the output of the command:

ffmpeg -i "videofilepath\videoName.mp4"

There should be a line in the output like:
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 638x360 [SAR 1:1 DAR 319:180], 371 kb/s, 29.97 fps...

So I can find a similarly squashed file to test with?

from webmgenerator.

LolicoreExpress avatar LolicoreExpress commented on May 29, 2024

Of course, here's what I get.

Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 125 kb/s (default)
    Metadata:
      handler_name    : Sound Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1440x1080 [SAR 4:3 DAR 16:9], 3687 kb/s, 29.97 fps, 29.97 tbr, 60k tbn (default)
    Metadata:
      handler_name    : Video Media Handler
      vendor_id       : [0][0][0][0]
      encoder         : AVC Coding
  Stream #0:2(eng): Data: bin_data (tx3g / 0x67337874)

from webmgenerator.

dfaker avatar dfaker commented on May 29, 2024

Seems like drawText always operates on square pixels no matter what the SAR, I've added a new Make pixel SAR 1/1 filter in 5d54f73 you can use early by pasting those lines at the top of your src/filterSpecs.json (after the opening square bracket) or wait for it to be bundled in the next release.

from webmgenerator.

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.