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
Development
General Development (no feature request here!)
Solution to bug 0002069
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: 401039" 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 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 not 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>[CODE]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_mpeg2 VideoInfo));</p><p>else</p><p>pmt->SetFormat(g_Mpeg2ProgramVideo,sizeof(g_Mpeg2Progr amVideo));</p><p>}</p><p>[/CODE]</p><p></p><p>The funny thing is that there is no information how anyone can get login to bugtrucker to submit a sollution <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>Can anyone help me update status of this bug?</p><p></p><p>Best regards</p><p></p><p>Przemco</p></blockquote><p></p>
[QUOTE="przemco, post: 401039, member: 89326"] Hello, I have playing with similar problem for a while and after small development I have found a 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 not 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: [CODE]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_mpeg2 VideoInfo)); else pmt->SetFormat(g_Mpeg2ProgramVideo,sizeof(g_Mpeg2Progr amVideo)); } [/CODE] The funny thing is that there is no information how anyone can get login to bugtrucker to submit a sollution :) Can anyone help me update status of this bug? Best regards Przemco [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Solution to bug 0002069
Contact us
RSS
Top
Bottom