Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6815 Discussions

Is there something wrong with MPEG4 in ipp5.0?

walkdeath
Beginner
587 Views
I've tried to encode a video file using the sample application "video_enc_con".
First time I use mpeg4 encoder, but when I use "simple player" to play it, it said that "Failed to initialize splitter".
But second time I used the h264 encoder, it could be successfully played by the "simple player".
And another problem comes when I changed the sample in the umc_manul to mped4-decoder, I could only get an empty file just as Scott said.
Is there something wrong with MPEG4 in ipp5.0?
0 Kudos
3 Replies
Vladimir_Dudnik
Employee
587 Views

Hi,

we found solution for Scott's issue andwere not able to reproduce issue withMPEG4 encoder and simple_player. Could you please provide more details about that? Did you change encoder parameters?

Vladimir

0 Kudos
walkdeath
Beginner
587 Views
Hi Vladimir,

Nowadays I'm writint the mpeg4 decoder using your code for scott as sample. But when I run it in fedora core 4, there is always a "segment fault".
So I looking into the GetFrame function in mpeg4decoder class. I found that there is always no data in "out"(MediaData* out). Is that right? I think there should be something in "out", so that videorender can process it. I print the length of out, it's always 0. But the simple player could always running alright. So I'm really confused...
When I looking into the problem "segment fault", I found that it appeared at " umcRes = dst.RenderFrame();" So I found the function RenderFrame() in FWVideoRender class and found that problem was in
for (int i = 0; i < m_SrcInfo.height; i++)
{
umcRes = m_pFileWriter->PutData((unsigned char *)m_Buffers[m_iReadIndex].surface + i * m_nPitch, nbytes);
if (UMC_OK != umcRes)
break;
}
So please help me about this question. Any suggestion would be great appreciated~~~
Wu Yu
0 Kudos
Vladimir_Dudnik
Employee
587 Views

Hi Yu,

if you can attach a sample data it can simplify investigation of the issue.

Regards,
Vladimir

0 Kudos
Reply