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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th January 2003, 18:59   #41  |  Link
Ramirez
Registered User
 
Ramirez's Avatar
 
Join Date: Oct 2002
Location: Israel
Posts: 371
I'm experiencing similar problem here, when I try
To decode an h.264 Avi file, my system simply shuts down.
I'll tray to encode a few frames later, using Tommy Carrot's Fast Settings.
Ramirez is offline   Reply With Quote
Old 5th January 2003, 19:04   #42  |  Link
SirDavidGuy
Flying Attack Donkey
 
Join Date: Mar 2002
Posts: 159
Looked at the source (again).

Still no ME (other than FS), making it incredibly slow. Add that to multiple reference frames and 4th/8th/16th pel algorithms used, and it's bound to go incredibly slow.
__________________
"Bork Bork Bork"
SirDavidGuy is offline   Reply With Quote
Old 6th January 2003, 06:32   #43  |  Link
Bulletproof
Registered User
 
Bulletproof's Avatar
 
Join Date: Jan 2002
Posts: 318
How is the codec supposed to act when you try to use it? I think I set the config file properly, but when I try to encode a file in virtualdub it never shows the encoding panel, it just freezes the program.. unless its taking a really really really long time for the first frame, im on a 1.9ghz (actual speed) cpu.
Bulletproof is offline   Reply With Quote
Old 6th January 2003, 08:25   #44  |  Link
Mango Madness
Registered User
 
Join Date: Sep 2002
Posts: 132
yeah, the FPS on my 1.33ghz duron is about .0111 or rather 15 minutes PER FRAME.
Mango Madness is offline   Reply With Quote
Old 6th January 2003, 08:34   #45  |  Link
HarryM
Registered User
 
Join Date: May 2002
Location: Czech rep.
Posts: 390
I get 5 frames per minute(!) - full movie about 49 days encoding non-stop.
It's fantastic...
The first time I think, that PC frozen or Vdubmod crashed.
HarryM is offline   Reply With Quote
Old 6th January 2003, 10:02   #46  |  Link
charact3r
Registered User
 
Join Date: Oct 2002
Posts: 33
hdot264

I am the developer of hdot264 and would love to find out how it performs. Unfortunately I only have a 733MHz machine so encoding's particularly slow. Eventually the code will be faster (and probably completely rewritten to achieve this) but this will only happen if people find that the codec performs better than, say DivX 5 Pro or xvid.

So try encoding at a lower resolution (like 320 x 200) and try DivX 5 at the same resolution and bitrate. Suggest encoding with hdot264 first as I don't know how to get an accurate bitrate/filesize with it yet. You can then set divx 5 to have same bitrate.

For decoding, if your computer can't decode using hdot264 in real time, use vdub to convert h264 to huffyuv so that you can watch in real time and compare to DivX.

If hdot264 really is much better than DivX or xvid then I'll work on making it faster. And btw, developers very welcome
charact3r is offline   Reply With Quote
Old 6th January 2003, 10:13   #47  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
At least for me VirtualDub crashes when I try to scroll in the file I created,...
Woudl also be nice if you could give us some hints how to configure encoder and decoder cfg,...

Cu Selur

Ps.: What colorspaces does the codec support as input? (could be a reason for my file to be broken)
Selur is offline   Reply With Quote
Old 6th January 2003, 10:18   #48  |  Link
charact3r
Registered User
 
Join Date: Oct 2002
Posts: 33
Quote:
Originally posted by Selur
At least for me VirtualDub crashes when I try to scroll in the file I created,...
The best thing to do is to dub again from h264 to an uncompressed format for ease of playback. The codec does not support seeking.
Quote:
Woudl also be nice if you could give us some hints how to configure encoder and decoder cfg,...,...
These are the same files as used by the JVT software. I don't really know how to use them. Perhaps someone else can enlighten us?
Quote:
Ps.: What colorspaces does the codec support as input? (could be a reason for my file to be broken)
Same as xvid (xvid code used under GPL for VfW codec).
charact3r is offline   Reply With Quote
Old 6th January 2003, 10:24   #49  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Thx for the info,..

