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 Search this Thread Display Modes
Old 21st May 2008, 03:17   #121  |  Link
KEROLiUKAS
DivX Connected Freak
 
Join Date: Jan 2008
Posts: 18
Redone all tests using the latest ffdshow, and added CoreAVC, also disabled logo in DivX h.264.

File 1:

DivX h.264
User: 1s, kernel: 0s, total: 1s, real: 11s, fps: 868.0, dfps: 117.6

ffdshow
User: 2s, kernel: 0s, total: 2s, real: 23s, fps: 532.2, dfps: 60.6

CoreAVC
User: 1s, kernel: 0s, total: 1s, real: 10s, fps: 1397.0, dfps: 132.1
File 2:

DivX h.264
User: 1s, kernel: 0s, total: 1s, real: 8s, fps: 997.8, dfps: 171.2

ffdshow
User: 1s, kernel: 0s, total: 1s, real: 21s, fps: 742.4, dfps: 68.3

CoreAVC
User: 0s, kernel: 0s, total: 0s, real: 7s, fps: 1600.0, dfps: 197.9

File 3:

DivX h.264
User: 1s, kernel: 0s, total: 1s, real: 9s, fps: 978.7, dfps: 147.7

ffdshow
User: 1s, kernel: 0s, total: 1s, real: 22s, fps: 861.9, dfps: 65.3

CoreAVC
User: 0s, kernel: 0s, total: 0s, real: 8s, fps: 1592.4, dfps: 169.3

File 4:

DivX h.264
User: 1s, kernel: 0s, total: 1s, real: 12s, fps: 923.2, dfps: 126.1

ffdshow
User: 2s, kernel: 0s, total: 2s, real: 21s, fps: 631.3, dfps: 72.2

CoreAVC
User: 1s, kernel: 0s, total: 1s, real: 11s, fps: 1223.2, dfps: 138.4
Tests using build 1945 of ffdshow.


Chart of my data:



LOL, it took me a few minutes to figure out some Excel stuff.

Sorry for the innaccurate results at first, all sorted out now..

Last edited by KEROLiUKAS; 21st May 2008 at 22:54. Reason: Added chart
KEROLiUKAS is offline   Reply With Quote
Old 21st May 2008, 05:27   #122  |  Link
_xxl
ffdshow user
 
_xxl's Avatar
 
Join Date: Oct 2005
Location: Romania
Posts: 818
Yes, DivX and Core are faster because of frame level parallelism, ffdshow has only cabac splitting.
Please test using one decoding core to see the differences.
_xxl is offline   Reply With Quote
Old 21st May 2008, 05:37   #123  |  Link
Shinigami-Sama
Solaris: burnt by the Sun
 
Shinigami-Sama's Avatar
 
Join Date: Oct 2004
Location: /etc/default/moo
Posts: 1,923
Quote:
Originally Posted by _xxl View Post
Yes, DivX and Core are faster because of frame level parallelism, ffdshow has only cabac splitting.
Please test using one decoding core to see the differences.
it has slices as well
but not many encodes have slices anymore...
__________________
Quote:
Originally Posted by benjust View Post
interlacing and telecining should have been but a memory long ago.. unfortunately still just another bizarre weapon in the industries war on image quality.
Shinigami-Sama is offline   Reply With Quote
Old 21st May 2008, 06:20   #124  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
KEROLiUKAS: I still think there's a problem. You're the only guy with a dual core who finds that DivX is faster than CoreAVC.

On a side note, change the name of the video files in your post to something less conspicuous.
On a second side note, don't think I have something against you, it's just that I see strange unexplainable timings and I like to know why.
__________________
Manao is offline   Reply With Quote
Old 21st May 2008, 09:09   #125  |  Link
sparky
DivX Team
 
Join Date: Oct 2001
Location: San Diego, CA
Posts: 24
As nice as these results look, I'm having a hard time believing that beta1 is 30% faster than CoreAVC on any clip maybe there really is something wrong. (Unless it's something like CAVLC + no B-frames + no 8x8). We're getting an X2 set up, we'll get a clearer idea what to expect.

What's the renderer and the graphics card?

Beta 2 is getting real close, I can't make any promises but I'm hoping to push it tomorrow.
sparky is offline   Reply With Quote
Old 21st May 2008, 14:20   #126  |  Link
KEROLiUKAS
DivX Connected Freak
 
Join Date: Jan 2008
Posts: 18
Quote:
Originally Posted by Manao View Post
KEROLiUKAS: I still think there's a problem. You're the only guy with a dual core who finds that DivX is faster than CoreAVC.

On a side note, change the name of the video files in your post to something less conspicuous.
On a second side note, don't think I have something against you, it's just that I see strange unexplainable timings and I like to know why.
Yea i think so too, i think that may be the case, as it's really weird... Later today I am going to post screenshots of my settings for Core and you guys can tell me what's wrong... Maybe it was something to do with something else running?
KEROLiUKAS is offline   Reply With Quote
Old 21st May 2008, 15:52   #127  |  Link
IgorC
Registered User
 
Join Date: Apr 2004
Posts: 1,315
KEROLiUKAS

Did you test latest version of CoreAVC 1.7?
IgorC is offline   Reply With Quote
Old 21st May 2008, 22:33   #128  |  Link
KEROLiUKAS
DivX Connected Freak
 
Join Date: Jan 2008
Posts: 18
KEROLiUKAS is offline   Reply With Quote
Old 21st May 2008, 22:38   #129  |  Link
Ice =A=
Registered User
 
Join Date: Jan 2004
Location: Heidelberg, Germany
Posts: 153
You could try switching deinterlacing to "hardware".
Ice =A= is offline   Reply With Quote
Old 21st May 2008, 22:43   #130  |  Link
KEROLiUKAS
DivX Connected Freak
 
Join Date: Jan 2008
Posts: 18
Quote:
Originally Posted by Ice =A= View Post
You could try switching deinterlacing to "hardware".
That didn't affect it..But crap i think i know what i did, i turned off deblocking in DivX h.264, gonna do the same in Core and re run the tests...



Edit:

Alright, fixed my original post, with real results, same settings.

Last edited by KEROLiUKAS; 22nd May 2008 at 02:09. Reason: hehe
KEROLiUKAS is offline   Reply With Quote
Old 22nd May 2008, 01:32   #131  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
@KerOLiUKAS: Please don't use offensive language. This is a family forum.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld
Inventive Software is offline   Reply With Quote
Old 22nd May 2008, 02:09   #132  |  Link
KEROLiUKAS
DivX Connected Freak
 
Join Date: Jan 2008
Posts: 18
Quote:
Originally Posted by Inventive Software View Post
@KerOLiUKAS: Please don't use offensive language. This is a family forum.
IDK what you're talking about


(edited it out :P )

Deblocking ON

Last edited by KEROLiUKAS; 22nd May 2008 at 03:18.
KEROLiUKAS is offline   Reply With Quote
Old 22nd May 2008, 04:56   #133  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
CoreAVC wins out in this instance then.

Is there a way to batch run timecodec on different decoders?
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld
Inventive Software is offline   Reply With Quote
Old 22nd May 2008, 13:03   #134  |  Link
KEROLiUKAS
DivX Connected Freak
 
Join Date: Jan 2008
Posts: 18
Quote:
Originally Posted by Inventive Software View Post
CoreAVC wins out in this instance then.

Is there a way to batch run timecodec on different decoders?
Yeah, i was wondering that too. It would be nice to create a batch and have them all run...
KEROLiUKAS is offline   Reply With Quote
Old 22nd May 2008, 14:49   #135  |  Link
MarcioAB
Registered User
 
MarcioAB's Avatar
 
Join Date: Nov 2005
Posts: 157
Is that possible that we all use one same sequence of video (let's say 3K or 4K frames) and check the results relative our hardware differences ?

My results (on Intel 6600 + nVidia 8600 GTS + XP SP3) indicated DivX and CoreAVC almost with the same results.
MarcioAB is offline   Reply With Quote
Old 22nd May 2008, 15:32   #136  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
My test Results:

Settings:







File 1:

Code:
General
Complete name                    : C:\Documents and Settings\xxxxx\Desktop\64827461.mp4
Format                           : MPEG-4
Format profile                   : Base Media
Codec ID                         : isom
File size                        : 81.1 MiB
Duration                         : 1mn 41s
Overal bit rate                  : 6724 Kbps
Encoded date                     : UTC 2008-05-21 13:26:03
Tagged date                      : UTC 2008-05-21 13:26:03
Writing application              : Yamb 2.0.0.8 [http://yamb.unite-video.com]

Video
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Main@L3.1
Format settings, CABAC           : No
Format settings, ReFrames        : 2
Codec ID                         : avc1
Duration                         : 1mn 41s
Bit rate mode                    : VBR
Bit rate                         : 6532 Kbps
Maximum bit rate                 : 12.6 Mbps
Width                            : 1280 pixels
Height                           : 690 pixels
Display aspect ratio             : 1.855
Frame rate mode                  : CFR
Frame rate                       : 23.976 fps
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.308
Stream size                      : 78.8 MiB
Encoded date                     : UTC 2008-05-21 03:03:40
Tagged date                      : UTC 2008-05-21 13:26:07

Audio
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Duration                         : 1mn 41s
Bit rate mode                    : VBR
Bit rate                         : 188 Kbps
Maximum bit rate                 : 325 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Resolution                       : 16 bits
Stream size                      : 2.27 MiB
Encoded date                     : UTC 2008-05-21 13:26:06
Tagged date                      : UTC 2008-05-21 13:26:07
DivX H264 Decoder Filter

Renderer = VMR9
User: 4s, kernel: 6s, total: 10s, real: 22s, fps: 226.0, dfps: 110.1

Renderer = NULL
User: 2s, kernel: 0s, total: 2s, real: 15s, fps: 867.4, dfps: 154.8

ffdshow video Decoder

Renderer = VMR9
User: 32s, kernel: 0s, total: 33s, real: 36s, fps: 72.5, dfps: 66.3

Renderer = NULL
User: 31s, kernel: 0s, total: 31s, real: 34s, fps: 76.3, dfps: 71.1

File 2:

Code:
General
Complete name                    : C:\Documents and Settings\xxxxx\Desktop\sample.mp4
Format                           : MPEG-4
Format profile                   : Base Media
Codec ID                         : isom
File size                        : 50.5 MiB
Duration                         : 1mn 8s
Overal bit rate                  : 6197 Kbps
Encoded date                     : UTC 2008-05-21 14:07:21
Tagged date                      : UTC 2008-05-21 14:07:21

Video
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 4
Codec ID                         : avc1
Duration                         : 1mn 8s
Bit rate mode                    : VBR
Bit rate                         : 6096 Kbps
Maximum bit rate                 : 15.6 Mbps
Width                            : 1280 pixels
Height                           : 544 pixels
Display aspect ratio             : 2.35
Frame rate mode                  : CFR
Frame rate                       : 19.181 fps
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.456
Stream size                      : 49.7 MiB
Encoded date                     : UTC 2008-05-21 14:07:21
Tagged date                      : UTC 2008-05-21 14:07:24

Audio
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Duration                         : 1mn 8s
Bit rate mode                    : VBR
Bit rate                         : 96.0 Kbps
Maximum bit rate                 : 137 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Resolution                       : 16 bits
Stream size                      : 812 KiB
Encoded date                     : UTC 2008-05-21 14:07:24
Tagged date                      : UTC 2008-05-21 14:07:24
DivX H264 Decoder Filter

Renderer = VMR9
User: 1s, kernel: 2s, total: 4s, real: 12s, fps: 288.3, dfps: 102.2

Renderer = NULL
User: 1s, kernel: 0s, total: 1s, real: 10s, fps: 998.9, dfps: 128.1

ffdshow video Decoder

Renderer = VMR9
User: 1s, kernel: 0s, total: 1s, real: 15s, fps: 762.8, dfps: 84.3

Renderer = NULL
User: 1s, kernel: 0s, total: 1s, real: 14s, fps: 998.9, dfps: 91.7
rack04 is offline   Reply With Quote
Old 25th May 2008, 03:51   #137  |  Link
speedxl
Registered User
 
Join Date: Mar 2002
Posts: 7
Since DivX, its supported in Ps3, it means you will update the ps3 decoder, when this decoder gets released? i hope you are coding too for the cell platform.
speedxl is offline   Reply With Quote
Old 25th May 2008, 15:03   #138  |  Link
Fuse-One
Registered User
 
Join Date: Feb 2002
Posts: 2
Quote:
Originally Posted by speedxl View Post
Since DivX, its supported in Ps3, it means you will update the ps3 decoder, when this decoder gets released? i hope you are coding too for the cell platform.
That all depends on Sony not DivX themselves, me thinks.
Fuse-One is offline   Reply With Quote
Old 25th May 2008, 18:02   #139  |  Link
Brother John
(schein)heilig
 
Brother John's Avatar
 
Join Date: Jun 2003
Location: Germany
Posts: 512
Another single core test from me. Not too much difference from ffdshow. On the whole DivX just works without needing any attention. Nice work for the first beta. 0-255 range output would be nice, but OTOH using ffdshow as postprocessor is no problem and doesn’t seem to change speed noticeably.

TEST RESULTS:
  • Pentium M Dothan, 1.6 GHz, single core
  • WinXP
  • DivX H.264 Beta, defaults, logo disabled. Additionally I tested without multithreading because of my CPU -> no significant difference.
  • ffdshow_rev1971_20080523_clsid_sse_icl10, defaults

Clip1:
NULL
DivX: User: 1669s, kernel: 2s, total: 1672s, real: 1699s, fps: 101.9, dfps: 100.3
ffds: User: 1821s, kernel: 2s, total: 1823s, real: 1846s, fps: 93.4, dfps: 92.3

VMR9
DivX: User: 1629s, kernel: 9s, total: 1639s, real: 2771s, fps: 103.9, dfps: 61.5
ffds: User: 1837s, kernel: 7s, total: 1844s, real: 2568s, fps: 92.4, dfps: 66.3


Clip2:
NULL
DivX: User: 73s, kernel: 0s, total: 73s, real: 75s, fps: 859.8, dfps: 838.5
ffds: User: 93s, kernel: 0s, total: 93s, real: 96s, fps: 673.1, dfps: 652.0

VMR9
DivX: User: 64s, kernel: 0s, total: 64s, real: 526s, fps: 977.5, dfps: 119.7
ffds: User: 89s, kernel: 0s, total: 90s, real: 526s, fps: 698.7, dfps: 119.8


Clip1 Info
Code:
Play duration: 01:53:36 (6816.04 s)
Container type: matroska

[ Video track ]

Codec ID: V_MPEG4/ISO/AVC
Resolution: 716 x 436
Frame aspect ratio: 179:109 = 1.642201
Pixel aspect ratio: 16:11 = 1.454545
Display aspect ratio: 2864:1199 = 2.388657 (~2.35:1)
Framerate: 25 fps

[ About H.264 encoding ]

User data: x264
User data: core 59 r858 0903472
User data: H.264/MPEG-4 AVC codec
User data: Copyleft 2003-2008
User data: http://www.videolan.org/x264.html
User data: cabac=1
User data: ref=4
User data: deblock=1:0:-1
User data: analyse=0x3:0x133
User data: me=hex
User data: subme=7
User data: brdo=0
User data: mixed_ref=1
User data: me_range=16
User data: chroma_me=1
User data: trellis=0
User data: 8x8dct=1
User data: cqm=0
User data: deadzone=4,4
User data: chroma_qp_offset=0
User data: threads=1
User data: nr=0
User data: decimate=1
User data: mbaff=0
User data: bframes=16
User data: b_pyramid=0
User data: b_adapt=1
User data: b_bias=0
User data: direct=3
User data: wpredb=1
User data: bime=1
User data: keyint=250
User data: keyint_min=25
User data: scenecut=40
User data: rc=crf
User data: crf=18.5
User data: rceq='blurCplx^(1-qComp)'
User data: qcomp=1.00
User data: qpmin=10
User data: qpmax=51
User data: qpstep=4
User data: ip_ratio=1.40
User data: pb_ratio=1.30
User data: aq=2:1.00
SPS id: 0
  Profile: High@L5.1
  Num ref frames: 4
PPS id: 0
  Entropy coding type: CABAC
  Weighted prediction: No
  Weighted bipred idc: B slices - implicit weighted prediction

Clip2 Info
Code:
Play duration: 00:35:03 (2102.533333 s)
Container type: MP4/MOV

[ Video track ]

Codec: avc1
Resolution: 320 x 240
Frame aspect ratio: 4:3 = 1.333333
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 4:3 = 1.333333
Framerate: 29.970036 fps

[ About H.264 encoding ]

User data: 
SPS id: 0
  Profile: Baseline@L1.3
  Num ref frames: 1
PPS id: 0
  Entropy coding type: CAVLC
  Weighted prediction: No
  Weighted bipred idc: No
Number of frames: 63013
Drop/delay frames: 0
Corrupted frames: 0

P-slices: 62521 ( 99.219 %) #########################
B-slices:     0 (  0.000 %)                          
I-slices:   492 (  0.781 %)                          
SP-slices:     0 (  0.000 %)                          
SI-slices:     0 (  0.000 %)
__________________
Brother John

When lost in BeSweet's options, have a look at the Commandline Reference.
DVD nach MPEG-4 klappt nicht? Verzweifelt? Auf zum Encodingwissen!
Brother John is offline   Reply With Quote
Old 26th May 2008, 06:38   #140  |  Link
plonk420
amd & h.264 fanboy
 
plonk420's Avatar
 
Join Date: Jun 2002
Location: NTSC
Posts: 420
sorry for being lame, but what's a quick way to get the FPS of a clip when dumping output to null? (yes, i understand it's testing raw decode performance)
plonk420 is offline   Reply With Quote
Reply

Tags
coreavc, divx, h264 decoder, remoulade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 17:30.


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