No video/audio detected (3 Viewers)

Stepko

Retired Team Member
  • Premium Supporter
  • September 29, 2007
    186
    152
    Hamburg/Wolfsburg
    Home Country
    Germany Germany
    On my boxes I can reproduce it this way (i´ve only one analog card installed):

    - Install latest TVServer
    - Setup TV-Card and scan for channels
    - Set recordingdir to d:\recordings
    - Set timeshiftdir to d:\recordings\timeshift
    - In TVServer-configuration goto "Manual Control"
    - Select any channel
    - Press "Start Timeshift"

    Nothing happens for about 10 seconds, then the message "No Audio/Video detected" is shown.

    Using this folderconfiguration the error occurs everytime. Perhaps there is more than one reason for that error as some people experience it only randomly.

    Right now I´m at work, so I cannot post my logfiles. :(
     

    Stepko

    Retired Team Member
  • Premium Supporter
  • September 29, 2007
    186
    152
    Hamburg/Wolfsburg
    Home Country
    Germany Germany
    I have to correct my last post. Since yesterday the error occurs on my system randomly, too.

    But now I know that the errormessage is kind of misleading. Like MadDuke already said the problem seems to be the timeshiftfile "live*-0.ts.tsbuffer". Sometimes this file isn´t closed properly. The next time TV is activated the TVServer tries to create the new timeshiftfile which isn´t possible because of "live*-0.ts.tsbuffer" still being opened. The function WaitForTimeShiftFile (Timeshifter.cs, line 248) waits for the timeshiftfile to become greater than 0,5MB. But this file is never created, so it won´t ever get that big and after a timeout the well known errormessage appears.
    So the big question is: Why is the "live*-0.ts.tsbuffer" still opened when TV is deactivated?
    I hope one of the devs can answer me some questions, then I will have another look at the sources.

    - For writing the timeshift file a com-object is used that implements "IMPRecord". Where can I find the sources? It is in "Filters\sources\MPWriter"? When I try to compile that, I get an error "cannot find streams.h". Is "streams.h" part of the Platform SDK? (I think I need to install that)

    - What is the purpose of the "live*-0.ts.tsbuffer"-file? The video/audio data is stored in "live*-0.ts.tsbuffer1.ts"? (Btw, why is it called .tsbuffer1.ts?). Why and where is the "live*-0.ts.tsbuffer"-file created?


    Stepko
     

    dsundelin

    Portal Member
    October 14, 2007
    12
    0
    Any news on this problem? I´ve got it too but for me its so bad that i cant watch any channels at all. Tried to move the folders without any difference.
     

    seco

    Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    Lol this is ridiculous. I was watching live TV at the same time when another channel was recording and the video&audio stopped suddenly, after that "No audio/video detected".

    I deleted all TS buffer files that I could but some of them were use by "some" application.

    Then everything worked fine a while but AGAIN THE SAME PROBLEM. After that I couldn't delete any of the buffer files because all of them were in use (according Windows). Then the MP crashed my whole computer.

    For fuck's sake, it can't be that hard. I would pay a reasonable price for a working, stable DVB software but it is really sad that there is none free or non-free available.
     

    Stepko

    Retired Team Member
  • Premium Supporter
  • September 29, 2007
    186
    152
    Hamburg/Wolfsburg
    Home Country
    Germany Germany
    This is really hard to find, but I´ll give it a try:
    I changed some things in the MPFileWriter, that writes the timeshift file. This version is working on my box, but I had not much time to test it. As this error only occurs randomly, I´m not sure if its really fixed.

    So people, please try this file!

    If its working on your PC, please post it here. If its not working, post it, too :).

    Some things:
    - Make a backup copy of your MPFileWriter.ax beforehand!
    - Extract the new file to your TVServer-dir
    - Perhaps you need to stop the TVServer-service to replace the file.
    - You must restart the TVServer-service afterwards

    The new file is build as a debug version. It may run much slower that the original one. It is not intendet to be used on a production system. For testing purposes only! If the errormessage still apears, please post your "MPFileWriter.Log" (this version prints out more debug infos).

    Stepko

    EDIT:
    Do not use this old version of MPFileWriter any longer. New version available here.
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    I only get this on DVB-S if an svn update cannot run smoothly. E.g. if I forget to check whether the service really stopped (taskmgr). In most of these cases some filters cannot be registered. Most likely unregistering/registering new tswriter has failed.

    To be save from that:
    - always make sure tvservice.exe doesn't show up on taskmgr anymore.
    - reboot after uninstalling TVE3 and TVPlugin
    - install and configure new build
    - reboot
    - use TV again.
     

    Damandan

    Portal Pro
    May 19, 2007
    111
    12
    41
    Tegelen
    Home Country
    Netherlands Netherlands
    So I think I may have the same problem, but only on three specific channels. I tried the new MPFileWriter but did not find MPFileWriter.Log. However tv.log seems to be more detailed now??? Hope you learn something from these logs.

    What I did to provide these logs is the following:
    - Start TV-server with the new file.
    - Go to the channel overview and click on preview of RTL 5.
    - after a while the "no video/audio" window pops up.
    - A few seconds later I click on preview of RTL 4.
    - All works well.

    So you should see in the logs in order of appearance:
    1. a sequence for a non-working channel.
    2. a sequence for a working channel.

    Let's see to what this leads.

    PS. Tested this with the latest svn of TVE.

    Update: Well aparently my problem was not MP related, but a problem at the cable company. Problem solved. But maybe the logs are still of some use for someone.
     

    Stepko

    Retired Team Member
  • Premium Supporter
  • September 29, 2007
    186
    152
    Hamburg/Wolfsburg
    Home Country
    Germany Germany
    rtv: Thanks for the hint. Tried the steps but without any luck - problem still there (with original MPFileWriter). As far as I can remember the errormessage also appeared after my first install (which ran smoothly) on a clean XP-Pro.

    I built a new patched version of the MPFileWriter. Please use this one, it is build without all the debug-stuff and works pretty good on my system. There were 9 downloads but only one reply..?!?
    I think the problem is some kind of a timing problem between MP, DirectShow and MPFileWriter. But thats just a guess.

    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.
     

    Fredd_1001

    Portal Pro
    October 28, 2007
    79
    0
    Almere
    Home Country
    Netherlands Netherlands
    Hi guy's , I have the same problem.....
    I tried some debugging (alltough I'm a newbie) and found the following:

    My system config : Clean WinXP -SP2 install with latest TVE3 snapshot and SVN builds. With a FloppyDTV-S2 card, a magic CAM, and a Canaal+ card.
    The problem only seems to occur when I tune to one of the channels belonging to the Canaal+ package, BUT(!) only with the CAM inserted and the error messages depends on the channel being scrambeled or not.
    If I tune to a free to air channel with the CAM inserted I get No video/Audio detected. On a scrambled channel TVserver reports channel is scrambeled (offcoarse!! that's why I paid for the canaal+ card ;-) )
    As soon as I take out de CAM the free to air channel works fine (manual timeshift from within TVserver).
    When I try a (free to air) channel from another provider then everything works fine, it doesn't matter if the CAM is in or out then.
    So I had a look to the TV logfile, and I allso have the same problem: 2007-11-04 20:57:23.500000 [9]: card: timeshifting fileSize:0 TIMEOUT.
    So maybe this can help you guys in finding the cause for the error.
    I will allso have a deeper look into this (as far as is possible with my knowledge), and if I can help in any way with testing, please let me know!
     

    Users who are viewing this thread

    Top Bottom