Error has occurred during export with an external video codec

Comments

CubeAce wrote on 5/17/2019, 5:16 PM

@RayGus

I checked that against the list I have and yes, it appears that option is not supported. At least not with a viable working preset.

Therefore if you try to change the size of the width and height of the file or it's framerate then in the Advanced Settings you would need to increase the maximum and minimum bitrates as the file requirements would be higher than the settings in use on that preset.

 

But.

And this would be a very strong 'But'.

You are in danger of opening a veritable can of worms as to what will work well and what will make things worse. I'm sure there is possibly a setting that will work but what that would be I have no idea. You may even find at the end of the day with a setting that works that there is not much difference between the finished file size using the HEVC codec and MPEG-4. I have no idea. For me, this is uncharted territory.

I have looked on other Editing software support sites such as DaVinci Resolve and this would appear to be a common problem at this level of conversion.

Windows 10 Enterprise. Version 2004 OS build 18041.329. Direct X 12. Bios version 1401 latest hardware updates for Western Digital hard drives. Page file space 4.75GB.

Asus ROG STRIX Z390-F Gaming motherboard Rev 1.xx with Supreme FX inboard audio using the S1220A code.

Intel i9900K Coffee Lake 3.6 to 5.1GHz CPU and Intel UHD Graphics 630 Vers 27.20.100.8336, with 32GB of 2133MHz Corsair DDR4 ram.

1000 watt EVGA modular power supply.

1 x 250GB SSD D: drive for current project. 1 x 320gig Toshiba M2.1 drive for Operating System. + x2 WD BLACK 2TB internal SATA 7,200rpm hard drives.I for internal backup and 1 for Library clips/sounds/music/stills. Total 8TB of three external WD drives for backup.

NVIDIA G Force GTX 1650 Super. DCH Driver version 442.92. 1280 CUDA cores. Memory interface 128bit Memory bandwidth 192.03GB/s 4GB of dedicated GDDR6 video memory, shared system memory 16307MB PCi Express x16 Gen3.

Running MEP Premium 19.0.2.58.

M Audio Axiom AIR Mini MIDI keyboard Ver 5.10.0.3507

Scenestealer wrote on 5/17/2019, 7:41 PM

@RayGus

I found this...

https://www.magix.info/uk/forum/why-doesn-t-the-hvec-work--1191635/

Not a lot of help but seems a common problem...

There was a lot of help given there but not all accepted unfortunately! He missed a crucial point that his hardware was too old to support HEVC HW encoding.

Have you tried un ticking Hardware encoding in the Advanced Video settings in the export template? Early Quadcore processors did not have an integrated GPU or one that is capable of HW encoding H.265 and some quite recent ones are only capable of 30fps or lower HEVC encoding in my understanding of things.

It would help if you supplied Media Info details of the camera footage you are trying to encode and also full technical details of your computer configuration in your Signature.

There is no 50fps 4K option....

It seems to have disappeared but was there before...

Options for 50fps at 1080P but not at 4K

Please refer to my comments of 16/05/2019 - there is none in MEP2016.

@CubeAce

HEVC can be up to 60% more efficient than AVC H.264 in 4K for the same subjective quality at the same file size.

Peter

Last changed by Scenestealer on 5/17/2019, 8:37 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 1909, MEP2016, 2020 (V19.0.1.23) Premium and prior, VPX7, VPX11 (V17.0.2.44). Microsoft Surface Pro3 i5 4300U 1.9GHz Max 2.6Ghz, HDGraphics 4400, 4GB Ram 128GB SSD + 64GB Strontium Micro SD card, Win 10Pro 1903, MEP2015 Premium.

RayGus wrote on 5/18/2019, 2:01 AM

Hi Cubeace and Peter,

Once again, my sincere thanks for your continued help with what seems an almost impossible task.

I have attached images of computer spec below which I think is sufficiently up to date (hopefully) as fairly new...

What makes the whole thing so frustrating is that I have lots of videos where I have exported to 4K 50 fps HEVC.

When I open one of those up, it exports without problem. It seems to be only recent videos where the problem has arisen making me think I have inadvertently done or changed something (although I try to be careful NOT to do this because of the very problems I am now experiencing and my lack of PC knowledge etc)

The reason I use HEVC is because I put videos to hard drives (3) to back up so as not to lose and also to play on TV.

I use a Samsung 4K TV which will play HEVC at 50 fps but not MPEG 4 at 50 fps...it will play MPEG 4 up to 25 fps. (but that is another story)

 

The most bizarre thing is that previous videos will still export in HEVC at 50 fps: so it seems to be something I have done.....BUT...I am certain I have not changed anything unless inadvertently.