Another question:

Are the quantizer settings kind of equivalent to the one used in Xvid and go,.. ? (though the default settings of 30&31 are not the best settings for quality comparison?)

Cu Selur

/edit
Virtual Dub conversion (off the hdot264 file to huffyuv)just crashed with because of a division by Zero,.. I'll encode another file later and do some testing with it,.. (hopefully)
edit/

Last edited by Selur; 6th January 2003 at 10:36.
Selur is offline   Reply With Quote
Old 6th January 2003, 10:32   #50  |  Link
charact3r
Registered User
 
Join Date: Oct 2002
Posts: 33
Look at the following link for reference code (hdot264 uses jm40-ish) and for specification of h.264. I'm not sure how up-to-date the docs here are, if you find a more recent version, please put a link here.

http://bs.hhi.de/~wiegand/JVT.html

So you can read how h.264 quantisation works in the documentation. I think it's a bit more complicated than MPEG-4 quant.

edit: best thing to do is to try hdot264 with the default settings and see what bitrate it comes up with. Then try to match this bitrate with constant q divx/xvid and compare quality.

Last edited by charact3r; 6th January 2003 at 10:37.
charact3r is offline   Reply With Quote
Old 6th January 2003, 10:38   #51  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
okay,.. will read it later,..
thx for the info

Cu Selur

edit:
" best thing to do is to try hdot264 with the default settings and see what bitrate it comes up with. Then try to match this bitrate with constant q divx/xvid and compare quality." Okay,.. I'll try that.

Last edited by Selur; 6th January 2003 at 10:43.
Selur is offline   Reply With Quote
Old 6th January 2003, 16:45   #52  |  Link
gino25
Registered User
 
Join Date: Dec 2002
Posts: 165
I' ve compiled a old version but the results are very impressive. Thnks to all

@charact3r
Why don' t you use a jm 50?
gino25 is offline   Reply With Quote
Old 6th January 2003, 17:02   #53  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
just converted a small clip (used default encoder.cfg) and copied the decoder.cfg to C:\ otherwise Virtual Dub didn't want to open the file, but whenever I now try to convert thw h264 file to HuffYUV, Xvid,.. VirtualDub crashs because of a division by zero,...

Cu Selur
Selur is offline   Reply With Quote
Old 6th January 2003, 17:18   #54  |  Link
charact3r
Registered User
 
Join Date: Oct 2002
Posts: 33
Quote:
Originally posted by gino25
I' ve compiled a old version but the results are very impressive. Thnks to all

@charact3r
Why don' t you use a jm 50?
I decided not to try to keep up with the jm versions because that alone would take all my time. Also don't really want to invest too much time in hdot264 until I'm happy that it will be better than DivX and xvid.

How impressive were the results???
charact3r is offline   Reply With Quote
Old 6th January 2003, 21:16   #55  |  Link
vinetu
Registered User
 
Join Date: Oct 2001
Posts: 195
Quote:
just converted a small clip (used default encoder.cfg) and copied the decoder.cfg to C:\ otherwise Virtual Dub didn't want to open the file, but whenever I now try to convert thw h264 file to HuffYUV, Xvid,.. VirtualDub crashs because of a division by zero,...
Same here ...

I'm unable to see my 200 frames "rip"...
(speed -P4 @ 2.4GHz - 128x128 avi,200 frames for 4min)
vinetu is offline   Reply With Quote
Old 6th January 2003, 21:49   #56  |  Link
Tommy Carrot
Registered User
 
Tommy Carrot's Avatar
 
Join Date: Mar 2002
Posts: 863
Quote:
Originally posted by charact3r
I decided not to try to keep up with the jm versions because that alone would take all my time. Also don't really want to invest too much time in hdot264 until I'm happy that it will be better than DivX and xvid.

