I've got some recordings from TV. The movies are all in 4:3 but the advertisement is in 16:9. My input format is a mpeg 2 transport stream. I would like to convert my movies to mp4 with h264 video and aac audio but delete all frames from the video with 16:9 aspect ratio. The sound should also be deleted at the matching frames. Converting mts to mp4 is easy with ffmpeg but how do I extract the frames with 4:3 aspect ratio?
converting mts to mp4:
ffmpeg -i input.mts -b:v 6000k -b:a 256k -vcodec libx264 -acodec aac -o output.mp4
I'm under a gentoo linux with ffmpeg version 0.10.3 and MEncoder 1.1-4.5.4