INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: CPU usage during video transcoding to Gizmo  (Read 1951 times)

stevemac

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 300
CPU usage during video transcoding to Gizmo
« on: May 15, 2014, 07:58:33 am »

MC 19.0.134
Gizmo 19.0.133
Win 7 x64, i7 CPU 920 @2.67Ghz, 6GB RAM

Hi - just an observation.  I'm not normally near the PC when using Gizmo on a tablet.  Tonight I was & noticed how hard the PC was working when watching video content on the tablet.  The source is AVC in a MKV container (see dump from Media Info).  CPU utilisation image is also attached.

Code: [Select]
Media Info data
------------------

General
Unique ID                                : XXXX
Complete name                            : W:\Movies\MKV\BluRay\XXXX\XXXX.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 29.5 GiB
Duration                                 : 2h 12mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 32.0 Mbps
Movie name                               : XXXX
Encoded date                             : UTC 2013-09-27 12:18:18
Writing application                      : mkvmerge v6.4.1 ('Omega Point') built on Sep 16 2013 22:05:10
Writing library                          : libebml v1.3.0 + libmatroska v1.4.1

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2h 12mn
Bit rate mode                            : Variable
Maximum bit rate                         : 31.7 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Language                                 : English
Default                                  : No
Forced                                   : No

Audio #1
ID                                       : 2
Format                                   : TrueHD
Codec ID                                 : A_TRUEHD
Duration                                 : 2h 12mn
Bit rate mode                            : Variable
Maximum bit rate                         : 6 588 Kbps
Channel(s)                               : 8 channels
Channel positions                        : Front: L C R, Side: L R, Back: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossless
Title                                    : 7.1
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 2h 12mn
Bit rate mode                            : Constant
Bit rate                                 : 640 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 605 MiB (2%)
Title                                    : 3/2+1
Language                                 : English
Default                                  : No
Forced                                   : No

Audio #3
ID                                       : 4
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 2h 12mn
Bit rate mode                            : Constant
Bit rate                                 : 640 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 605 MiB (2%)
Title                                    : 3/2+1
Language                                 : English
Default                                  : No
Forced                                   : No


Is this normal or is there some settings I can alter to flatten out the peaks?

thanks,

Steve
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10726
Re: CPU usage during video transcoding to Gizmo
« Reply #1 on: May 15, 2014, 08:17:03 am »

Peaks are normal, it generates a bit of video ahead and then waits until it was used up.
This helps to smooth out spikes in the processing, as video encoding doesn't always run at the same speed. If you were to try to do it "in realtime" at ~40% CPU, you might encounter situations were you can't produce it fast enough, so instead we produce a bit at 100% and then go back to 0% for a while.
Logged
~ nevcairiel
~ Author of LAV Filters

stevemac

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 300
Re: CPU usage during video transcoding to Gizmo
« Reply #2 on: May 15, 2014, 08:38:03 am »

Thanks Hendrik - pretty quick response  :)

I have been thinking of moving MC to a lower spec'd PC (maybe an i5 NUC with 8GB RAM).  Do you have any reference to how many concurrent streams the more common CPUs types can handle or is it trial an error?

cheers,

Steve
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10726
Re: CPU usage during video transcoding to Gizmo
« Reply #3 on: May 15, 2014, 09:50:49 am »

I don't really have any reference numbers at hand for that, sorry.
Way too many hardware combinations and factors involved to make any kind of useful estimates.
Logged
~ nevcairiel
~ Author of LAV Filters
Pages: [1]   Go Up