Opened 11 years ago

Closed 10 years ago

#6754 closed defect (invalid)

can't swap picture in picture

Reported by: niv <nivw2008@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.21-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

my setup is: one pc with a frame grabber and a second pc with a frame grabber. I run the frontend on the first pc and can see the second pc card in a picture in picture in the small size. when I choose the swap option to see the second pc in full screen I get lots of errors in the front end:

2009-07-22 23:06:11.680 Opening audio device 'default'. ch 2(2) sr 32000
2009-07-22 23:06:11.680 Opening ALSA audio device 'default'.
[New Thread 0xa7968b90 (LWP 23492)]
2009-07-22 23:06:11.940 VideoOutputXv: Desired video renderer 'opengl' not available.
			codec 'NUV RTjpeg' makes 'xv-blit,xshm,xlib,' available, using 'xv-blit' instead.
2009-07-22 23:06:11.957 VideoOutputXv: XVideo Adaptor Name: 'ATI Radeon Video Overlay'
2009-07-22 23:06:12.049 OSD Theme Dimensions W: 640 H: 480
2009-07-22 23:06:13.479 WriteAudio: buffer underrun
[New Thread 0xacfc9b90 (LWP 23498)]
2009-07-22 23:06:13.658 FilterManager: failed to load filter 'none', no such filter exists
2009-07-22 23:06:13.659 Couldn't load deinterlace filter none
2009-07-22 23:06:13.660 Video timing method: USleep with busy wait
2009-07-22 23:06:13.662 The realtime priority setting is not enabled.
[New Thread 0xab9e8b90 (LWP 23499)]
[New Thread 0xa97d5b90 (LWP 23501)]
2009-07-22 23:06:14.024 Searching for frame header.
2009-07-22 23:06:15.251 RingBuf(myth://192.168.14.72:6543/1708_20090722230603.nuv): Waited 1.0 seconds for data to become available...
2009-07-22 23:06:15.251 Checking to see if there's a new livetv program to switch to..
2009-07-22 23:06:15.378 NVP: Prebuffer wait timed out 10 times.
2009-07-22 23:06:16.253 RingBuf(myth://192.168.14.72:6543/1708_20090722230603.nuv): Waited 2.0 seconds for data to become available...

the second pc backend gives:

2009-07-22 23:06:13.001 write -> 19 5       32768
2009-07-22 23:06:13.002 MythSocket(9938ae0:19): DownRef: 1
2009-07-22 23:06:13.005 MythSocket(9938ae0:19): socket is readable
2009-07-22 23:06:13.006 MythSocket(9938ae0:19): cb->readyRead()
2009-07-22 23:06:13.007 MythSocket(9938ae0:19): UpRef: 2
2009-07-22 23:06:13.008 read  <- 19 49      QUERY_FILETRANSFER 20[]:[]REQUEST_BL
OCK[]:[]32768
2009-07-22 23:06:13.010 write -> 19 5       32768
2009-07-22 23:06:13.011 MythSocket(9938ae0:19): DownRef: 1
2009-07-22 23:06:13.013 MythSocket(9938ae0:19): socket is readable
2009-07-22 23:06:13.014 MythSocket(9938ae0:19): cb->readyRead()
2009-07-22 23:06:13.015 MythSocket(9938ae0:19): UpRef: 2
2009-07-22 23:06:13.016 read  <- 19 69      QUERY_FILETRANSFER 20[]:[]SEEK[]:[]-
1[]:[]-11[]:[]1[]:[]0[]:[]376...
2009-07-22 23:06:13.017 write -> 19 13      0[]:[]3764305
2009-07-22 23:06:13.018 MythSocket(9938ae0:19): DownRef: 1
2009-07-22 23:06:13.019 MythSocket(9938ae0:19): socket is readable
2009-07-22 23:06:13.021 MythSocket(9938ae0:19): cb->readyRead()
2009-07-22 23:06:13.026 MythSocket(9938ae0:19): UpRef: 2
2009-07-22 23:06:13.027 read  <- 19 49      QUERY_FILETRANSFER 20[]:[]REQUEST_BL
OCK[]:[]32768
2009-07-22 23:06:13.029 write -> 19 5       32768
2009-07-22 23:06:13.030 MythSocket(9938ae0:19): DownRef: 1
2009-07-22 23:06:13.033 MythSocket(9938ae0:19): socket is readable
2009-07-22 23:06:13.034 MythSocket(9938ae0:19): cb->readyRead()
2009-07-22 23:06:13.035 MythSocket(9938ae0:19): UpRef: 2
2009-07-22 23:06:13.037 read  <- 19 49      QUERY_FILETRANSFER 20[]:[]REQUEST_BL
OCK[]:[]32768
2009-07-22 23:06:13.040 write -> 19 5       32768
2009-07-22 23:06:13.041 MythSocket(9938ae0:19): DownRef: 1
2009-07-22 23:06:13.043 MythSocket(9938ae0:19): socket is readable
2009-07-22 23:06:13.044 MythSocket(9938ae0:19): cb->readyRead()
2009-07-22 23:06:13.045 MythSocket(9938ae0:19): UpRef: 2
2009-07-22 23:06:13.046 read  <- 19 49      QUERY_FILETRANSFER 20[]:[]REQUEST_BL
OCK[]:[]32768
2009-07-22 23:06:13.048 write -> 19 5       32768
2009-07-22 23:06:13.049 MythSocket(9938ae0:19): DownRef: 1
2009-07-22 23:06:13.052 MythSocket(9938ae0:19): socket is readable
2009-07-22 23:06:13.053 MythSocket(9938ae0:19): cb->readyRead()
2009-07-22 23:06:13.054 MythSocket(9938ae0:19): UpRef: 2
2009-07-22 23:06:13.055 read  <- 19 49      QUERY_FILETRANSFER 20[]:[]REQUEST_BL
OCK[]:[]32768
2009-07-22 23:06:13.064 write -> 19 5       32768
2009-07-22 23:06:13.066 MythSocket(9938ae0:19): DownRef: 1
2009-07-22 23:06:13.069 MythSocket(9938ae0:19): socket is readable
2009-07-22 23:06:13.070 MythSocket(9938ae0:19): cb->readyRead()
2009-07-22 23:06:13.071 MythSocket(9938ae0:19): UpRef: 2
2009-07-22 23:06:13.072 read  <- 19 49      QUERY_FILETRANSFER 20[]:[]REQUEST_BL
OCK[]:[]65536
2009-07-22 23:06:13.074 write -> 19 5       65536
2009-07-22 23:06:13.075 MythSocket(9938ae0:19): DownRef: 1
2009-07-22 23:06:13.080 MythSocket(9938ae0:19): socket is readable
2009-07-22 23:06:13.082 MythSocket(9938ae0:19): cb->readyRead()
2009-07-22 23:06:13.083 MythSocket(9938ae0:19): UpRef: 2
2009-07-22 23:06:13.084 read  <- 19 49      QUERY_FILETRANSFER 20[]:[]REQUEST_BL
OCK[]:[]65536
2009-07-22 23:06:13.086 write -> 19 5       65536
2009-07-22 23:06:13.087 MythSocket(9938ae0:19): DownRef: 1
2009-07-22 23:06:13.093 MythSocket(9938ae0:19): socket is readable
2009-07-22 23:06:13.094 MythSocket(9938ae0:19): cb->readyRead()
2009-07-22 23:06:13.095 MythSocket(9938ae0:19): UpRef: 2
2009-07-22 23:06:13.096 read  <- 19 49      QUERY_FILETRANSFER 20[]:[]REQUEST_BL
OCK[]:[]65536
2009-07-22 23:06:13.098 write -> 19 5       65536
2009-07-22 23:06:13.099 MythSocket(9938ae0:19): DownRef: 1
2009-07-22 23:06:13.105 MythSocket(9938ae0:19): socket is readable
2009-07-22 23:06:13.106 MythSocket(9938ae0:19): cb->readyRead()
2009-07-22 23:06:13.107 MythSocket(9938ae0:19): UpRef: 2
2009-07-22 23:06:13.108 read  <- 19 49      QUERY_FILETRANSFER 20[]:[]REQUEST_BL
OCK[]:[]65536

sometimes the frontend crashs after I hit ESC. what other info do you need?

Change History (2)

comment:1 Changed 11 years ago by niv <nivw2008@…>

I tried it again and here is the backtrace from the frontend:

2009-07-22 23:16:29.509 Opening audio device 'default'. ch 2(2) sr 32000
2009-07-22 23:16:29.509 Opening ALSA audio device 'default'.
[New Thread 0xa6bffb90 (LWP 24967)]
2009-07-22 23:16:29.661 VideoOutputXv: Desired video renderer 'opengl' not available.
			codec 'NUV RTjpeg' makes 'xv-blit,xshm,xlib,' available, using 'xv-blit' instead.
2009-07-22 23:16:29.671 VideoOutputXv: XVideo Adaptor Name: 'ATI Radeon Video Overlay'
2009-07-22 23:16:29.884 OSD Theme Dimensions W: 640 H: 480
[New Thread 0xad587b90 (LWP 24973)]
2009-07-22 23:16:31.829 The realtime priority setting is not enabled.
2009-07-22 23:16:31.833 FilterManager: failed to load filter 'none', no such filter exists
2009-07-22 23:16:31.833 Couldn't load deinterlace filter none
2009-07-22 23:16:31.835 Video timing method: USleep with busy wait
[New Thread 0xabeb1b90 (LWP 24974)]
[New Thread 0xa9c9fb90 (LWP 24975)]
2009-07-22 23:16:32.096 Searching for frame header.
2009-07-22 23:16:33.527 Broken packet: S 279671744
2009-07-22 23:16:33.537 NVP: Prebuffer wait timed out 10 times.
2009-07-22 23:16:33.577 Searching for frame header.
2009-07-22 23:16:35.139 NVP: Prebuffer wait timed out 10 times.
2009-07-22 23:16:36.740 NVP: Prebuffer wait timed out 10 times.
2009-07-22 23:16:36.841 Broken packet: T 1598029852
2009-07-22 23:16:36.891 Searching for frame header.
2009-07-22 23:16:37.470 Searching for frame header.
2009-07-22 23:16:38.342 NVP: Prebuffer wait timed out 10 times.
2009-07-22 23:16:39.144 Broken packet: D 570302584
2009-07-22 23:16:39.195 Searching for frame header.
2009-07-22 23:16:39.952 NVP: Prebuffer wait timed out 10 times.
2009-07-22 23:16:40.292 Broken packet: X 34537947
2009-07-22 23:16:40.342 Searching for frame header.
2009-07-22 23:16:41.555 NVP: Prebuffer wait timed out 10 times.
2009-07-22 23:16:41.572 Broken packet: A 822624272
2009-07-22 23:16:41.623 Searching for frame header.
2009-07-22 23:16:41.886 WriteAudio: buffer underrun
2009-07-22 23:16:42.062 Searching for frame header.
2009-07-22 23:16:43.158 NVP: Prebuffer wait timed out 10 times.
2009-07-22 23:16:43.615 RingBuf(myth://192.168.14.72:6543/1708_20090722231617.nuv): Waited 1.0 seconds for data to become available...
2009-07-22 23:16:43.615 Checking to see if there's a new livetv program to switch to..
2009-07-22 23:16:44.618 RingBuf(myth://192.168.14.72:6543/1708_20090722231617.nuv): Waited 2.0 seconds for data to become available...
2009-07-22 23:16:44.618 Checking to see if there's a new livetv program to switch to..
2009-07-22 23:16:44.761 NVP: Prebuffer wait timed out 10 times.
2009-07-22 23:16:46.362 NVP: Prebuffer wait timed out 10 times.
2009-07-22 23:16:46.629 RingBuf(myth://192.168.14.72:6543/1708_20090722231617.nuv): Waited 4.0 seconds for data to become available...
2009-07-22 23:16:46.629 Checking to see if there's a new livetv program to switch to..
2009-07-22 23:16:47.964 NVP: Prebuffer wait timed out 10 times.
2009-07-22 23:16:49.565 NVP: Prebuffer wait timed out 10 times.
2009-07-22 23:16:50.074 TV: Attempting to change from WatchingLiveTV to None

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xa923ab90 (LWP 24966)]
0xb76db2a8 in RingBuffer::ReadFromBuf (this=0xb1e1db88, buf=0xa6c00030, 
    count=3112948, peek=false) at RingBuffer.cpp:1051
1051	RingBuffer.cpp: No such file or directory.
	in RingBuffer.cpp

bt

#0 0xb76db2a8 in RingBuffer::ReadFromBuf? (this=0xb1e1db88, buf=0xa6c00030,

count=3112948, peek=false) at RingBuffer?.cpp:1051

#1 0xb76dcc6d in RingBuffer::Read (this=0xb1e1db88, buf=0xa6c00030,

count=5452792) at RingBuffer?.cpp:1111

#2 0xb79c037d in NuppelDecoder::GetFrame? (this=0x8e87230, avignore=0)

at nuppeldecoder.cpp:1112

#3 0xb798557c in NuppelVideoPlayer::GetFrameNormal? (this=0x8f2ca68,

onlyvideo=0) at NuppelVideoPlayer?.cpp:1398

#4 0xb798b426 in NuppelVideoPlayer::GetFrame? (this=0x8f2ca68, onlyvideo=0,

unsafe=false) at NuppelVideoPlayer?.cpp:1483

#5 0xb799938a in NuppelVideoPlayer::StartPlaying? (this=0x8f2ca68)

at NuppelVideoPlayer?.cpp:3635

#6 0xb794f055 in SpawnDecode? (param=0x8f2ca68) at tv_play.cpp:492 #7 0xb5e8518b in start_thread () from /lib/libpthread.so.0 #8 0xb5cf99ee in clone () from /lib/libc.so.6

comment:2 Changed 10 years ago by stuartm

Resolution: invalid
Status: newclosed

Filed against 0.21 but this code was entirely re-written in 0.22 which was released 6 months ago.

Note: See TracTickets for help on using tickets.