[PATCH] Improvements for analog cards (1 Viewer)

misterd

Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    I assume that 60Hz is the standard refresh rate of your card than. The TvServer has already the code to set the resolution and refresh rate, but I only works for some cards with hardware encoders. It caused some issues on other cards and was therefor deactivated.

    But as already said I'm planning some improvements for 1.0.1 or later

    MisterD
     

    5Hundred

    Portal Pro
    December 14, 2007
    166
    4
    Home Country
    New Zealand New Zealand
    Fair enough on the 60HZ being its standard rate, however when i look at the card via graphedit it appears to be at sitting at 50HZ when recording PAL TV, is it possible that tswriter is converting the input from the card from 50 to 60hz?
     

    misterd

    Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    Our filter (MPFileWriter) doesn't convert the material, but perhaps it is the encoder. We don't change or set the refresh rate on the encoder, muxer or our filter. It is only set to 50Hz for some hardware-encoding cards.

    MisterD
     

    Khurram

    Portal Pro
    May 12, 2008
    211
    5
    Home Country
    Pakistan Pakistan
    Support for devices without tuners?

    I have an ADSTech Instant VideoMPX which is a USB based video grabber (it supports capturing in MPEG but I dont know if it is in software or hardware). I have connected my STB to its composite in + audio in ports and I can view the video feed using its own application and in VLC also. TVServer detects the device (its at id 4), but gives this error (warning?) when I start the service:
    Code:
    2008-12-18 15:59:17.156250 [9]: analog: Problem can't find analog tv tuner

    Of course there is no tuner on the device, just the composite, s-video and audio ports. I have added the composite/s-video channels, but when I try to preview something, I get an error that preview couldnt be started because of some unknown error. The following shows up in the logs:
    Code:
    2008-12-18 16:01:45.031250 [9]: Controller: StartTimeShifting CVBS#1 on 4 19
    2008-12-18 16:01:45.046875 [9]: Controller: find free card for channel CVBS#1 on 4
    2008-12-18 16:01:45.531250 [9]: Controller:   got 1 tuning details for CVBS#1 on 4
    2008-12-18 16:01:45.546875 [9]: Controller:   channel #1 tv:CVBS#1 on 4 Freq:0 Channel:4 Country:Pakistan Tuner:Cable Video:VideoInput1 
    2008-12-18 16:01:46.015625 [9]: Controller:    card:1 type:Analog channel not mapped
    2008-12-18 16:01:46.031250 [9]: Controller:    card:2 type:Analog channel not mapped
    2008-12-18 16:01:46.046875 [9]: Controller:    card:3 type:RadioWebStream cannot tune to channel
    2008-12-18 16:01:46.078125 [9]: Controller:    card:4 type:Analog is available priority:1 #users:0 same transponder:False
    2008-12-18 16:01:46.078125 [9]: Controller: found 1 available
    2008-12-18 16:01:46.109375 [9]: card: CardTune 4 CVBS#1 on 4 akzsf:4:-1
    2008-12-18 16:01:46.125000 [9]: card: Tune 4 to CVBS#1 on 4
    2008-12-18 16:01:46.125000 [9]: card: user: akzsf:4:-1 tune tv:CVBS#1 on 4 Freq:0 Channel:4 Country:Pakistan Tuner:Cable Video:VideoInput1
    2008-12-18 16:01:46.234375 [9]: analog:  Tune:tv:CVBS#1 on 4 Freq:0 Channel:4 Country:Pakistan Tuner:Cable Video:VideoInput1
    2008-12-18 16:01:46.250000 [9]: analog: build graph
    2008-12-18 16:01:46.250000 [9]: analog: AddTvTunerFilter Instant VideoMPX
    2008-12-18 16:01:46.265625 [9]: analog:Dispose()
    2008-12-18 16:01:46.281250 [9]: tvcard:FreeAllSubChannels:
    2008-12-18 16:01:46.281250 [9]: analog:All filters removed
    2008-12-18 16:01:46.281250 [9]: analog: dispose completed

    I have tried it without and with the analog patch but I get the same error :confused: I have also tried it with all the 9 channels (3 CVBS, 3 RGBS and 3 SVHS) but all have the same behavior. Are such tuner-less devices not supported in TVServer?
     

    misterd

    Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    The TvServer only supports real analog cards with a tuner. Analog video grabber devices aren't supported. There will be support for the Hauppauge HD PVR after 1.0.

    MisterD
     

    Khurram

    Portal Pro
    May 12, 2008
    211
    5
    Home Country
    Pakistan Pakistan
    The TvServer only supports real analog cards with a tuner. Analog video grabber devices aren't supported. There will be support for the Hauppauge HD PVR after 1.0.
    Thanks. I have constructed a filter graph which almost runs ok in graphedit (there is about a second lag between video and audio which I cant figure out how to fix). In the filter graph for the Instant VideoMPX, I have noticed that there are separate filters for Video Capture and Audio Capture which have to be connected to the crossbar filter. This is unlike other filter graphs where the crossbar connects to the same capture filter which handles both video and audio. Maybe this is throwing off the logic in BuildGraph().

    I would like to build from source with you changes incorporated into the source. But when I add the files from the AnalogPatch-Source-Rev16907.zip file to the solution, I cant compile it anymore: it keeps on throwing an error at all the lines in the code file which contain the "Using TVLibrary.xxx" statement. What am I doing wrong?
     

    Khurram

    Portal Pro
    May 12, 2008
    211
    5
    Home Country
    Pakistan Pakistan
    Now that 1.0 release is out :)thx: :D), when can we expect a patch for it? Btw, how can I find out what is svn version number of the release version?
    Thanks.
     

    misterd

    Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    The binaries are updated. I also uploaded a new patch file and removed the outdated modified sources.

    The revision of 1.0 can be found also in the first post.

    MisterD
     

    craige1

    Portal Pro
    February 1, 2008
    187
    48
    Alice Springs
    Home Country
    Australia Australia
    The patch installer says it cant contact db.
    What is that extra patch file for?

    Thanks
     

    Khurram

    Portal Pro
    May 12, 2008
    211
    5
    Home Country
    Pakistan Pakistan
    :D for the updated binaries.

    craige1, I think the patch file is to patch a local svn repository of tvserver (if you have one).
     

    Users who are viewing this thread

    Top Bottom