Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Display Modes
Old 17th January 2003, 19:47   #1  |  Link
Sirber
Registered User
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,732
VSS Codec and H264

About VSS Codec:
***********

VSS Video codec allows users to compress video data with highest compression ratio, sufficient coding speed, efficient rate control and flexibility. That makes VSS Video Codec very useful for a wide range of video coding tasks.
What's new in version 1.3
New wavelet technology makes compression much more faster
Two new compression modes for fast encoding
Improved rate control
New API functions (stream info, encoder/decoder settings)
Bug fixes
VSS Video Codec advantages
Very high compression efficiency and good compression speed
Flexibility and powerful fine-tuning capabilities
Rate control and quality control mechanisms
Platform independent coding engine and easy integration with various video-processing systems on different platforms
Video for Windows interface
Summary
The highest compression ratio, sufficient coding speed, efficient rate control and flexibility make VSS Video Codec very useful for a wide range of video coding tasks.

It is designed as a modular and platform independent software with simple and convenient SDK, allowing it to be easily integrated into various video streaming/recording/storing systems on different platforms. For an example, one of the testing procedures for the codec has been implemented within a Linux-based Internet videoconferencing system.

The codec has strong potential mechanisms for on-the-fly adjustment of speed/compression ratio (in addition to the rate control) to account for the changing bandwidth or other external conditions. This unique and important feature cannot be found in commonly used video compression SDKs.

About H264:
***********

ITU-T H.264 Codec
VSS has been working on the ITU-T H.264 (formerly H26L) codec implementation since the beginning of 2001.
Initially, our version was based on the reference software. However, the reference implementation, taken as is, is inefficient and has little practical value. Our implementation is highly optimized, and we continue working on the enhancements.
The optimization areas here can be split into the following three groups:
1. Optimizations affecting both encoder and decoder
2. Encoder-specific optimizations
3. Optional pre- and post processing, which by itself is not part of a standard but is still commonly used.

For the first group, it is mostly the code optimization for speed that has been done. We achieved about 2.5 times speed up just by pure C-code optimization.
Large part of the reference code was rewritten from scratch because:
- Its initial design did not allow for speed optimizing;
- It is not designed to work in multithreaded environment;
- Reference implementation is not designed in a modular way, making it very inflexible.
Our implementation addresses all these issues. We also performed custom optimization for the following target platforms: Trimedia DSP, TI and Intel Pentium. The work on further code optimization and flexibility is continuing.

Encoder-specific optimization includes several new efficient (patent-pending) algorithms. Among them:
- Optional noise reduction preprocessing (This is not just a preprocessing in a usual sense. This noise reduction filter is in fact a part of the encoding process as it uses the results of motion estimation)
- Very fast and precise Motion Estimation algorithms;
- Intelligent macroblock type and reference frame selection;
- Perception-based quant-parameter modulation;
- Several rate distortion algorithms;
- Original rate and time control;
- Scene change detection.

Preprocessing / postprocessing.
Here, we implemented a lot of optional procedures, which can be executed before encoding and after decoding. Among them:
- Separate noise reduction filter;
- Smoothing and sharpening filters;
- Clipping, downscaling, upscaling;
- Interlace, deinterlace, Telecine, Inverse Telecine;
These are very flexible procedures that can be used in various combinations.

Get them at:

VSS Codec: http://pluto.vss.spb.ru/vsscodec/download/
H264: http://www.vsofts.com/VideoDownloads...odec10beta.exe
__________________
download RealAnime and Bencos

Last edited by Sirber; 24th January 2003 at 22:26.
Sirber is offline   Reply With Quote
Old 17th January 2003, 19:50   #2  |  Link
Sirber
Registered User
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,732
With H264, I'm encoding at ~2 FPS on a 2 GHz!!!! Playback is painfull, with 100% CPU utilisation. I'll post a preview shortly.

Mode:
Slow: ~2 FPS
Slowest + bframes: ~0 FPS
__________________
download RealAnime and Bencos

