PDA

View Full Version : how to compress football match video


jujiananren
11th April 2008, 14:28
I wanna to compress football match video and get the best quality.
The source file is .mpg and size is 720*576,and the size of file i wanna get is between 600M and 1G with the length of 100 minutes .The tool i wanna use is VirtualDubMod and xvid mpeg-4 codec.I know the common flow of compressing video.But considering that all the football match videos have the same attribute,there must be a set of parameters which are universal and appropriate for them all.Then how to fill in the parameters,and what detail should i pay attention to,like the B-frame、Quantization or something?

Southstorm
11th April 2008, 19:10
See if this helps...
http://nic.dnsalias.com/XviD_Options_Explained.pdf

unskinnyboy
11th April 2008, 19:46
See if this helps...
http://nic.dnsalias.com/XviD_Options_Explained.pdf
I doubt this outdated guide will help anyone. Besides I don't think OP was looking for an Xvid options guide.

@jujiananren, This has been asked before. Just search for the "football" keyword. In a gist - football videos (or any sports video, for that matter) are quite difficult to compress. For a 100 min video to fit in the file size you are aiming for, you'd probably need to denoise it heavily and dumb the resolution way down. Would you be viewing this on a SAP or on the PC? If the latter, then you may want to jack up the b-frames to 4 or 5. If the former, then stick to a max of 2, since most SAPs don't support anything above 2. I'd expect high quants for your encode, but maybe you want to try a few fixed-quant based encodes first, to see if they work for you.

Ranguvar
11th April 2008, 22:51
I also highly recommend using VAQ, it offers a huge improvement on slightly textured grass, making it look much more real under heavy compression.

You may also want to reduce that resolution a bit, depending on the amount of compression.

jujiananren
12th April 2008, 10:33
I doubt this outdated guide will help anyone. Besides I don't think OP was looking for an Xvid options guide.

@jujiananren, This has been asked before. Just search for the "football" keyword. In a gist - football videos (or any sports video, for that matter) are quite difficult to compress. For a 100 min video to fit in the file size you are aiming for, you'd probably need to denoise it heavily and dumb the resolution way down. Would you be viewing this on a SAP or on the PC? If the latter, then you may want to jack up the b-frames to 4 or 5. If the former, then stick to a max of 2, since most SAPs don't support anything above 2. I'd expect high quants for your encode, but maybe you want to try a few fixed-quant based encodes first, to see if they work for you.


I've searched "football" but it doesn't help.
For the file size i'm aiming for,should i keep the original rezolution 720*576 or reduce it to 640*480?
If i wanna keep the original rezolution 720*576 ,what size should the file be ,or what the bitrate should be?

unskinnyboy
12th April 2008, 16:35
I've searched "football" but it doesn't help.
For the file size i'm aiming for,should i keep the original rezolution 720*576 or reduce it to 640*480?
If i wanna keep the original rezolution 720*576 ,what size should the file be ,or what the bitrate should be?You haven't searched hard enough then. I did the same search and found relevant results.

I doubt you'll be able to get good quality even at 720x576 or 640x480. That said, please don't ask questions which you can test and find out on your own. Do some sample encodes and you can answer all your questions yourself.

500 Kip
21st April 2008, 16:51
I've compressed a few football (soccer) games and have similar problems.

To put the 'texture' back into the grass try adding a 'noise' filter on playback (use ffdshow on PC).

On some of my lower resolution encodes with a high strength noise filter the players would have their heads removed by the noise filter when the camera is at a wide angle! In extreme cases the ball could even get treated as a noise pixel.

Personally I prefer to resize down, but not much, (>512 horiz) to keep detail for those wide angle shots and use a subtle spatial noise filter like removegrain(mode=17) to make the source more compressible.

If you keep your eyes on the 'action' when you watch it back you wont notice the 'blocky' grass.

You should be able to get 100 minutes on 1 CD (700MB).

Also try using ffdshow's MPEG-4 to compress your video, you might be surprised at how well it compares to XviD on sports (although I prefer XviD for movies).

Remember: Don't look at the artifacts - WATCH THE GAME!! :rolleyes: