No video/audio detected (2 Viewers)

nrdgalor

Portal Member
September 4, 2005
7
0
TV-Server Version: RC01 SVN19127
MediaPortal Version: RC01 SVN19127
MediaPortal Skin: DEFAULT
Windows Version: XPSP3
CPU Type: INTEL P4 3.2
HDD: HDD0-80/HDD1-160
Memory: 3G
Motherboard: HP D530 INTEL BOARD
Video Card: NVIDIA GFORCE 6600GT
Video Card Driver: 169.21_forceware
Sound Card: ONBOARD
Sound Card AC3:
Sound Card Driver: DEFAULT FROM HP WEBSIT
1. TV Card: ADAPTEC AVC-3610 DUAL TV TUNER (HP BRANDED WITH A LAPTOP I BOUGHT)
1. TV Card Type:
1. TV Card Driver: HP WEBSITE DEFAULT
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: MPV
MPEG2 Audio Codec: MPA
h.264 Video Codec: FFDSHOW
Satelite/CableTV Provider: COMCAST
HTPC Case: TOWER
Cooling: FANS
Power Supply: 400W
Remote: LOGITECH HARMONY 890 UNIVERSAL
TV:
TV - HTPC Connection:

i have tried all that i have found on this issue, yet i still get the no video/audio when i try to start timeshifting. nothing gets written to the log files. i started a fresh install of the os with xp sp2, xp sp3, vista 32bit, vista 32bit sp1. all with the same outcome.

this is what i did for all the os installs
- format drive
- install os
- install drivers
- patch down os
- install MP rc01
- install ffdshow
- install mkv
- install vob
- configure tv server channels
- try to start timeshift

could this be the tv card i have? any ideas would help. i love mp and would still like to use the tv server now that i have moved up to rc01 from the old version.
 

