2

I record mobile games and have my phone screen, but around the edge of the video it adds a black border which I don't want. Does anyone know how to remove it? a busy cat

1
  • 2
    What are you viewing the videos on? What do you imagine would be there on a standard display instead of black surround?
    – Jim Mack
    May 18, 2015 at 19:30

3 Answers 3

3

If you are playing a portrait oriented game, as Jim Mack said, something has to be in the empty space, that's where the black pixels come from. Unless...

You can use After Effects here. Duplicate the video clip, take the video behind the front one, which you won't touch, then scale it up so that the sides meet the sides of the composition, and add a gausian blur, or any blur, really, to the back layer. Here is what I'm talking about:

Duplicate the first layer (press Ctrl+D or go to Layer > Duplicate):

enter image description here

Scale up the second layer (open up the layer properties by clicking on the arrow > left beside the layers name or select the layer and hit S to open up scale property only):

enter image description here

Add a Blur Effect to the second layer (Select the Layer and go to Effects > Blur and Sharpen > Gaussian Blur)

enter image description here

Note: In order to render faster, use a Fast Blur and enable repeat edge pixels to blur the entire image.

1
  • 1
    You might want to check the "repeat edge pixels" box in the blur filter to get rid of the dark lines around the outside.
    – stib
    May 22, 2015 at 6:42
2

When you view a portrait-oriented video on a landscape-oriented display, something has to occupy the otherwise unused raster. In this case it's black.

1

Run the video through the ffmpeg crop filter, the link I gave has the full description with examples.

2
  • ffmpeg has a cropdetect filter to detect the size of the black bands automatically. By default rounding to keep the video size a multiple of 8x8, I think. Jun 5, 2015 at 20:22
  • The context of this question is a case where the crop area is already known, so there's no need for crop detection.
    – avnr
    Jun 6, 2015 at 20:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.