Hi everyone,
I have made a video with a musical score (a sequence of jpgs, basically). Because the different pictures have different sizes, the video I got at the end has black bars of different sizes, depending on the score being shown. So cropping the videofile won't work.
The idea would be for any score to be surrounded by the background color, or in other words to get rid of the black bars.
Is there a way to do this?
Thank you again!
Cropping Black Bars of VideoFile
Cropping Black Bars of VideoFile
- Attachments
-
- Capturar.PNG (103.82 KiB) Viewed 6202 times
Re: Cropping Black Bars of VideoFile
If you are asking how to set a background color, you can just use a Polygon module, Scale it to fill the screen, and then set the color to whatever you want.
Re: Cropping Black Bars of VideoFile
Hmm, no, I'm asking if I can get rid of black bars on a videofile, not by cropping it but by another process. I placed the red background just to make it clear that there are black bars surrounding the score.
Thank you for the help!
Thank you for the help!
-
- Posts: 712
- Joined: Sun Sep 14, 2014 8:15 am
- Location: UK
- Contact:
Re: Cropping Black Bars of VideoFile
I think you may need to remake your video file, but with a green backgound rather than black in the regions you wish to make transparent when the file is played in Magic. Use the Chromakey module to render these green regions transparent.
Re: Cropping Black Bars of VideoFile
If the jpegs have nothing behind them and you enable alpha, there's no need for green/colorkey.
However, why not just scale the jpeg sequence vertically? I presume the sequence is played from a single module, so apply a scale modifier on that output and scale to fit. Judging from the treble clef it needs to be scaled anyway.
However, why not just scale the jpeg sequence vertically? I presume the sequence is played from a single module, so apply a scale modifier on that output and scale to fit. Judging from the treble clef it needs to be scaled anyway.
Re: Cropping Black Bars of VideoFile
Hi everyone,
Thank you very much for all your answers.
I tried the approach Terry recommended and it worked perfectly.
Thank you again, community support is one of the things that makes Magic great.
Thank you very much for all your answers.
I tried the approach Terry recommended and it worked perfectly.
Thank you again, community support is one of the things that makes Magic great.