H.264 output to bluray is jittery on moving objects

r-sanders wrote on 1/7/2021, 5:14 AM

I'm burning video to standard bluray format so that it is always compatible with players. I want to render using H.264 compression but have found the resulting video to look jittery on moving objects e.g. a person's arm waving. This problem does not occur if I use the MPEG2 rendering option although obviously this reduces the amount of video burnable to a 25 GB bluray disc compared to H.264. Any ideas how I can eliminate or cure this problem on H.264 please? I'm using Movie Edit Pro Plus version 20.0.1.73 (UDP3) and the source video is MP4 50 fps total bit rate 51,924 kbs from a Sony camcorder. Thanks

Comments

johnebaker wrote on 1/7/2021, 8:20 AM

@r-sanders

Hi.

Is the source video Interlaced or Progressive video?

If it is progressive this is a common issue with:

  1. Movement and pan shots at certain speeds appear jerky depending on the framerate of the video
  2. Pulldown - changing framerates adds or removes frames
  3. Conversion to interlaced for Blu-Ray.

In your case I suspect you have the worst case condition ie all 3 of the above.

The standard Blu-Ray specification for Full HD (1920 x 1080) is Interlaced video at 25 or 30 fps.

Whether you use h.264 or MPEG-2 the video will be interlaced.

The only thing I have found that does helps minimise - you will never eliminate this from progressive video - this is to select all the video objects in the project and apply the Speed Effect, Interpolate intermediate images option shown below

If you have not applied any sharpening to the source video on the timeline, I would suggest using Effects, Movie Effects settings, Sharpness to apply overall sharpening to the project, I set a value of 30 for the projects I do that are scaled down from 4K UHD to FullHD for Blu-ray

I would suggest if you are producing for Blu-Ray only you record in 25fps Interlaced format this eliminates all the above contributors to jerkiness.

HTH

John EB
Forum Moderator

 

Last changed by johnebaker on 1/7/2021, 8:23 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 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.

pmikep wrote on 1/8/2021, 12:40 AM

@johnebaker So, an off topic (but related) question if I might.

I sometimes see the "jittery" (jumping) video that you mentioned in motion shots of TV movies streamed over the web that I record via screen capture.

I have experimented with capture frame rates to find the best way to minimize this during screen capture.

You can see a sample of my testing here, where certain frame rates miss entire frames of fast motion of a movie.

I am having trouble understanding the issue at a conceptual level.

First, the movies that I record are old film movies, which were recorded at 24 fps.

So it seemed to me that using a screen capture frame rate at 24 fps should capture each (and every) movie frame.

But, as you can see from my testing, it does not. Even when I "oversample" at 30 fps capture.

I'm confused by that. (Although, per my end note here, I found that this missing of frames was due to using the Look Ahead setting for nVidia Hardware Encoding.)

I don't know how the streaming service (in this case, Turner Classic Movies (or TCM.com)) are streaming movies.

I know that they aren't doing it like in the old days, where a projectionist mounted a film, and a TV camera captured the screen. (I actually saw that done when I was a kid in school during a field trip to a local TV station.)

I presume, in that case that I would record at 30 fps (US NTSC) and that the video would have been telecine'd. (And then I would have to extract extra frames.)

Clearly websites like TCM are using digital versions of the movies. I am guessing Blu-Ray versions.

In which case, given what you said, the website would be streaming interlaced video.

But my monitor is progressive.

So I wonder what is happening in the middle? Does my browser change the video from interlaced to progressive?

Or am I watching interlaced video on a progressive monitor?

If they are indeed using BluRay discs (or, more properly, BluRay files) to stream the movies, then some jitter during panning shots is unavoidable. (Indeed I see it on the screen while streaming, regardless of the speed of my Internet connection.) But also I can make it worse by not capturing each and every frame.

So any thoughts on the best frame rate to capture NTSC streamed film movies so as to not miss frames?

(As you can see in my testing, I capture every frame when I capture at 60 fps. But that makes for a very large file. I have found, by "hacking" (as opposed to deduction/induction) that I can get all frames if I set my monitor to refresh at 60 Hz (it goes as high as 75) and record at 30 fps with "Look ahead" disabled for my nVidia hardware encoder. (It seemed that the "Look ahead" feature wasn't looking closely enough at motion, and not adapting properly.) And I also had to increase the number of max B frames.)

Started with MEP 11, then 17, then MX, then MEP 2013, 2015, then 2016. Changed to the fast competitor after that, which worked fine with my non-Intel hardware. Then bought a used Dell with an Intel GPU, just to play with MEP again. Installed MEP 2020 Plus in March 2020, even tho I don't like losing patches if I have to reinstall after a year.

Testing on a Dell Vostro, <s>i3-8100</s> updated to i5-9400 w/ UHD 630, 16 GB 2400 DDR4 (CL15), Win10 Home, heavily NTLite'd. Now with GTX-1650 Super OC'd. Added a WD Blue M.2 for OS (PCIe 3), Apps, Temps and Video-In. 2 Monitors. A WD Blue SSD for outputs. (SATA III.)

CubeAce wrote on 1/8/2021, 5:14 AM

@pmikep

Hi Mike.

So as to not go too far off topic I am going to say it depends on the broadcaster and the content being broadcast. For instance the BBC hosts all it's content on Amazon servers (as do a lot of other online broadcasters) but the broadcasts are not the same quality, or use the same internet protocols that Amazon Prime does for its streaming content. The BBC iPlayer for instance caps out at 1080x720p in live view but can download content to your PC for limited playback times with higher quality playback resolutions.

Also at your end you could find the feed capped depending on the download speed of your connection and the ability of your system to download the information packets and display them in real time. Try even streaming 8K content from YouTube and see what happens. Most internet content providers use progressive content for streaming. I don't say all simply because I haven't had experience of all sites.

Ray.

 

Windows 10 Enterprise. Version 22H2 OS build 19045.5737

Direct X 12.1 latest hardware updates for Western Digital hard drives.

Asus ROG STRIX Z390-F Gaming motherboard Rev 1.xx with Supreme FX inboard audio using the S1220A code. Driver No 6.0.8960.1 Bios version 1401

Intel i9900K Coffee Lake 3.6 to 5.1GHz CPU with Intel UHD 630 Graphics .Driver version Graphics Driver 31.0.101.2135 for 7th-10th Gen Intel® with 64GB of 3200MHz Corsair DDR4 ram.

1000 watt EVGA modular power supply.

1 x 250GB Evo 970 NVMe: drive for C: drive backup 1 x 1TB Sabrent NVMe drive for Operating System / Programs only. 1X WD BLACK 1TB internal SATA 7,200rpm hard drives.1 for internal projects, 1 for Library clips/sounds/music/stills./backup of working projects. 1x500GB SSD current project only drive, 2x WD RED 2TB drives for latest footage storage. Total 31TB of 10 external WD drives for backup.

ASUS NVIDIA GeForce RTX 3060 12GB. nVidia Studio driver version 572.60 - 3584xCUDA cores Direct X 12.1. Memory interface 192bit Memory bandwidth 360.05GB/s 12GB of dedicated GDDR6 video memory, shared system memory 16307MB PCi Express x8 Gen3. Two Samsung 27" LED SA350 monitors with 5000000:1 contrast ratios at 60Hz.

Running MMS 2024 Suite v 23.0.1.182 (UDP3) and VPX 14 - v20.0.3.180 (UDP3)

M Audio Axiom AIR Mini MIDI keyboard Ver 5.10.0.3507

VXP 14, MMS 2024 Suite, Vegas Studio 16, Vegas Pro 18, Vegas Pro 21,Cubase 4. CS6, NX Studio, Mixcraft 9 Recording Studio. Mixcraft Pro 10 Studio. CS6 and DXO Photolab 8, OBS Studio.

Audio System 5 x matched bi-wired 150 watt Tannoy Reveal speakers plus one Tannoy 15" 250 watt sub with 5.1 class A amplifier. Tuned to room with Tannoy audio application.

Ram Acoustic Studio speakers amplified by NAD amplifier.

Rogers LS7 speakers run from Cambridge Audio P50 amplifier

Schrodinger's Backup. "The condition of any backup is unknown until a restore is attempted."

johnebaker wrote on 1/8/2021, 6:07 AM

@pmikep

Hi Mike

. . . . I am having trouble understanding the issue at a conceptual level . . . .

It looks like you have issue 2, Pulldown, and possibly a 'dropout' as well.

Assuming the download is at 24 fps - or has been converted to 30 or 60 fps by the host the video has had its framerate adjusted to match the monitor framerate - usually 60 fps, ie- Pulldown. However 24 into 30 or 60 is not a nice round number, they are subjected to Pulldown.

When capturing from screen the capture is usually from the output frame buffer which contains the decoded image frame(s) to be displayed on the monitor, at 60fps if that is your monitor setting

The 30fps capture therefore has to drop frames ie simplistically it could take every other frame, in the example you have shown it appears a frame has been dropped - this could have been due to a transmission error or an error in the decode that dropped it.

Under ideal conditions, supposing capture is taking the odd number frames then for the 4 frames in your example it should capture

1,3,5,7

however as I said above a frame has been dropped* ie frame 5 so you get

1,3,7

at 60 fps capture there is less of a problem as 1 frame dropout would hardly be noticed, if at all.

* You may find if you repeat the 30fps capture several times it will capture the correct number of frames.

. . . . So any thoughts on the best frame rate to capture NTSC streamed film movies so as to not miss frames? . . .

As you can see from the above - there is no ideal capture rate.

HTH

John EB

Last changed by johnebaker on 1/8/2021, 6:11 AM, changed a total of 4 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.

r-sanders wrote on 1/8/2021, 7:00 AM

Thank you Mike for a clear explanation. My camcorder was set to recording at 50p. I've just had a look at the available settings and there isn't an option for 25i - only 25p or 50i or 50p. Presumably I should set to 50i then?

johnebaker wrote on 1/8/2021, 7:22 AM

@r-sanders

Hi

Which Sony camcorder do you have? I have 3 different models and they all have an Interleaved setting however it is not called that in one of them.

John EB

Last changed by johnebaker on 1/8/2021, 7:22 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 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.

pmikep wrote on 1/8/2021, 9:31 AM

Thanks @johnebaker for your answer.

FYI, I think we can rule out transmission error as the primary problem because the missing frame problem occurred fairly repeatably.

And, as I said, it also seems to be a capture problem with b-frames. Which only muddies the picture (pun intended) as I focus on frame rates. (Another semi-pun.)

For now I've been lowering my screen refresh to 60 Hz and recording at 30 fps with as many b-frames as OBS allows (4) and with Look-Ahead off. It captured a waterfall scene and pan from Alfred Hitcock's Vertigo, and these settings gave me the best visually smooth movement.

(So, basically, I've been doing trial & error testing, without as much deduction/induction as I would like.)

Started with MEP 11, then 17, then MX, then MEP 2013, 2015, then 2016. Changed to the fast competitor after that, which worked fine with my non-Intel hardware. Then bought a used Dell with an Intel GPU, just to play with MEP again. Installed MEP 2020 Plus in March 2020, even tho I don't like losing patches if I have to reinstall after a year.

Testing on a Dell Vostro, <s>i3-8100</s> updated to i5-9400 w/ UHD 630, 16 GB 2400 DDR4 (CL15), Win10 Home, heavily NTLite'd. Now with GTX-1650 Super OC'd. Added a WD Blue M.2 for OS (PCIe 3), Apps, Temps and Video-In. 2 Monitors. A WD Blue SSD for outputs. (SATA III.)

johnebaker wrote on 1/8/2021, 10:22 AM

@pmikep

Hi Mike

. . . . OBS . . .

Did you see this comment at the bottom of page 1 of the rather long topic about issues with OBS recordings and best settings?

John EB

 

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.

pmikep wrote on 1/8/2021, 10:26 AM

No, I didn't. But I watch the stats in real time. The Stat page says no dropped frames. (Even at 60 fps.) My nVidia (and yours) completes a frame in less than 2 ms.

Still, I'll double check.

(I know about your favorite screen capture program. At this time, I'm too cheap to buy it.)

Started with MEP 11, then 17, then MX, then MEP 2013, 2015, then 2016. Changed to the fast competitor after that, which worked fine with my non-Intel hardware. Then bought a used Dell with an Intel GPU, just to play with MEP again. Installed MEP 2020 Plus in March 2020, even tho I don't like losing patches if I have to reinstall after a year.

Testing on a Dell Vostro, <s>i3-8100</s> updated to i5-9400 w/ UHD 630, 16 GB 2400 DDR4 (CL15), Win10 Home, heavily NTLite'd. Now with GTX-1650 Super OC'd. Added a WD Blue M.2 for OS (PCIe 3), Apps, Temps and Video-In. 2 Monitors. A WD Blue SSD for outputs. (SATA III.)

r-sanders wrote on 1/9/2021, 5:05 AM

@johnebaker - I have Sony HDR-CX625

johnebaker wrote on 1/9/2021, 9:00 AM

@r-sanders

Hi

Thanks for the info - your camera does record interlaced video at 25 fps:

AVCHD: 1920x1080 50i(FX, FH).

By convention, the meanings of 'p' and 'i' are not the same

'p' denotes Progressive frames.

'i' denotes Interlaced 'fields' - 1 frame is composed of 2 fields (top and bottom) - therefore 50i is 25 frames per second (interlaced).

HTH

John EB

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.