I will try some more tests and see if I can establish anything else.

The link was very helpful but with the problem affecting only recent videos it seems off becayse the capability was previously there.

Thank you both once again for your help.

I might try an uninstall and restore.

Best wishes Ray


CubeAce wrote on 5/18/2019, 12:20 PM

@Scenestealer

Hi Peter.

I was only referring to the file size possibly increasing by trying to alter th HEVC settings in the advanced settings when trying to get it working again. I know that The HEVC codec does on average give a smaller file size although not always as pleasing a conversion to my eye as MPEG-4 depending on content.

I am running the current version of MEP Premium and I am also not getting the 50fps 4K conversion setting as a standard selection offering. Maybe it has something to do with my setup not being 4K compliant. Graphics card capable but not monitors. No matter, I have no current need for it myself. Could it also be because I'm on Win 7?

@RayGus

I have no idea if this will work but it's worth a try.

Load one of your project that you can still export to successfully.

Then go to. File / Settings / Movie, as seen in the images below and make sure the 'Use settings as presets for new movies' is ticked. Then save the project.

Then open or create a new project and see if the export option returns.

You have nothing to lose by trying it out.

Ray.

 

Windows 10 Enterprise. Version 2004 OS build 18041.329. Direct X 12. Bios version 1401 latest hardware updates for Western Digital hard drives. Page file space 4.75GB.

Asus ROG STRIX Z390-F Gaming motherboard Rev 1.xx with Supreme FX inboard audio using the S1220A code.

Intel i9900K Coffee Lake 3.6 to 5.1GHz CPU and Intel UHD Graphics 630 Vers 27.20.100.8336, with 32GB of 2133MHz Corsair DDR4 ram.

1000 watt EVGA modular power supply.

1 x 250GB SSD D: drive for current project. 1 x 320gig Toshiba M2.1 drive for Operating System. + x2 WD BLACK 2TB internal SATA 7,200rpm hard drives.I for internal backup and 1 for Library clips/sounds/music/stills. Total 8TB of three external WD drives for backup.

NVIDIA G Force GTX 1650 Super. DCH Driver version 442.92. 1280 CUDA cores. Memory interface 128bit Memory bandwidth 192.03GB/s 4GB of dedicated GDDR6 video memory, shared system memory 16307MB PCi Express x16 Gen3.

Running MEP Premium 19.0.2.58.

M Audio Axiom AIR Mini MIDI keyboard Ver 5.10.0.3507

RayGus wrote on 5/18/2019, 1:33 PM

Hi Ray,

What a great idea.....

I am going to try that.....will do tomorrow as I am just processing lots of files from Photographs this afternoon and tomorrow will be out with the video so a great chance top try what you suggest.

Can I just once again thank you and Peter for persevering with this for me....it is really appreciated very much...

Thank you both

Best wishes Ray

CubeAce wrote on 5/18/2019, 3:42 PM

@RayGus

No problem Ray. I understand the frustration with exports and remembering which setting does what, believe me.

Sometimes, having to restrict overall file size while worrying over the quality of the output seems an everyday occurrence for me.

I personally can't work in 4K myself as my system simply wouldn't cope, but as I said earlier, I've seen similar problems to your own reported at other video editing sites so I'm not really sure what your problem is. I can only feel your pain and try to think 'out of the box' for solutions. 😉

So far I've noticed no-one else here has shown an image showing that they do have that setting as a default export setting, so I wonder, as I definitely don't have it as a preset export option.

I think if I'm right, that Win 7 doesn't natively support 4K but Win 10 does. I can't even view 4K video files on my system unless using a web browser and look at such videos on the net. MEP will open the files but playback is far from usable on my system.

Windows 10 Enterprise. Version 2004 OS build 18041.329. Direct X 12. Bios version 1401 latest hardware updates for Western Digital hard drives. Page file space 4.75GB.

Asus ROG STRIX Z390-F Gaming motherboard Rev 1.xx with Supreme FX inboard audio using the S1220A code.

Intel i9900K Coffee Lake 3.6 to 5.1GHz CPU and Intel UHD Graphics 630 Vers 27.20.100.8336, with 32GB of 2133MHz Corsair DDR4 ram.

1000 watt EVGA modular power supply.

1 x 250GB SSD D: drive for current project. 1 x 320gig Toshiba M2.1 drive for Operating System. + x2 WD BLACK 2TB internal SATA 7,200rpm hard drives.I for internal backup and 1 for Library clips/sounds/music/stills. Total 8TB of three external WD drives for backup.

