ffmpeg: Crop 21:9 out of 16:9 video I've several old VOB's (self-recorded DVD's) with 21:9 content that is embedded in 16:9 videos…

Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 16:9




I want to crop the 21:9 part from it and re-encode everything.

cat *.VOB | ffmpeg -i - -vcodec mpeg2video -q:v 0 -q:a 0 -flags +ilme+ildct -alternate_scan 1 -top 1 -vf crop=720:432:0:72 -aspect 21:9 -s 720x432 test.mpg

This works (nearly) as expected, but the video is displayed with 2.21:1 or similar strange aspect ratios in VLC or Kodi. Any ideas what's wrong with my ffmpeg arguments?

Input #0, mpeg, from 'pipe:':
  Duration: N/A, start: 0.118367, bitrate: N/A
    Stream #0:0[0x1bf]: Data: dvd_nav_packet
    Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg), 720x576 [SAR 64:45 DAR 16:9], max. 9400 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
[mpeg @ 0x1d25880] VBV buffer size not set, using default size of 130KB

Output #0, mpeg, to 'test.mpg':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: mpeg2video, yuv420p, 720x432 [SAR 7:5 DAR 7:3], q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.60.100 mpeg2video
    Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
    Metadata:
      encoder         : Lavc56.60.100 mp2

Stream mapping:
  Stream #0:1 -&gt; #0:0 (mpeg2video (native) -&gt; mpeg2video (native))
  Stream #0:2 -&gt; #0:1 (ac3 (native) -&gt; mp2 (native))
Best to make it a square-pixel stream:

... -vf crop=720:432:0:72,scale=iw*sar:ih,setsar=1 test.mpg