<div dir="ltr">Hi all<div>I'm working on improving the GPU accelerated transcoding for TV Headend</div><div>I'm running into trouble when using mpeg2_mmal codec for the decoding of the input stream. If I use mpeg2video native it works ok</div><div>The error I get is:</div><div><br></div><div>MMAL error 2 on control port</div><div><br></div><div>According to the MMAL interface, error 2 is ENOSPC</div><div>Looking at the vcdb log I see:</div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">alloc_compact_internal(space=</span><wbr style="white-space:pre-wrap"><span style="white-space:pre-wrap">3291328, in_low_region=0, mode=7) failed</span><br></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">I'm a little bit lost here. I have noticed that if I transcode the same input stream, with ffmpeg it works, but apparently mpeg2_mmal output a decoded stream of 768x576 even if the input, in my case is 320x240.</span></div><div><span style="white-space:pre-wrap">Does the mpeg2_mmal codec require some special pre initialization or?</span></div><div><span style="white-space:pre-wrap">Thanks for the support</span></div><div><pre style="white-space:pre-wrap"><br></pre><pre style="white-space:pre-wrap"><br></pre></div></div>