MEP 2016 - MPG Export options - default recording codec; anti-interlace filter

Kami_1 wrote on 12/30/2015, 8:34 PM

I'd been using the old MPG2 Main Concept Codec, exporting with the MPG DVD setting.  This codec has a quality setting which I'd change according to how good or how bad the video is.  I just began using the Default codec, which seems to work well, but it doesn't have the quality setting (if it does, I haven't found it).  Am I losing anything important without that setting?

Remember I was asking about speeding up the exports?  I "found" a setting in the MPG export window, "calculate video effects on CPU."  That did speed up the process, and seems to work better/faster with the default export codec than it did with the Main Concept codec.

In the export window, I see a setting "apply anti-interlace filter (suppresses flickering)."   I read somewhere in the Help file suppressing flickering applies to stills.  Since I very rarely add a still, am I losing something by keeping that setting checked?

Thanks, Kami

Comments

johnebaker wrote on 12/31/2015, 1:59 PM

Hi Kami

. . . . . but it doesn't have the quality setting (if it does, I haven't found it). . . . .

It is here:

 

. . . . I see a setting "apply anti-interlace filter (suppresses flickering . . . .

I always keep this on.

. . . . I read somewhere in the Help file suppressing flickering applies to stills. . . . .

Only applies to interlaced video - it suppresses flickering when interlaced video is converted to progressive, eg when exporting as MP4.

The flickering makes MP4's virually unwatchable when interlaced video has been converted to progressive without this filter turned on.

HTH

John EB

Last changed by johnebaker on 12/31/2015, 2:00 PM, changed a total of 2 times.

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

Kami_1 wrote on 1/1/2016, 2:45 PM

Thanks!  It was set to "balanced," which didn't occur to me what it referred to. 

Good to know about flickering and MP4's.  I've been using the Progressive setting with the MPG2-DVD setting.  I hope it doesn't hurt to leave suppress flickering on with other than mpg4's.

Happy New Year!

Kami

Hi Kami

. . . . . but it doesn't have the quality setting (if it does, I haven't found it). . . . .

 

. . . . I see a setting "apply anti-interlace filter (suppresses flickering . . . .

I always keep this on.

. . . . I read somewhere in the Help file suppressing flickering applies to stills. . . . .

Only applies to interlaced video - it suppresses flickering when interlaced video is converted to progressive, eg when exporting as MP4.

The flickering makes MP4's virually unwatchable when interlaced video has been converted to progressive without this filter turned on.

HTH

John EB

 

Scenestealer wrote on 1/1/2016, 7:35 PM

Hi John and Kami

All the best for the New year!

Only applies to interlaced video - it suppresses flickering when interlaced video is converted to progressive, eg when exporting as MP4.

I don't agree with you John but this area is quite confusing in MEP. My understanding is that this is designed to help reduce resizing artifacts when Hi resolution stills are reduced (and or animated ie. pans or zooms)  to the export resolution of the movie say from greater than 4K to HD or SD resn. as referred to in Help:-

"Anti interface filter: Choose this option for still pictures with detailed structures and high contrast. This filter reduces line flickering during TV playback."

Confusing in that a Rt click on the timeline object shows a selection and when selected a pop up window directs you to turn it on in the export settings for that object (and not necesarily for the whole movie!) So does it apply it to all objects or just the ones you Rt click and select "Anti interlace filter" on.

Note that there is also a Rt click selection for saving a still frame from an interlaced movie clip described in help"-

"Interpolation for interlace material: Select this option to remove interlace artifacts from the (video) image. If, for instance, you extract still shots from a video, interlace artifacts appear in sequences which feature movement."

IOW it saves the still as a deinterlaced frame.

Both of these selections are described in Help as "Image improvements for individual objects" so I think they only apply to clips that you select and apply Rt click to.

In the case of your MP4 - was it an HD video being converted to SD resolution on export? If so the Magix explanation of the AI Filter may have been playing a part. I seem to remember doing a whole lot of tests way back and finding that it is applying a softening effect or reduction of resolution and this can be varied in the overall "Movie Effects settings" under the Sharpness tab as described in Help:-

"Anti-flickering filter intensity: The anti-flickering filter affects only still images. It is especially intended for zooms in images with many edges and transitions with high contrast (e.g. fences, bars, brick walls). High-frequency images such as these begin to flicker when they are reduced in size. This filter smoothes these edges somewhat.
You should set the intensity of the anti-flickering filter according to your preferences, because smoothing is always a compromise between good contrast and fluid image sequence during playback.

