Input file (in.avi) has resolution 720x480, black margins at both sides (left and right) and 16:9 AR (which seams to be correct). Some experimenting has shown that the picture gets normal if it's cropped 90 pixels from both sides (becoming 540x480) and then stretched a little to the 4:3 AR (640x480). To do this while transcoding I use the following command line:
Code: Select all
vlc -vvv in.avi vlc://quit --sout #transcode{ cropleft=90, cropright=90, width=640, height=480, vcodec=h264, vb=4096, acodec=mp3, ab=320 }:std{ access=file, mux=mp4, dst=out.mp4 }
If anyone has any ideas how to set the “tagged” AR to be the same as the physical “pixels” AR (640:480 = 4:3) please be so kind to tell me.