choppy video after edit and render to mp4

Stemu wrote on 2/19/2015, 7:27 AM

Do anyone know how to fix following problem.

I place video clip in timeline (Nikon V1, h264, .mov, 60i, 29,97) and cut few seconds in the beginning of clip. Then I render move. Result video has some hop every one second (about) almost like there is a missing frame(s) every one second. If I use clip as such and render, there is no problem.

I assume that there is some mismatch between I,P,B frames. 

Could one solution be if I could cut the clip only in I frame (key frame) positions? But I don't know how to do that and if that would solve it.  Or any other ideas?  I render to MP4.

SW is Movie Edit pro MX 11.0.6.0

Comments

johnebaker wrote on 2/19/2015, 1:41 PM

Hi

More information is needed:-

Which format are you adding to the timeline 60i or 30p?

Which mp4 preset are you selecting and are you changing any of the parameters for exporting?

. . . . I assume that there is some mismatch between I,P,B frames. . . . .

Unlikely - when you edit - existing I,B and P frames are remade into the correct sequence as specified in the export parameters.  It is not wise to start changing these - you will affect the video and possibly make it worse.

The export formats are already optimised for best performance, quality.

Is your Quicktime up to date?

John

 

Last changed by johnebaker on 2/19/2015, 1:42 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 24H2 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.

Stemu wrote on 2/19/2015, 2:16 PM

I add to the timeline 60i clip

I export using customized mp4 preset

 

I don't know about quicktime, can that affect?

johnebaker wrote on 2/20/2015, 1:50 PM

Hi

Your export dialog box looks different to mine in MX - see difference where circled in the image below - are you using a different codec to the MainConcept one installed with MEP?

 

The export  presets are optimised for each format of video format and changing these can have a considerable detriment on the video quality.

What is the end purpose of the exported video?

Did you change the default settings to those shown above, and if so for what reason?

John

Last changed by johnebaker on 2/20/2015, 1:50 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 24H2 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.

Stemu wrote on 2/20/2015, 3:07 PM

I have changed the parameters in order to get much better video rendering quality compared to original "optimized" settings. And I get much better. I watct the exported videos in computer screen and in Samsung smartTV. This choppy video is happening only sometimes and is dependent on where I cut the video. I have experiemented to cut the clip in different positions and sometimes the result is choppy and sometimes OK. Most often I don't cut form the beginning of the clip so the problem is not big.  I don't want to use the original "optimized" video settings because then the quality of original clips worsen too much.

Scenestealer wrote on 2/20/2015, 4:42 PM

Hi

Your biggest improvement in quality has likely come from the big increase of almost double the bit rate. Increasing the Bframes will raise compression and lower filesize and quality.

Reducing the GOP length could increase quality by reducing compression but only if there is a sufficiently high bitrate in the stream. It could also create the jerking problems you are having.

It is best to analyse the original camera clips with Media Info and stick to the original specifications for the advanced parameters like GOP, Bframes and Bitrate. Or, if you are only trimming the clips with no other cleaning or effects then use Smart Render or Smart Copy, which will preserve the original structure of the picture stream.

Have you tried "Rt.Click > Create New Frametable" BEFORE you do any editing? This helps in maintaining a correct GOP structure when editing.

Ss

 

Last changed by Scenestealer on 2/20/2015, 4:42 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 2/20/2015, 6:16 PM

Hi

In addition to Scenestealers comments- the optimum GOP setting for quality depends on the content of the video and the amount of movement / action.

For high action complex scenes the optimum GOP length will be shorter than for a tranquil slow moving scene.

For 60i video GOP setting should be around the 30 mark.

. . . . Create New Frametable" BEFORE you do any editing? . . . .

This should only be applied to Mpeg video.  H.264 does not use frametables and applying this setting can cause issues.

John

 

Last changed by johnebaker on 2/20/2015, 6:16 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 24H2 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.

Stemu wrote on 2/21/2015, 2:22 AM

I tested to render to different  formats usiong predefined profiles (mp4, Wmv, mpeg2). All the time same problem, jump every one second.  So this is not dependent on rendering options. It must be something else.

Stemu wrote on 2/21/2015, 2:31 AM

The clip is actually 59.94i  ie. 29.97 interlaced.  If I render the program as 30 interlaced  (60i) I don't get the jup every one second. But the I get some small disturbance (several frames) every 16 seconds.

Stemu wrote on 2/21/2015, 3:06 AM

New info. The jump every one second is actually visible already in timeline, so it is nothing to do with rendering of final program.

johnebaker wrote on 2/21/2015, 5:23 AM

Hi

I think the issue is the result of 'pulldown' when changing framerates.  As an aside, if you change from Interlaced to Progressive you add in a second problem.

. . . . The clip is actually 59.94i  ie. 29.97 interlaced.  If I render the program as 30 interlaced  (60i) I don't get the jup every one second. But the I get some small disturbance (several frames) every 16 seconds.. . . . .

That is a  problem I sometimes had when changing framerates of video from one of my sport cams (30fps) down to 25 fps.  It is caused by the pulldown where it, in effect,  'drops' one or more frames at regular intervals to produce the correct framerate.

Some cameras are designed to shoot in progressive mode at 24 fps and then record the video to storage as a 60-field interlaced signal.  If yours is doing this then the 'pulldown' algorithm in MEP may not be sophisticated enough to handle this correctly.

Can you upload a short length of original video ~10 - 20 seconds long from the Nikon to, for example Dropbox, and post the link for us to have a look at and see if we can reproduce the problem?  If we can then I would suggest contacting Magix support and ask them to have a look at the problem.

Thanks

