4GB Limit On MP4?

Moderator: Ken Berry

Post Reply
lscott1123
Posts: 6
Joined: Wed Jul 24, 2013 3:20 pm
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel i7 CPU Q 720 1.60GHz 1.60 GHz
ram: 8GB

4GB Limit On MP4?

Post by lscott1123 »

I am having difficulty generating a 43 minute video in .mp4 (1920x1080). I was able to successfully generate the (.mp4) video at 1280x720. I was also able to successfully generate an 11gb .wmv version and a 9gb .avi version. I have 120GB free space on a 500GB (NTFS) SSD.

Each time I try and generate the video using .mp4 and 1920x1080 the process dies after about 3 hours, always at 85% completion and the temporary work files created in the output directory are always very near 4gb (3.99gb) in size (but never over). That fact and the fact that I can generate all the other versions makes me wonder if there is some kind of 4GB limit to mp4 (in VideoStudio).

I have tried to do some research and it appears there are .mp4 files > 4gb in the wild but my version of Video Studio X5 Ultimate sure seems to have this limitation. If upgrading to X6 would fix this, I'd be happy to do this. But don't need to upgrade if it doesn't fix this issue.

I actually have 2 laptops (both Dell Latitudes) and have attempted to generate the video at the 1920x1080 resolution on both and both fail exactly the same way (85%, just under 4gb temp file).

Event viewer entry looks like this:
Faulting application name: vstudio.exe, version: 15.0.0.0, time stamp: 0x5149e750
Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f
Exception code: 0xc0000374
Fault offset: 0x000ce6c3
Faulting process id: 0x3108
Faulting application start time: 0x01ce87fcea000a4a
Faulting application path: C:\Program Files (x86)\Corel\Corel VideoStudio Ultimate X5\vstudio.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: fcc5db0d-f409-11e2-a2b9-005056c00008


I am running 64-bit Windows 7 (Ultimate).

Is there a codec or driver or something I can download that might fix this? I'd have to mention although I've owned video editing software for years (beginning with Ulead - Media Studio Pro) I would not consider myself very well read in the technical video arena. Please use small words and talk slowly (lol).

Any thoughts or help would be appreciated.

Thanks.

LWS
BrianCee
Posts: 5487
Joined: Sat Jan 21, 2012 1:04 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 8GB
Hard_Drive_Capacity: 4TB
Monitor/Display Make & Model: HP
Corel programs: VS X4,X5,X6,X7,X8, X9, X10, 2018 , 2019
Location: London England UK

Re: 4GB Limit On MP4?

Post by BrianCee »

I don't think that it is VideoStudio giving you that problem - sounds much more like a hard drive formatting problem.

Sounds to me as though your hard drive is set to use the FAT32 system - that has a file size limit of 4GB

You need to reformat your hard drive to use the NTFS system - there is an article here which may help you :-
http://www.tweakandtrick.com/2012/02/co ... ystem.html
lscott1123
Posts: 6
Joined: Wed Jul 24, 2013 3:20 pm
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel i7 CPU Q 720 1.60GHz 1.60 GHz
ram: 8GB

Re: 4GB Limit On MP4?

Post by lscott1123 »

I appreciate your reply. But the HD is a 500GB NTFS SSD and since I am able to create an 11GB and 9GB version of this video in different formats (wmv and avi), I don't think it is a FAT32 issue.

Wouldn't you agree? I'll be honest, I'm stumped. Can you think of any other possibilities?

Thanks again for replying.

LWS
skier-hughes
Microsoft MVP
Posts: 2659
Joined: Thu Jul 21, 2005 10:09 am
operating_system: Windows 8
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: gigabyte
processor: Intel core 2 6420 2.13GHz
ram: 4GB
Video Card: NVidia GForce 8500GT
sound_card: onboard
Hard_Drive_Capacity: 36GB 2TB
Location: UK

Re: 4GB Limit On MP4?

Post by skier-hughes »

Where is the temporary file being stored? Is there enough space for this file to be produced?
lscott1123
Posts: 6
Joined: Wed Jul 24, 2013 3:20 pm
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel i7 CPU Q 720 1.60GHz 1.60 GHz
ram: 8GB

