Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques ffmpeg scaling issue

  • ffmpeg scaling issue

    Posted by Jack Passmore on September 29, 2010 at 7:22 pm

    Hi All,

    I have a large video file: 1920×1080, 16:9, .avi, 8-bit blackmagic mjpeg, that I’m trying to convert – using ffmpeg at the command line – to a h264, mp4, 640×480, 4:3, video.

    The 1920×1080 is a pillar-boxed image, so I’m attempting to crop the sides and then scale down the video to a 4:3, 640×480 video. Unfortunately, when I run the command I get a 640×480 video, but it’s only the top left corner of the 1920×1080 video. This is the command I’m using in terminal:

    ffmpeg -i video.avi -cropleft 240 -cropright 240 -s 640×480 -aspect 4:3 -vcodec libx264 -vpre normal video.mp4

    Any suggestions would be greatly appreciated!
    jack

    Jack Passmore replied 15 years, 7 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy