Extracting individual video fields is my previews question.

Based on the Mulvya's answer I can extract the top fields (only) or the bottom fields (only) individual.

Now, I need to extract the video fields In the following order:

TopField1 , BottomField1 ,TopField2 , BottomField2 ,....

Is it possible?

my source format: DV PAL 720x576i

1 Answer 1


Sure, you have to combine the field extraction with interleaving.

ffmpeg -i video.avi \
       -filter_complex "[0]field=top[t];[0]field=bottom[b];[t][b]interleave" -r 50 fld%d.png

where the r value is double the original frame rate (or the same as the field rate).

  • would you please tell me how can I get this order : TopField1 , Frame1 ,BottomField1 ,TopField2 , Frame2 , BottomField2 , . . .
    – Maria
    Commented Jun 8, 2016 at 12:59
  • Use interleave as follows: [t][0][b]interleave=3
    – Gyan
    Commented Jun 8, 2016 at 13:09
  • sorry , I've tested [t][0][b]interleave=3 , but it did not work. it get error.
    – Maria
    Commented Jun 8, 2016 at 13:55
  • You'll have to resize either the field outputs or the full frames, since the latter is double height. You're better off extracting the fields and frames individually and then renaming the files using a script.
    – Gyan
    Commented Jun 8, 2016 at 14:15
  • separatefields filter
    – user12174
    Commented Jun 8, 2016 at 19:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.