So more potential confusion, and from memory the experience that this setting sometimes does more harm than good. As this settings slider is on 0 by default it may mean that the checked box in the export window may have little effect in some cases, but I always deselect AIF option for general export unless I am getting jittering problems.

As far as interlaced video clips go, I think Magix advice is that if your interlaced clips in your progressive export turn out jittery then you should Rt.Click the clip and go to "Object properties" tab and change the Interlace attributes in the "Calculation of Intermediate images" tab prior to export.

Kami - I did some short tests with the Quality settings with the Intel default encoder with some MPEG4 50P HD material using Harware acceleration with Quicksync on my new I7 system and could not find a time difference between Best and Fastest, but with SW encoding (CPU only) Best took 4x as long as Fastest with not a lot of difference in quality. Balanced seemed to be the best setting for speed and good quality and set on this the encode only took twice as long with SW as with HW.

Cheers

Peter
 

 

 

 

 

 

Last changed by Scenestealer on 1/1/2016, 7:39 PM, changed a total of 2 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.

johnebaker wrote on 1/2/2016, 9:18 AM

Hi Peter

I agree the use of the 'Apply anti interlace flickering filter' is confusing.

From practical experience of using interlaced video and exporting to progressive, without this filter option on the video can be virtually unwatchable, expecially where there is movement,  due to flickering caused by the combining of 2 fields, which are spaced 20ms apart, together to get one frame.

With moving objects which are not in the same position between fields - this also gives rise to 'combing' which is another problem that arises with interlaced to progressive conversion.

AFAICS leaving this option turned on does not do any harm to the final video.

. . . . Interpolation for interlace material: . . . .

AFAICS this option does not have a significant effect on stills from my interlaced footage.

. . . . In the case of your MP4 - was it an HD video being converted to SD resolution on export? . . . .

The flickering was the same whether exported as 1080p, 720p or 480p.

John EB

Last changed by johnebaker on 1/2/2016, 9:18 AM, changed a total of 1 times.

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

Kami_1 wrote on 1/2/2016, 10:40 PM

Thanks Peter.  I occasionally get short scenes of a few seconds which are very jittery.  They've occurred when using any of the video stabilizers.  In at least one case, removing 1 or 2 *frames* solved the problem.  In other cases, I deleted the jittery scene.

Maybe the next time I have a scene with the jitters I"ll check "no interlace processing" in Calc. of intermediate images just to see what happens. 

Happy NY to you, too.

Kami

Hi John and Kami

All the best for the New year!


As far as interlaced video clips go, I think Magix advice is that if your interlaced clips in your progressive export turn out jittery then you should Rt.Click the clip and go to "Object properties" tab and change the Interlace attributes in the "Calculation of Intermediate images" tab prior to export.

Kami - I did some short tests with the Quality settings with the Intel default encoder with some MPEG4 50P HD material using Harware acceleration with Quicksync on my new I7 system and could not find a time difference between Best and Fastest, but with SW encoding (CPU only) Best took 4x as long as Fastest with not a lot of difference in quality. Balanced seemed to be the best setting for speed and good quality and set on this the encode only took twice as long with SW as with HW.

Cheers

Peter

Kami_1 wrote on 1/2/2016, 10:48 PM

Thanks for the replies.  After reading them, it's occurred to me how one can know if flickering that can be seen on the timeline is due to interlacing, to very quickly moving objects and/or camera shake.  (Honest, a few times my cam seemed to vibrate even though my hand was still.)

Since I've been using the progressive setting, I haven't been seeing jitters, at least any noticeable ones.  It could be better use of Mercalli, or maybe I'm cutting them all out.  

Kami

browj2 wrote on 1/6/2016, 10:45 AM

Hi,

I now uncheck "Apply anti interlace flickering filter" because I recently found that a still image was blurry as a result. Turning it off solved the problem. As all of my raw video is progressive, I don't have the problem mentioned by John EB.

Last changed by browj2 on 1/6/2016, 10:45 AM, changed a total of 1 times.

John C.B.

VideoPro X(16); Movie Studio 2025 Platinum; Music Maker 2025 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

Scenestealer wrote on 1/6/2016, 2:28 PM

Hi All

I guess "whatever works" is good but I have tried to outlay the theory that I believe backs the functions for dealing with Interlacing and Flicker in MEP.

John C.B.

I have seen instances on this forum where Magix support have advised people to deselect the AIFF because of odd results with various footage.

