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:
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
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));
}
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