[mythtv-users] What do I have to do to get HD working?

John P Poet jppoet at gmail.com
Sat Apr 15 17:41:46 UTC 2006


On 4/15/06, Mark Lehrer <mark at knm.org> wrote:
> On Sat, Apr 15, 2006 at 01:15:39AM -0600, John P Poet wrote:
> > Sure.  Where do I grab the file from?
>
> http://knm.org/tennis_sample.mpg
>
> I'd recommend trying it with VLC on a powerful (dual core) box & a 686
> kernel.  Try it with the "discard" deinterlacing and then "bob" to get
> used to the difference between 30fps and 60fps.  Then see what you get
> with MythTV on the more powerful box.  Then try it on a slower box.
>
> The tennis content seems to do a great job of bringing out the frame
> rate difference, and it is also easier to see missed frames.
>
> Thanks!
> Mark

Been a while since I used myth.rebuilddatabase.pl.  Took a little
while to satisfy is new dependancies.

Anyway, your file plays just fine on my backend machine.  This machine has:

3.0 GHz HT P4 (kernel 2.6.15.7)
nVidia FX5700LE (driver version 8756)
1gb Geil dual channel RAM
DFI lanparty 875B motherboard.

Myth was compiled using:

./configure --enable-dvb --enable-proc-opt --enable-small
--disable-joystick-menu --disable-dbox2 --enable-opengl-vsync
--enable-dts

I do not have VLC installed anywhere, and have not tried it.  I can if
you want me to.  Your file, however, played just fine with both myth
and mplayer.  Nice and smooth -- I did not notice a single stutter.

Here is a "-v playback" log from the frontend during playback of your file:

2006-04-15 11:25:50.165 Using runtime prefix = /usr/local
2006-04-15 11:25:50.177 XScreenSaver support enabled
2006-04-15 11:25:50.189 New DB connection, total: 1
2006-04-15 11:25:50.195 Connected to database 'mythconverg' at host: topaz
2006-04-15 11:25:50.196 Total desktop dim: 1920x1080, with 1 screen[s].
2006-04-15 11:25:50.198 Using screen 0, 1920x1080 at 0,0
2006-04-15 11:25:50.201 user: 0 effective user: 0 before privileged thread
2006-04-15 11:25:50.202 user: 0 effective user: 0 after privileged thread
2006-04-15 11:25:50.202 user: 0 effective user: 0 run_priv_thread
2006-04-15 11:25:50.203 Current Schema Version: 1137
2006-04-15 11:25:50.203 mythfrontend version: 0.19.20060331-1 www.mythtv.org
2006-04-15 11:25:50.203 Enabled verbose msgs:  important general playback
2006-04-15 11:25:50.588 max_width: 1920 max_height: 1080
2006-04-15 11:25:50.590 lang0: aar
2006-04-15 11:25:50.590 lang: aar
2006-04-15 11:25:50.604 lang1: aar
2006-04-15 11:25:50.604 lang: aar
2006-04-15 11:25:50.676 Total desktop dim: 1920x1080, with 1 screen[s].
2006-04-15 11:25:50.678 Using screen 0, 1920x1080 at 0,0
2006-04-15 11:25:50.679 Switching to square mode (blue)
2006-04-15 11:25:50.697 Using the Qt painter
2006-04-15 11:25:51.468 Registering Internal as a media playback plugin.
2006-04-15 11:25:51.936 Starting media monitor.
2006-04-15 11:25:55.001 XMLParse::LoadTheme using
/usr/local/share/mythtv/themes/blue/ui.xml
2006-04-15 11:25:55.269 Connecting to backend server:
192.168.2.50:6543 (try 1 of 5)
2006-04-15 11:25:55.277 Using protocol version 29
2006-04-15 11:26:00.564 New DB connection, total: 2
2006-04-15 11:26:00.566 Connected to database 'mythconverg' at host: topaz
2006-04-15 11:26:00.614 TV: Attempting to change from None to
WatchingPreRecorded
2006-04-15 11:26:00.615
RingBuf(/mythtv/store/1000_20051001070000.mpg):
OpenFile(/mythtv/store/1000_20051001070000.mpg, 12)
2006-04-15 11:26:00.711 Disable DPMS
0: start_time: 8148.311 duration: 3.712
1: start_time: 8148.285 duration: 3.698
stream: start_time: 90536.502 duration: 41.527 bitrate=19264 kb/s
2006-04-15 11:26:01.023 AFD: Stream #0, has id 0x49 codec id
MPEG2VIDEO, type Video at 0x0x8277a80
2006-04-15 11:26:01.023 detectInterlace(Detect Scan, Interlaced Scan,
29.97, 1088) ->Interlaced Scan
2006-04-15 11:26:01.024 AFD: Looking for decoder for MPEG2VIDEO
2006-04-15 11:26:01.025 AFD: Opened codec 0x8276a30, id(MPEG2VIDEO) type(Video)
2006-04-15 11:26:01.025 AFD: Stream #1, has id 0x52 codec id AC3, type
Audio at 0x0x8277f30
2006-04-15 11:26:01.025 AFD: Looking for decoder for AC3
2006-04-15 11:26:01.025 AFD: Opened codec 0x8276d60, id(AC3) type(Audio)
2006-04-15 11:26:01.025
RingBuf(/mythtv/store/1000_20051001070000.mpg):
CalcReadAheadThresh(18674 KB)
			 -> threshhold(683 KB) min read(32 KB) blk size(512 KB)