NVIDIA G Force GTX 1650 Super. DCH Driver version 442.92. 1280 CUDA cores. Memory interface 128bit Memory bandwidth 192.03GB/s 4GB of dedicated GDDR6 video memory, shared system memory 16307MB PCi Express x16 Gen3.

Running MEP Premium 19.0.2.58.

M Audio Axiom AIR Mini MIDI keyboard Ver 5.10.0.3507

Scenestealer wrote on 5/19/2019, 3:26 AM

Hi @CubeAce, @RayGus

So far I've noticed no-one else here has shown an image showing that they do have that setting as a default export setting, so I wonder, as I definitely don't have it as a preset export option.

Can we put this idea to bed? I am 100% sure this HEVC 4k 50fps export preset does not exist in any version of MEP / VPX.

As Cubase said earlier, the fact that the export dialogue says User Defined means that it is not a template and that it has been modified by the program, or you, to fit the characteristics of your movie.

If you have seen an export window come up with the HEVC 4k 50fps details then it would have been taken over from the Movie Settings which can be set to match the imported footage (and we still do not know what that footage is Ray!) by accepting the prompt when the footage is first imported, or altering details to 50fps manually in the Movie Settings or the Export Settings.

Thanks for the details of your PC - this more or less rules out that it is a Hardware problem which I was questioning because I had read some earlier topics you had asked the forum where it appeared you were using an early i7 processor. This is why it is important to put (and update) the specification of you workstation in your signature, and include details of the footage used in your post when you encounter a problem.

Cubace - Windows 7 should be able to handle 4K okay so I am a little surprised you find it performs so badly in MEP although your GPU spec maybe a little below par, but you may be on to it about using an HD monitor as I have read the comment somewhere that W7 does not scale 4K very well.

BTW can you play HEVC on your machine in a player or MEP, at any fps?
Peter

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 1909, MEP2016, 2020 (V19.0.1.23) Premium and prior, VPX7, VPX11 (V17.0.2.44). Microsoft Surface Pro3 i5 4300U 1.9GHz Max 2.6Ghz, HDGraphics 4400, 4GB Ram 128GB SSD + 64GB Strontium Micro SD card, Win 10Pro 1903, MEP2015 Premium.

johnebaker wrote on 5/19/2019, 4:31 AM

@RayGus

Hi

. . . . Can we put this idea to bed? I am 100% sure this HEVC 4k 50fps export preset does not exist in any version of MEP / VPX . . . .

We certainly can - I have checked all versions of MEP that support HEVC and there is no HEVC 50 fps UHD export preset.

I suspect you are thinking of the Project setting for UHD 50 fps as shown below

However despite the export preset not existing, you can create one as follows - referring to the image below

  1. Open the HEVC export dialog - Ctrl+Alt+I
     
  2. Select an existing UHD export preset - I started with the MP4 4K 4096 x 2180 25fps
     
  3. Change the settings, circled in red, to what you need
     
  4. Click the Save icon - circled in yellow
     
  5. Select Export preset
     
  6. Give the preset a meaning full name and save.

The preset will now appear in the dropdown list of the export dialog box.

Note: I did not change the bitrate settings, those from the 4K preset modified are OK for the lower resolution preset I created.

HTH

John EB

Lateral thinking can get things done!

VPX, MEP Premium, MEP 2016, and earlier versions, Music Maker Premium, Music Maker 2016, 2015.

Running Windows 10 64bit on Intel i7-8700K 3.2 GHz, 16Gb RAM, 1Tb + 2 x 2Tb internal HDD + 60Gb internal SSD, + 6 x 2Tb ext HDDs, Sony FDR-AX53 Video camera, Contour HD 1080 and Sony HDR-AS30V Sports cams.

CubeAce wrote on 5/19/2019, 7:55 AM

Argh!

I've just spent thirty minutes typing out a reply to have it disapear on upload!

Second attempt.

@Scenestealer

Hi Peter.

Yes, as I have stated previously on other threads, I can't use the Intel graphics part of processing that MEP can use as my processor isn't capable. Because my monitors are 1920x1080 I have to set the graphics card to that resolution so that probably doesn't help. Both my DSLR and DJI Gimbaled video camera are 4K capable. The DJI one though records at a much higher bit rate than my DSLR and those are more troublesome. No 4K recorded files from my cameras are visible within windows as videos on my system but are represented as icons within their folders. When clicked, the DSRL files will play in Windows Media Player but the DJI ones will not. Both use the same file formats of mov. or MP4 but as I say, the DJI files contain higher bit rates. The DJI files can be played in something akin to VLC but only just. All files are visible within the MEP library section and the first recorded frames are visible. However, the DJI ones don't play well at all, even with limiting resolution, frames dropped etc within MEP to lower the processor load. The only reason it is bothersome to me is I could probably downscale 4K footage for better 1080p detail and have 4K files around for future projects.

