[mythtv] Interlaced Mediacodec counts fast

Mark Spieth mark at digivation.com.au
Thu Feb 21 13:12:56 UTC 2019


Hi Peter

I have been using avsync2 and mediacodec with interlaced recorded TV 
program.

I play back at faster than real time e.g. x1.2 or x1.5. The counter for 
the end of the program reaches 0 before the actual end of the program, 
thus reverting to x1.0. It seems to be the same ratio regardless of the 
rate played.

I notice AVsync2 does not update framesPlayedExtra. Is this important?

How is the frame doubling that mediacodec accounted for when calculating 
the number of framesPlayed which detemines the end of content and also 
the OSD time played/time remaining?

There are 2 variables m_double_framerate and m_double_process. Are 
either of these responsible or is there another mechanism?

I am a bit confused and you may be able to shed some light on this 
progressive play back of interlaced content with a mediacodec decoder. I 
am trying to fix this (obviously) as it is quite annoying as medicacodec 
seems to play interlaced content very nicely compared with S/W decode 
and S/W deinterlacer.

Note this effect does not happen for non interlaced content.

Thanks
Mark


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the mythtv-dev mailing list