I put it there since it was in Huspnet's original command. I don't think it matters, same problem occurs if I omit it or use -r 24000/1001 instead.
On Wed, May 28, 2025 at 3:41 PM Mark Filipak <markfilipak.i...@gmail.com> wrote: > On 28/05/2025 18.36, Alex Xu wrote: > > Got the same problematic result with > > > > ffmpeg -i detelecine_input.mkv -vf > > "fieldmatch,decimate,drawtext=fontfile=Arial.ttf: text='%{frame_num}': > > start_number=0: x=(w-tw)/2: y=h-(2*lh): fontcolor=black: fontsize=20: > > box=1: boxcolor=white: boxborderw=5" -c:v libx264 -crf 18 -c:a aac -b:a > > 192k -pix_fmt yuv420p -r 24 fieldmatch_decimate_only_frames.mkv > > > > So detelecine with it's fixed pattern worked best for me in this case. > > > > Purely as background information for people interested in detelecining, > for > > the nontruncated file I also added this to the start of video filter: > > > > select='not(eq(n,1002)+eq(n,2003)+eq(n,3004)+eq(n,4005)) > > > > Since I noticed that the original file had a duplicated frame every 1000 > or > > so frames. The sample file does not reach 1000 frames and I didn't > mention > > it earlier for simplicity. > > > > Alex > > > > > > > > On Wed, May 28, 2025 at 3:28 PM Mark Filipak <markfilipak.i...@gmail.com > > > > wrote: > > > >> On 28/05/2025 18.07, Alex Xu wrote: > >>> Thanks for your feedback, I tried your command but added a frame > counter: > >>> > >>> ffmpeg -i detelecine_input.mkv -vf > >> > "fieldmatch=order=tff:combmatch=none,decimate,drawtext=fontfile=Arial.ttf: > >>> text='%{frame_num}': start_number=0: x=(w-tw)/2: y=h-(2*lh): > >>> fontcolor=black: fontsize=20: box=1: boxcolor=white: boxborderw=5" -c:v > >>> libx264 -crf 18 -c:a aac -b:a 192k -pix_fmt yuv420p -r 24 > >>> fieldmatch_decimate_frames.mkv > > Why is "-r 24" there? > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".