As for HEVC. Within the constraints of the resolution I can play back successfully, I have no problem with playback, but again the files within Windows 7 only show as Icons.

@johnebaker

Well done John. Sometimes my head doesn't appear to work as it should.

Of course your solution will work as each frame doesn't need additional bits to be processed.

Sometimes my brain fails to see the obvious.

Windows 10 Enterprise. Version 2004 OS build 18041.329. Direct X 12. Bios version 1401 latest hardware updates for Western Digital hard drives. Page file space 4.75GB.

Asus ROG STRIX Z390-F Gaming motherboard Rev 1.xx with Supreme FX inboard audio using the S1220A code.

Intel i9900K Coffee Lake 3.6 to 5.1GHz CPU and Intel UHD Graphics 630 Vers 27.20.100.8336, with 32GB of 2133MHz Corsair DDR4 ram.

1000 watt EVGA modular power supply.

1 x 250GB SSD D: drive for current project. 1 x 320gig Toshiba M2.1 drive for Operating System. + x2 WD BLACK 2TB internal SATA 7,200rpm hard drives.I for internal backup and 1 for Library clips/sounds/music/stills. Total 8TB of three external WD drives for backup.

NVIDIA G Force GTX 1650 Super. DCH Driver version 442.92. 1280 CUDA cores. Memory interface 128bit Memory bandwidth 192.03GB/s 4GB of dedicated GDDR6 video memory, shared system memory 16307MB PCi Express x16 Gen3.

Running MEP Premium 19.0.2.58.

M Audio Axiom AIR Mini MIDI keyboard Ver 5.10.0.3507

Scenestealer wrote on 5/19/2019, 8:26 PM

Hi Cubase

Yes it is frustrating losing your work and I find myself saving the text to the clipboard nearly every time before I push the comment button

Thanks for the interesting info but I am taking you a bit off the topic.

Of course your solution will work as each frame doesn't need additional bits to be processed.

I am not sure what you are saying here? The changing from UHD to 4K is insignificant in terms of processed pixels but the difference between 25fps and 50fps is double the number per second. I think what John may be saying is that the bit rate in his export window is probably sufficient given that it is saving to HEVC which is much more efficient in terms of file size for the same format, and normally you would not need to double the "bits per pixel x frame" to get an equal 50fps file of the same subjective quality given that the extra frames per sec. give you less blurring and more apparent sharpness, etc.

Peter

 

 

Last changed by Scenestealer on 5/20/2019, 5:22 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 1909, MEP2016, 2020 (V19.0.1.23) Premium and prior, VPX7, VPX11 (V17.0.2.44). Microsoft Surface Pro3 i5 4300U 1.9GHz Max 2.6Ghz, HDGraphics 4400, 4GB Ram 128GB SSD + 64GB Strontium Micro SD card, Win 10Pro 1903, MEP2015 Premium.

RayGus wrote on 5/20/2019, 2:18 AM

YOU GUYS ARE THE BEST!!!!!

Not sure what bit has worked but I have done everything you suggested, including saving the 4k 50fps preset...

AND IT WORKS.

So please can I just say a MASSIVE thank you for you help and perseverance because it must be so difficult when someone with absolutely NO technical knowledge or real video editing expertise is trying to explain something for you to deal with which is so strange etc...

Really appreciate the help and cannot believe I am watching the export working....

THANK YOU BOTH SO MUCH

Very best wishes

Ray

Scenestealer wrote on 5/20/2019, 2:48 AM

@RayGus

That's great Ray! Glad to have been of assistance and I do appreciate that whats seems logical to us old hands can seem bewildering to others.

I always say - "There is a reason for everything and until you find that reason you are NOWHERE!"

Peter

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 1909, MEP2016, 2020 (V19.0.1.23) Premium and prior, VPX7, VPX11 (V17.0.2.44). Microsoft Surface Pro3 i5 4300U 1.9GHz Max 2.6Ghz, HDGraphics 4400, 4GB Ram 128GB SSD + 64GB Strontium Micro SD card, Win 10Pro 1903, MEP2015 Premium.

CubeAce wrote on 5/20/2019, 3:26 PM

@RayGus

That's great news, Ray.

I hope you keep having a trouble-free experience using MEP.

@Scenestealer

Once again the more learned amongst us forced me to re-read the manual.

