Hi All,
One of the iPod H264 encodes I made from interlaced source has shuddery motion looking very much like incorrect field order handling.
I no longer have the source for this particular encode and am trying to find a fix after the fact.
No explicit interlaced handling was done during the encode (ffmpeg) and according to MediaInfo the output scan type is progressive. That means it won't be possible to fix the problem by changing output file field order. Even if I could find a tool for that; MPEG4 Modifier won't work with this file anyway.
Assuming that field order was initially incorrectly read, is there some tool with which I can swap frames in the progressive output file? Could something like Avisynth or VirtualDub be scripted to do that?
Many thanks,
Francois
+ Reply to Thread
Results 1 to 10 of 10
-
-
-
I imagine it's theoretically possible to reorder frames (at least within a few frames) without reencoding an h.264 video but I don't know of any software that has this ability.
-
Quite so, for possibly yet another reason. Seeing the encode was neither explicitly deinterlaced nor interlaced, it probably decimated by using only every 2nd field (ffmpeg did complain about the container and video frame rates differing, 25 vs 50). In other words, the encode would have consistently used either Top Frame or Bottom Frame only, meaning field order maybe didn't come into the picture
at all. Meaning the shuddery motion (only in high motion scenes) is probably due to missing picture information from alternate fields?
So having thought about it a bit more, this was probably a dumb question to ask in the first place.
-
Maybe. Take a look at the video in this post:
https://forum.videohelp.com/threads/307004-Best-framerate-conversion-%28eg-23-97-to-30-...=1#post1888926
If your source was telecined film you'll have one duplicate frame in every five frames. That causes a slight jerk 4 times a second.
-
Very illustrative sample video that.
Unfortunately I don't have the source to look at anymore. Here's an example of shuddering in the encode in case that sheds any light:
http://www.mediafire.com/file/zez0yuydy12/Shudder.mp4 -
There's nothing wrong with the frame ordering in that sample. That's typical of a 25fps video with a camera pan of that speed.
If there is a frame ordering issue, it might be a playback/decoder issue on your end
If you were referring to the "juddery" look , and you source was interlaced, you could have bob-deinterlaced to 50fps with 2x the number of frames (instead of single rate deinterlaced to 25fps) , but I doubt your ipod supports those frame rates
Here is a simulation of what it would have looked like if you bob-deinterlaced to 50fps (I used avisynth and mflowfps to generate the "in-between" frames, as an example of frame interpolation) -
Shudder.mp4 is a normal 25 fps clip. It should display the normal jerkiness of 25 fps video. Another possible issue would be related to the refresh rate of your display. If it's 60 Hz the player will have to repeat frames to get 60 fps. Different repeat patterns can result in different types of jerkiness.
-
I'm a little surprised that this looks normal for that pan speed at 25 fps, but thanks very much for the reassurances. And for taking the trouble to demonstrate what deinterlaced encoding might have looked like, poisondeathray.
I've worked a lot with 25 fps video that remains interlaced from camera through DVD and I don't see this effect there even with faster panning. I guess it must be due to the "progressive" encode in this case throwing away half the frame information by just decimating.
I'll look into the iPod's maximum framerate, otherwise I'll just suitably deinterlace and compare results before deciding. Come to think of it, previously when I encoded home movies with panning etc. for computer display as opposed to hardware DVD, I did get good results with deinterlacing (and before anyone asks, my hardware DVD isn't progressive scan).
Thanks very much again,
Francois -
That's because your DVD player is effective bob-deinterlacing it to 50p upon playback. The interlaced PAL DVD is 25 frames per second or 50 fields per second
When you single rate deinterlace to 25p, you are throwing out 1/2 the temporal information. If you bob-deinterlace to 50p, you keep all the information (50 moments per second are represented)
Similar Threads
-
how many b-frames is "optimal" for h264 encoding?
By deadrats in forum Video ConversionReplies: 8Last Post: 31st Dec 2011, 18:26 -
best tool from video/audio TS to mp4 h264
By nodollas in forum Video ConversionReplies: 1Last Post: 31st Jan 2010, 06:55 -
H264 HP to BP MPEG4 - best way to convert and best tool to use?
By Cake^^ in forum Video ConversionReplies: 6Last Post: 14th Sep 2008, 15:30 -
H264: Are there other h264 (AVCHD/VC-1) encoding command-line/CLI tools ??
By vhelp in forum Newbie / General discussionsReplies: 12Last Post: 16th Feb 2008, 01:20 -
whited frames on generated h264
By marcio.sfs in forum LinuxReplies: 4Last Post: 5th Jun 2007, 14:48