2006-04-15 11:26:01.026 Opening audio device 'default'.
2006-04-15 11:26:01.036 Dec: Trying to select track (w/lang)
2006-04-15 11:26:01.036 Dec: Selecting first track
2006-04-15 11:26:01.036 Dec: Selected track #1 in the Unknown language(0)
2006-04-15 11:26:01.036 Resyncing position map. posmapStarted = 0
livetv(0) watchingRec(0)
2006-04-15 11:26:01.038 SyncPositionMap prerecorded, from DB: 0 entries
2006-04-15 11:26:01.038 AFD: Recording has no position -- using
libavformat seeking.
2006-04-15 11:26:01.038 AFD: Successfully opened decoder for file:
"/mythtv/store/1000_20051001070000.mpg". novideo(0)
2006-04-15 11:26:01.042 VideoOutputXv: ctor
2006-04-15 11:26:01.048 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
2006-04-15 11:26:01.051 Snapping width to avoid scaling: dispwoff
1920, dispxoff: 0
2006-04-15 11:26:01.051 Image size. dispxoff 0, dispyoff: 135,
dispwoff: 1920, disphoff: 810, dispaspect: 1.33333
2006-04-15 11:26:01.051 Image size. imgx 0, imgy: 0, imgw: 1920, imgh:
1080, aspect: 1.77778
2006-04-15 11:26:01.051 VideoOutputXv: Pixel dimensions: Screen
1920x1080, window 1920x1080
2006-04-15 11:26:01.052 VideoOutputXv: Estimated display dimensions:
524x298 mm Aspect: 1.75839
2006-04-15 11:26:01.052 VideoOutputXv: Estimated window dimensions:
524x298 mm Aspect: 1.75839
2006-04-15 11:26:01.053 VideoOutputXv: @ j=3 Looking for flag[s]:
XvInputMask XvImageMask
2006-04-15 11:26:01.053 VideoOutputXv: Adaptor: 0 has flag[s]:
XvInputMask XvImageMask
2006-04-15 11:26:01.053 VideoOutputXv: Grabbed xv port 240
2006-04-15 11:26:01.054 VideoOutputXv: XVideo surface found on port 240
2006-04-15 11:26:01.054 VideoOutputXv: XVideo Format #0 is 'YUY2'
2006-04-15 11:26:01.054 VideoOutputXv: XVideo Format #1 is 'YV12'
2006-04-15 11:26:01.054 VideoOutputXv: XVideo Format #2 is 'UYVY'
2006-04-15 11:26:01.054 VideoOutputXv: XVideo Format #3 is 'I420'
2006-04-15 11:26:01.054 VideoOutputXv: Using XVideo Format 'I420'
2006-04-15 11:26:01.054 VideoOutputXv: CreateShmImages(32): XJ: (1920,1088)
2006-04-15 11:26:01.183 Snapping width to avoid scaling: dispwoff
1920, dispxoff: 0
2006-04-15 11:26:01.183 Image size. dispxoff 0, dispyoff: 0, dispwoff:
1920, disphoff: 1080, dispaspect: 1.77778
2006-04-15 11:26:01.183 Image size. imgx 0, imgy: 0, imgw: 1920, imgh:
1080, aspect: 1.77778
2006-04-15 11:26:02.326 NVP: ClearAfterSeek()
2006-04-15 11:26:02.326 VideoOutputXv: ClearAfterSeek()
2006-04-15 11:26:02.326 VideoBuffers::DiscardFrames(0):
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2006-04-15 11:26:02.326 VideoBuffers::DiscardFrames(0):
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
2006-04-15 11:26:02.328 New DB connection, total: 3
2006-04-15 11:26:02.328 Using realtime priority.
2006-04-15 11:26:02.329 Connected to database 'mythconverg' at host: topaz
2006-04-15 11:26:02.330 TV: StartPlayer(): took 1694 ms to start player.
2006-04-15 11:26:02.333 Using deinterlace method kerneldeint
2006-04-15 11:26:02.340 TV: Changing from None to WatchingPreRecorded
2006-04-15 11:26:02.438 nVidiaVideoSync: VBlank ioctl did not work,
unimplemented in this driver?
2006-04-15 11:26:02.439 DRMVideoSync: Could not open device
/dev/dri/card0, No such file or directory
2006-04-15 11:26:02.441 OpenGLVideoSync: GLX extensions:
GLX_EXT_visual_info GLX_EXT_visual_rating GLX_SGIX_fbconfig
GLX_SGIX_pbuffer GLX_SGI_video_sync GLX_SGI_swap_control
GLX_ARB_multisample GLX_NV_float_buffer GLX_ARB_get_proc_address
2006-04-15 11:26:02.442 OpenGLVideoSync: x,y -> 960, 540
2006-04-15 11:26:02.462 Using OpenGLVideoSync
2006-04-15 11:26:02.474 Using audio as timebase
2006-04-15 11:26:02.474 Video timing method: SGI OpenGL
2006-04-15 11:26:02.474 Refresh rate: 16683, frame interval: 33366
2006-04-15 11:26:02.490 NVP: Waiting for prebuffer.. 0
UuUULULAAAAAAAAAAAAAAAAAAAAAAAA
2006-04-15 11:26:02.606 AFD: HandleGopStart: gopset not set, syncing positionMap
2006-04-15 11:26:02.606 Resyncing position map. posmapStarted = 0
livetv(0) watchingRec(0)
2006-04-15 11:26:02.607 SyncPositionMap prerecorded, from DB: 0 entries
2006-04-15 11:26:02.619 AFD: HandleGopStart: Initial key frame distance: 15.
2006-04-15 11:26:02.619 AFD: positionMap[ 0 ] == 2051832.
2006-04-15 11:26:02.785 Dec: Selected track #1 in the Unknown language(0)
2006-04-15 11:26:03.036 AFD: positionMap[ 1 ] == 3379112.
2006-04-15 11:26:03.441 AFD: positionMap[ 2 ] == 4511248.
2006-04-15 11:26:03.858 AFD: positionMap[ 3 ] == 5737760.
2006-04-15 11:26:04.289 AFD: positionMap[ 4 ] == 6999992.
2006-04-15 11:26:04.693 AFD: positionMap[ 5 ] == 8194168.
2006-04-15 11:26:05.078 AFD: positionMap[ 6 ] == 9365032.
'video_output' mean = '29307.50', std. dev. = '8136.52', fps = '34.12'
2006-04-15 11:26:05.580 AFD: positionMap[ 7 ] == 10630648.
2006-04-15 11:26:05.622 XDS: Network Name 'CBS'
2006-04-15 11:26:06.096 AFD: positionMap[ 8 ] == 11826328.
2006-04-15 11:26:06.506 AFD: positionMap[ 9 ] == 12957336.
2006-04-15 11:26:06.854 XDS: Current Program Length 0:00 Time in Show 2:30.00
2006-04-15 11:26:06.968 AFD: positionMap[ 10 ] == 14323344.
2006-04-15 11:26:07.358 AFD: positionMap[ 11 ] == 15529928.
2006-04-15 11:26:07.740 AFD: positionMap[ 12 ] == 16623336.
2006-04-15 11:26:08.178 AFD: positionMap[ 13 ] == 17950240.
'video_output' mean = '28778.90', std. dev. = '7506.51', fps = '34.75'
2006-04-15 11:26:08.590 AFD: positionMap[ 14 ] == 19159456.
2006-04-15 11:26:08.997 AFD: positionMap[ 15 ] == 20264144.
2006-04-15 11:26:09.418 AFD: positionMap[ 16 ] == 21583152.
2006-04-15 11:26:09.736 XDS: Current Program Type 'Sports'
2006-04-15 11:26:09.782 AFD: positionMap[ 17 ] == 22726568.
2006-04-15 11:26:10.186 AFD: positionMap[ 18 ] == 23927512.
2006-04-15 11:26:10.618 AFD: positionMap[ 19 ] == 25192752.
2006-04-15 11:26:11.024 AFD: positionMap[ 20 ] == 26335040.
'video_output' mean = '28618.25', std. dev. = '7625.08', fps = '34.94'
2006-04-15 11:26:11.444 AFD: positionMap[ 21 ] == 27711952.
2006-04-15 11:26:11.822 AFD: positionMap[ 22 ] == 28797088.
2006-04-15 11:26:12.201 AFD: positionMap[ 23 ] == 30008560.
2006-04-15 11:26:12.590 AFD: positionMap[ 24 ] == 31228304.
2006-04-15 11:26:13.020 AFD: positionMap[ 25 ] == 32514224.
2006-04-15 11:26:13.419 AFD: positionMap[ 26 ] == 33620040.
2006-04-15 11:26:13.834 AFD: positionMap[ 27 ] == 34852192.
2006-04-15 11:26:14.045 NVP: 400 interlaced frames seen.
'video_output' mean = '28612.61', std. dev. = '7614.43', fps = '34.95'
2006-04-15 11:26:14.265 AFD: positionMap[ 28 ] == 36121568.
2006-04-15 11:26:14.642 AFD: positionMap[ 29 ] == 37284536.
2006-04-15 11:26:15.077 AFD: positionMap[ 30 ] == 38480592.
2006-04-15 11:26:15.532 AFD: positionMap[ 31 ] == 39731168.
2006-04-15 11:26:15.979 AFD: positionMap[ 32 ] == 41120864.
2006-04-15 11:26:16.369 AFD: positionMap[ 33 ] == 42155992.
2006-04-15 11:26:16.790 AFD: positionMap[ 34 ] == 43358816.
'video_output' mean = '28614.62', std. dev. = '7594.16', fps = '34.95'
2006-04-15 11:26:17.230 AFD: positionMap[ 35 ] == 44633832.
2006-04-15 11:26:17.660 AFD: positionMap[ 36 ] == 45772736.
2006-04-15 11:26:18.087 AFD: positionMap[ 37 ] == 47042112.
2006-04-15 11:26:18.518 AFD: positionMap[ 38 ] == 48115216.
2006-04-15 11:26:18.946 AFD: positionMap[ 39 ] == 49515064.
2006-04-15 11:26:19.368 AFD: positionMap[ 40 ] == 50640808.
2006-04-15 11:26:19.798 AFD: positionMap[ 41 ] == 51840624.
'video_output' mean = '28615.80', std. dev. = '7585.93', fps = '34.95'
2006-04-15 11:26:20.226 AFD: positionMap[ 42 ] == 53047584.
2006-04-15 11:26:20.664 AFD: positionMap[ 43 ] == 54300792.
2006-04-15 11:26:21.096 AFD: positionMap[ 44 ] == 55529184.
2006-04-15 11:26:21.515 AFD: positionMap[ 45 ] == 56700800.
2006-04-15 11:26:21.950 AFD: positionMap[ 46 ] == 57924304.
2006-04-15 11:26:22.375 AFD: positionMap[ 47 ] == 59293696.
'video_output' mean = '28615.01', std. dev. = '7598.61', fps = '34.95'
2006-04-15 11:26:22.803 AFD: positionMap[ 48 ] == 60168272.
2006-04-15 11:26:23.239 AFD: positionMap[ 49 ] == 61381624.
2006-04-15 11:26:23.666 AFD: positionMap[ 50 ] == 62622424.
2006-04-15 11:26:24.088 AFD: positionMap[ 51 ] == 63922256.
2006-04-15 11:26:24.525 AFD: positionMap[ 52 ] == 65274352.
2006-04-15 11:26:24.959 AFD: positionMap[ 53 ] == 66594112.
2006-04-15 11:26:25.381 AFD: positionMap[ 54 ] == 67815360.
2006-04-15 11:26:25.494 NVP: 800 interlaced frames seen.
'video_output' mean = '28451.11', std. dev. = '7681.07', fps = '35.15'
2006-04-15 11:26:25.817 AFD: positionMap[ 55 ] == 68941104.
2006-04-15 11:26:26.235 AFD: positionMap[ 56 ] == 70030000.
2006-04-15 11:26:26.666 AFD: positionMap[ 57 ] == 71262528.
2006-04-15 11:26:27.098 AFD: positionMap[ 58 ] == 72502200.
2006-04-15 11:26:27.525 AFD: positionMap[ 59 ] == 73727960.
2006-04-15 11:26:27.961 AFD: positionMap[ 60 ] == 74980792.
2006-04-15 11:26:28.394 AFD: positionMap[ 61 ] == 76296040.
'video_output' mean = '28618.07', std. dev. = '7604.59', fps = '34.94'
2006-04-15 11:26:28.819 AFD: positionMap[ 62 ] == 77318384.
2006-04-15 11:26:29.248 AFD: positionMap[ 63 ] == 78485112.
2006-04-15 11:26:29.680 AFD: positionMap[ 64 ] == 79784192.
2006-04-15 11:26:30.107 AFD: positionMap[ 65 ] == 81088912.
2006-04-15 11:26:30.537 AFD: positionMap[ 66 ] == 82271808.
2006-04-15 11:26:30.967 AFD: positionMap[ 67 ] == 83359200.
'video_output' mean = '28780.79', std. dev. = '7499.00', fps = '34.75'
2006-04-15 11:26:31.386 AFD: positionMap[ 68 ] == 84656024.
2006-04-15 11:26:31.828 AFD: positionMap[ 69 ] == 85984808.
2006-04-15 11:26:32.261 AFD: positionMap[ 70 ] == 87271480.
2006-04-15 11:26:32.683 AFD: positionMap[ 71 ] == 88171624.
2006-04-15 11:26:33.114 AFD: positionMap[ 72 ] == 89286464.
2006-04-15 11:26:33.550 AFD: positionMap[ 73 ] == 90620512.
2006-04-15 11:26:33.964 AFD: positionMap[ 74 ] == 91933504.
'video_output' mean = '28618.34', std. dev. = '7594.29', fps = '34.94'
2006-04-15 11:26:34.407 AFD: positionMap[ 75 ] == 93238600.
2006-04-15 11:26:34.830 AFD: positionMap[ 76 ] == 94455336.
2006-04-15 11:26:35.257 AFD: positionMap[ 77 ] == 95462640.
2006-04-15 11:26:35.690 AFD: positionMap[ 78 ] == 96799696.
2006-04-15 11:26:36.119 AFD: positionMap[ 79 ] == 97973944.
2006-04-15 11:26:36.523 NVP: Exited decoder loop.
2006-04-15 11:26:36.542 VideoOutputXv: dtor
2006-04-15 11:26:36.542 VideoBuffers::DiscardFrames(1):
UUUUUUUUUUUuAUUUUUUuUULUUAUUUUU
2006-04-15 11:26:36.542 VideoBuffers::DiscardFrames():
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
2006-04-15 11:26:36.542 VideoBuffers::DiscardFrames(1):
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
2006-04-15 11:26:36.554 VideoOutputXv: Closing XVideo port 240
2006-04-15 11:26:36.601 TV Error: nvp->IsPlaying() timed out
2006-04-15 11:26:36.601 TV: Attempting to change from
WatchingPreRecorded to None
2006-04-15 11:26:36.601 TV: StopStuff() -- begin
2006-04-15 11:26:36.601 TV: StopStuff(): stopping ring buffer[s]
2006-04-15 11:26:36.649 TV: StopStuff(): stopping player[s] (1/2)
2006-04-15 11:26:36.649 TV: StopStuff(): stopping player[s] (2/2)
2006-04-15 11:26:36.709 TV: StopStuff() -- end
2006-04-15 11:26:36.710 TV: Changing from WatchingPreRecorded to None
2006-04-15 11:26:37.313 Enable DPMS

Notice that I used kerneldeint.  I also tried BOB, and it was just as
smooth, although it is non optimal feeding my 1920x1080p display.

John


More information about the mythtv-users mailing list