home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Can't play live2-0.ts.tsbuffer
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="pete0" data-source="post: 777685" data-attributes="member: 74180"><p>Hello mm,</p><p></p><p><em>Despite the fact that the logging has come out okay now, can you please check what the DB says.</em></p><p></p><p>DB says for all cards: T:\Timeshift</p><p></p><p><em>Certainly I guess so. The relevant code in TsWriter is in DiskRecorder.cpp:</em></p><p></p><p>[CODE]</p><p>void CDiskRecorder::SetFileNameW(wchar_t* pwszFileName)</p><p>{</p><p> CEnterCriticalSection enter(m_section);</p><p> try</p><p> {</p><p> [B]WriteLog("set filename 1.parameter pszFileName :%s",pszFileName);[/B] </p><p> m_iPacketCounter=0;</p><p> m_iPmtPid=-1;</p><p> m_pcrPid=-1;</p><p> m_vecPids.clear();</p><p> m_AudioOrVideoSeen=false ;</p><p> m_bStartPcrFound=false;</p><p> m_bDetermineNewStartPcr=false;</p><p> wcscpy(m_wszFileName,pwszFileName);</p><p> if (m_recordingMode==RecordingMode::TimeShift)</p><p> wcscat(m_wszFileName, L".tsbuffer");</p><p> WriteLog(L"set filename:%s", m_wszFileName);</p><p> }</p><p> catch(...)</p><p> {</p><p> WriteLog(L"SetFilename exception");</p><p> }</p><p>}[/CODE]</p><p></p><p>I have inserted a command (bold line) to write the filename (pwszFileName) to the TsWriter log. This shows that the filename is already wrong as the following entry in the logfile shows.</p><p></p><p>18-08-2011 19:15:08.480 Recorder: TIMESHIFT set filename 1.parameter pszFileName :<strong>T</strong></p><p></p><p><em>Have you rebuilt the TsWriter filter or TV Server code?</em></p><p></p><p>Before this change in TsWriter I had not recompiled any of the DirectShowFilters. As I use MSBUILD with MSBUILD_Rebuild_Release_TVServer_Client.bat to build the svn, I guess TV Server code was rebuild.</p><p></p><p>Because I am more a software developer for embedded systems than for windows I do not have enough experience to debug with Visual Studio, do you have any idea where in the sources I hve to look to get the link between the value from the database and value Tswriter is using?</p><p></p><p>Regards</p><p>Peter</p><p></p><p>By the way, I am using an German installation of Windows 7 64Bit Professional</p></blockquote><p></p>
[QUOTE="pete0, post: 777685, member: 74180"] Hello mm, [I]Despite the fact that the logging has come out okay now, can you please check what the DB says.[/I] DB says for all cards: T:\Timeshift [I]Certainly I guess so. The relevant code in TsWriter is in DiskRecorder.cpp:[/I] [CODE] void CDiskRecorder::SetFileNameW(wchar_t* pwszFileName) { CEnterCriticalSection enter(m_section); try { [B]WriteLog("set filename 1.parameter pszFileName :%s",pszFileName);[/B] m_iPacketCounter=0; m_iPmtPid=-1; m_pcrPid=-1; m_vecPids.clear(); m_AudioOrVideoSeen=false ; m_bStartPcrFound=false; m_bDetermineNewStartPcr=false; wcscpy(m_wszFileName,pwszFileName); if (m_recordingMode==RecordingMode::TimeShift) wcscat(m_wszFileName, L".tsbuffer"); WriteLog(L"set filename:%s", m_wszFileName); } catch(...) { WriteLog(L"SetFilename exception"); } }[/CODE] I have inserted a command (bold line) to write the filename (pwszFileName) to the TsWriter log. This shows that the filename is already wrong as the following entry in the logfile shows. 18-08-2011 19:15:08.480 Recorder: TIMESHIFT set filename 1.parameter pszFileName :[B]T[/B] [I]Have you rebuilt the TsWriter filter or TV Server code?[/I] Before this change in TsWriter I had not recompiled any of the DirectShowFilters. As I use MSBUILD with MSBUILD_Rebuild_Release_TVServer_Client.bat to build the svn, I guess TV Server code was rebuild. Because I am more a software developer for embedded systems than for windows I do not have enough experience to debug with Visual Studio, do you have any idea where in the sources I hve to look to get the link between the value from the database and value Tswriter is using? Regards Peter By the way, I am using an German installation of Windows 7 64Bit Professional [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Can't play live2-0.ts.tsbuffer
Contact us
RSS
Top
Bottom