Giter Site home page Giter Site logo

Comments (5)

hn-88 avatar hn-88 commented on July 28, 2024

Interestingly, for
./overlay-pip -i Earth720.mp4 -v "East Perth Harbour ghosts.mp4" -p 2
I get Earth as the pip instead of harbour. Initially Earth is seen (for the first 2 seconds, as I gave -p 2) Then Earth becomes small, and harbour becomes the background, but with the aspect ratio of Earth.

Screenshot from Earth720-pip-2020-05-09-09-11-41 mp4

from ffmpeg-scripts.

NapoleonWils0n avatar NapoleonWils0n commented on July 28, 2024

hi mate

the videos have to be exactly the same or you might gets some odd issues

eg the videos have to be the same size, aspect ratio, framerate etc

have you tried using the same video for both base video and the overlay,
to see if you get any issues

looking at the images the videos look like they have a different aspect ratio

from ffmpeg-scripts.

hn-88 avatar hn-88 commented on July 28, 2024

If you use the same video for both the base and overlay, you may not be able to distinguish the issues :) If I use this, for example, two videos with exactly the same number of pixels and aspect ratio,
./overlay-pip -i Video3.mp4 -v "East Perth Harbour ghosts.mp4" -p 2
At first Video3 plays,
Screenshot from 2020-05-10 08-47-28
then at the 2 second mark, Video3 becomes the pip,
Screenshot from 2020-05-10 08-47-54

from ffmpeg-scripts.

NapoleonWils0n avatar NapoleonWils0n commented on July 28, 2024

hi mate
my bad i didnt mean the same video silly typo
i meant videos encoded the same way eg size, frame rate codec

the script will put the base video in the pip window

and replace the base video with the overlay video
when the the overlay video stops playing the main video in the pip window goes back to the main window

where you expecting it to work the other way around or something

from ffmpeg-scripts.

hn-88 avatar hn-88 commented on July 28, 2024

the script will put the base video in the pip window

and replace the base video with the overlay video
when the the overlay video stops playing the main video in the pip window goes back to the main window

where you expecting it to work the other way around or something

Ah! Yes. So, if this is the expected behaviour, then everything is fine :)

from ffmpeg-scripts.

Related Issues (5)

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.