avpipe icon indicating copy to clipboard operation
avpipe copied to clipboard

Experiment deinterlace

Open elv-serban opened this issue 6 months ago • 0 comments

Add xc parameter deinterlace as an enum.

The best deinterlacing option is 1 (bwdif with mode send_field which makes 2 frames for each input frame).

  • when using this option the caller must set the proper video_frame_duration_ts

For example:

Source 25fps:

./bin/exc -f ~/ELV/MEDIA/TST/epcr-2023-24-r1-ospreys-v-benetton.mp4 -format fmp4-segment -seg-duration 30  -force-keyint 100 -deinterlace 1 -video-frame-duration-ts 256

Source 29.97fps:

./bin/exc -f ~/ELV/MEDIA/TST/RFD_CHNFR201401-01.mxf -format fmp4-segment -seg-duration 30.03  -force-keyint 60 -deinterlace 1 -video-time-base 30000 -video-frame-duration-ts 1001

elv-serban avatar Aug 21 '24 04:08 elv-serban