32-bit is significantly faster than 64-bit

Discuss about generic usage of MediaCoder.

Moderator: HuggiL

Post Reply
edd
Beginner
Beginner
Posts: 2
Joined: Tue Mar 08, 2016 4:55 pm

32-bit is significantly faster than 64-bit

Post by edd » Tue Mar 08, 2016 5:12 pm

I installed both 32-bit and 64-bit MediaCoder v-0.8.41.5818. When encoding the same video with the same settings, the 32-bit version its significantly faster than the 64-bit version. I would expect the opposite. Am I doing something wrong?

Here's the numbers (from the summary screen at the end of encoding):

32-bit
Time Elapsed: 420.2 seconds
Total Duration: 2565.6 seconds
Overall Speed: 6.2X
Overall FPS: 262.4 fps

64-bit
Time Elapsed: 549.7 seconds
Total Duration: 2565.6 seconds
Overall Speed: 4.7X
Overall FPS: 193.1 fps

source video (from a video camera):
MP4, 1280x720, 4000 bitrate, 25 fps, with AAC 48000 Hz, 128 bitrate

settings:

video: bitrate 1200, rate mode 2-pass, format H.264, encoder NVENC, GPU
audio: format LC-AAC, encoder nero, resample 32000 Hz
picture: resize 960x540, frame rate 20, aspect ratio set DAR 16:9

system:
Windows 7 64-bit
AMD Phenom II X6 1055T
8 GB RAM
nVidia GTX 750 Ti with latest drivers v361.91

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: 32-bit is significantly faster than 64-bit

Post by stanley » Tue Mar 15, 2016 8:45 pm

That's weird. Have you compared speed of CPU encoding?
When things work together, things work.

edd
Beginner
Beginner
Posts: 2
Joined: Tue Mar 08, 2016 4:55 pm

Re: 32-bit is significantly faster than 64-bit

Post by edd » Mon Apr 04, 2016 8:53 am

I used a difference source file to compare CPU 32-bit vs 64-bit, because I couldn't remember which one I used for the GPU test.

When using CPU, the 32-bit and 64-bit versions perform almost identically. Its odd that the overall speed is faster for 64-bit, but the overall FPS is faster for 32-bit.

32bit
Time Elapsed = 1031 seconds
Total Duration = 1826.3 seconds
Overall Speed = 1.8X
Overall FPS = 74.8 fps

64-bit
Time Elapsed = 965.5 seconds
Total Duration = 1826.3 seconds
Overall Speed = 1.9X
Overall FPS = 60.4 fps

JXL221
Beginner
Beginner
Posts: 4
Joined: Wed Apr 06, 2016 5:25 am

Re: 32-bit is significantly faster than 64-bit

Post by JXL221 » Fri Apr 08, 2016 10:47 am

I've had trouble with some builds being faster then others. However I have found the 32bit builds don't work at all.

NailMan
Beginner
Beginner
Posts: 1
Joined: Sun Sep 07, 2014 5:35 pm

Re: 32-bit is significantly faster than 64-bit

Post by NailMan » Wed Apr 20, 2016 2:57 am

I also confirm this fact. 32-bit version runs significantly faster than 64-bit.

I tested a MediaCoder Premium(v5829,v5822) with video transcoding splitted FRAPS-files(4Gb) to MP4 file with grouping.
My computer config:
i7-4930K
GTX980(SLI, but for MC used "One GPU" setting)
32Gb memory

I use only NVENC x264 with defaut settings (preset - High quality, dev -CUDA, Bframes-2, GOP-250).

64-bit version encoding - 67-90 FPS (81FPS average for 7 minutes coding)
32-bit version encoding - 96-130 FPS (112 FPS average for 7 minutes coding)

And out of sync audio/video has been seen in 64-bit v5829 (about 1.5s in 3 minutes video duration). 32-bit version is not seen out of sync.

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: 32-bit is significantly faster than 64-bit

Post by stanley » Sat Apr 23, 2016 9:52 am

Did you notice what was used as decoder in your test? MEncoder or FFmpeg?
NailMan wrote:I also confirm this fact. 32-bit version runs significantly faster than 64-bit.

I tested a MediaCoder Premium(v5829,v5822) with video transcoding splitted FRAPS-files(4Gb) to MP4 file with grouping.
My computer config:
When things work together, things work.

fredbe9300
Amateur
Amateur
Posts: 68
Joined: Fri Dec 21, 2012 6:56 am

Re: 32-bit is significantly faster than 64-bit

Post by fredbe9300 » Wed Aug 17, 2016 10:16 am

i was wondering if I would find in the forum a reason why the default decoder was switched from mencoder to ffmpeg. (in the build of July 2016)

this is the most recent discussion were there is a hint of mencoder vs ffmpeg, merely through the question of Stanley.

Does it have something to do with the change?

ps: I don't care for one or the other... i'm just always wary when defaults change. Wondering if it's a good thing and why ;)

Post Reply