@ogolon21: Thank you very much for your highlight of Almagro Vs Wawrinka! A little hint: Your chosen resolution is not hardware player compatible (1280x716). The width must be a multiple of 16, the height a multiple of 8. With DivX/Xvid it's both a multiple of 16.
@mervlad: Your highlight of Nishikori Vs Tsonga has a resoltion of 1080x720 px. The width is not dividable by 16. And the black borders should be cropped. And your SAR is 16:9 which should be 1:1 (while encoding/muxing). And with the encoded black borders in your video (the real height is only 606 px), a media player calculates a wrong AR while viewing (16:9 -> 1280x720, but with the black borders, the image is stretched). But you know that already ;-)
Yesterday I read the "High Definition x264 Standards Revision 4.0" and "... Rev. 3.0" scene-rules for movie releases and some other guides. Here's a little summary (regarding encoding tennis) you all could stick to, if you want:
- CRF (constant rate factor) 20-22 (exception: much noise, bad quality, which raises the bitrate with crf -> 2-Pass)
- 2 Pass bitrates for 720p: 4000-8000 kbps
- 2 Pass bitrates for 1080p: 8000-14000 kbps
- Bitrate exception: Not more than 2000 kbps more than the original source kbps
- Width: A multiple of 16 (mod16)
- Height: A multiple of 8 (mod8)
- Crop all black borders (use the frame with most info as base)
- Max. resolution 720p: 1280x720 px
- Max. resolution 1080p: 1920x1080 px
- Stick to level 4.1 restrictions
And now the x264 parameters:
--preset medium (with this, all default x264 settings will apply)
--sar 1:1 (I think, this one is obsolete)
--keyint ### (replace the ### with result of fps x 10)
--bframes 5 (or 4, if you want to speed up the encoding time a little bit)
--b-adapt 2
--ref 5 (exception: Height is greater than 864 px, then only 4 ref-frames, to stick with level 4.1 restrictions)
--direct auto
--me umh
--trellis 2 (default is 1; use this, if you want to get better quality, but it slows down encoding time. It's optional)
I hope, this is helping a bit.
@Ben: Thanks for the new highlight!!