[FFmpeg-devel] avcodec_decode_video with interlaced source question
    Måns Rullgård 
    mans
       
    Mon Mar  3 19:05:20 CET 2008
    
    
  
Thomas Parmegiani wrote:
>
> Hi all !
>
>    After calling avcodec_decode_video from an interlaced video file I get a
> valid filled AVFrame structure : interlaced_frame and top_field_first
> AVFrame's values are set to 1.
>       How do I get the top field ? From line 0, 2, 4, 6, 8 ? And bottom
> field ? From line 1, 3, 5, 7,... ?
You get it from the documentation or the libav-user mailing list.
-- 
M?ns Rullg?rd
mans at mansr.com
    
    
More information about the ffmpeg-devel
mailing list