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
Codecs, External Players
Codec problems, particularly with HD
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="przemco" data-source="post: 400360" data-attributes="member: 89326"><p>Hello,</p><p></p><p>I have playing with similar problem for a while and after small development I have found a partial solution. My problem is with DVB-T encoded with H264 in Poland. I have perfect audio and no video. If I start GraphEdit I can see that ffdshow is no connected to TsReader filter. I have downloaded sources and found that there is a bug in the source code of Demultiplexer.cpp. The bug is in function "void CDeMultiplexer::GetH264Media(CMediaType *pmt)".</p><p>You should replace line:</p><p> pmt->SetFormatType(&FORMAT_VideoInfo);</p><p>with line:</p><p> pmt->SetFormatType(&FORMAT_MPEG2Video);</p><p></p><p>This function should looks like this:</p><p>void CDeMultiplexer::GetH264Media(CMediaType *pmt)</p><p>{</p><p> pmt->InitMediaType();</p><p> pmt->SetType (& MEDIATYPE_Video);</p><p> pmt->SetSubtype (& H264_SubType);</p><p> pmt->SetFormatType(&FORMAT_MPEG2Video);</p><p> pmt->SetSampleSize(1);</p><p> pmt->SetTemporalCompression(TRUE);</p><p> pmt->SetVariableSize();</p><p> if (m_mpeg2VideoInfo.hdr.dwReserved2==0)</p><p> pmt->SetFormat((BYTE*)&m_mpeg2VideoInfo,sizeof(m_mpeg2VideoInfo));</p><p> else</p><p> pmt->SetFormat(g_Mpeg2ProgramVideo,sizeof(g_Mpeg2ProgramVideo));</p><p>}</p><p></p><p>The problem is that it helps only in single-seat configuration. Becouse I have separate TV-server I must develop it further. I'm not sure, but the problem is probably in TsWriter.ax.</p><p></p><p>Przemco</p></blockquote><p></p>
[QUOTE="przemco, post: 400360, member: 89326"] Hello, I have playing with similar problem for a while and after small development I have found a partial solution. My problem is with DVB-T encoded with H264 in Poland. I have perfect audio and no video. If I start GraphEdit I can see that ffdshow is no connected to TsReader filter. I have downloaded sources and found that there is a bug in the source code of Demultiplexer.cpp. The bug is in function "void CDeMultiplexer::GetH264Media(CMediaType *pmt)". You should replace line: pmt->SetFormatType(&FORMAT_VideoInfo); with line: pmt->SetFormatType(&FORMAT_MPEG2Video); This function should looks like this: void CDeMultiplexer::GetH264Media(CMediaType *pmt) { pmt->InitMediaType(); pmt->SetType (& MEDIATYPE_Video); pmt->SetSubtype (& H264_SubType); pmt->SetFormatType(&FORMAT_MPEG2Video); pmt->SetSampleSize(1); pmt->SetTemporalCompression(TRUE); pmt->SetVariableSize(); if (m_mpeg2VideoInfo.hdr.dwReserved2==0) pmt->SetFormat((BYTE*)&m_mpeg2VideoInfo,sizeof(m_mpeg2VideoInfo)); else pmt->SetFormat(g_Mpeg2ProgramVideo,sizeof(g_Mpeg2ProgramVideo)); } The problem is that it helps only in single-seat configuration. Becouse I have separate TV-server I must develop it further. I'm not sure, but the problem is probably in TsWriter.ax. Przemco [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Codecs, External Players
Codec problems, particularly with HD
Contact us
RSS
Top
Bottom