Last edited by Sirber; 17th January 2003 at 19:58.
Sirber is offline   Reply With Quote
Old 17th January 2003, 20:08   #3  |  Link
Sirber
Registered User
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,732
I have no FTP so here the results:

Both codecs at 512kbps, slow encoding with wavelte intra-frames.

H264:
Good:
* Respect the rate control

Bad:
* Lots of blocks
* Encoding speed
* Require a ~2.4 GHz for playback

VSS Codec 1.3:
Good:
* Faster than 1.2
* Quality is nice at 512kbps
* No visible blocks

Bad:
* Don't respect the rate control
* Require a ~2 GHz for playback

================

Here's some preview:

http://pluto.vss.spb.ru/vsscodec/H.2...i-h264-300.avi
http://pluto.vss.spb.ru/vsscodec/H.2...i-h264-150.avi
http://pluto.vss.spb.ru/vsscodec/H.2...1-h264-300.avi
http://pluto.vss.spb.ru/vsscodec/H.2...2-h264-300.avi
__________________
download RealAnime and Bencos

Last edited by Sirber; 17th January 2003 at 20:11.
Sirber is offline   Reply With Quote
Old 17th January 2003, 22:30   #4  |  Link
Selur
member of flaskmpeg.info
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 1,858
Another Codec too test, har har,..
(it's like christmas lately )

Cu Selur

Ps: "version 1.3 is time-limited"

So feedback from first tests:

I only get about 50% CPU usage with the h264 beta, on my dual Athlon MP System, with Xvid&Co it's 805

Last edited by Selur; 17th January 2003 at 23:13.
Selur is offline   Reply With Quote
Old 17th January 2003, 23:31   #5  |  Link
midiguy
Registered User
 
Join Date: Feb 2002
Location: Toronto, Canada
Posts: 407
I installed the VSS codec and I cannot playback TheMatrix2-h264-300.avi.. do I need the other h.264 codec? probably do....
midiguy is offline   Reply With Quote
Old 17th January 2003, 23:32   #6  |  Link
midiguy
Registered User
 
Join Date: Feb 2002
Location: Toronto, Canada
Posts: 407
..

oohhhh.. the codec is called "h264".. I thought it was just a h.264 codec..
midiguy is offline   Reply With Quote
Old 17th January 2003, 23:37   #7  |  Link
midiguy
Registered User
 
Join Date: Feb 2002
Location: Toronto, Canada
Posts: 407
...

argh... it works this tinme, but just plays a black screen. for sure this is purely because of how much my computer sucks (p3 600 mhz, 128 meg PC100 SDRAM) can someone post some screenies for midiguy? thanks!
midiguy is offline   Reply With Quote
Old 18th January 2003, 00:01   #8  |  Link
Selur
member of flaskmpeg.info
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 1,858
Hmm testing Vss codec atm and at low motion sceens (smith questioning Morpheus) Xvid and hdot264 beats it, vss uses to much smoothing. (tested them all kind of with the same file size; I only did high quality (Xvid quant 2 test), so can't say how it performs at low bitrates), but h264 Codec performes quite good,..

Cu Selur

Ps.: "but just plays a black screen." same problem here with the provided clip
Selur is offline   Reply With Quote
Old 18th January 2003, 03:02   #9  |  Link
Sirber
Registered User
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,732
About hdot264, will it have a GUI for configuration instead of .cfg?

About the "time limit", it's just words
__________________
download RealAnime and Bencos
Sirber is offline   Reply With Quote
Old 18th January 2003, 09:31   #10  |  Link
Selur
member of flaskmpeg.info
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 1,858
"About hdot264, will it have a GUI for configuration instead of .cfg?" Don't know, maybe atm it's a one man show so progress takes it time.

Cu Selur
Selur is offline   Reply With Quote
Old 18th January 2003, 15:27   #11  |  Link
gino25
Registered User
 
Join Date: Dec 2002
Posts: 161
Quote:
About the "time limit", it's just words
What?
gino25 is offline   Reply With Quote
Old 19th January 2003, 16:38   #12  |  Link
Sirber
Registered User
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,732
In the website, they say it's a 60-day limited version, but there is no limitation inside the codec, so it's just words.
__________________
download RealAnime and Bencos
Sirber is offline   Reply With Quote
Old 19th January 2003, 19:02   #13  |  Link
gino25
Registered User
 
Join Date: Dec 2002
Posts: 161
ok thank you
gino25 is offline   Reply With Quote
Old 20th January 2003, 01:14   #14  |  Link
buba king
Linux Guy
 
buba king's Avatar
 
Join Date: Oct 2001
Posts: 113
testing now.. getting 15fps on the VSS 1.3 @ 640x320

VSS:
q=15

10mb

looks great. (no lag.. about 80% cpu usage, using ffdshow for postprocessing)

XviD:
q=15

4MB

Looks like crap.. Still trying to get the filesize on the VSS clip down.

Last edited by buba king; 20th January 2003 at 01:24.
buba king is offline   Reply With Quote
Old 20th January 2003, 04:26   #15  |  Link
Mango Madness
Registered User
 
Join Date: Sep 2002
Posts: 132
if i remember correctly, you can't compare quantizer for quantizer if this codec is remotely based off of h.264. They use completely different mathematical methods (linear and logarithmic?) for computing the quants.
Mango Madness is offline   Reply With Quote
Old 20th January 2003, 07:23   #16  |  Link
midiguy
Registered User
 
Join Date: Feb 2002
Location: Toronto, Canada
Posts: 407
.

buba king: did you use the h.264 VSS codec or the VCC codec based on wavelet (one says h.264 and the other doesn't)?
midiguy is offline   Reply With Quote
Old 20th January 2003, 13:01   #17  |  Link
Tommy Carrot
Registered User
 
Tommy Carrot's Avatar
 
Join Date: Mar 2002
Posts: 747
I did some tests.

Their h.264 gives slightly worse result, than the reference software and hdot264. And it doesn't matter which bitrate or quantizer you set, it always give the same length.

The vss codec is not wavelet, just the keyframes. The quality is not really better than xvid's with the ASP options, at higher bitrates it's worse imo. And much slower. Not worth to use it yet.
Tommy Carrot is offline   Reply With Quote
Old 20th January 2003, 14:01   #18  |  Link
netchris
Registered User
 
Join Date: Jan 2003
Location: Greece
Posts: 53
to Tommy Carrot : you have to have one vss codec installed at a time.If you have them both installed the 264 is broken giving the same low bitrate nomatter what bitrate or quantizer you choose.So uninstall them both,reboot and then install the vss264 and it works ok.
I Agree that the vss264 is worse than the reference one,and it has some
problems (due to immaturness). Such as everytime a scene changes the picture becomes blurry for a second even when there isn't too much motion and the colors of the walls and other surfaces are shaky.
netchris is offline   Reply With Quote
Old 20th January 2003, 18:13   #19  |  Link
buba king
Linux Guy
 
buba king's Avatar
 
Join Date: Oct 2001
Posts: 113
Re: .

Quote:
Originally posted by midiguy
buba king: did you use the h.264 VSS codec or the VCC codec based on wavelet (one says h.264 and the other doesn't)?
I used the VCC codec (v.1.3). i got the filesize (q=22) down but i dont think it looks any better than a bad xvid encode at the same size :/ .. Maybe i fucked up something though ..

the size of the test clip i used: SHQ (mpeg2) 1280x1024 (1:30)

Last edited by buba king; 20th January 2003 at 18:18.
buba king is offline   Reply With Quote
Old 21st January 2003, 01:50   #20  |  Link
netchris
Registered User
 
Join Date: Jan 2003
Location: Greece
Posts: 53
There is a new build of the h.264 available from vss(20/1/2003).
Although it has has the same version number the codec has definately been updated because the video quality in my tests has been greatly improved!
The bad thing is that the rate control is not working correctly so you have to play a lot to get a desired filesize(bitrate).
I dont see any speed improvements.
netchris is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:06.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.