[mythtv] HDTV mythfrontend floating point exception

Daniel Thor Kristjansson danielk at cat.nyu.edu
Thu Feb 19 11:13:19 EST 2004


Have you tried my patches with XvMC?

I haven't seen your particular problem, but I've put in some
infrastructure to allow frame skipping, it might be possible to catch
this and skip it. This would need to be added to all the MPEG2 capable
videoout's though. It should actually be a little easier to do frame
skipping in XV than XVMC. The crash in your case can probably be fixed
by just turning off floating point exceptions for this piece of code,
or just using SSE.

I believe the real problem here is that bad TS packets are somehow being
used by the avcodec. Either because the CRC of the PES packet is good
despite the corrupted stream, or because it's not being checked...
There are two solutions, construct good PES packets on the hdtvrecorder
backend, and save those to disk instead of TS packets. Or fix the TS
packet construction in avcodec. A little of both might be a good idea,
dropping repeat TS packets, and hence disk bandwidth requirements would
be possible it the backend reconstructed the PES packets, even if it
didn't fully parse them. Unfortunately, I won't have time for any of
this until at least April/May. If someone else has time...

-- Daniel

On Thu, 19 Feb 2004, Tristan McCann wrote:

]I have a reproducible error while watching a specific video that was
]recorded from my PCHDTV card. This should be slightly obvious the
]problem - the decoder believes that the resolution of the video changes
]from 1920x1080 to 1921x6584. This is about 10 minutes into the video. It
]crashes mythfrontend every time.
]
]This probably is a good frame to skip, perhaps?
]
]This is just plain XV, not XvMC.
]
]I am using CVS.
]
]Thanks,
]Tristan
]
][mpeg2video @ 0x825c318]invalid mb type in B Frame at 43 27
][mpeg2video @ 0x825c318]00 motion_type at 59 27
][mpeg2video @ 0x825c318]00 motion_type at 85 27
][mpeg2video @ 0x825c318]00 motion_type at 26 28
][mpeg2video @ 0x825c318]concealing errors
][mpeg2video @ 0x825c318]00 motion_type at 59 23
][mpeg2video @ 0x825c318]qscale == 0
][mpeg2video @ 0x825c318]00 motion_type at 44 24
][mpeg2video @ 0x825c318]00 motion_type at 7 25
][mpeg2video @ 0x825c318]concealing errors
][mpeg2video @ 0x825c318]00 motion_type at 69 54
][mpeg2video @ 0x825c318]00 motion_type at 32 54
][mpeg2video @ 0x825c318]00 motion_type at 38 55
][mpeg2video @ 0x825c318]00 motion_type at 2 55
][mpeg2video @ 0x825c318]ac-tex damaged at 101 55
][mpeg2video @ 0x825c318]00 motion_type at 44 56
][mpeg2video @ 0x825c318]concealing errors
][mpeg2video @ 0x825c318]skiped MB in I frame at 88 29
][mpeg2video @ 0x825c318]skiped MB in I frame at 3 28
][mpeg2video @ 0x825c318]invalid mb type in I Frame at 12 30
][mpeg2video @ 0x825c318]concealing errors
][mpeg2video @ 0x825c318]mb incr damaged
][mpeg2video @ 0x825c318]00 motion_type at 24 24
][mpeg2video @ 0x825c318]00 motion_type at 47 24
][mpeg2video @ 0x825c318]00 motion_type at 107 24
][mpeg2video @ 0x825c318]concealing errors
][mpeg2video @ 0x825c318]invalid mb type in P Frame at 74 38
][mpeg2video @ 0x825c318]00 motion_type at 89 38
][mpeg2video @ 0x825c318]mb incr damaged
][mpeg2video @ 0x825c318]mb incr damaged
][mpeg2video @ 0x825c318]concealing errors
][mpeg2video @ 0x825c318]00 motion_type at 66 53
][mpeg2video @ 0x825c318]00 motion_type at 94 53
][mpeg2video @ 0x825c318]00 motion_type at 25 54
][mpeg2video @ 0x825c318]ac-tex damaged at 41 54
][mpeg2video @ 0x825c318]00 motion_type at 78 54
][mpeg2video @ 0x825c318]00 motion_type at 3 55
][mpeg2video @ 0x825c318]00 motion_type at 67 55
][mpeg2video @ 0x825c318]concealing errors
][mpeg2video @ 0x825c318]00 motion_type at 43 27
][mpeg2video @ 0x825c318]concealing errors
][mpeg2video @ 0x825c318]ac-tex damaged at 56 8
][mpeg2video @ 0x825c318]00 motion_type at 1 8
][mpeg2video @ 0x825c318]00 motion_type at 22 9
][mpeg2video @ 0x825c318]00 motion_type at 0 9
][mpeg2video @ 0x825c318]00 motion_type at 25 67
][mpeg2video @ 0x825c318]ac-tex damaged at 48 67
][mpeg2video @ 0x825c318]00 motion_type at 77 67
][mpeg2video @ 0x825c318]concealing errors
]Video has changed: 1921 6584 from: 1920 1080
]2004-02-19 09:59:56 prebuffering pause
]Floating point exception
]
]
]


More information about the mythtv-dev mailing list