Solved: PrepareDVDVideoFiles() failed with ErrNo 5 - encoding failed

SevCardy wrote on 5/18/2014, 11:30 AM

Not a question, but hopefully a solution for some of you.

Like many other people, I have experienced problems with burning Blu-ray disks failing after only a few seconds, with the following message in the log file:

PrepareDVDVideoFiles() failed with ErrNo 5 - encoding failed

I am using Video Pro X6, although I have seen the problem reported with other Magix products. In my case the issue started after I upgraded to version 13.0.4.2 (UDP1) of Pro X. After many weeks of experimentation, I have found the solution. It may not cure everyone else's problem, because I suspect the error code is a generic one covering a multitude of problems, but here it is in case it helps.

In the Burn dialog box, click on Encoder Settings, and on the next screen on Advanced. I found that the Average Bit Rate and the Maximum Bit rate were set to values of 26000 and 40000 respectively.  Change these to lower settings. I am using Average 20000, Max 24000, although it still works if you set Average 30000 and Max 30000. Setting Max to more than 30000 definitely makes the encoding crash.

That's all there was to it.  The standard Blue-ray 1920x1080i PAL preset in the Advanced settings is the culprit that sets these high values.  I saved my settings under a new name so I could restore them easily.

Hope this helps.

Comments

browj2 wrote on 5/18/2014, 10:27 PM

Hi,

"Hope this helps?" You nailed it! Thank you! I have been struggling with this for 2 weeks. I had no problem opening my X6 project in MEP2014 and burning to BD, whereas in X6 it was impossible to burn to a BD. I tried a short video but it crashed with the same error. In my case, I am on NTSC, not PAL, but the problem is identical. As you indicated, I changed, the Average bit rate from the the default 28000 to 26000 and the Maximum from the default 40000 to 30000, and it worked. It took a long time, about 6 hours to burn a BD of 77 min. with 2 movies with a few chapters each, but it worked!

I hope that you have reported this to Magix. Please let me know. I will report it also as I had already prepared something that I will now change to reflect your solution. They need to do better testing in the future because there have been too many problems with X6, and for a professional program, this is not acceptable.

Last changed by browj2 on 5/18/2014, 10:27 PM, changed a total of 1 times.

John C.B.

VideoPro X(16); Movie Studio 2024 Platinum; MM2024 with MM2023 Premium Edition; Samplitude Pro X8 Suite; see About me for more.

Desktop System - Windows 10 Pro 22H2; MB ROG STRIX B560-A Gaming WiFi; Graphics Card Zotac Gaming NVIDIA GeForce RTX-3060, PS; Power supply EVGA 750W; Intel Core i7-10700K @ 3.80GHz (UHD Graphics 630); RAM 32 GB; OS on Kingston SSD 1TB; secondary WD 2TB; others 1.5TB, 3TB, 500GB, 4TB, 5TB, 6TB, 8TB; three monitors - HP 25" main, LG 4K 27" second, HP 27" third; Casio WK-225 piano keyboard; M-Audio M-Track USB mixer.

Notebook - Microsoft Surface Pro 4, i5-6300U, 8 GB RAM, 256 SSD, W10 Pro 20H2.

YouTube Channel: @JCBrownVideos

SevCardy wrote on 5/19/2014, 3:25 AM

Glad to be of help! And thanks for letting me know, it makes sitting down and writing up my solution all worthwhile.

I have later found that certain combinations of these values still fail, even when they are both less than 30000, so if anyone else is having problems it is worth playing with different values.

I haven't installed the (paid for) MainConcept encoder; I wonder if this has the same problem? And is there a way back if that  causes even more problems?!

I did the same as you and reverted back to MEP2014 for a while, but I do like some of the features of X6. X6 is definitely slower encoding than MP2014, but subjectively gives better results. As Magix users, we learn to live with a different set of bugs and "undocumented features" in every release....

Sev.

Scenestealer wrote on 5/20/2014, 5:26 PM

Hi Sev

I had a similar experience last night with MEP2014. I work with Panasonic 1080 50p 28Mbps MPEG4 material and for the best quality export I use AVCHD MTS Transport stream 50p template modified to VBR 36Mbps average & max. 

This has always worked since MEP17 but last night the encoder would quit after 10 or 20 seconds of encoded footage. I reduced the average to 32Mbps but same thing. Finally used the original MPEG4 TS HQ 28Mbps max template and managed to encode the whole movie.

I will try some more options as you suggest but it seems like from what you are saying that even just changing those settings to something else may be a catalyst to a successful export! Bit of a pain really.

AFIK MEP uses the MC encoder by default.

Ss

Last changed by Scenestealer on 5/20/2014, 5:26 PM, changed a total of 1 times.

System Specs: Intel 6th Gen i7 6700K 4Ghz O.C.4.6GHz, Asus Z170 Pro Gaming MoBo, 16GB DDR4 2133Mhz RAM, Samsung 850 EVO 512GB SSD system disc WD Black 4TB HDD Video Storage, Nvidia GTX1060 OC 6GB, Win10 Pro 2004, MEP2016, 2022 (V21.0.1.92) Premium and prior, VPX7, VPX12 (V18.0.1.85). Microsoft Surface Pro3 i5 4300U 1.9GHz Max 2.6Ghz, HDGraphics 4400, 4GB Ram 128GB SSD + 64GB Strontium Micro SD card, Win 10Pro 2004, MEP2015 Premium.

browj2 wrote on 5/22/2014, 10:17 AM

Hi Sev,

I raised the issue with Magix. They could not replicate the problem and asked me to submit the content to test this out. Limit is 250Mb upload. I will try an even shorter version and send it in. I had sent them my parameter screens and log file.

I will let you know how it turns out.

Did you also raise the issue with Magix?

Last changed by browj2 on 5/22/2014, 10:17 AM, changed a total of 1 times.

John C.B.

VideoPro X(16); Movie Studio 2024 Platinum; MM2024 with MM2023 Premium Edition; Samplitude Pro X8 Suite; see About me for more.

Desktop System - Windows 10 Pro 22H2; MB ROG STRIX B560-A Gaming WiFi; Graphics Card Zotac Gaming NVIDIA GeForce RTX-3060, PS; Power supply EVGA 750W; Intel Core i7-10700K @ 3.80GHz (UHD Graphics 630); RAM 32 GB; OS on Kingston SSD 1TB; secondary WD 2TB; others 1.5TB, 3TB, 500GB, 4TB, 5TB, 6TB, 8TB; three monitors - HP 25" main, LG 4K 27" second, HP 27" third; Casio WK-225 piano keyboard; M-Audio M-Track USB mixer.

Notebook - Microsoft Surface Pro 4, i5-6300U, 8 GB RAM, 256 SSD, W10 Pro 20H2.

YouTube Channel: @JCBrownVideos

SevCardy wrote on 5/23/2014, 5:46 AM

Hi John,

No I haven't raised it with Magix.  I'm quite busy at the moment and to be honest I haven't time to create small examples, test them with various settings, upload them, etc, with the probable outcome that they say that they cannot reproduce the problem.  But I'm more than happy for you to quote my experience to them, as it shows that the problem affects both NTSC and PAL.

Sev.