(Again - this was meant to reach you on Friday)
Sander, do you use the same code that you have for H264 decoding (based on the PullPush sample app)?
If yes then there are few things that are interesting:
- what is the error returned by the Transcoder object?
- do you receive at least one uncompressed frame before this error (at least one call to primo::Stream::write)?
- do you manage to get the proper parameters from MediaInfo before initializing the Transcoder?
I will gladly help with debugging if you provide me with the elementary stream (MPEG-4 Visual). It's better if you can give me the packet boundaries as well so that I can simulate the way packets are pushed to the transcoder (and the internal MPEG-4 decoder). I will be able to see whether:
- your input is malformed
- our internal decoder has a possible bug
- the problem is in the code that feeds the data to the transcoder
It's best if you can provide me with 2 files:
1. a dump of the MPEG-4 Visual stream (at least a few frames)
2. a file with the frame sizes as you receive them (in binary or text format it doesn't matter as long as you describe it).
Even if give me only the dumped elementary stream I will run it through the MPEG-4 decoder to see if it has any problems and what's the error.
Regards,
Svilen