[mythtv-users] Black screen on new frontend during playback

Matt skd5aner at gmail.com
Mon Apr 23 19:54:07 UTC 2007


On 4/23/07, Nick Morrott <knowledgejunkie at gmail.com> wrote:
> On 23/04/07, Matt <skd5aner at gmail.com> wrote:
> > On 4/22/07, Michael T. Dean <mtdean at thirdcontact.com> wrote:
> > > On 04/22/2007 11:00 PM, Matt wrote:
> > > >    I just built a new frontend and everything is working fine except
> > > > playback.  I can see the menus, I can see the video previews, but when
> > > > I go to watch a recording or live TV all I get is a black screen -
> > > > which then turns windowed (I can see a border around it).  I can hit
> > > > escape and go back to the menu just fine.
> > > >
> > > > I'm using an nvidia card with the latest nvidia drivers.  opengl is
> > > > working for the painter.
> > > >
> > > > Any ideas where to start?
> > >
> > > Do you have a monitor and a TV hooked up to the video card?  Do you have
> > > X set up for both?
> > >
> > > Mike
> > >
> >
> > Mike - I initially setup the box using a monitor (over DVI).  This
> > still showed the same thing - black screen during playback.  Then, I
> > moved the box to the living room and hooked it up to the TV via VGA
> > which showed the same results.
> >
> > Where should I start to look?
>
> mythfrontend logging with added playback verbosity will probably be a
> helpful start.
>
> Are you using XvMC for video playback?
>
> Nick
> --
> MythTV Official wiki:
> http://mythtv.org/wiki/
> MythTV users list archive:
> http://www.gossamer-threads.com/lists/mythtv/users
>
> "An investment in knowledge always pays the best interest." - Benjamin Franklin
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

I did -v all, but I'm not sure if anything in there is helpful enough or not :(

Also, I did try xvmc - I can get a really messed up picture from xvmc,
It's basically no color and lots of vertical lines - completely
unwatchable.  I'm trying to get it to work with the standard ffmpeg
decoder.

I'm starting to get really frustrated as I don't really know what to
do... maybe this will help from my logs:


2007-04-23 10:15:21.938 AFD: Stream #0, has id 0x480 codec id
MPEG2VIDEO, type Video, bitrate 6000000 at 0x0x9a4f5c0
2007-04-23 10:15:21.938 detectInterlace(Detect Scan, Interlaced Scan,
29.97, 480) ->Interlaced Scan
2007-04-23 10:15:21.938 AFD: Looking for decoder for MPEG2VIDEO
2007-04-23 10:15:21.938 AFD: Opened codec 0x8281530, id(MPEG2VIDEO) type(Video)
2007-04-23 10:15:21.939 AFD: Stream #1, has id 0x448 codec id MP2,
type Audio, bitrate 384000 at 0x0x9a34950
2007-04-23 10:15:21.939 AFD: Looking for decoder for MP2
2007-04-23 10:15:21.939 AFD: Opened codec 0x9a93d90, id(MP2) type(Audio)
2007-04-23 10:15:21.939 AFD: Audio Track #1 is A/V stream #1 and has 2
channels in the Unknown language(0).
2007-04-23 10:15:21.939
RingBuf(myth://192.168.1.200:6543/1006_20070422215900.mpg):
CalcReadAheadThresh(3061365424 KB)
                         -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
2007-04-23 10:15:21.939 AFD: Selected track 1: Unknown MP2 2ch (A/V Stream #1)
2007-04-23 10:15:21.939 AFD: Initializing audio parms from audio track #1
2007-04-23 10:15:21.939 AFD: Audio format changed
                        from id(NONE)    -1Hz -1ch   0bps    ;
id(NONE)    -1Hz -1ch   0bps
                        to   id( MP2) 48000Hz  2ch  16bps    ; id(
MP2) 48000Hz  2ch  16bps
2007-04-23 10:15:21.939 Dec: Trying to select track (w/lang)
2007-04-23 10:15:21.939 Dec: Selecting first track
2007-04-23 10:15:21.939 Dec: Selected track #1 in the Unknown language(0)
2007-04-23 10:15:21.939 AFD: Recording has no position -- using
libavformat seeking.
Input #0, mpeg, from 'myth://192.168.1.200:6543/1006_20070422215900.mpg':
  Duration: 26:30:43.7, start: 0.289378, bitrate: 0 kb/s
  Stream #0.0[0x1e0], 1/90000: Video: mpeg2video, yuv420p, 720x480,
1001/30000, 6000 kb/s, 29.97 fps(r)
  Stream #0.1[0x1c0], 1/90000: Audio: mp2, 48000 Hz, stereo, 384 kb/s
2007-04-23 10:15:21.939 AFD: Successfully opened decoder for file:
"myth://192.168.1.200:6543/1006_20070422215900.mpg". novideo(0)
2007-04-23 10:15:21.940 VideoOutputNull()
2007-04-23 10:15:21.940 Display Rect  left: 0, top: 0, width: 0,
height: 0, aspect: 1.33333
2007-04-23 10:15:21.940 Video Rect    left: 0, top: 0, width: 720,
height: 480, aspect: 1.33333
2007-04-23 10:15:21.940 Created data @0x9b458b0->0x9bc41b2
2007-04-23 10:15:21.940 Created data @0x9bc4220->0x9c42b22
...
2007-04-23 10:15:21.957 Display Rect  left: 0, top: 0, width: 0,
height: 0, aspect: 1.33333
2007-04-23 10:15:21.957 Video Rect    left: 0, top: 0, width: 720,
height: 480, aspect: 1.33333
2007-04-23 10:15:21.957 NVP: ClearAfterSeek(1)
2007-04-23 10:15:21.958 write -> 20 49      QUERY_FILETRANSFER
17[]:[]REQUEST_BLOCK[]:[]32768
2007-04-23 10:15:21.958 NVP: Waiting for prebuffer.. 0
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2007-04-23 10:15:21.961 read  <- 20 5       32768
2007-04-23 10:15:21.961 Read(): reqd=32768, rcvd=32768, rept=32768, error=0
2007-04-23 10:15:21.961 write -> 20 49      QUERY_FILETRANSFER
17[]:[]REQUEST_BLOCK[]:[]32768
2007-04-23 10:15:21.964 read  <- 20 5       32768
...
2007-04-23 10:15:22.317 SyncPositionMap prerecorded, from DB: 7518 entries
2007-04-23 10:15:22.317 SyncPositionMap, new totframes: 112770, new
length: 3762, posMap size: 7518
Input #0, mpeg, from 'myth://192.168.1.200:6543/1006_20070422215900.mpg':
  Duration: 26:30:43.7, start: 0.289378, bitrate: 0 kb/s
  Stream #0.0[0x1e0], 1/90000: Video: mpeg2video, yuv420p, 720x480,
1001/30000, 6000 kb/s, 29.97 fps(r)
  Stream #0.1[0x1c0], 1/90000: Audio: mp2, 48000 Hz, stereo, 384 kb/s
2007-04-23 10:15:22.317 AFD: Position map found
2007-04-23 10:15:22.318 AFD: Successfully opened decoder for file:
"myth://192.168.1.200:6543/1006_20070422215900.mpg". novideo(0)
2007-04-23 10:15:22.319 MSqlQuery: SELECT mark, type FROM
recordedmarkup WHERE chanid = '1006' AND starttime =
'2007-04-22T21:59:0
0' AND type = 1 ORDER BY mark;
2007-04-23 10:15:22.319 read  <- 22 5       65536
2007-04-23 10:15:22.319 Read(): reqd=65536, rcvd=65536, rept=65536, error=0
2007-04-23 10:15:22.320 MSqlQuery: SELECT mark, type FROM
recordedmarkup WHERE chanid = '1006' AND starttime =
'2007-04-22T21:59:0
0' AND type = 0 ORDER BY mark;
2007-04-23 10:15:22.320 MSqlQuery: SELECT mark, type FROM
recordedmarkup WHERE chanid = '1006' AND starttime =
'2007-04-22T21:59:0
0' AND type = 2 ORDER BY mark;
2007-04-23 10:15:22.321 VideoOutputXv: ctor
2007-04-23 10:15:22.321 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
2007-04-23 10:15:22.321 Display Rect  left: 0, top: 0, width: 1360,
height: 768, aspect: 1.33333
2007-04-23 10:15:22.321 Video Rect    left: 0, top: 0, width: 720,
height: 480, aspect: 1.33333
2007-04-23 10:15:22.321 VideoOutputXv: Pixel dimensions: Screen
1360x768, window 1360x768
2007-04-23 10:15:22.321 VideoOutputXv: Estimated display dimensions:
345x195 mm  Aspect: 1.76923
2007-04-23 10:15:22.321 VideoOutputXv: Estimated window dimensions:
345x195 mm  Aspect: 1.76923
2007-04-23 10:15:22.322 MSqlQuery: SELECT data FROM settings WHERE
value = 'UseChromaKeyOSD' AND hostname = 'Raptor' ;
2007-04-23 10:15:22.322 XvMCTex: Init
2007-04-23 10:15:22.323 AO: OutputAudioLoop: audio paused
2007-04-23 10:15:22.323 AO: 65536 bytes free on soundcard
2007-04-23 10:15:22.333 write -> 22 49      QUERY_FILETRANSFER
22[]:[]REQUEST_BLOCK[]:[]65536
2007-04-23 10:15:22.335 XvMCTex: InitXvMCGL: video_size: 720x480
vis_size: 1360x768
2007-04-23 10:15:22.335 XvMCTex:
glx_fbconfig: 0x89
gl_window:    14680069
glx_window:   14680070
gl_vid_tex:   1
gl_osd_tex:   2

2007-04-23 10:15:22.335 VideoOutputXv: XvMCTex: Init succeeded
2007-04-23 10:15:22.336 VideoOutputXv: @ j=3 Looking for flag[s]:
XvInputMask XvImageMask
2007-04-23 10:15:22.336 VideoOutputXv: Adaptor#0: NV17 Video Texture
has flag[s]: XvInputMask XvImageMask
2007-04-23 10:15:22.336 VideoOutputXv: Grabbed xv port 275
2007-04-23 10:15:22.336 VideoOutputXv: XVideo surface found on port 275
2007-04-23 10:15:22.336 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Texture'
2007-04-23 10:15:22.336 VideoOutputXv: XVideo Format #0 is 'YUY2'
2007-04-23 10:15:22.336 VideoOutputXv: XVideo Format #1 is 'YV12'
2007-04-23 10:15:22.336 VideoOutputXv: XVideo Format #2 is 'UYVY'
2007-04-23 10:15:22.336 VideoOutputXv: XVideo Format #3 is 'I420'
2007-04-23 10:15:22.336 VideoOutputXv: Using XVideo Format 'I420'
2007-04-23 10:15:22.336 VideoOutputXv: CreateShmImages(32): video_dim: 720x480
2007-04-23 10:15:22.339 read  <- 22 5       65536
2007-04-23 10:15:22.339 Read(): reqd=65536, rcvd=65536, rept=65536, error=0
2007-04-23 10:15:22.353 Avg read interval was 182 msec. 96K block size
2007-04-23 10:15:22.353 write -> 22 49      QUERY_FILETRANSFER
22[]:[]REQUEST_BLOCK[]:[]65536
2007-04-23 10:15:22.359 read  <- 22 5       65536
2007-04-23 10:15:22.360 Read(): reqd=65536, rcvd=65536, rept=65536, error=0
2007-04-23 10:15:22.361 Display Rect  left: 170, top: 0, width: 1020,
height: 768, aspect: 1.77778
2007-04-23 10:15:22.361 Video Rect    left: 0, top: 0, width: 720,
height: 480, aspect: 1.33333

Not sure how much of that is useful... I appreciate all your folks
help if you can help me solve this, I'll be extremely greatful.


Thanks!
Matt


More information about the mythtv-users mailing list