How impressive were the results???
You can find some opinions about h.264 on the above mentioned thread. As you can see, i was rather impressed with the quality. At mid/low/very low bitrates it is _much_ better than xvid/divx. I'm not sure about high bitrates, i've not tested the encoder under quant 20, but i guess it can stand there too. Anyway, definetaly better than the current codecs, just horribly slow, and i cannot decode it other way than converting the yuv file to avi.

BTW, with the most brutal settings, the encoding is still ~40 sec/frame at 720X384 on my athlonXP 1700. Something is wrong, if you get 5 min/frame. With some tweaking in the config, the encoding can easily reach the 0.3 frame/sec at that resolution.

Last edited by Tommy Carrot; 6th January 2003 at 21:54.
Tommy Carrot is offline   Reply With Quote
Old 6th January 2003, 21:52   #57  |  Link
Tommy Carrot
Registered User
 
Tommy Carrot's Avatar
 
Join Date: Mar 2002
Posts: 863
Quote:
Originally posted by vinetu
Same here ...

I'm unable to see my 200 frames "rip"...
(speed -P4 @ 2.4GHz - 128x128 avi,200 frames for 4min)
Try to search something like yuv2avi (e.g.: in the old topic). With that, you can convert the yuv file in the target directory to uncompressed avi.
Tommy Carrot is offline   Reply With Quote
Old 6th January 2003, 21:58   #58  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Thx for the tip, I'll try, here a link to the thread for others who might search:
http://forum.doom9.org/attachment.php?s=&postid=174083

/edit
yuvtoavi did the job for me => tomorrow I'll encode some test smaples with different encoder settings
edit/

Cu Selur

Last edited by Selur; 6th January 2003 at 23:11.
Selur is offline   Reply With Quote
Old 6th January 2003, 23:47   #59  |  Link
Alex_e_Basta
Registered User
 
Join Date: Apr 2002
Posts: 18
Hi all

I compiled the CVS version from SF.net and I made some tests : Divx vs H264 and Xvid vs H264.
I encoded 20 frames from PH using Avisynth 2.5 & VDub 1.4.13.1,Quality based 100% and no B frames; my script

LoadPlugin("c:\vdub_yv12\MPEG2Dec3.dll")
mpeg2source("C:\Avisynth\Prove\PH.d2v")
trim(0,19)
crop(0,72,720,432)
BicubicResize(720,304,0,0.75)

Then I switched back to Avisynth 2.07 and I compared dimensions and psnr of all encoded clips.

Codec _________ KB ____ Psnr __ Delta KB %___ Delta PSNR (DB)

Divx Qb100% ___ 694 ___ 39.81___0.00_________ 0.00
Xvid Qb100% ___ 674 ___ 39.64__ -2.88________ -0.17
Xvid Quant=1 _ 1410 ___ 40.64__ 103.17________ 0.83
H264 10-19 ____ 538 ___ 39.87_ -22.48_________ 0.06
H264 08-17 ____ 680 ___ 40.23__ -2.02_________ 0.42

As you can see, at nearly the same psnr(H264 quant 10-19), H264 gains 22.28% in KB vs Divx and at the same dimension as Divx (H264 quant 8-17) it gains 0.42 DB of psnr.
I think that these results are very impressive either in quality or in compression and I hope the good work will continue.

Bye
Alex
Alex_e_Basta is offline   Reply With Quote
Old 7th January 2003, 00:11   #60  |  Link
DVD__GR
Registered User
 
Join Date: Jul 2002
Location: GREECE
Posts: 100
!!!

Really impressive..is it possible for the author to make it some more user friendly for us to test it??
I'm sure that many would like to test,its really usefull to get the answer if its worth it or not?

Last edited by DVD__GR; 7th January 2003 at 00:19.
DVD__GR is offline   Reply With Quote
Reply


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 06:33.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.