fix issue #10222: mythcommflag segfaulting

The problem in issue #10222 is that it is adding the CODEC_FLAG2_FAST flag.  This causes unsafe functions to be used, causing a segfault. The proper way to fix this would probably be to figure out how to test for the "experimental speedups" flag, however I don't know the codebase well enough for this.

I tested how this would affect the speed of mythcommflag on one of my recordings.  The results:

Before removing flag:
real 2m13.123s
user 2m16.713s
sys 0m3.502s

After removing flag:
real 2m13.021s
user 2m15.446s
sys 0m3.758s
Allow the EPG to be called from ViewScheduled and ProgList.

Also add the ability to set the initial time when calling the EPG.
The primary use case for this is to more easily check what shows
preceed a scheduled recording to see if padding needs to be added in
case live programming runs late.
Improve the accuracy of durations computed by the recorder and player.

For the most part, the millisecond timestamps in the seek table match
between the recorder and "mythcommflag --rebuild".

Occasionally the player seems to miss a keyframe entry that the
recoder identifies (but this has nothing to do with duration
calculation), and more rarely the recorder misses a keyframe that the
player finds.  In addition, I have a "troublesome" ATSC channel that
sometimes throws in repeat_pict frames, and that (or maybe something
unrelated) causes some timestamps to be off by 1 millisecond.
Add extra settings to LIBS.

Fixes a build error when Qt is installed in a nonstandard location.
MythArchive: update the encoding profiles to work with the current mythffmpeg

Refs #11299.

Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>

(cherry picked from 5a0e83a20e8f75612b86fb56039b7803a11afd1b)
MythArchive: update mythburn.py to work with the updated encoding profiles

Refs #11299.

Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>

(cherry picked from a784b93f1d1c6edbc0b47ac578def5d3275171a8)
MythArchive: update mythburn.py to work with the new mpeg2video codec name

Refs #11299.

Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>

(cherry picked from 13c3035d1fed13a37c42d872b1f8dafb2e6f556f)
Make comparisons consistent

Refs #11299
Added Eit Fix for Danish Cable TV (YouSee)

Fixes #10907

Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>
Merge remote-tracking branch 'thomas-joiner/bug_10222'

https://github.com/MythTV/mythtv/pull/37

Refs #10222
Closes #11411

Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>
Don't use the CAM when on an unencrypted channel or when
just looking for EIT data

Refs #11021

Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>
Fix build after 32b0546e488aa07a87ef3704e93277258ee0fce1

There should be no need to make DTVSignalMonitor dependent
on DVBChannel. I've reverted that part of the patch.

Refs #11021
Merge remote-tracking branch 'upstream/master'

Conflicts:
	mythplugins/mytharchive/mythburn/scripts/mythburn.py