John

Last changed by johnebaker on 2/21/2015, 5:24 AM, changed a total of 3 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 24H2 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.

Stemu wrote on 2/22/2015, 10:56 AM

[[VIDEO:cloud://]]

I uploaded one V1 video file here. Can you download it?

Stemu wrote on 2/22/2015, 11:02 AM

Hi

V1 video file is found here

https://www.dropbox.com/s/q6f0tf779ij5tip/DSC_6506.MOV?dl=0

 

browj2 wrote on 2/22/2015, 11:40 AM

Hi,

I downloaded and tried the file in MEP2015Premium. I don't have MX workable anymore.

I tried a couple of seconds from the front and back, now 08:29 long. Playback was fine.

I rendered the modified clip. Playback was fine, no jumps.

So maybe the problem is just in MEP MX?

Last changed by browj2 on 2/22/2015, 11:40 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, 12TB, 14TB; 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

johnebaker wrote on 2/22/2015, 12:57 PM

Hi

I have also tested with both MX and 2015 and get the following:-

  MX MEP 2015
30i Occasional jump Occasional jump
30p OK OK
60i Not possible Frequent jumps
60p Not possible OK
     

All tests at 1920x1080 using the MainConcept encoder in both NTSC and PAL fomats - appears export as NTSC or PAL makes no difference.

One observation I have made using MEP 2015 is that there is very strong interlace 'combing' - see image - present where there is rapid movement eg the first red car as it nears the camera - this is not visible in MX.

I have a strong suspicion the camera is actually recording as 30p and then processing the video to 60i.

Try shooting 1920 x 1080 30p and then exporting as before from MX.

HTH

John

Last changed by johnebaker on 2/22/2015, 12: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 24H2 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.

Stemu wrote on 2/22/2015, 1:11 PM

Thanks for trying to help with this. I also tried with MEP201 demo version and it worked OK. 

In my MEP MX, the problem exist in all export formats, even with uncompressed avi, and in timeline.

It is dependent of the position of cut. It I try out different poits to cut I can find a cut that doesn't lead to jumpy video.

Scenestealer wrote on 2/22/2015, 10:13 PM

Hi All

My tests with MX confirms the following:-

Uncut clip - no problem in timeline or export.

Trim 2 sec 15fr - OK

Trim total 3sec 14fr - jerk 1:15 caused by duplication of frame 15 and occurring every second from there but at 4th sec. looks like 1/2 frame forward then 1fr. back.

Export at 59.94 P then problem still there but at double the amount of time and clip plays in slow motion!

MEP2014 - all above scenarios play correctly.

Conclusion - must be a problem with that type of footage, in MX, that was fixed in later versions of MEP and could be to do with the Video Readers (don't ask me what they are) that Support sometimes refers to.

An interesting problem and discussion though. Actually I can not get the original to play smoothly in any of my installed players WMP, VLC or QT. Exported footage is fine however. 

John

I have a strong suspicion the camera is actually recording as 30p and then processing the video to 60i.

I think you may be spot on with your observation as I this is probably more common than we might think, especially with cameras that are primarily set up for progressive capture of still frames. It is sometimes referred to as "PSF = Progressive Segmented Frames" where the chip scans two half frames progressively with the result that there is no offset when it is interlaced. I was suspicious when I could not see any combing with the original footage in MEP regardless of whether "Interlace processing" was turned off or on in MEP's Program settings. Also the fact that Media Info reports the footage as 59.94FPS is unusual for 29.97 Interlaced material which usually reports 29.97 as the frame rate.

Not sure why you see such dramatic combing in MEP2015 (which I do not have installed).

For high action complex scenes the optimum GOP length will be shorter than for a tranquil slow moving scene.

This will only be true if the bitrate is raised to accomodate the decreased compression that results from a shorter GOP.

H.264 does not use frametables

I am not sure this is true, and the fact that it causes problems if used after editing has been carried out on H264 material tends to indicate it is messing with the said Frametables.

Peter

Last changed by Scenestealer on 2/22/2015, 10:15 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.

Stemu wrote on 2/23/2015, 11:39 AM

thank you for your efforts. So one solution would be to upgrade to MEP 2015.

Also confirmation that interlaced vidoe is difficult to handle compared to progressive. 

However, I need to use Nikon V1 60i since it gives better image quality than 30p (sharper, better motion)

browj2 wrote on 2/23/2015, 12:14 PM

I took another look at the video file in MEP2015. The problem was almost unnoticeable until I used the arrow key to scroll across the timeline. I got the same type of images as John EB. Just thought I'd clarify that.

Last changed by browj2 on 2/23/2015, 12:14 PM, 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, 12TB, 14TB; 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

johnebaker wrote on 2/23/2015, 2:20 PM

Hi

. . . . Also confirmation that interlaced vidoe is difficult to handle compared to progressive. . . . 

Not at all - whether you shoot interlaced or progressive it all depends on the final viewing scenario -

If the viewing device is progressive, eg a computer monitor, or for use on a website, then you should shoot in progressive.

If for an interlaced device eg TV - then you need to shoot interlaced video.

For a devie, eg Smart TV, which can handle both Progressive and Interlaced - then it does not matter so much except that for fast action then it is better to shoot interlaced.

. . . . However, I need to use Nikon V1 60i since it gives better image quality than 30p (sharper, better motion) . . . .

Only gives better image quality  if you export interlaced video and view on an iterlaced device, as soon as you change video from progressive to interaced, or interlaced to progressive, and / or change framerates you are introducing other problems.

John EB

 

Last changed by johnebaker on 2/23/2015, 2:21 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 24H2 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.