I am certain I have found times when there are anomalies with mixed interlaced and progressive footage on the timeline, where interlaced clips do not seem to deinterlace as you would expect when exporting to progressive. This is covered by that facility to change the clips attributes manually in the Object properties "calculation of intermediate images" tab.

John E.B.

. . . . Interpolation for interlace material: . . . .

AFAICS this option does not have a significant effect on stills from my interlaced footage.

 

I think this is designed for when you want to save and print a picture from a frame of video. I imagine that if the frame is just to include in a video that is going to be deinterlaced on export then it would get uninterlaced then, along with the other video footage.

Peter

Last changed by Scenestealer on 1/6/2016, 2:28 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.

johnebaker wrote on 1/6/2016, 2:57 PM

Hi

. . . . I guess "whatever works" is good  . . . .

I must totally agree with that. 

This is one of those issues where different video and image sources may require different treatments in order to achieve the desired result - what works for one may not work or be the best for another.

In this sort of situation we can say:

     'This works for me and this is why I believe it does, try it and see if it works for you'

I mainly work with Interlaced 25 fps video and still images from my Sony camera, my Sony Sportscam and a Canon DSLR.

I stopped working with Progressive video from another Sportscam  which takes Progressive video but at 30 fps which gives me problems with 'pulldown' - but that is another topic.

. . . . I believe backs the functions for dealing with Interlacing and Flicker in MEP . . . .

@ Peter

That set me thinking about jpg still images and I remembered, from the old days of dial-up modems, that there are two types of jpeg - normal and progressive - the progressive format was used to download the images in stages so at least something appeared as the page was being built up in the browser.

However the name 'progressive' is a misnomer in relation to video because these jpg's are in fact interlaced ie the data is compressed in multiple passes of progressively higher detail and the image is built up 'line by line' in stages..

Do you think the recommendation to use the filter on still images is a catch all for when progressive jpgs are encountered?

John EB

Last changed by johnebaker on 1/6/2016, 2:57 PM, changed a total of 1 times.

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

Scenestealer wrote on 1/8/2016, 4:46 PM

Hi

. . . . Interpolation for interlace material: . . . .

AFAICS this option does not have a significant effect on stills from my interlaced footage.

I decided to check this with some interlaced footage from my Panasonic GF6 Mirrorless Micro Four Thirds still camera which shoot Full HD AVCHD at 50i. Media Info confirms this as interlaced but on the MEP2016 timeline this previews without any combing or hint that it is interlaced on moving objects, even without the "Automatic Deinterlacing"set in Program Settings or the Object Properties. As expected, faced with this, the exported JPEG had no sign of interlace artifacts without any of the discussed MEP settings checked for preventing such.

This reminded me that a lot of these modern cameras that shoot stills and video often show in a footnote in their spec. that when set to 50i video that "the sensor output is progressive". How this is turned into Interlaced is anyone's guess but it would not show a displacement in alternate lines when the camera is panned which gives rise to the combing (or jitter) on horizontally moving objects.

I think the reason my camera and others have a maximum FHD frame rate of 50i (25fps) is because of processing power limitations in the cameras processing "engine" and is perhaps the reason why the modem analogy is similar, but I think it is not relevant to the question of JPEG's being interlaced as it relates to MEP. These I believe will always be progressively captured from the timeline but with an offset in alternating lines depending on whether the interpolation option or some other deinterlacing option is set.

I tested this further with some old DV AVI footage and found something more interesting - that the exported single frame showed the combing if I went into the "Object properties" of the video and in the "Calculation of intermediate images" changed to "No Interlace Processing". With the 50i footage from the Lumix GF6 this made no difference to the saved JPEG which remained without combing / interlace artifacts.

So what this all means to me to summarise:-

For export - MEP is automatically applying Interlace processing in the object proerties regardless of what is set in the program or movie or Rt click settings. Note - the "Automatic Interlace processing" option in Program settings only affects the preview monitor.

Truely interlaced (at the camera sensor) video may need the "Interpolation for interlaced footage" Rt click checked in rare cases to produce a still JPEG without interlacing artifacts.

Modern digicam footage may not require any processing for still frame export because it is not recorded with offset alternate lines from the sensor, which is capturing progressively (ever noticed that horizontal pans from these cameras always look jerky ie. more like 25p than 25 interlaced).

John EB and Kami - it would be interesting for you to check the above out with your respective "Interlaced" footage from you various cameras.

Peter

Last changed by Scenestealer on 1/8/2016, 4:46 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.