I was under the assumption (wrongly as it turned out) that the advanced settings affected the file size of each frame, but in fact is the amount of permissible bit rate flow per second. This I have found to be interesting so thank you as I'm experimenting with that side of it as we speak.

So far, so good, but the file size will be huge. 😀 At least it will let me see if there is any advantage to creating larger than needed file sizes.

 

Windows 10 Enterprise. Version 2004 OS build 18041.329. Direct X 12. Bios version 1401 latest hardware updates for Western Digital hard drives. Page file space 4.75GB.

Asus ROG STRIX Z390-F Gaming motherboard Rev 1.xx with Supreme FX inboard audio using the S1220A code.

Intel i9900K Coffee Lake 3.6 to 5.1GHz CPU and Intel UHD Graphics 630 Vers 27.20.100.8336, with 32GB of 2133MHz Corsair DDR4 ram.

1000 watt EVGA modular power supply.

1 x 250GB SSD D: drive for current project. 1 x 320gig Toshiba M2.1 drive for Operating System. + x2 WD BLACK 2TB internal SATA 7,200rpm hard drives.I for internal backup and 1 for Library clips/sounds/music/stills. Total 8TB of three external WD drives for backup.

NVIDIA G Force GTX 1650 Super. DCH Driver version 442.92. 1280 CUDA cores. Memory interface 128bit Memory bandwidth 192.03GB/s 4GB of dedicated GDDR6 video memory, shared system memory 16307MB PCi Express x16 Gen3.

Running MEP Premium 19.0.2.58.

M Audio Axiom AIR Mini MIDI keyboard Ver 5.10.0.3507

RayGus wrote on 5/21/2019, 12:29 AM

Yes....exported ok and no problems.

I am now looking forward again to doing videos and hope to have many enjoyable hours with Magix.

Sincere thanks again for your help.

Very best wishes Ray

RayGus wrote on 5/28/2019, 1:35 AM

Dear all,

I promised an update of my progress: so here goes.

I completed a new video this weekend.

It had titles, moving graphics behind the titles. Slideshows and effects etc. Quite complex.

I went to export at my preferred 4K, 50 fps HEVC....the error message reappeared.

“An error has occurred during export with an external video codec. Please check export settings (resolution, framerate, etc) and make changes if necessary. If problems persist, it is recommended to restore default settings.”

I tried deleting some parts of the video to try to identify which was causing the problem but this did not work.

I therefore decided to select only part of the video to export rather than the whole video.
I chose, for example, to the first slideshow of photos.....no error message appeared....it was going to export. I stopped the export and then extended the selection.

This time I went further into the video...selected a longer section to export....this was going to export...so cancelled again...

I kept on doing this until having cancelled numerous (many) exports that were going to work, I eventually reached the end of the video.....with a selection from start to finish.....IT IS EXPORTING as I type this message now!

So it appears something very strange is happening ....but at least it is exporting.

Just wanted to make you aware of this.

A question for John please...

You previously advised as follows.

However despite the export preset not existing, you can create one as follows - referring to the image below

1.      Open the HEVC export dialog - Ctrl+Alt+I
 

2.      Select an existing UHD export preset - I started with the MP4 4K 4096 x 2180 25fps
 

3.      Change the settings, circled in red, to what you need
 

4.      Click the Save icon - circled in yellow
 

5.      Select Export preset
 

6.      Give the preset a meaning full name and save.

The preset will now appear in the dropdown list of the export dialog box.



I just wondered where, or in which folder, are the pru files to be saved please?

Is it in Magix or some other directory.

Many thanks once again.

Best wishes

Ray

johnebaker wrote on 5/28/2019, 3:54 AM

@RayGus

Hi Ray

. . . . I just wondered where, or in which folder, are the pru files to be saved please? . . . .

For MEP 2019 mine by default are saved in

C:\Users\Username\AppData\Roaming\MAGIX\Videodeluxe25_premium\Presets\MxMpeg4Intel

HTH

John EB

Lateral thinking can get things done!

VPX, MEP Premium, MEP 2016, and earlier versions, Music Maker Premium, Music Maker 2016, 2015.

Running Windows 10 64bit on Intel i7-8700K 3.2 GHz, 16Gb RAM, 1Tb + 2 x 2Tb internal HDD + 60Gb internal SSD, + 6 x 2Tb ext HDDs, Sony FDR-AX53 Video camera, Contour HD 1080 and Sony HDR-AS30V Sports cams.

RayGus wrote on 5/28/2019, 5:25 AM

Many thanks John....that is much appreciated...

Very best wishes Ray