All of lore.kernel.org
 help / color / mirror / Atom feed
* MFC Encode on S5PV210 hangs
@ 2012-09-09 19:21 Mike Dyer
  2012-09-11 10:26 ` Andrzej Hajda
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Dyer @ 2012-09-09 19:21 UTC (permalink / raw)
  To: linux-samsung-soc, linux-media

Hi All,

I'm trying to use the MFC encoder to generate an H264 bitstream using
the V4L2 interface.  I've tried using my own application, and also the
example encode application here:
git://git.infradead.org/users/kmpark/public-apps

Both exhibit the same behavior.  Input frames are queued up until the
input queue is full, but only one frame is emitted (which I guess is the
H264 header).  The encoder then just sits there.

I'm not sure where to start looking, so any advice is appreciated.

Cheers,
Mike

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: MFC Encode on S5PV210 hangs
  2012-09-09 19:21 MFC Encode on S5PV210 hangs Mike Dyer
@ 2012-09-11 10:26 ` Andrzej Hajda
  0 siblings, 0 replies; 2+ messages in thread
From: Andrzej Hajda @ 2012-09-11 10:26 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: linux-media

On 09.09.2012 21:21, Mike Dyer wrote:
> Hi All,
>
> I'm trying to use the MFC encoder to generate an H264 bitstream using
> the V4L2 interface.  I've tried using my own application, and also the
> example encode application here:
> git://git.infradead.org/users/kmpark/public-apps
>
> Both exhibit the same behavior.  Input frames are queued up until the
> input queue is full, but only one frame is emitted (which I guess is the
> H264 header).  The encoder then just sits there.
>
> I'm not sure where to start looking, so any advice is appreciated.
>
> Cheers,
> Mike
>

Hi Mike,

Please test with enabled CMA(Device Drivers/Generic.../Contiguous Memory 
Allocator). I will test it further and update defconfig if necessary.

Please also apply latest published MFC patches(not yet in mainline), 
especially:
s5p-mfc: Fix second memory bank alignment
v4l/s5p-mfc: added support for end of stream handling in MFC encoder

Regards
Andrzej

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-11 10:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-09 19:21 MFC Encode on S5PV210 hangs Mike Dyer
2012-09-11 10:26 ` Andrzej Hajda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.