No audio/video pins found , no channel found (1 Viewer)

fherrador

Portal Member
January 30, 2007
28
1
62
Home Country
Spain Spain
Ok ok ok so you want to kill your poor cpu ??

There is a way. But remember, your cpu will hate you!! software encoding eats a LOT of power.

In case you want to play on your own keep this source code pieces of TVEngine on your records:
http://mediaportal.svn.sourceforge....Graphs/Analog/TvCardAnalogBase.cs?view=markup

line 2428

This is the list of supported analog audio mpeg layer 2 encoders for SW only cards:

"InterVideo Audio Encoder", "Ulead MPEG Audio Encoder", "MainConcept MPEG Audio Encoder", "MainConcept Demo MPEG Audio Encoder", "CyberLink Audio Encoder", "CyberLink Audio Encoder(Twinhan)", "Pinnacle MPEG Layer-2 Audio Encoder", "MainConcept (Hauppauge) MPEG Audio Encoder", "NVIDIA Audio Encoder"

an this one at line : 2531 the list of paired video (mpeg2) encoders:

"InterVideo Video Encoder", "Ulead MPEG Encoder", "MainConcept MPEG Video Encoder", "MainConcept Demo MPEG Video Encoder", "CyberLink MPEG Video Encoder", "CyberLink MPEG Video Encoder(Twinhan)", "MainConcept (Hauppauge) MPEG Video Encoder", "nanocosmos MPEG Video Encoder", "Pinnacle MPEG 2 Encoder" };

Anything outside that with an old software only card = no way to go ok ?
Any mix of unpaired item providers = wrong mixing or lip sync problems ok?

Hint if lost: see this message:
https://forum.team-mediaportal.com/showpost.php?p=127123&postcount=20
After all, an encoder is just that ....
Have a nice (recording) day !;)
 

hakuna

Portal Pro
October 15, 2004
395
1
48
Gothenburg
Home Country
Sweden Sweden
fherrador: I have tried earlier with InterVideo encoders, now with Pinnacle codecs I get no improvement. I have a Pinnacle PCTV BT848 card.
I think I did what you suggested, you write without hitting Enter very often so it is kind of hard to read... ;-)
Any more hints?
"Current channel" is always "none" during scanning, progress bar is moving slowly.
I get these errors in the log: https://forum.team-mediaportal.com/showpost.php?p=138973&postcount=13

Another question: Is this doable with Hauppage HVR-900 hybrid?
 

fherrador

Portal Member
January 30, 2007
28
1
62
Home Country
Spain Spain
In god's name!! a Bt 848!!!!????? A god ol Brooktree chip? man you are in deep trouble no new architecture drivers so none of the above aplies your problem lies far above when MP tryes to find the audio video pins on the capture filter
see this :

2007-03-28 14:08:02 analog: AddTvCaptureFilter succeeded:0x80004005


comes from this code:

// connect crossbar->video capture filter
hr = _capBuilder.RenderStream(null, null, _filterCrossBar, null, tmp);
if (hr == 0)
{
// That worked. Since most crossbar devices require 2 connections from
// crossbar->video capture filter, we do it again to connect the 2nd pin
hr = _capBuilder.RenderStream(null, null, _filterCrossBar, null, tmp);
_filterCapture = tmp;
_captureDevice = devices;
DevicesInUse.Instance.Add(_captureDevice);
Log.Log.WriteFile("analog: AddTvCaptureFilter succeeded:0x{0:X}", hr);

//and we're done
break;

so, maybe it ok to see this error code (0x80004005)

lets go on ....

AddTvEncoderFilter no encoder devices found (ok we dont have)

this is the place where all fails:

// Still no mpeg-2 output pin found
// looks like this is a s/w encoding card
if (!FindAudioVideoPins())
{
Log.Log.WriteFile("analog: failed to find audio/video pins");
throw new Exception("No analog audio/video pins found");
}

Lets look inside.....

analog: FindMediaPin gets something .....
(major) MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71)
(subtype) MEDIASUBTYPE_RGB24 {E436EB7D-524F-11CE-9F53-0020AF0BA770}
ok ..... but ... where is the audio ???

The code looks:

if (_filterCapture != null)
{
Log.Log.WriteFile("analog: find pins on capture filter");
if (_pinAnalogAudio == null)
_pinAnalogAudio = FindMediaPin(_filterCapture, MediaType.Audio, MediaSubType.Null);
if (_pinAnalogVideo == null)
_pinAnalogVideo = FindMediaPin(_filterCapture, MediaType.Video, MediaSubType.Null);
}

So the the audio must be found first then the video .... bad news, something is wrong here, the capture filter doesnt have a pin with audio capture attribute mediatype and MP needs that to go on .... encode and the mux etc etc ....

