[solved] Timeshift to Ram Disk not working (1 Viewer)

rlevis

MP Donator
  • Premium Supporter
  • August 15, 2008
    517
    32
    Home Country
    New Zealand New Zealand
    MP/TV Server 1.12.0
    Windows 7 SP1 32-bit
    8GB RAM

    I've set up Gavotte's RRamdisk using 4GB RAM, with UsePAE enabled to utilize the 4GB above what the operating system can use. I've tested it by copying a large file to the drive and it works perfectly.

    When I set TV Server to use this drive for time shifting, I see 2 buffer files appear for a split second and then gone. The MP client then says "unable to play" and the name of the time shift file. Switch back to hard drive folder and no problem.

    I'm using 256MB files at Min 5, Max 5, which is enough for 3 clients.

    Anyone have any ideas?

    I can't see anything obvious in the logs. This is the TVServer.log of an attempt. Any other logs required?

    [2015-09-01 03:56:30,016] [Log ] [20 ] [INFO ] - **************************************************
    [2015-09-01 03:56:30,017] [Log ] [20 ] [INFO ] - ***** SIGNAL LEVEL: 0, SIGNAL QUALITY: 20 *****
    [2015-09-01 03:56:30,017] [Log ] [20 ] [INFO ] - **************************************************
    [2015-09-01 03:56:30,018] [Log ] [20 ] [DEBUG] - card: tuned user: SPL subchannel: 0
    [2015-09-01 03:56:30,018] [Log ] [20 ] [INFO ] - userPL add
    [2015-09-01 03:56:30,018] [Log ] [20 ] [INFO ] - card2PL 16 0
    [2015-09-01 03:56:30,018] [Log ] [20 ] [INFO ] - Controller: delete timeshift files R:\live16-0.ts
    [2015-09-01 03:56:30,019] [Log ] [20 ] [INFO ] - Controller: epg stop
    [2015-09-01 03:56:30,021] [Log ] [20 ] [INFO ] - card: StartTimeShifting 16 R:\live16-0.ts
    [2015-09-01 03:56:30,022] [Log ] [20 ] [INFO ] - card: CAM enabled : False
    [2015-09-01 03:56:30,023] [Log ] [20 ] [INFO ] - subch:0 SetTimeShiftFileName:R:\live16-0.ts
    [2015-09-01 03:56:30,023] [Log ] [20 ] [INFO ] - Set video / audio observer
    [2015-09-01 03:56:30,024] [Log ] [20 ] [INFO ] - subch:0 SetTimeShiftFileName fill in pids
    [2015-09-01 03:56:30,025] [Log ] [20 ] [INFO ] - subch:0-0 tswriter StartTimeshifting...
    [2015-09-01 03:56:30,026] [Log ] [20 ] [INFO ] - card: WaitForFile - waiting _eventAudio & _eventVideo
    [2015-09-01 03:56:30,049] [Log ] [7 ] [INFO ] - PID seen - type = Video
    [2015-09-01 03:56:30,050] [Log ] [7 ] [INFO ] - audioVideoEventHandler Video
    [2015-09-01 03:56:30,075] [Log ] [7 ] [INFO ] - PID seen - type = Audio
    [2015-09-01 03:56:30,075] [Log ] [7 ] [INFO ] - audioVideoEventHandler Audio
    [2015-09-01 03:56:30,076] [Log ] [20 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.0500029 seconds
    [2015-09-01 03:56:30,080] [Log ] [20 ] [INFO ] - TimeshiftingEPG: channel Maori Television is not configured for grabbing epg
    [2015-09-01 03:56:30,081] [Log ] [20 ] [INFO ] - userPL card:16 sub:0 add stream:R:\live16-0.ts.tsbuffer
    [2015-09-01 03:56:30,082] [Log ] [20 ] [INFO ] - RTSP: add stream stream16.0 file:R:\live16-0.ts.tsbuffer
    [2015-09-01 03:56:30,083] [Log ] [20 ] [INFO ] - Controller: StartTimeShifting started on card:16 to R:\live16-0.ts.tsbuffer
    [2015-09-01 03:56:30,084] [Log ] [20 ] [DEBUG] - CardReservation.RemoveTuneTicket: removed reservation with id=17, tuningdetails=DVBT:tv:Kordia Maori Television Freq:594000 ONID:8746 TSID:33 SID:1400 PMT:0xC8 FTA:True LCN:5 BandWidth:8
    [2015-09-01 03:56:30,084] [Log ] [20 ] [INFO ] - Controller: SPL 16 0
    [2015-09-01 03:56:30,085] [Log ] [20 ] [INFO ] - control2PL 16 0
    [2015-09-01 03:56:30,088] [Log ] [9 ] [DEBUG] - Controller: DoSetChannelStates for 56 channels
    [2015-09-01 03:56:30,093] [Log ] [20 ] [DEBUG] - CiMenuSupported called cardid 16
    [2015-09-01 03:56:30,093] [Log ] [20 ] [DEBUG] - CiMenuSupported card Hauppauge WinTV-7164 BDA DVBT Tuner supported: False
    [2015-09-01 03:56:30,098] [Log ] [9 ] [INFO ] - ChannelStates.GetAllTimeshiftingAndRecordingChannels took 1 msec
    [2015-09-01 03:56:30,218] [Log ] [9 ] [INFO ] - ChannelStates.DoSetChannelStates took 129 msec
    [2015-09-01 03:56:31,464] [Log ] [20 ] [INFO ] - Controller: StopTimeShifting 16
    [2015-09-01 03:56:31,467] [Log ] [20 ] [DEBUG] - CardTuner.RequestCardStopReservation: placed reservation with id=18, user=SPL
    [2015-09-01 03:56:31,567] [Log ] [20 ] [DEBUG] - CardTuner.Stop: ticket id=18, found=True
    [2015-09-01 03:56:31,568] [Log ] [20 ] [INFO ] - Stop cardid=16, ticket=18, tunestate=Idle, stopstate=Stopping
    [2015-09-01 03:56:31,568] [Log ] [20 ] [INFO ] - card Hauppauge WinTV-7164 BDA DVBT Tuner: StopTimeShifting userPL sub:0
    [2015-09-01 03:56:31,569] [Log ] [20 ] [DEBUG] - card not IDLE - removing user: SPL
    [2015-09-01 03:56:31,570] [Log ] [20 ] [DEBUG] - usermanagement.RemoveUser: SPL, subch: 0 of 1, card: 16
    [2015-09-01 03:56:31,570] [Log ] [20 ] [INFO ] - userPL remove
    [2015-09-01 03:56:31,571] [Log ] [20 ] [INFO ] - subch:0-0 tswriter StopTimeshifting...
    [2015-09-01 03:56:31,573] [Log ] [20 ] [INFO ] - tvcard:FreeSubChannel: subchannels count 1 subch#0
    [2015-09-01 03:56:31,573] [Log ] [20 ] [INFO ] - DVB subch:0 Decompose()
    [2015-09-01 03:56:31,574] [Log ] [20 ] [INFO ] - FreeSubChannel CA: freeing sub channel : 0
    [2015-09-01 03:56:31,575] [Log ] [20 ] [INFO ] - tvcard:FreeSubChannel : no subchannels present, pausing graph
    [2015-09-01 03:56:31,575] [Log ] [20 ] [INFO ] - dvbtopGraph called
    [2015-09-01 03:56:31,575] [Log ] [20 ] [INFO ] - tvcard:FreeAllSubChannels
    [2015-09-01 03:56:31,576] [Log ] [20 ] [INFO ] - dvbtopGraph
    [2015-09-01 03:56:31,796] [Log ] [20 ] [INFO ] - debug: IMediaControl stopped! hr = 0x0
    [2015-09-01 03:56:31,798] [Log ] [TS_File_Cleanup] [INFO ] - card: delete timeshift files R:\live16-0.ts
    [2015-09-01 03:56:31,800] [Log ] [20 ] [INFO ] - dvbtopGraph called
    [2015-09-01 03:56:31,801] [Log ] [20 ] [INFO ] - tvcard:FreeAllSubChannels
    [2015-09-01 03:56:31,801] [Log ] [20 ] [INFO ] - dvbtopGraph filterstate already stopped, returning.
    [2015-09-01 03:56:31,802] [Log ] [20 ] [INFO ] - userPL remove
    [2015-09-01 03:56:31,802] [Log ] [20 ] [DEBUG] - CardReservation.RemoveStopTicket: removed STOP reservation with id=18
    [2015-09-01 03:56:31,803] [Log ] [20 ] [INFO ] - Controller:Timeshifting stopped on card:16
    [2015-09-01 03:56:31,803] [Log ] [20 ] [INFO ] - RTSP: remove stream stream16.0
    [2015-09-01 03:56:31,805] [Log ] [9 ] [DEBUG] - Controller: DoSetChannelStates for 56 channels
    [2015-09-01 03:56:31,806] [Log ] [9 ] [INFO ] - ChannelStates.DoSetChannelStates took 0 msec
     

    rlevis

    MP Donator
  • Premium Supporter
  • August 15, 2008
    517
    32
    Home Country
    New Zealand New Zealand
    Sorry, I forgot I was using UNC paths in MP client for recording and time shifting and hadn't altered the MP client to access the RAM Disk. My bad.
     

    Users who are viewing this thread

    Top Bottom