Re: 4GB Limit On MP4?

Post by lscott1123 »

The temporary files I speak of are produced in the target output directory where I am attempting to create the .mp4 file. When the generation dies (at 85%) it leaves these 'temporary' files in that directory (it cleans them up if it successfully creates the output file). I've created an 'Output' directory that contains all the Video Studio produced output. It is on my C:\ drive. At this moment, 'My Computer' reports it to have 119GB free of 462GB.

I might add that as I was working on this video project, I was able to successfully produce a work-in-progress 39 minute version at 1920x1080. It was 3.8GB and looked great (video quality). Then I dropped another 4 minute section into this video project and now I can no longer generate the (about) 43 minute 1920x1080 version of the project. I CAN generate a 1280x720 version of this full (43 minute) 'master' project. It is about 1.5GB.

I am wondering if anyone can produce a 1920x1080 .mp4 video that is greater than 4gb using Video Studio (on 64-bit Windows OS)? Has anyone tried this? If it is a bug (perhaps only on 64-bit Windows) it should be easy to recreate. If it has something to do specifically with my system, then it's going to be much more difficult to debug.

Thanks very much for your thoughts on the matter. Any help is very greatly appreciated.

LWS
erdna
Posts: 659
Joined: Fri May 23, 2008 5:10 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigsbyte H81M
processor: I7 4770
ram: 16GB DDR3
Video Card: Intel HD4600
sound_card: Intel display audio
Hard_Drive_Capacity: 1TB 7200rp
Monitor/Display Make & Model: Panasonic TX32cx600e
Location: Belgium

Re: 4GB Limit On MP4?

Post by erdna »

Did you use the default MPEG4-HD settings for outputing?
Did you apply smart render?
Did you use smart proxy for editing? If yes, where are these prxy files located?
What are the properties for your original files?
Did you install a "codec packet"?
lscott1123
Posts: 6
Joined: Wed Jul 24, 2013 3:20 pm
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel i7 CPU Q 720 1.60GHz 1.60 GHz
ram: 8GB

Re: 4GB Limit On MP4?

Post by lscott1123 »

Now we're getting to some good stuff....

Did you use the default MPEG4-HD settings for outputting?
Yes.
MPEG-4 Files
24 bits, 1920 x 1080, 30 fps
Frame-based
H.264 Main Profile Video: 15000 Kbps
32000 Hz, 16 Bit, Stereo
MPEG AAC Audio: 128 Kbps

Did you apply smart render?
Yes. Don't really know what that is but it was checked by default.

Did you use smart proxy for editing? If yes, where are these prxy files located?
In 'Preferences', 'Performance' tab, 'Enable Smart Proxy' is NOT checked. Not sure what that does.

What are the properties for your original files?
If this question is refering to the source video files, they are all over the place. I had 3 cameras available and all generated different formats.
Camera 1 (mpg): 720x480, Data rate:9100kbps, Total bitrate:9356kbps, 29 frames/second, Audio bit rate:256kbps, 2 channel stereo, audio sample rate: 48kHz
Camera 2 (mov converted to mpg used in the project): Camera actually ouputed .mov file type (1280x720) which I converted using Video Studio to (mpg) and then used the mpg files in the project (mov files seem to perform slow in the editing timeline so I used the converted mpg files instead): 720x480, Data rate:8000kbps, Total bitrate:9536kps, 29 frames/second, 2 channel stereo, audio bit rate:1536kbps, sample rate 48 kHz.
Camera 3 (3gp): 1280x720, Data rate:8001kbps, Total bitrate:8097kbps, 30 frames/second, Audio bit rate:96kbps, 1 channel mono, audio sample rate: 16kHz

Did you install a "codec packet"?
I don't know the answer to this question. I installed everything that came with Visual Studio X5 Ultimate (including extras). I do NOT recall installing an separate codec packet. Does one come with Video Studio? Is there any way I can tell which I have for mp4? (Registry?, Add/Remove Programs (/Programs and Features)?)?


Excellent questions... now into an area I am not very familiar with. Any clues in there?

