VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. hello guys,
    For proper editing in my video studio (DaVinci Resolve). I need to Inverse Telecine the video.
    (sample: https://workupload.com/file/mjMXcMpuEPs)

    As far as I read through several documentations the proper way of doing it is supposed to be

    "%FFMPEG%" -i %INPUTFILE% -vf "fieldmatch,yadif=deint=interlaced,decimate, fps=24000/1001" -b:v 30M -maxrate 30M -bufsize 30M "%TARGETFILE%".mov
    If I leave out the bitrate commands the video comes off very small with a bitrate unter 1000.
    Usually for simple copying the video without any conversion commands ( -c:v copy ) ffmpeg choses a fitting bitrate but in this case it didn't so I just chose big parameters to minimize the quality loss.

    If I leave out the " fps=24000/1001" at the end the video comes out with a weird 47,xx fps.

    So all in all although in the right fps and good bitrate the video still plays ways too fast so what am I doing wrong here ? There don't seem to be many other ways for a proper IVTC in ffmpeg.
    Any help is much appreciated.
    thanks a lot
    regards
    Quote Quote  
  2. I was able to duplicate the problem with your source video. MPEG2 video in MKV is often problematic so I remuxed the source to an mpg file then ran the IVTC on the new file. It worked properly.

    Remux batch:
    Code:
    ffmpeg -i %1 -vcodec copy -acodec copy "%~dpn1.mpg"
    For some reason fieldmatch produces 59.94 fps with the MKV source, 29.97 fps with the MPG source.
    Quote Quote  
  3. ffmpeg reads the frame rate as the field rate (59.94)

    Code:
        Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, smpte170m, top first), 720x480 [SAR 8:9 DAR 4:3], Closed Captions, 59.94 fps, 59.94 tbr, 1k tbn, 59.94 tbc
    Another way to address this without demuxing is to use -vf fps before fieldmatch,decimate. This resets the input timestamps to the proper 29.97 (30000/1001) before fieldmatching

    Code:
    -vf "fps=30000/1001, fieldmatch,yadif=deint=interlaced,decimate"
    Quote Quote  
  4. thanks a lot guys, you rule !
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!