Well, after so long without any hitches I was suprised to download a video file that did play, but with the audio out of sync. Convinced the file itself must be at fault I just deleted it and did not give it another thought.
But today I downloaded more video files and the same thing! It seems the video files in question are all 'X264' files, where previously they were mkv; Video: MPEG4 Video (H264) 720x404 23.98fps [Output 1]
Audio: AAC 48000Hz stereo [Output 2]
I am using Win7-64.
So then I embarked on an AAC oddysey, trying to get ffdhshow to play them instead of whatever the default was, and not finding a simple file to rename like MP3mod.dll in windows/system I downloaded W7DSfiltertweaker and used that.
So now ffshow was used for the audio - but it's still out of sync! And not by a small amount - I am talking 3-4 seconds out :-(
The files do play fine in Media Center Home Cinema and Windows Media Center
So peeps. have you come across these horrible X264 files and if so, how do you get them in sync in GBPVR or NPVR?
I have an XP Pro server with NPVR working fine locally. I'm attempting to set up clients on an XP Home and a Win7 machine. I have the database directory in shareddocs\NVPR and the registry pointed there. I shared the NPVR directory as well and gave everyone full permissions. I set both clients to server name media and path \\media\npvr. I also tried the full path \\media\shareddocs\nvpr. Both client machines can browse to the nvpr data directory.
In both cases on both clients starting nvpr does not complain about the path being inaccessible (as the default location would despite being shared) but clicking anything that wants to use the database (Live TV, Guide, Settings) results in a cant find database exception.
Looking for people willing to help test live TV support for WTV or DVR-MS
You need to run comskip manually on a file while and after being recorded and send me the redirected stderr and the log files
Only reply if you understand the above.
(I need to update my signature)
So I wanted to apply the Incomplete EPG patch, but the comment is "You'll need to have the recent skipping patches installed aswell."
I was at R1, so I downloaded and applied the Pre-R2 Skip Patch 2a, and the NShared.zip in the EPG thread.
And that's when the nightmare began.
Two days later, I realised that shows had not been recorded. Investigation revealed:
Nothing had been recorded
NTray was taking about 60 secs to open its menu
EPG display had pending recordings un-coloured
Recurring recordings were not being scheduled
System was saying "Unable to communicate with recording service"
No EPG updates had occurred
There was no ndigitalhost.log or ndigitalhost.log.1 (there was a .2, but it predated the patch)
Status had no devices
Restarting the recording service had no effect. Rebooting had no effect. Re-installing and re-R1-patching had no effect.
It looked like the recording service just went into winter hibernation.
The Windows sidebar gadget seemed to be OK, and was showing pending recordings that the TV Guide displays was not.
I finally had to completely uninstall, and start from scratch, rescan devices, import my recurring recordings, change all my settings and the like.
It all seems OK now, but I am terrified to try to apply the skip patch again.
Can I confirm,
The skip patch is a single patch. It updates a lot of files, but its no different to any other patch?
Does it have pre-requisites (like R1)?
The Nshared.zip patch for the EPG update needs to be applied after the Pre-R2 Skip patch?
If I apply 2b, do I need to re-apply the EPG patch?
If I zip up my program directory, apply the patch, test it and find problems, is it enough to just unzip the old directory again? Or are there things that need re-registering or other magic?
jksmurf Wrote:Thanks Martin. I have had some recent problems with files where the timeline went way out of whack so might help, but that may be just a poor recorded timeline to start with. I have had some resume issues though. Couple of quick additional q's:
I moved it out of the announcement thread to the support forum so I can keep the announcement part going.
Quote: 1. Should/can I call from postprocessing.bat? If yes I will put it in the Scripts folder.
Definitely not, it would be a waste of time. writeTime is meant to work with files that don't have a Timing.Info and is not a utility to fix a timeline.
Quote: 2. If yes, then syntax would be writeTime %1?
No it would be "\Pathto\writeTime" "%1" but it is not a good idea in postprocessing.bat
Quote: 3. Will filename.ts.Timing.Info be deleted from the folder when the show is deleted (I would like it to be).
Yes, it does for me, but in my config.xml I do have <DeleteAdditionalExtensions>Timing.Info,....
Anyone that can give me tips on what to search for ?
I get this NPVR.log
started NPVR
selected recordings
and in log I see "Unexpected error parsing EPGEvent xml" every 2 minutes
Code:
[...startup]
2012-03-10 23:07:18.212 [DEBUG][1] Created mutex. Must be only instance.
2012-03-10 23:07:18.402 [DEBUG][1] Version: 2.3.6
2012-03-10 23:07:18.403 [DEBUG][1] SingleInstance()
2012-03-10 23:07:18.551 [INFO][1] About to connect to remote recording service
2012-03-10 23:07:18.552 [DEBUG][1] RecordingServiceProxy@exit
2012-03-10 23:07:18.579 [DEBUG][1] Using skin: C:\Users\Public\NPVR\skin\Default\
2012-03-10 23:07:18.585 [DEBUG][1] About to look for plugin directories in: C:\Users\Public\NPVR\Plugins\
2012-03-10 23:07:18.586 [DEBUG][1] About to check for plugin interfaces in: C:\Users\Public\NPVR\Plugins\System\System.dll
2012-03-10 23:07:18.587 [DEBUG][1] Plugin PDB also exists: C:\Users\Public\NPVR\Plugins\System\System.pdb
2012-03-10 23:07:18.654 [DEBUG][1] Skipping non-existant plugin directory: C:\Program Files\NPVR\Plugins\
2012-03-10 23:07:18.659 [DEBUG][1] Loaded menu item: TV Guide
2012-03-10 23:07:18.685 [DEBUG][1] Loaded menu item: Recordings
2012-03-10 23:07:18.687 [DEBUG][1] Loaded menu item: Search
2012-03-10 23:07:18.688 [DEBUG][1] Loaded menu item: Music
2012-03-10 23:07:18.689 [DEBUG][1] Loaded menu item: Videos
2012-03-10 23:07:18.691 [DEBUG][1] Loaded menu item: Pictures
2012-03-10 23:07:18.692 [DEBUG][1] Loaded menu item: DVD
2012-03-10 23:07:18.693 [DEBUG][1] Loaded menu item: Exit
2012-03-10 23:07:18.694 [DEBUG][1] Loaded menu item: System
2012-03-10 23:07:18.904 [DEBUG][1] Supports HardwareVertexProcessing
2012-03-10 23:07:18.905 [DEBUG][1] Supports PureDevice
2012-03-10 23:07:23.503 [INFO][3] Checking online for updated versions...
2012-03-10 23:07:23.503 [INFO][3] Web@1
2012-03-10 23:07:23.941 [DEBUG][1] Frame Render Rate=101,065582275391
2012-03-10 23:07:24.334 [INFO][3] Online check reports version info:
<version><component name="NextPVR" version="2.3.6" display="NextPVR 2.3.6"><url>http://forums.nextpvr.com/showthread.php?50536-2-2-6-available-(28th-August)</url></component></version>
2012-03-10 23:07:24.334 [INFO][3] current online version: 2.3.6
2012-03-10 23:07:24.334 [INFO][3] last notified version: 2.3.6
2012-03-10 23:07:36.566 [DEBUG][1] Element not found: /Skin/Element[@name="ButtonList"]
2012-03-10 23:07:36.642 [DEBUG][1] LoadList@0
2012-03-10 23:07:36.649 [DEBUG][1] LoadList@1
2012-03-10 23:07:36.780 [DEBUG][1] LoadList@2
2012-03-10 23:07:36.780 [DEBUG][1] LoadList@3
.
.
.
2012-03-10 23:07:36.844 [DEBUG][1] Looking for: C:\Users\Public\NPVR\Media\Channels\Sjuan.gif
2012-03-10 23:07:36.853 [ERROR][1] Unexpected error parsing EPGEvent xml: System.Xml.XmlException: Ett fel uppstod när EntityName tolkades. Rad 18, position 18.
vid System.Xml.XmlTextReaderImpl.Throw(Exception e)
vid System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
vid System.Xml.XmlTextReaderImpl.Throw(String res)
vid System.Xml.XmlTextReaderImpl.ParseEntityName()
vid System.Xml.XmlTextReaderImpl.ParseEntityReference()
vid System.Xml.XmlTextReaderImpl.Read()
vid System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
vid System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
vid System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
vid System.Xml.XmlDocument.Load(XmlReader reader)
vid System.Xml.XmlDocument.LoadXml(String xml)
vid NUtility.EPGEvent.Parse(String xml)
2012-03-10 23:07:36.853 [ERROR][1] xml:
<Event>
<OID>1060274</OID>
<Title>Law & Order: Special Victims Unit</Title>
<SubTitle>Users</SubTitle>
<Description>En bild från en brottsplats på en mördad tonårsflicka blir snabbt ett internet-fenomen, och utredningen leder till offrets pappa och till flickans terapeut.Amerikansk kriminalserie från 2009-10. Här möter vi en specialgrupp inom New York-polisen som utreder sexrelaterade brott. Vi följer främst detektiv Elliot Stabler, som är en veteran som sett allt, och detektiv Olivia Benson, som gått med i gruppen på grund av en traumatisk våldtäkt i sitt förflutna. Amerikansk kriminalserie från 2009-2010.</Description>
<ChannelOID>7342</ChannelOID>
<StartTime>2012-03-05T22:35:00.0000000Z</StartTime>
<EndTime>2012-03-05T23:30:00.0000000Z</EndTime>
<FirstRun>true</FirstRun>
<OriginalAirDate>1999-01-01T00:00:00.0000000</OriginalAirDate>
<Season>11</Season>
<Episode>7</Episode>
<StarRating>7.4 / 9</StarRating>
<Genres>
<Genre>series</Genre>
<Genre>Drama</Genre>
</Genres>
<UniqueID>Law & Order: Special Victims Unit-S011E007</UniqueID>
</Event>
2012-03-10 23:07:36.853 [ERROR][1] Unexpected error parsing EPGEvent xml: System.Xml.XmlException: Ett fel uppstod när EntityName tolkades. Rad 18, position 18.
vid System.Xml.XmlTextReaderImpl.Throw(Exception e)
vid System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
vid System.Xml.XmlTextReaderImpl.Throw(String res)
vid System.Xml.XmlTextReaderImpl.ParseEntityName()
vid System.Xml.XmlTextReaderImpl.ParseEntityReference()
vid System.Xml.XmlTextReaderImpl.Read()
vid System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
vid System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
vid System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
vid System.Xml.XmlDocument.Load(XmlReader reader)
vid System.Xml.XmlDocument.LoadXml(String xml)
vid NUtility.EPGEvent.Parse(String xml)
2012-03-10 23:07:36.853 [ERROR][1] xml:
<Event>
<OID>1059941</OID>
<Title>Law & Order: Criminal Intent</Title>
<SubTitle>Yesterday</SubTitle>
<Description>En far och son blir attackerade och får sina halsar avskurna. Detektiverna upptäcker att en grupp unga tonåriga pojkar dessutom försvunnit från bostadsområdet i samma veva. När grannar runt omkring inte känner sig manade att hjälpa till med utredningen fattar detektiverna misstanke om att pojkarna har utnyttjats av någon annan.Del 18:22.</Description>
<ChannelOID>7462</ChannelOID>
<StartTime>2012-03-06T03:20:00.0000000Z</StartTime>
<EndTime>2012-03-06T04:10:00.0000000Z</EndTime>
<FirstRun>true</FirstRun>
<OriginalAirDate>2001-01-01T00:00:00.0000000</OriginalAirDate>
<Season>1</Season>
<Episode>18</Episode>
<StarRating>7.7 / 9</StarRating>
<Genres>
<Genre>series</Genre>
<Genre>Drama</Genre>
</Genres>
<UniqueID>Law & Order: Criminal Intent-S001E018</UniqueID>
</Event>
2
Here is a small command line utility that create an external Timing.Info file for use with old ts files or ts files that have been cut or edited. It is based on timing information in the file itself (PCR) and it does adjust for some PCR timeline errors.
Normally you don't need to use any options, but if you want here they are:
Code:
Usage: writeTime.exe [-f] [-s #] [-o] [-d filename] filename.ts
-a analyze ts file
-f fast skipping, default read every packet
-s # number of packets to skip default if skipping is enable is 20
-o overwrite timing.info default is to exist if an external file is found.
-d debug filename default is NUL use CON if you want to redirect to a file, otherwise it is a filename.
-c copy ADS Timing.Info if found
If you don't like command prompt, you can use Windows Explorer and drop the file onto the writeTime icon