Confirming that the following ffmpeg code will give me 29.97 complete frames per second, with 59.94 fields per second, correct?
MediaInfo reports this:Code:ffmpeg -i "C0008.MP4" -s 1920x1080 -pix_fmt yuv420p -vcodec mpeg2video -vb 5.5M -minrate 5.5M -maxrate 5.5M -bufsize 5.5M -muxrate 6.0M -vf scale=out_color_matrix=bt709:out_range=limited -flags +ilme+ildct -top 1 -r 29.97 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -acodec mp2 -ab 192k -y -f mpegts output.ts
Frame rate : 29.970 (30000/1001) FPS
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 20 of 20
Thread
-
-
No.
"-top" only sets the field order, it doesn't make it interlaced. It's useless if you started with progressive footage. You'd need either "-vf interlace=..." or "-vf -tinterlace=..." modifiers. Plus must use an encoder that supported interlacing.
This might be out of date, but here is a link of sample code: https://forum.kde.org/viewtopic.php?f=272&t=129152.
Haven't tested it myself, so YMMV, UAYOR.
Scott -
This code makes it interlaced, according to MediaInfo:
Code:-flags +ilme+ildct
https://superuser.com/questions/600030/how-to-convert-1080p-to-1080i-video-using-ffmpeg
My question about frame/field rate stands. -
Other than hardware tools and/or CRTs? Nothing cheap/free*. Though you can compare with a known true interlaced clip, using your eyes. And also open in AVIsynth, separate fields, and then do field-by-field advance or do overlay/checkerboard/side-by-side, etc comparisons.
To make your own known-true-intl. clip, you could use HCEnc (which clearly supports interlaced).
If you have a pro NLE, such as Premiere, you could also open in there and see the difference in how it interprets the footage.
*If you are going to MPEG2, you could try opening result clip in DGMPGDEC and see what it says about the cadence (percentage of prog vs. int'lace). That at least is free.
Or if you want to create your own ( ), take a look at this Automatic comparer idea from SMPTE: https://www.smpte.org/sites/default/files/23-1415-TS6-2-IProc02.Pindoria.FINAL_.pdf
Scott -
Thanks for the suggestions, Scott.
Since I'm just playin' around, for now I'll take MediaInfo's word that it's interlaced. If there were a remote chance that my footage might air on a 1080i station or network, I could spend the money on a real checker or ask someone who has a real checker to check it, or just submit it and hope it doesn't get rejected. -
Last edited by chris319; 24th May 2019 at 05:53.
-
-
First example
Yes, provided command line will give interlace encoded mpeg-2 video - it can be progressive or interlace - assumption is that your source is 30000/1001 frame rate, if your source is 60000/1001 then you need apply interlace filter (filter to perform conversion - frames to fields) (second example). I see error - there is only valid tinterlace=4 (TFF) or tinterlace=5 (BFF) - other types of tinterlace are invalid. -
MediaInfo reports Interlaced and TFF.
Last edited by chris319; 24th May 2019 at 14:07.
-
Not my circus and not my monkeys...
https://ffmpeg.org/ffmpeg-filters.html#tinterlace
‘mergex2, 7’
Move odd frames into the upper field, even into the lower field, generating a double height frame at same frame rate.
Code:------> time Input: Frame 1 Frame 2 Frame 3 Frame 4 11111 22222 33333 44444 11111 22222 33333 44444 11111 22222 33333 44444 11111 22222 33333 44444 Output: 11111 33333 33333 55555 22222 22222 44444 44444 11111 33333 33333 55555 22222 22222 44444 44444 11111 33333 33333 55555 22222 22222 44444 44444 11111 33333 33333 55555 22222 22222 44444 44444
-
-
You're beating a dead horse, Pandy.
I no longer use ‘mergex2, 7’ or the code from the old post you quoted. They are no longer germane to the discussion.
Thanks for the tip on tinterlace 4, though.
Similar Threads
-
transcode Variable Frame Rate (VFR) AVC video to Constant Frame rate (CFR)
By hydra3333 in forum Video ConversionReplies: 2Last Post: 4th Mar 2018, 05:01 -
Frame Rate, Bitrates ans Frame by frame comparison
By novreis in forum Newbie / General discussionsReplies: 1Last Post: 5th Feb 2018, 17:40 -
Variable frame rate into constant frame rate without re-encoding
By DunnoNo in forum Newbie / General discussionsReplies: 8Last Post: 21st Dec 2017, 11:05 -
Frame Blend Frame Rate Conversion with Scene Change Detection
By ndjamena in forum RestorationReplies: 7Last Post: 3rd Nov 2015, 09:26 -
How to find out frame exposure time in a variable frame rate .mov file...
By bananas100 in forum EditingReplies: 5Last Post: 24th Oct 2014, 19:18