chemelli

Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    52
    Milano, Italy
    Home Country
    Italy Italy
    Quick look at your logs:

    2008-05-30 21:30:10.453125 [TVService]: Controller: Error cleaning old ts buffer - The path is not of a legal form.

    and

    2008-05-30 23:13:29.390625 [4]: card: WaitForTimeShiftFile - waiting _eventAudio & _eventVideo
    2008-05-30 23:13:33.140625 [4]: card: WaitForTimeShiftFile - new observer based method didn't work, using the old one as fall back!
    2008-05-30 23:13:40.687500 [4]: card: timeshifting fileSize:0 TIMEOUT

    So please fix the recording path, clean log, and retry...

    Simone
     

    nrdgalor

    Portal Member
    September 4, 2005
    7
    0
    hi chemelli, the ts file does not exist in the dir's. what happens is the file gets created as i push the start timeshifting button with 0k. then after about 15 seconds the error comes out no audio/video... and the file is removed. i had the path as c:\timeshift. i have used my secondary drive as well d:\timeshift, and C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal TV Server\timeshift. but that does not work either. i have never been able to successfully preview any channel.
    thanks
     

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Home Country
    Germany Germany
    nrdgalor, not sure if it helps you , but i had exactly the same error message when I was running out of disk space on my drive. Maybe also incorrect file/directory access rights could cause that. In my case the time shifting .ts file could not be opened for writing.
     

    nrdgalor

    Portal Member
    September 4, 2005
    7
    0
    huha, i checked all my securities on the folders and the user has all rights as well as everyone, just in case.
     

    Freak

    Portal Member
    May 28, 2007
    31
    0
    48
    Home Country
    Indeed i just setup MP after a while of not using it, i just did a new install of RC1, SQLExpress etc..

    "No Video/Audio detected"

    After finding this thread, I changed the timeshift folder options (under recording) in TV Server configuration,
    and instantly i could preview the channels, and get them to work in MP as well. I tried the one folder on my machine that has full sharing rights, it worked... So i changed my folder settings to everyone on another new directory and that works too now, thanks for the tips

    PS... I made the timeshift directory the same as my record directory, as the"timeshifter" subdirectory it defaults too causes the problem too..
     

    kszabo

    MP Donator
  • Premium Supporter
  • December 6, 2007
    796
    86
    Germany, Bayern
    Home Country
    Hungary Hungary
    My experiences with no video/audio detected (maybe this helps some) and "cannot start graph", tipps they helped:

    - keep your system clean (no codec packs!, latest ffdshow as genaral codec is enough, maybe PDVD7)
    - if you have problems, delet the TVlibrary Database (maybe corrupt) and generate a new one (new channel scan, takes 30 min, but it is clean then)
    - good drivers and patches (not always latest!, try and error :), Chipset driver, AMD DualCoreOptimizer etc ) for XP and TV-Card

    I use a separate 12 GB partition for timeshifting without folder.
     

    JePe

    New Member
    June 9, 2008
    4
    0
    Home Country
    Netherlands Netherlands
    TV-Server Version: mediaportal-svn-06-13-2008--23-32-Rev19376
    MediaPortal Version: mediaportal-svn-06-13-2008--23-32-Rev19376
    MediaPortal Skin: Blue
    Windows Version: XP SP3
    CPU Type: AMD X2 4050e
    HDD: 200Gb WD ATA
    Memory: 2Gb Corsair PC6400
    Motherboard: Gigabyte 78GM-S2H
    Video Card: onboard
    Video Card Driver: Catalyst 8.5
    Sound Card: onboard
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: TechnoTrend C-1501
    1. TV Card Type: DVB-C
    1. TV Card Driver: BDA 5.0.0.19
    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: PowerDVD 7.3
    MPEG2 Audio Codec: PowerDVD 7.3
    h.264 Video Codec:
    Satelite/CableTV Provider:
    HTPC Case: OrigenAe H6
    Cooling:
    Power Supply: 250W
    Remote: IrTrans
    TV: Samsung LE26R81B
    TV - HTPC Connection: HDMI

    Maybe I can bring some life to this thread. I'm a software developer myself, not active in MediaPortal nor an expert on C#. I can however read the source code quite well to a certain level and I've done many DVB-T projects. I face the same problem as most of the posters in this thread, no audio/video using a TechnoTrend C-1501 DVB-C card.

    I've been looking into tv.log, tswriter.log and TimeShifter.cs and I notice the following:

    1) tv.log tells me that my card has a CAM attached which is not the case. This doesn't seem to be the root of the problem though.
    2) tswriter.log tells me on a successful tune

    2008-06-25 20:44:55.109375 [10]: card: WaitForTimeShiftFile - waiting _eventAudio & _eventVideo
    2008-06-25 20:44:55.125000 [14]: PID seen - type = Audio
    2008-06-25 20:44:55.125000 [14]: audioVideoEventHandler Audio
    2008-06-25 20:44:55.500000 [14]: PID seen - type = Video
    2008-06-25 20:44:55.500000 [14]: audioVideoEventHandler Video
    2008-06-25 20:44:55.500000 [10]: card: WaitForTimeShiftFile - start of the video & audio is seen

    This means the callback 'AudioVideoEventHandler' in TimeShifter.cs is done.

    On an unsuccesful tune the callback is never done, or maybe long after the WaitForTimeShiftFile timeout.

    2008-06-25 20:45:18.406250 [4]: card: WaitForTimeShiftFile - waiting _eventAudio & _eventVideo

    PMT tables are being received correctly though. WaitForTimeShiftFile reverts back to a fallback scenario that fails for a reason which results in the no audio/video, I'll come to that. At the least the missing callback is suspisious (timing or racecondition pops in my mind) and is one of the root causes.

    3) From the tv.log I can see upon a channel switch that a tune is done and PMT is received. The logging tells me timeshifting hasn't been stopped (already strange) as there is no "card: StopTimeShifting user:" log line.
    After the tune, I enter the TimeShifter.Start method again and from the logging I conclude that the following expression is true: "if (subchannel.IsTimeShifting)". That is strange as it cannot be timeshifting since I already tuned away from my previous channel, there simply is no input TS yet (there is but not yet decoded). Even so, WaitForTimeShiftFile is called and there we get into a serious problem.

    2008-06-25 20:45:22.156250 [4]: card: WaitForTimeShiftFile - new observer based method didn't work, using the old one as fall back!
    2008-06-25 20:45:22.156250 [4]: card: timeshifting fileSize=12340320 initialFileSize=12340320 minTimeShiftFile=102400

    Look at the last line, if I evaluate the following source code line
    "if (((initialFileSize < minTimeShiftFile) && (fileSize >= minTimeShiftFile)) || (fileSize >= (initialFileSize + minTimeShiftFile)))"
    the expression will never be true, since it waits for the .ts file to be increased with 102400 bytes. It will never reach this as there is no input data.

    Hence, the function runs into a timeout, returns false and eventually TvResult.NoVideoAudioDetected.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Look at the last line, if I evaluate the following source code line
    "if (((initialFileSize < minTimeShiftFile) && (fileSize >= minTimeShiftFile)) || (fileSize >= (initialFileSize + minTimeShiftFile)))"
    the expression will never be true, since it waits for the .ts file to be increased with 102400 bytes. It will never reach this as there is no input data.

    Hence, the function runs into a timeout, returns false and eventually TvResult.NoVideoAudioDetected.

    Thats only the symptom, not the reason. The problem is on lower level as you can see that there is no data coming from TsWriter.ax to the TS buffer files.

    Code:
    25-06-2008 20:45:08.765 pmtgrabber: got pmt 514 sid:10
    25-06-2008 20:45:08.765 pmtgrabber: got pmt version:2 -1
    25-06-2008 20:45:08.765 pmtgrabber: do calback
    25-06-2008 20:45:08.765 TechnoTrend: Get CI Slot State
    25-06-2008 20:45:08.765 Technotrend: bdaapiCIGetSlotStatus failed:15
    25-06-2008 20:45:08.765 TechnoTrend: DescrambleMultiple:(1)
    25-06-2008 20:45:08.765 TechnoTrend: DescrambleMultiple: serviceId:16
    25-06-2008 20:45:08.765 TechnoTrend: IsCamPresent: 1
    25-06-2008 20:45:08.765 TechnoTrend: IsCamReady: 0
    25-06-2008 20:45:08.781 TechnoTrend: IsCamPresent: 1
    25-06-2008 20:45:08.781 TechnoTrend: IsCamReady: 0

    Based on the log (havent ever checked the CI or card specific code in TsWriter.ax) it looks like the CAM would be present (like you already have noticed). Now this might be actually the issue as TsWriter tries to communicate with the CI (that doesnt even exists!). Based on the log the CI tried to access over 15 seconds and during that time the timeout for NoVideoAudioDetected is triggered.
     

    Users who are viewing this thread

    Top Bottom