FORUMS: list search recent posts

Cropping of the Pillarbox from SD-video

COW Forums : Compression Techniques

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Thomas Demirian
Cropping of the Pillarbox from SD-video
on Sep 8, 2014 at 6:12:08 pm

I want to crop of the Pillarboxing that is added to SD video when Downscaling from HD. Most software like the Adobe Suit, Final Cut and QuickTime adds 9 frames on each side. The Source is always 720x576 or 720x486 Therefore I use this command for PAL.

-vf "crop=702:576:9:0,scale=720:576:"


-vf "crop=702:576:9:0:" and define the output resolution with "-s 720x576".

The final Code can look like this.

ffmpeg -i -vcodec mpeg2video -aspect 16:9 -r 25 -s 720v576 -vf "crop=702:576:10:0,scale=720:576:" -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b:v 30000k -bufsize 9437184 -an OUTPUT.mpg

The problem is that the encoded video is pushed ONE Pixel to the right all the time. Which also means that there is one Column of black pixel to the left. If I do the same but only crop of 8 pixels on each side it seems to be centered just fine.

Also worth noting is that there are no error messages when I crop 8 pixels on each side. But when I crop 9 Pixels ffmpeg gives me this varning, "Warning: data is not aligned! This can lead to a speedloss".

Are there any solutions? Or alternative ways?

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 All Rights Reserved