- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yu,
if you can attach a sample data it can simplify investigation of the issue.
Regards,
Vladimir

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page