Thanks very much for your help.

LWS
User avatar
RobertOZ
Advisor
Posts: 2426
Joined: Tue Jun 26, 2012 12:50 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Prime B550M-A WI-FI AM4 mATX
processor: AMD Ryzen 5 3600 3 6 GHz
ram: 16GB
Video Card: Asus Geforce GTX 1650 GDDR6 Driver 551 23
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 7 TB
Monitor/Display Make & Model: Philips 32" IPS LED, Samsung 28" 3840x2160 UHD 4K
Corel programs: VS2018/21/22/23 & MS 3D, MCC XL
Location: Mornington, Vic. Australia

Re: 4GB Limit On MP4?

Post by RobertOZ »

Exception code 0x0000374 means STATUS_HEAP_CORRUPTION

A"Heap"is a structure which exists temporarily in memory while a program is running. Every program has one or more "Heaps"

As it would appear that you only get this issue with MP4 it may be worth checking for corruption of your MP4 codecs and make sure that they are all up to-date.

Do you have GSpot v2.70a installed (it's a free program) if you click on "System" list codecs and other filters, this may help to identify any problem codecs installed.

Unfortunately this exception code can also mean, issues with Visual Studio C++, faulty ram, bad data which has been imputed to the program, even faulty or old printer drivers, the list goes on and on. Hopefully your issue is restricted to MP4 codecs only.

Sorry I am unable to assist further

Robert
Kingston
Posts: 427
Joined: Tue Jul 14, 2009 7:26 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gateway [Acer] DX4860
processor: Intel Core i5 3rd gen. 3 GHz
ram: 8 GB
Video Card: Intel HD 2500
sound_card: Bluetooth
Hard_Drive_Capacity: 1 TB
Monitor/Display Make & Model: Dell ST2210; Samsung SmartTV 3D 40"
Location: CA, USA

Re: 4GB Limit On MP4?

Post by Kingston »

I have a feeling it has to do with smart render. If after creating the 3.8 GB MPEG-4 file you left the project open and then added the 4 minute section and tried to create a new file, the 3.8 GB would already exist and be smart rendered. The problem would occur when VS trys to switch gears when it has to render the 4 minute section. I've had many problems with MPEG-4 files and smart render, where part of the timeline has already been rendered but some hasn't. I try to remember to turn off smart render when dealing with MPEG-4 files.
MotionStudio 3D 1.0; Corel VideoStudio Ultimate X7 (w/o sp1) (Download), Corel PaintShop Pro 15.2.0.12 (Download)
lscott1123
Posts: 6
Joined: Wed Jul 24, 2013 3:20 pm
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel i7 CPU Q 720 1.60GHz 1.60 GHz
ram: 8GB

Re: 4GB Limit On MP4?

Post by lscott1123 »

Wa hoo!!!!!!!!!!!!!

I did a couple of things suggested but I think the magic was unchecking the 'Smart Render' option. Generated a 4.266GB 1920x1080 version of the video. Quality is great!

I can't thank everyone enough for the all the advice and suggestions. Everyone has been unbelievably kind and helpful. A special thanks to 'Kingston' who apparently nailed it, but I appreciate everyone who tried to help. Thanks to you all.

LWS
erdna
Posts: 659
Joined: Fri May 23, 2008 5:10 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigsbyte H81M
processor: I7 4770
ram: 16GB DDR3
Video Card: Intel HD4600
sound_card: Intel display audio
Hard_Drive_Capacity: 1TB 7200rp
Monitor/Display Make & Model: Panasonic TX32cx600e
Location: Belgium

Re: 4GB Limit On MP4?

Post by erdna »

Good to hear that you got a solution. In the mean time I tested two >4.5GB MPEG4 renders from DV.avi originals. Both with smart render checked. One with the default MPEG4-HD, and one with Custum 1920x1080 mpeg4 settings. They both rendered flawlesly. So I can't reproduce the problem, but I am still thinking (and confused) on how Smart Render relates to a "just below 4GB" file problem...
lscott1123
Posts: 6
Joined: Wed Jul 24, 2013 3:20 pm
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel i7 CPU Q 720 1.60GHz 1.60 GHz
ram: 8GB

Re: 4GB Limit On MP4?

Post by lscott1123 »

I find it very interesting myself (although I have no idea what 'Smart Render' actually does).

Since the initial discovery of the fix, I made a few tweaks to the project and then reproduced the video successfully again (1920x1080 mp4) unchecking the 'Smart Render' option (apparently Video Studio does not remember that the project unselected this option the last time it was generated and then saved, although it DOES remember that 'Play file after creating it' was unselected). Anyway, after a few more small changes, I attempted to regenerate the video again (1920x1080 mp4) and this time forgot to unselect the 'Smart Render' option. After 3 hours, failed at 85%. I started it again and this time was sure to uncheck the 'Smart Render' option and successfully produced the output again.

Wondering if the displayed 'Rendering' percent was linear I calculated the what time would be at 85% of my 42:47 project and determined 85% was somewhere around 36:37(ish). When I look at that location in the project, I see that it is in the middle of (4:33 of) a 7:40 video clip that I created using Visual Studio (in a separate (sub) project) that is a 1920x1080 mp4 video. I actually have 2 of these 'sub' projects (both rendered using Visual Studio, both mp4s rendered at 1920x1080) that I dropped in the timeline of this 'master' project (along with the aforementioned mpg and 3gp clips). The other was the last 3:49 video that was the last thing I dropped into the project that made it over 40 minutes and greater than a 4gb output (and started failing after that). (One 1920x1080 mp4 sub project outputs was in the 38:22 work-in-progress 3.8gb mp4 video that was produced successfully... even with 'Smart Render' checked).

To be truthful, I am not sure if it is a 4gb ceiling problem. But a few of the clues sure seem to point to this and it is certainly within the realm of possibilities.

Again, I thank everyone for their help in solving this issue. If you want me to try something else to help debug this issue further, please just ask.

Thanks again.

LWS
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Re: 4GB Limit On MP4?

Post by Ken Berry »

SmartRender is only used if the target output format is the same as the format of the video in the project. To maintain as much quality as possible, when used, only those parts of the video to which edits have been applied are re-rendered. Those parts which have not had edits made to them are not re-rendered, thus preserving the original quality. That's the 'smart' bit! :lol:

Just to repeat this another way, if, say, your original video is high def HDV or AVCHD, but you are rendering to make a standard def DVD (mpeg-2), SmartRendering will NOT occur -- and this is the case regardless of whether the SmartRender box is ticked or not. The input and output formats have to be the same for SmartRender to be used.
Ken Berry
Kingston
Posts: 427
Joined: Tue Jul 14, 2009 7:26 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gateway [Acer] DX4860
processor: Intel Core i5 3rd gen. 3 GHz
ram: 8 GB
Video Card: Intel HD 2500
sound_card: Bluetooth
Hard_Drive_Capacity: 1 TB
Monitor/Display Make & Model: Dell ST2210; Samsung SmartTV 3D 40"
Location: CA, USA

Re: 4GB Limit On MP4?

Post by Kingston »

It's not a 4 GB limit issue, because the same thing has happened to me on shorter projects that aren't anywhere near 4 GB.
MotionStudio 3D 1.0; Corel VideoStudio Ultimate X7 (w/o sp1) (Download), Corel PaintShop Pro 15.2.0.12 (Download)
Natal
Posts: 144
Joined: Thu Jan 28, 2010 1:08 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus P8Z77-V deluxe
processor: i7 3770K 4.37 Ghz
ram: 16GB
Video Card: Gigabyte GTX680 OC 2GB
sound_card: System board
Hard_Drive_Capacity: 40 TB
Monitor/Display Make & Model: Samsung SyncMaster S27A850D (2650x1440)

Re: 4GB Limit On MP4?

Post by Natal »

VS is 32 bit software, so there may be an addressing limit built into the program. If that is so, there isn't much you can do about it.
Canon Vixia HF G30; Sony RX100M5; Samsung NX1; Nikon P900
Videostudio X6
Creative Cloud CC
Post Reply