Cornflake
24th March 2009, 22:24
Hi everyone,
This is my first post on doom9 but I've known for a long time (doing numerous google searches) that you have some of the most knowledgeable people of video encoding / decoding so I decided to finally post :)
I'm trying to convert a bunch of recorded videos of high-resolution video game footage. I used divx for a long time, but I was never quite happy with the quality. So I decided to start encoding in AVC/H.264 because it should yield a quality increase -- and I've seen some amazingly beautiful stuff encoded by H.264 -- but I'm having some problems.
First, the quality. I have some videos of forested scenes with lots of detailed greenish colour (trees, grass, etc). But even when I encode my video at 10Mbps (The maximum allowed by FFDShow Video Encoder for some reason) I get lot's of artifacts. Not really mosquito noise or color range compression in solid colours like the sky (That's an improvement over DivX) but I get very noticeable blocking. VERY noticeable. And, one of the biggest annoyences I had with DivX was similar colours all look muddled together. It seems to lack the quality I expect from a high bitrate advanced codec. What am I doing wrong? I will give you a picture to illustrate (These are all 1920x1200):
Original Capture (Fraps video @ 298Mbps)
http://users.d2k5.com/thimg.php?f=Cornflake/files/obliv_original.png&w=150&h=150&r=0&flou=0&b=1&a=45&r0=255&g0=255&b0=255 (http://users.d2k5.com/Cornflake/files/obliv_original.png)
Muddled grass with blocking (Notice in the trees you can see solid squares of green, really obvious) H.264 @ 10Mbps
http://users.d2k5.com/thimg.php?f=Cornflake/files/obliv_blocka.png&w=150&h=150&r=0&flou=0&b=1&a=45&r0=255&g0=255&b0=255 (http://users.d2k5.com/Cornflake/files/obliv_blocka.png)
After staying still for a few seconds, blocking disappears and so does some of the color artifacts (Taken from same video as above)
http://users.d2k5.com/thimg.php?f=Cornflake/files/obliv_blockb.png&w=150&h=150&r=0&flou=0&b=1&a=45&r0=255&g0=255&b0=255 (http://users.d2k5.com/Cornflake/files/obliv_blockb.png)
And when you're watching the video in motion, it's way noticeable. Makes me want to gouge my eyes out. Would anyone mind telling me how to reduce the blocking and muddled colours? Maybe a quick walkthrough on how to setup deblocking and quantizer settings in FFMpeg video encoder? I mean, I know gaming footage is harder to compress and look good but this is certainly not what I expected. I expected sharp, clear, relative lack of obvious compression at 10Mbps. Thanks. :cool:
This is my first post on doom9 but I've known for a long time (doing numerous google searches) that you have some of the most knowledgeable people of video encoding / decoding so I decided to finally post :)
I'm trying to convert a bunch of recorded videos of high-resolution video game footage. I used divx for a long time, but I was never quite happy with the quality. So I decided to start encoding in AVC/H.264 because it should yield a quality increase -- and I've seen some amazingly beautiful stuff encoded by H.264 -- but I'm having some problems.
First, the quality. I have some videos of forested scenes with lots of detailed greenish colour (trees, grass, etc). But even when I encode my video at 10Mbps (The maximum allowed by FFDShow Video Encoder for some reason) I get lot's of artifacts. Not really mosquito noise or color range compression in solid colours like the sky (That's an improvement over DivX) but I get very noticeable blocking. VERY noticeable. And, one of the biggest annoyences I had with DivX was similar colours all look muddled together. It seems to lack the quality I expect from a high bitrate advanced codec. What am I doing wrong? I will give you a picture to illustrate (These are all 1920x1200):
Original Capture (Fraps video @ 298Mbps)
http://users.d2k5.com/thimg.php?f=Cornflake/files/obliv_original.png&w=150&h=150&r=0&flou=0&b=1&a=45&r0=255&g0=255&b0=255 (http://users.d2k5.com/Cornflake/files/obliv_original.png)
Muddled grass with blocking (Notice in the trees you can see solid squares of green, really obvious) H.264 @ 10Mbps
http://users.d2k5.com/thimg.php?f=Cornflake/files/obliv_blocka.png&w=150&h=150&r=0&flou=0&b=1&a=45&r0=255&g0=255&b0=255 (http://users.d2k5.com/Cornflake/files/obliv_blocka.png)
After staying still for a few seconds, blocking disappears and so does some of the color artifacts (Taken from same video as above)
http://users.d2k5.com/thimg.php?f=Cornflake/files/obliv_blockb.png&w=150&h=150&r=0&flou=0&b=1&a=45&r0=255&g0=255&b0=255 (http://users.d2k5.com/Cornflake/files/obliv_blockb.png)
And when you're watching the video in motion, it's way noticeable. Makes me want to gouge my eyes out. Would anyone mind telling me how to reduce the blocking and muddled colours? Maybe a quick walkthrough on how to setup deblocking and quantizer settings in FFMpeg video encoder? I mean, I know gaming footage is harder to compress and look good but this is certainly not what I expected. I expected sharp, clear, relative lack of obvious compression at 10Mbps. Thanks. :cool: