No video/audio detected (1 Viewer)

seco

Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    I know the problem still exists and it is somehow related to timeshifting files.

    As previously said, TVE3 creates a timeshifting file with size of 0MB and never writes anything to it and the file stays locked. Actually if I remember correct, I once saw two timeshifting files with size of 0MB in my timeshifting files folder and both of them were locked. When No audio/video error occurs, maximum number of timeshifting files are in use and one or two of them are size 0MB and locked, but if I'm able to remove any of the timeshifting files, the problem is gone for while. Sometimes removing is not possible, because all of the files are locked, even those with size larger than 0MB.
     

    happyfirst

    Portal Member
    July 29, 2007
    25
    0
    Home Country
    United States of America United States of America
    TV-Server Version: tvengine3-11-05-2007--01-37h--Rev16445
    MediaPortal Version: Latest SVN
    MediaPortal Skin: PureVision
    Windows Version: Win XP SP2
    CPU Type: Core2Duo at 2.7
    HDD: 300 GB
    Memory: 2 GB
    Motherboard: ASUS P5B
    Motherboard Chipset:
    Motherboard Bios:
    Video Card: NVIDIA GeForce 7600 GS
    Video Card Driver:
    Sound Card:
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: Hauppauge WINTV-HVR 1800
    1. TV Card Type: analog & digital
    1. TV Card Driver:
    2. TV Card:
    2. TV Card Type:
    2. TV Card Driver:
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec:
    MPEG2 Audio Codec:
    Satelite/CableTV Provider: FL - Orlando - Brighthouse digital
    HTPC Case:
    Cooling:
    Power Supply:
    Remote: Hauppauge: None
    TV: Dell 24" Wide Monitor
    TV - HTPC Connection:
    SQL Server 2005 DE
    Media Portal & TV Server are on the same PC.


    Analog channels work fine and I can preview from within TVServer Setup and watch in Media Portal.
    HD Clear QAM channels can be found by channel scan in TVServer Setup but I CANNOT preview or watch from MP. NoVideoAudioDetected.

    I stopped TVService, cleared my logs files, and restarted TVService. Then just started TVServer Setup and then tried to preview a QAM channel (WESH). Attached are the log files.

    I see a live1-0.ts.buffer (0 size) appear, then the error, then the file goes away.
     

    happyfirst

    Portal Member
    July 29, 2007
    25
    0
    Home Country
    United States of America United States of America
    I'm in manual control now and it seems like maybe the EPG is locking the ATSC tuner?

    Well I managed to stop that by unchecking the QAM channels from the TV EPGgrabber section so now it says idle in manaul control but I still get the same error.
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    Please see your TsWriter.log and search for lines like:

    Code:
    06-11-2007 18:24:49 Timeshifter:paused:no
    06-11-2007 18:24:49 MultiFileWriter: not enough free diskspace
    06-11-2007 18:24:49 Timeshifter:failed to open filename:T:\Timeshift\1\live5-0.ts.tsbuffer 183
    06-11-2007 18:25:04 Timeshifter:Stop timeshifting:'T:\Timeshift\1\live5-0.ts.tsbuffer'
    06-11-2007 18:25:04 Timeshifter:Reset
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    Btw: As I learned today MPFileWriter is only involved if you use an analog card. If you watch TV using a DVB-card, TSWriter is used for timeshifting instead of MPFileWriter. So this patch won´t do anything on systems with a DVB-card.

    Tourettes and me will investigate this issue further since I maybe can reproduce it here. Would you please share the code you've changed?
     

    happyfirst

    Portal Member
    July 29, 2007
    25
    0
    Home Country
    United States of America United States of America
    I tried switching to MPG from TS (and restarted) but I still keep seeing that ts file appear in the tvserver directory.
     

    Stepko

    Retired Team Member
  • Premium Supporter
  • September 29, 2007
    186
    152
    Hamburg/Wolfsburg
    Home Country
    Germany Germany
    Tourettes and me will investigate this issue further since I maybe can reproduce it here. Would you please share the code you've changed?

    Sure, but I don´t think that will help you much. I did only one change in solution MPFileWriter, MPFileWriter.cpp.
    Original code:
    Code:
    CBasePin * CDumpFilter::GetPin(int n)
    {
        if (n == 0) {
            return m_pDump->m_pPin;
        } else {
            return NULL;
        }
    }

    Changed:
    Code:
    CBasePin * CDumpFilter::GetPin(int n)
    {
        Sleep(10);
        if (n == 0) {
            return m_pDump->m_pPin;
        } else {
            return NULL;
        }
    }

    Yapp, thats all, waiting for 10ms fixed this for me.
    I found out that function "STDMETHODIMP CDumpInputPin::Receive(IMediaSample *pSample)" doesn´t get called when the error occurs. I think thats the reason for the timeshiftfile to stay at 0 bytes. So I placed a LogDebug in "GetPin(int n)" and with that log-output the problem was solved. Because I didn´t want the log file to become too big I replaced LogDebug with the Sleep command, and it still works. Thats why I think it is kind of a timing problem.

    Hope you find a solution for everyone
    Stepko
     

    Fredd_1001

    Portal Pro
    October 28, 2007
    79
    0
    Almere
    Home Country
    Netherlands Netherlands
    Is there any news on this issue?
    It would help me very much. At this stage I can't use MP to watch/recored TV at all in combination with my floppyDTV-S2 on the canaal+ channels. :(
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    Setting the timeshift file size > 1.5 GB also triggers the issue here.
     

    Fredd_1001

    Portal Pro
    October 28, 2007
    79
    0
    Almere
    Home Country
    Netherlands Netherlands
    I've tried if the problem is allso there with Vista.
    But the problem is exactly the same :mad:
    I hoped that Vista would use other timings etc, but nope that's no solution.....:D
     

    Users who are viewing this thread

    Top Bottom