I don´t know if i recall it correctly but Bt 484 was made on the early stages of video capturing and the audio circuits where attached to the board as a tunner from philips with their own driver...

Long time ago the other mediaportal mainline, before TVEngine, had something called CaptureCardDefinitions.xml where was possible to add individual cards at will with some knowledge, but as far as i know that approach was dropped on the current mainline so ..... to recap .... i don´t know why yout capture filter does not expose an audio pin (?) .... try to load it with graphedit.exe, you will learn a lot after crashing it a hundred of times.

If i remember it ok i have an old aver bt848 and a bt878 arround somewere ... maybe later .....

Try to get better drivers, don´t know if anyone even supports it today but
i remember thi place as a good source fron those days
http://btwincap.sourceforge.net/supportedcards.html

Nothing more right now ...... will keep thinking ...
 

hakuna

Portal Pro
October 15, 2004
395
1
48
Gothenburg
Home Country
Sweden Sweden
Yes, it ancient, and the sound is routed via an extra cable from audio out and into the soundcard. :)

However, I also have a spanking new Hauppage HVR-900 hybrid, and I don't get any analoge channels with that one either.
Here are the logs for this card:
2007-03-29 20:51:30 Exception :No analog audio/video pins found
2007-03-29 20:51:30 site :Void BuildGraph()
2007-03-29 20:51:30 source :TVLibrary
2007-03-29 20:51:30 stacktrace: at TvLibrary.Implementations.Analog.TvCardAnalogBase.BuildGraph()
at TvLibrary.Implementations.Analog.TvCardAnalog.Tune(Int32 subChannelId, IChannel channel)
at TvLibrary.Implementations.Analog.AnalogScanning.Scan(IChannel channel, ScanParameters settings)
at TvService.TvCard.Scan(IChannel channel, ScanParameters settings)



and tv.log:
2007-03-29 20:51:29 analog:Dispose()
2007-03-29 20:51:29 analog: Tune:tv: Freq:0 Channel:128 Country:confused:weden Tuner:Cable Video:Tuner
2007-03-29 20:51:29 analog: build graph
2007-03-29 20:51:29 analog: AddTvTunerFilter WinTV HVR-900 TVTuner
2007-03-29 20:51:29 analog: AddCrossBarFilter
2007-03-29 20:51:29 analog: AddCrossBarFilter try:WinTV HVR-900 Crossbar
2007-03-29 20:51:29 analog: FindCrossBarPin type:Video_Tuner direction:Input
2007-03-29 20:51:29 analog: FindCrossBarPin inputs:5 outputs:2
2007-03-29 20:51:29 analog: pin 0 type:Video_Tuner
2007-03-29 20:51:29 analog: FindCrossBarPin found pin at index:0
2007-03-29 20:51:29 analog: ConnectFilter()
2007-03-29 20:51:29 analog: PinDest:name:0: Video Tuner In Direction:Input
2007-03-29 20:51:29 analog: pinSource 0:name:Analog Video Direction:Output
2007-03-29 20:51:29 analog: pins connected
2007-03-29 20:51:29 analog: AddCrossBarFilter succeeded
2007-03-29 20:51:29 analog: AddTvAudioFilter
2007-03-29 20:51:29 analog: FindCrossBarPin type:Audio_Tuner direction:Input
2007-03-29 20:51:29 analog: FindCrossBarPin inputs:5 outputs:2
2007-03-29 20:51:29 analog: pin 0 type:Video_Tuner
2007-03-29 20:51:29 analog: pin 1 type:Video_Composite
2007-03-29 20:51:29 analog: pin 2 type:Video_SVideo
2007-03-29 20:51:29 analog: pin 3 type:Audio_Tuner
2007-03-29 20:51:29 analog: FindCrossBarPin found pin at index:3
2007-03-29 20:51:29 analog: AddTvAudioFilter try:WinTV HVR-900 TVAudio
2007-03-29 20:51:29 analog: ConnectFilter()
2007-03-29 20:51:29 analog: PinDest:name:TVAudio In Direction:Input
2007-03-29 20:51:29 analog: pinSource 0:name:Analog Video Direction:Output
2007-03-29 20:51:30 analog: pinSource 1:name:Analog Audio Direction:Output
2007-03-29 20:51:30 analog: pins connected
2007-03-29 20:51:30 analog: AddTvAudioFilter succeeded:WinTV HVR-900 TVAudio
2007-03-29 20:51:30 analog: AddTvCaptureFilter
2007-03-29 20:51:30 analog: AddTvCaptureFilter try:WinTV HVR-900 Capture
2007-03-29 20:51:30 analog: AddTvCaptureFilter succeeded:0x80004005
2007-03-29 20:51:30 analog: FindCapturePin on capture filter
2007-03-29 20:51:30 analog: AddTvEncoderFilter
2007-03-29 20:51:30 analog: AddTvEncoderFilter no encoder devices found
2007-03-29 20:51:30 analog: AddTvEncoderFilter
2007-03-29 20:51:30 analog: AddTvEncoderFilter no encoder devices found
2007-03-29 20:51:30 analog: FindCapturePin on capture filter
2007-03-29 20:51:30 analog: FindCapturePin on capture filter
2007-03-29 20:51:30 analog: AddTvMultiPlexer
2007-03-29 20:51:30 analog: AddTvMultiPlexer no multiplexer devices found
2007-03-29 20:51:30 analog: AddTvMultiPlexer
2007-03-29 20:51:30 analog: AddTvMultiPlexer no multiplexer devices found
2007-03-29 20:51:30 analog: FindCapturePin on capture filter
2007-03-29 20:51:30 analog: FindCapturePin on capture filter
2007-03-29 20:51:30 analog: FindAudioVideoPins
2007-03-29 20:51:30 analog: find pins on capture filter
2007-03-29 20:51:30 analog: FindMediaPin pin:#0 name:Capture Direction:Output
2007-03-29 20:51:30 analog: FindMediaPin major:73646976-0000-0010-8000-00aa00389b71 sub:32595559-0000-0010-8000-00aa00389b71
2007-03-29 20:51:30 analog: FindMediaPin succeeded
2007-03-29 20:51:30 analog: failed to find audio/video pins
2007-03-29 20:51:30 analog:Dispose()
2007-03-29 20:51:30 Stopcard
2007-03-29 20:51:30 Controller: epg start


I think pretty similar?

Happy for your thoughts! /Niclas
 

fherrador

Portal Member
January 30, 2007
28
1
62
Home Country
Spain Spain
Test run on my system

Just put again a PCTV 300i on my systen on analog using a heavyky modified tvengine to get a log a see how the log differs from yours, heres the outout when previewing a channel:

Take a look to the bolded parts:

30/3/2007 15:51:03 analog: Tune:tv:27 Telecinco Freq:0 Channel:27 Country:confused:pain Tuner:Antenna Video:Tuner
30/3/2007 15:51:03 analog: build graph
30/3/2007 15:51:03 analog: AddTvTunerFilter Pinnacle PCTV 300i PAL Stereo BDA Analog TV Tuner
30/3/2007 15:51:05 analog: AddCrossBarFilter
30/3/2007 15:51:05 analog: AddCrossBarFilter try:pinnacle PCTV 300i PAL Stereo BDA Analog Xbar
30/3/2007 15:51:06 analog: FindCrossBarPin type:Video_Tuner direction:Input
30/3/2007 15:51:06 analog: FindCrossBarPin inputs:10 outputs:2
30/3/2007 15:51:06 analog: pin 0 type:Video_Tuner
30/3/2007 15:51:06 analog: FindCrossBarPin found pin at index:0
30/3/2007 15:51:06 analog: ConnectFilter()
30/3/2007 15:51:06 analog: PinDest:name:0: Video Tuner In Direction:Input
30/3/2007 15:51:06 analog: pinSource 0:name:Analog Video Direction:Output
30/3/2007 15:51:06 analog: pins connected
30/3/2007 15:51:06 analog: AddCrossBarFilter succeeded
30/3/2007 15:51:06 analog: AddTvAudioFilter
30/3/2007 15:51:06 analog: FindCrossBarPin type:Audio_Tuner direction:Input
30/3/2007 15:51:06 analog: FindCrossBarPin inputs:10 outputs:2
30/3/2007 15:51:06 analog: pin 0 type:Video_Tuner
30/3/2007 15:51:06 analog: pin 1 type:Video_Composite
30/3/2007 15:51:06 analog: pin 2 type:Video_SVideo
30/3/2007 15:51:06 analog: pin 3 type:Audio_Tuner
30/3/2007 15:51:07 analog: FindCrossBarPin found pin at index:3
30/3/2007 15:51:07 analog: AddTvAudioFilter try:pinnacle PCTV 300i PAL Stereo BDA Analog TV Audio
30/3/2007 15:51:08 analog: ConnectFilter()
30/3/2007 15:51:08 analog: PinDest:name:TVAudio In Direction:Input
30/3/2007 15:51:08 analog: pinSource 0:name:TVAudio In Direction:Input
30/3/2007 15:51:11 analog: pinSource 1:name:TVAudio In Direction:Input
30/3/2007 15:51:11 analog: pins connected
30/3/2007 15:51:11 analog: AddTvAudioFilter succeeded:pinnacle PCTV 300i PAL Stereo BDA Analog TV Audio
30/3/2007 15:51:11 analog: AddTvCaptureFilter
30/3/2007 15:51:11 analog: AddTvCaptureFilter try:pinnacle PCTV 300i PAL Stereo BDA Analog Capture
30/3/2007 15:51:11 analog: AddTvCaptureFilter succeeded:0x0
30/3/2007 15:51:11 analog: FindCapturePin on capture filter
30/3/2007 15:51:11 analog: AddTvEncoderFilter
30/3/2007 15:51:11 analog: AddTvEncoderFilter no encoder devices found
30/3/2007 15:51:11 analog: AddTvEncoderFilter
30/3/2007 15:51:11 analog: AddTvEncoderFilter no encoder devices found
30/3/2007 15:51:11 analog: FindCapturePin on capture filter
30/3/2007 15:51:11 analog: FindCapturePin on capture filter
30/3/2007 15:51:11 analog: AddTvMultiPlexer
30/3/2007 15:51:11 analog: AddTvMultiPlexer no multiplexer devices found
30/3/2007 15:51:11 analog: AddTvMultiPlexer
30/3/2007 15:51:11 analog: AddTvMultiPlexer no multiplexer devices found
30/3/2007 15:51:11 analog: FindCapturePin on capture filter
30/3/2007 15:51:11 analog: FindCapturePin on capture filter
30/3/2007 15:51:11 analog: FindAudioVideoPins
30/3/2007 15:51:11 analog: find pins on capture filter
30/3/2007 15:51:11 analog: FindMediaPin pin:#3 name:Audio Direction:Output
30/3/2007 15:51:11 analog: FindMediaPin major:73647561-0000-0010-8000-00aa00389b71 sub:5c8df20e-3c17-4e1f-95df-e17528c5aab5

30/3/2007 15:51:11 analog: FindMediaPin pin:#0 name:Capturar Direction:Output
30/3/2007 15:51:11 analog: FindMediaPin major:73646976-0000-0010-8000-00aa00389b71 sub:32595559-0000-0010-8000-00aa00389b71

30/3/2007 15:51:11 VideoCaptureDevice:get Video stream control interface (IAMStreamConfig)
30/3/2007 15:51:11 SWGraph:capture FrameRate set to 25
30/3/2007 15:51:11 VideoCaptureDevice:setStreamConfigSetting() get mediaType.formatType 05589f80-c356-11ce-bf01-00aa0055595a
30/3/2007 15:51:11 VideoCaptureDevice: capture FrameRate done :25
30/3/2007 15:51:11 VideoCaptureDevice:>change capture Framesize :320x240 ->720x576
30/3/2007 15:51:11 VideoCaptureDevice:setStreamConfigSetting() get mediaType.formatType 05589f80-c356-11ce-bf01-00aa0055595a
30/3/2007 15:51:11 VideoCaptureDevice:=now capture Framesize :720x576
30/3/2007 15:51:11 VideoCaptureDevice:<change capture Framesize :720x576 ->720x576
30/3/2007 15:51:11 SWGraph:capture FrameRate set to 25
30/3/2007 15:51:11 VideoCaptureDevice:setStreamConfigSetting() get mediaType.formatType 05589f80-c356-11ce-bf01-00aa0055595a
30/3/2007 15:51:11 VideoCaptureDevice: capture FrameRate done :25
30/3/2007 15:51:11 VideoCaptureDevice:confused:etupCaptureFormat 720 x 576
30/3/2007 15:51:11 analog: AddAudioCompressor name:Audio Direction:Output
30/3/2007 15:51:11 analog: AddAudioCompressor found:10 compressor
30/3/2007 15:51:11 analog: try compressor:pinnacle MPEG Layer-2 Audio Encoder
30/3/2007 15:51:11 analog:XXXXXXXXXX filter fields Pinnacle MPEG Layer-2 Audio Encoder to graph System.Reflection.PropertyInfo[]
30/3/2007 15:51:11 Release audiocompressor returns 0
30/3/2007 15:51:11 analog: connect audio pin->audio compressor
30/3/2007 15:51:11 analog: just connected audio pin->audio compressor about to save graph
30/3/2007 15:51:11 analog: finally connected audio pin->audio compressor
30/3/2007 15:51:11 analog: AddVideoCompressor
30/3/2007 15:51:12 analog: AddVideoCompressor found:11 compressor
30/3/2007 15:51:12 analog: try compressor:pinnacle MPEG 2 Encoder
30/3/2007 15:51:12 Release videocompressor returns 0
30/3/2007 15:51:13 analog: connect video pin->video compressor
30/3/2007 15:51:13 analog: connect video pin->video compressor after findpin
30/3/2007 15:51:13 analog: connected video pin->video compressor:
30/3/2007 15:51:13 analog: video compressor exit
30/3/2007 15:51:13 analog:AddAnalogMuxer
30/3/2007 15:51:13 analog: FindVBIPin
30/3/2007 15:51:13 analog: SetupTeletext()
30/3/2007 15:51:13 analog: teletext setup
30/3/2007 15:51:13 analog: AddMpeg2Demultiplexer
30/3/2007 15:51:13 analog: connect capture->mpeg2 demux
30/3/2007 15:51:13 VideoCaptureDevice:get Video stream control interface (IAMStreamConfig)
30/3/2007 15:51:13 SWGraph:capture FrameRate set to 25
30/3/2007 15:51:13 VideoCaptureDevice:setStreamConfigSetting() get mediaType.formatType 05589f80-c356-11ce-bf01-00aa0055595a
30/3/2007 15:51:13 VideoCaptureDevice: capture FrameRate done :25
30/3/2007 15:51:13 VideoCaptureDevice:>change capture Framesize :720x576 ->720x576
30/3/2007 15:51:13 VideoCaptureDevice:setStreamConfigSetting() get mediaType.formatType 05589f80-c356-11ce-bf01-00aa0055595a
30/3/2007 15:51:13 VideoCaptureDevice:=now capture Framesize :720x576
30/3/2007 15:51:13 VideoCaptureDevice:<change capture Framesize :720x576 ->720x576
30/3/2007 15:51:13 SWGraph:capture FrameRate set to 25
30/3/2007 15:51:13 VideoCaptureDevice:setStreamConfigSetting() get mediaType.formatType 05589f80-c356-11ce-bf01-00aa0055595a
30/3/2007 15:51:13 VideoCaptureDevice: capture FrameRate done :25
30/3/2007 15:51:13 VideoCaptureDevice:confused:etupCaptureFormat 720 x 576
30/3/2007 15:51:13 analog: Graph is build
30/3/2007 15:51:13 analog: RunGraph
30/3/2007 15:51:13 analog: set to TV
30/3/2007 15:51:14 analog: SetupCrossBar:Tuner
30/3/2007 15:51:14 crossbar pin:0 type:Video_Tuner
30/3/2007 15:51:14 route input:Video_Tuner -> video output result:0
30/3/2007 15:51:14 crossbar pin:1 type:Video_Composite
30/3/2007 15:51:14 crossbar pin:2 type:Video_SVideo
30/3/2007 15:51:14 crossbar pin:3 type:Audio_Tuner
30/3/2007 15:51:14 route input:Audio_Tuner -> audio output result:1
30/3/2007 15:51:14 crossbar pin:4 type:Audio_Line
30/3/2007 15:51:14 crossbar pin:5 type:Audio_Line
30/3/2007 15:51:14 crossbar pin:6 type:Video_Composite
30/3/2007 15:51:14 crossbar pin:7 type:Video_SVideo
30/3/2007 15:51:14 crossbar pin:8 type:Audio_Line
30/3/2007 15:51:14 crossbar pin:9 type:Audio_Line
30/3/2007 15:51:15 Analog: Tuned to video:519312500 Hz audio:524812500 Hz locked:True
30/3/2007 15:51:15 card: tuned user:winserve subchannel:0
30/3/2007 15:51:15 user:winserve add
30/3/2007 15:51:15 card: Tuner locked:True signal strength:100 signal quality:100
30/3/2007 15:51:15 card2:winserve 6 0
30/3/2007 15:51:15 control1:winserve 6 0
30/3/2007 15:51:15 control2:winserve 6 0
30/3/2007 15:51:15 Controller: delete timeshift files D:\Recordings\live6-0.ts
30/3/2007 15:51:15 card: StartTimeShifting 6 D:\Recordings\live6-0.ts
30/3/2007 15:51:15 card: WaitForUnScrambledSignal
30/3/2007 15:51:15 card: return not scrambled
30/3/2007 15:51:15 Analog: StartTimeShifting()
30/3/2007 15:51:15 analog: StopGraph
30/3/2007 15:51:15 analog: DeleteTimeShifting
30/3/2007 15:51:15 analog:AddMpegMuxer()
30/3/2007 15:51:15 analog:connect pinvideo->mpeg muxer
30/3/2007 15:51:15 Release Connect Pin returns 0
30/3/2007 15:51:15 analog:connect pinaudio->mpeg muxer
30/3/2007 15:51:15 Release Connect Pin returns 0
30/3/2007 15:51:15 analog:AddTsFileSink
30/3/2007 15:51:16 analog:connect muxer->tsfilesink
30/3/2007 15:51:16 Release Connect Pin returns 0
30/3/2007 15:51:16 Release mpegmux pinin returns 0
30/3/2007 15:51:16 analog:confused:etTimeShiftFileName:D:\Recordings\live6-0.ts
30/3/2007 15:51:16 analog:confused:etTimeShiftFileName: uses .ts
30/3/2007 15:51:17 analog: RunGraph
30/3/2007 15:51:18 card: WaitForTimeShiftFile
30/3/2007 15:51:18 card: WaitForUnScrambledSignal
30/3/2007 15:51:18 card: return not scrambled
30/3/2007 15:51:24 card: timeshifting fileSize:0
30/3/2007 15:51:25 card: timeshifting fileSize:166756
30/3/2007 15:51:29 card: timeshifting fileSize:332008
30/3/2007 15:51:30 card: timeshifting fileSize:498200
30/3/2007 15:51:30 card: timeshifting fileSize:664956 11968,75
30/3/2007 15:51:30 user:winserve card:6 sub:0 add stream:D:\Recordings\live6-0.ts.tsbuffer
30/3/2007 15:51:30 RTSP: start streamer
30/3/2007 15:51:30 RTSP: Streamer started
30/3/2007 15:51:30 RTSP: add stream stream6.0 file:D:\Recordings\live6-0.ts.tsbuffer
30/3/2007 15:51:30 Controller: StartTimeShifting started on card:6 to D:\Recordings\live6-0.ts.tsbuffer
30/3/2007 15:51:30 preview 27 Telecinco user:6 0 winserve D:\Recordings\live6-0.ts.tsbuffer
30/3/2007 15:51:30 play:D:\Recordings\live6-0.ts.tsbuffer
30/3/2007 15:51:30 add tsfilesource
30/3/2007 15:51:30 add mpeg-2 demux
30/3/2007 15:51:30 load file in tsfilesource
30/3/2007 15:51:30 render pins
30/3/2007 15:51:31 run graph
30/3/2007 15:51:31 TSStreamBufferPlayer9:running:1
30/3/2007 15:51:41 Controller: StopTimeShifting 6
30/3/2007 15:51:41 card: StopTimeShifting user:winserve sub:0
30/3/2007 15:51:41 user:winserve remove
30/3/2007 15:51:41 Stopcard
30/3/2007 15:51:41 analog: StopGraph
30/3/2007 15:51:42 analog: DeleteTimeShifting
30/3/2007 15:51:42 analog: remove tsfilesink
30/3/2007 15:51:45 analog: mpeg muxer

There is something wrong in wour directx/directshow installation that makes pins of audio mediatype unavailable from kscaptur.ax filters, this is common to almost all analog capture cards. May be a directx 9c reinstall will help.... but i'm a little lost because it's the first time is see something like this ...

The guid of the mediatype is 73647561-0000-0010-8000-00aa00389b71, this is a common audio mediatype expoted by ksproxy.ax, a fault here is very strange thing, points to the core of the capture filter itself or ksproxy.ax or even deeper to directshow + directx itself ....

If you have graphedit.exe (a tool from directmedia sdk or inside the Pinnacle.zip on one of my other posts) you can try to build a tunning graph by hand, it's not an easy task to explain but, later i will build one for you and attach a screencapture to help you (now my system is recording). In the meantime .... dxdiag.exe will do a quick check of the main components & versions (won't repair but will alert if something is missing or corrupt).
 

fherrador

Portal Member
January 30, 2007
28
1
62
Home Country
Spain Spain
I've been thinking again on all this and ... may be there is another reason for the pin apparent amnesia, the code at AddTvCaptureFilter()
tryes to do this:

PHP:
    /// Adds the tv capture to the graph and connects it to the crossbar.
    /// At the end of this method the graph looks like:
    /// [          ] ------------------------->[           ]------>[ video pin]
    /// [ tvtuner  ]                           [ crossbar  ]       
    /// [          ]----[            ]-------->[           ]------>[ audio pin]
    ///                 [ tvaudio    ]
    ///                 [   tuner    ]

But, what happens if the connection between the tv audio tunner & the crossbar fails? ..... ( may be the 0x80004005 shown in your logs....) things look like this ...

PHP:
    /// Adds the tv capture to the graph and connects it to the crossbar.
    /// At the end of this method the graph looks like:
    /// [          ] ------------------------->[           ]------>[video pin]
    /// [ tvtuner  ]                           [ crossbar  ]       
    /// [          ]----[            ]--X   X->[           ]------>[audio pin] = no media type defined
    ///                 [ tvaudio    ]
    ///                 [   tuner    ]

But shamelessly, even if this is true, doesn't solve your problem ..... yet ... grrrrr
 

hakuna

Portal Pro
October 15, 2004
395
1
48
Gothenburg
Home Country
Sweden Sweden
Sweet.
I will reinstall directX9c and check with dxdiag if something pops up.

Regarding Graphedit, is it so that the lines I draw between different fields actually changes some registry so that I can fix things things from within graphedit?
There is no graph to connect to when I run TVServer or the original programs. Only from MPC I can fetch a graph, but I don't have any sound in MPC.
Could that help you in your thoughts?

Now I'am however off to my brothers wedding party! Ciao! /Niclas
 

fherrador

Portal Member
January 30, 2007
28
1
62
Home Country
Spain Spain
reinstall direcx9c = ok

graphedith won't repair but will point to the ploblem no by connecting to a remote graph but by building your own graph and trying to get the same error when the crossbar pin rejects to render giving you this 0x80004005 or may be this (decimal) 2147500037 error. At this moment You will be in the exact problem TVEngine is having to build the graph.

See the partial capture attached:

The first box ius the tv tunner on the properties you will find the channel etc etc
The second is the audio tunner (this is the one suspicious) can be mono/stereo etc
The third is the crossbar (the amnesic one) gest two inputs video + audio to the proper pins, the properties select the input combination tunner/svhs/cbvs/audiotunner/auxline/etc
The fourth does all colourspace magic / image formatting sizing/ VBI (teletext) etc)

From that point if you rigth click on the free "capture" (says "capturar" on my picture because my driver is in spanish but it's the same thing) pin and select render, the rest of the video graph will appear and if tunned + "play" is pusedh an activex window will appear with a channel image moving.

Close the tv window and try to do the same with "audio" pin + "play" if this works i dont understand why, in fact i don´t believe that the 2nd box accepted the connection to the 3rd (tv audio tunner to tv crossbar).

If this is the case, then tvengine it's not the fault, in fact no other capture program usig directshow will be able to route sound from your cards at all if this issue is not solved ...

Lets narrow things a little:

Or...

1.- The default media types presented by your directshow installation on audio capture brach are incompatible with the crossbar ones (!!???)

2.- Something is very wrong with media types core support (are you able to play mp3, mpg, avi afiles normally?, quartz.dll handles a lot of common media formats and many people gets this error when trying to play some common media, is this also happening is your system ???

3.- TVEngine builds graphs with some blindness when rendering connections, first renders it all then tryes to put some settings in place, in fact one of the problems i've found was that some drivers/encoders saved last used settings on the registry (why any other program too) and thi can be incompatible with some analog encoders who preconfigure themselves on connection and refuse to change back things like framerates or framesizes. This can be happening with the audio format but ... who knows ....

Anyway have a nice party! & weekend!
 

hakuna

Portal Pro
October 15, 2004
395
1
48
Gothenburg
Home Country
Sweden Sweden
I think I found somthing, my Capture-boxes only have "Analog video in", not audio.
The drivers are WDM, not BDA, is that an issue?

Here is my graph, with both the Hauppauge and Pinnacle capture boxes included and not connected.
With this I get a black window when I press Render.
<GRAPH version="1.0">
<FILTER ID="Video_Renderer" clsid="{B87BEB7B-8D29-423F-AE4D-6582C10175AC}">
<PARAM name="data" value="3000300030003000300030003000300030003000300020008801000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
</FILTER>
<FILTER ID="Conexant's_BtPCI_Capture" clsid="{17CCA71B-ECD7-11D0-B908-00A0C9223196}">
<PARAM name="data" value="300030003000300030003000300030003000300031002000FA00000040006400650076006900630065003A0070006E0070003A005C005C003F005C007000630069002300760065006E005F00310030003900650026006400650076005F00300033003500300026007300750062007300790073005F003000300030003000300030003000300026007200650076005F003100320023003400260032003000650030006600660036006100260030002600300030006600300023007B00360035006500380037003700330064002D0038006600350036002D0031003100640030002D0061003300620039002D003000300061003000630039003200320033003100390036007D005C0067006C006F00620061006C00000000000000"/>
</FILTER>
<FILTER ID="ffdshow_MPEG_4_Video_Decoder" clsid="{04FE9017-F873-410E-871E-AB91661A4EF7}">
</FILTER>
<FILTER ID="WinTV_HVR_900_Capture" clsid="{17CCA71B-ECD7-11D0-B908-00A0C9223196}">
<PARAM name="data" value="3000300030003000300030003000300030003000310020001601000040006400650076006900630065003A0070006E0070003A005C005C003F005C0075007300620023007600690064005F00320030003400300026007000690064005F00360035003000300026006D0069005F00300030002300360026006300650064003200310063003800260030002600300030003000300023007B00360035006500380037003700330064002D0038006600350036002D0031003100640030002D0061003300620039002D003000300061003000630039003200320033003100390036007D005C007B00350034003300350033006400310035002D0065003700310037002D0034006400390034002D0062003500370034002D003600380035006300650031006100320030003900650039007D00000000000000"/>
</FILTER>
<FILTER ID="WinTV_HVR_900_Crossbar" clsid="{71F96460-78F3-11D0-A18C-00A0C9118956}">
<PARAM name="data" value="3000300030003000300030003000300030003000310020001601000040006400650076006900630065003A0070006E0070003A005C005C003F005C0075007300620023007600690064005F00320030003400300026007000690064005F00360035003000300026006D0069005F00300030002300360026006300650064003200310063003800260030002600300030003000300023007B00610037003900390061003800300031002D0061003400360064002D0031003100640030002D0061003100380063002D003000300061003000320034003000310064006300640034007D005C007B00630032006300390066006200310062002D0037003900350063002D0034006200310032002D0061006400620065002D006400380037006300360061003100640030003800660063007D00000002000000000000000100000000000000FFFFFFFF01000000FFFFFFFF"/>
</FILTER>
<FILTER ID="WinTV_HVR_900_TVAudio" clsid="{71F96462-78F3-11D0-A18C-00A0C9118956}">
<PARAM name="data" value="3000300030003000300030003000300030003000310020001601000040006400650076006900630065003A0070006E0070003A005C005C003F005C0075007300620023007600690064005F00320030003400300026007000690064005F00360035003000300026006D0069005F00300030002300360026006300650064003200310063003800260030002600300030003000300023007B00610037003900390061003800300032002D0061003400360064002D0031003100640030002D0061003100380063002D003000300061003000320034003000310064006300640034007D005C007B00300038006400310031003100650061002D0065006500380034002D0034006400640063002D0039003900620035002D003800380038003500630036006300360034006600630062007D00000010000000"/>
</FILTER>
<FILTER ID="Source_0" clsid="{266EEE40-6C63-11CF-8A03-00AA006ECB65}">
<PARAM name="data" value="3000300030003000300030003000300030003000310020000100000000000000000000002E000000000000000100000001000000040000001601000040006400650076006900630065003A0070006E0070003A005C005C003F005C0075007300620023007600690064005F00320030003400300026007000690064005F00360035003000300026006D0069005F00300030002300360026006300650064003200310063003800260030002600300030003000300023007B00610037003900390061003800300030002D0061003400360064002D0031003100640030002D0061003100380063002D003000300061003000320034003000310064006300640034007D005C007B00310032006100660032003700660063002D0030003900310031002D0034003600310066002D0062003100390030002D006400330031003100310037006500360030003300640030007D000000"/>
</FILTER>
<connect direct="yes" src="Source_0" srcpin="Analog Video" dest="WinTV_HVR_900_Crossbar" destpin="0: Video Tuner In"/>
<connect direct="yes" src="Source_0" srcpin="Analog Audio" dest="WinTV_HVR_900_TVAudio" destpin="TVAudio In"/>
<connect direct="yes" src="WinTV_HVR_900_TVAudio" srcpin="TVAudio Out" dest="WinTV_HVR_900_Crossbar" destpin="3: Audio Tuner In"/>
<connect direct="yes" src="WinTV_HVR_900_Capture" srcpin="0" dest="ffdshow_MPEG_4_Video_Decoder" destpin="In"/>
<connect direct="yes" src="ffdshow_MPEG_4_Video_Decoder" srcpin="Out" dest="Video_Renderer" destpin="VMR Input0"/>
<connect direct="yes" src="WinTV_HVR_900_Crossbar" srcpin="0: Video Decoder Out" dest="WinTV_HVR_900_Capture" destpin="1"/>
</GRAPH>
 

fherrador

Portal Member
January 30, 2007
28
1
62
Home Country
Spain Spain
Conexant's_BtPCI_Capture box has an audio out ?

WinTV HVR 900 Does not have a TV Tuner filter ? really? ... Conexant was only for Bt chips so .... if ..... what if the Bt driver is sitting in the middle and nailing down your real HVR driver?? ... i will try to investigate but it's hard to belive ... that a HVR 900, a USB 2.0 device using a PCI driver ??????? a PCI Card driver????? i see a conflict here, or, at least, a mix of filters from the two cards.

Even then .... Have you tunned any well known channel frecuency (antenna type/PAL etc) on the properties page of the tunner box before playing ?

After all that .... Can you do a screen capture of graphedit showing the setup? (Alt-PrtSrcn)->clipboard - > paint.exe - > forum as attachment

Yes I knew the driver for the older card was a WDM but for the HVR .... hmmm hoped it was newer but has to work anyway ...

Good work!
 

Users who are viewing this thread

Top Bottom