[MPlayer-dev-eng] [PATCH] print interlacing info on decode

Jarek Czekalski jarekczek at poczta.onet.pl
Wed Sep 15 21:59:00 CEST 2010


  Ok, I'm posting again in a more proper manner, even including an 
attachement. This is the same I posted yesterday, except that I cleared 
the warning: no prototype.

I don't know where to put this prototype. This function shouldn't be 
visible outside the file, so I put the prototype just before the definition.

Could you review it and maybe commit?

This time I'm attaching also a bash script (test_scan) presenting the 
problem in handling mpi->fields flags by mencoder. That's the output I 
get from the script:

Testing test_progr.avi
[video decoder] Scan type: progressive
Testing test_tff.avi
[video decoder] Scan type: interlaced, tff
Testing test_bff.avi
[video decoder] Scan type: interlaced, bff
Following files are created by lavc ildct with tff/bff autodetection
Testing test_tff2.avi
[video decoder] Scan type: interlaced, tff
Testing test_bff2.avi
[video decoder] Scan type: interlaced, tff
Autodetection didn't work, mpi->fields==0 at the encoding time
Finally let's see that mencoder sees the proper flags at the decoding time
[video decoder] Scan type: interlaced, bff

All this is related to bugzilla 1786:
http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1786

Regards
Jarek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: info_decode_20100915.diff
Type: text/x-patch
Size: 2803 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100915/cff55692/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test_scan
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100915/cff55692/attachment.asc>


More information about the MPlayer-dev-eng mailing list