Hi Andy,

the problem is solved since I improved the dummy black video frames. Now they 
have the PTS from the audio packets. It is no longer necessary to 
freeze/continue the decoder before resuming to normal speed.

Nevertheless, it may be interesting to see what went wrong here. This is the 
log with debug=142 (using the old dummy black video frames)

Greets,
Martin

Sep 21 13:46:39 ubuntuvdr vdr: [4300] dvbplayer thread started (pid=4287, 
tid=4300)
Sep 21 13:46:39 ubuntuvdr vdr: [4300] resuming replay at index 9205 
(0:22:05.05)
Sep 21 13:46:39 ubuntuvdr vdr: [4301] non blocking file reader thread started 
(pid=4287, tid=4301)
Sep 21 13:46:39 ubuntuvdr vdr: [4300] cPvr350Device::SetAudioChannelDevice 
(stereo)
Sep 21 13:46:39 ubuntuvdr vdr: [4300] cPvr350Device::SetAudioChannelDevice 
(stereo)
Sep 21 13:46:39 ubuntuvdr vdr: [4300] cPvr350Device::Set_wss_mode()
Sep 21 13:46:39 ubuntuvdr vdr: [4300] pvr350: Set wss mode 4:3
Sep 21 13:46:39 ubuntuvdr vdr: [4300] cPvr350Device::detected Audio-only 
stream
Sep 21 13:46:39 ubuntuvdr kernel: [13799.097956] ivtv0 ioctl: 
AUDIO_CHANNEL_SELECT
Sep 21 13:46:39 ubuntuvdr kernel: [13799.097965] ivtv0 mb: MB Call: 
CX2341X_DEC_SET_AUDIO_MODE
Sep 21 13:46:39 ubuntuvdr kernel: [13799.097972] ivtv0 ioctl: 
AUDIO_BILINGUAL_CHANNEL_SELECT
Sep 21 13:46:39 ubuntuvdr kernel: [13799.097976] ivtv0 mb: MB Call: 
CX2341X_DEC_SET_AUDIO_MODE
Sep 21 13:46:39 ubuntuvdr kernel: [13799.098089] ivtv0 ioctl: 
AUDIO_CHANNEL_SELECT
Sep 21 13:46:39 ubuntuvdr kernel: [13799.098093] ivtv0 mb: MB Call: 
CX2341X_DEC_SET_AUDIO_MODE
Sep 21 13:46:39 ubuntuvdr kernel: [13799.098098] ivtv0 ioctl: 
AUDIO_BILINGUAL_CHANNEL_SELECT
Sep 21 13:46:39 ubuntuvdr kernel: [13799.098101] ivtv0 mb: MB Call: 
CX2341X_DEC_SET_AUDIO_MODE
Sep 21 13:46:39 ubuntuvdr kernel: [13799.098868] ivtv0 decoder VOUT: 
VIDIOC_S_FMT type=sliced-vbi-out
Sep 21 13:46:39 ubuntuvdr kernel: [13799.098881] ivtv0 decoder VOUT: 
VIDIOC_G_FMT type=sliced-vbi-out
Sep 21 13:46:39 ubuntuvdr kernel: [13799.099103] ivtv0 mb: MB Call: 
CX2341X_DEC_PAUSE_PLAYBACK
Sep 21 13:46:39 ubuntuvdr kernel: [13799.099270] ivtv0 mb: MB Call: 
CX2341X_DEC_SET_PLAYBACK_SPEED
Sep 21 13:46:39 ubuntuvdr kernel: [13799.099435] ivtv0 info: Setting Speed to 
0x00000000 0x00000000 0x00000007 0x00000002 0x00000000 0x00000000 0x00000000
Sep 21 13:46:39 ubuntuvdr vdr: [4299] TS buffer on device 1 thread ended 
(pid=4287, tid=4299)
Sep 21 13:46:39 ubuntuvdr vdr: [4298] buffer stats: 3572 (0%) used
Sep 21 13:46:39 ubuntuvdr vdr: [4298] receiver on device 1 thread ended 
(pid=4287, tid=4298)
Sep 21 13:46:39 ubuntuvdr vdr: [4293] changing pids of channel 240 from 
0+0=2:3808:0:0 to 0+0=0:3808:0:0
Sep 21 13:46:39 ubuntuvdr vdr: [4293] changing pids of channel 241 from 
0+0=2:3816:0:0 to 0+0=0:3816:0:0
Sep 21 13:46:40 ubuntuvdr kernel: [13799.558808] ivtv0 info: Stereo mode 
changed
Sep 21 13:46:45 ubuntuvdr kernel: [13804.849584] ivtv0 ioctl: VIDEO_GET_PTS
Sep 21 13:46:45 ubuntuvdr kernel: [13804.849595] ivtv0 mb: MB Call: 
CX2341X_DEC_GET_TIMING_INFO
Sep 21 13:46:45 ubuntuvdr vdr: [4287] cPvr350Device::GetSTC(): PTS=536726300
Sep 21 13:46:45 ubuntuvdr vdr: [4287] cPvr350Device::GetSTC(): PTS=536726300
Sep 21 13:46:45 ubuntuvdr vdr: [4287] cPvr350Device::Clear()
Sep 21 13:46:45 ubuntuvdr kernel: [13804.873152] ivtv0 ioctl: VIDEO_GET_PTS
Sep 21 13:46:45 ubuntuvdr kernel: [13804.873202] ivtv0 ioctl: VIDEO_COMMAND 1
Sep 21 13:46:45 ubuntuvdr kernel: [13804.873208] ivtv0 info: Stop Decode at 0, 
flags: 2
Sep 21 13:46:45 ubuntuvdr kernel: [13804.873213] ivtv0 mb: MB Call: 
CX2341X_DEC_STOP_PLAYBACK
Sep 21 13:46:45 ubuntuvdr kernel: [13804.873544] ivtv0 mb: MB Call: 
CX2341X_DEC_SET_EVENT_NOTIFICATION
Sep 21 13:46:45 ubuntuvdr kernel: [13804.873853] ivtv0 ioctl: VIDEO_COMMAND 0
Sep 21 13:46:45 ubuntuvdr kernel: [13804.873859] ivtv0 info: Starting decode 
stream decoder MPG (gop_offset 0)
Sep 21 13:46:45 ubuntuvdr kernel: [13804.873863] ivtv0 info: Setting some 
initial decoder settings
Sep 21 13:46:45 ubuntuvdr kernel: [13804.873867] ivtv0 mb: MB Call: 
CX2341X_DEC_SET_AUDIO_MODE
Sep 21 13:46:45 ubuntuvdr kernel: [13804.873872] ivtv0 mb: MB Call: 
CX2341X_DEC_SET_DISPLAY_BUFFERS
Sep 21 13:46:45 ubuntuvdr kernel: [13804.873877] ivtv0 mb: MB Call: 
CX2341X_DEC_SET_PREBUFFERING
Sep 21 13:46:45 ubuntuvdr kernel: [13804.873881] ivtv0 mb: MB Call: 
CX2341X_DEC_EXTRACT_VBI
Sep 21 13:46:45 ubuntuvdr kernel: [13804.874179] ivtv0 info: Decoder VBI 
RE-Insert start 0x0019ac00 size 0x0000be00
Sep 21 13:46:45 ubuntuvdr kernel: [13804.874183] ivtv0 mb: MB Call: 
CX2341X_DEC_SET_DECODER_SOURCE
Sep 21 13:46:45 ubuntuvdr kernel: [13804.874492] ivtv0 mb: MB Call: 
CX2341X_DEC_SET_DMA_BLOCK_SIZE
Sep 21 13:46:45 ubuntuvdr kernel: [13804.874498] ivtv0 mb: MB Call: 
CX2341X_DEC_SET_EVENT_NOTIFICATION
Sep 21 13:46:45 ubuntuvdr kernel: [13804.874937] ivtv0 mb: MB Call: 
CX2341X_DEC_START_PLAYBACK
Sep 21 13:46:46 ubuntuvdr vdr: [4300] pvr350: PlayAudio(Blackframe) written=-1 
error=11:Resource temporarily unavailable

Last message continues many hundred times.

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to