public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* using MFC memory to memery encoder, start stream and queue order problem
@ 2014-01-02 11:35 randy
  2014-01-02 12:29 ` Kamil Debski
  0 siblings, 1 reply; 23+ messages in thread
From: randy @ 2014-01-02 11:35 UTC (permalink / raw)
  To: linux-media; +Cc: Kamil Debski, m.szyprowski

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello

I have follow the README of the v4l2-mfc-encoder from the
http://git.infradead.org/users/kmpark/public-apps
it seems that I can use the mfc encoder in exynos4412(using 3.5 kernel
from manufacturer).
But I have a problem with the contain of the README and I can't get the
key frame(the I-frame in H.264). It said that
"6. Enqueue CAPTURE buffers.
7. Enqueue OUTPUT buffer with first frame.
8. Start streaming (VIDIOC_STREAMON) on both ends."
so I shall enqueue buffer before start stream, to enqueue a buffer, I
need to dequeue first, but without start stream, it will failed in both
side.
In this way I start OUTPUT(input raw video) stream first then dequeue
and enqueue the first frame, then I start the CAPTURE(output encoded
video) frame, dequeue CAPTURE to get a buffer, get the data from
buffer then enqueue the buffer. The first frame of CAPTURE is always a
22 bytes
frame(I don't know whether they are the same data all the time, but
size is the same from m.planes[0].bytesused), but it seems not a key
frame.

What is the problem, and how to solve it.

P.S I don't test the Linux 3.13-rc4, as the driver is not ready for
encoder before.

						Thank you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJSxU74AAoJEPb4VsMIzTzi2oEH/1JJqfeZhMwogvWSVz+M3J4Y
2Bnej0RBBKF0Gu508IWrHy9t+DPg3c3wJt1M0j+GtUsv2Q+Jl2vlmDTLV/Gafzo6
xywye4raHpqHreFv4Q55SIseDbfV79eO84uv4RuV/fXEuPpo1MlZf9SOGCiAfoQI
ozxqoOPD2l2VaSA/351gtT93lkOREF2EnmVf2Wa31WWHw0LV3aoY9/OosxOiY9Fy
mVHHpYheDwHXdPfrxHXWKEA5GOJ7h0ozc66MPe7JInKSGdUcDrdrFxdSVwyZ/21B
Oc2Aw9RMd85NwjXBc9hYH++3f73tcVhzMCF7Swyb+bsn4Mzyr64Bn4VsYaDqiCc=
=HCKX
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2014-01-16 20:10 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-02 11:35 using MFC memory to memery encoder, start stream and queue order problem randy
2014-01-02 12:29 ` Kamil Debski
     [not found]   ` <BLU0-SMTP266BE9BC66B254061740251ADCB0@phx.gbl>
     [not found]     ` <02c801cf07ba$8518f2f0$8f4ad8d0$%debski@samsung.com>
2014-01-02 14:03       ` randy
2014-01-03  8:15       ` randy
2014-01-03  8:15       ` randy
2014-01-03 15:16       ` randy
2014-01-08 14:42         ` Kamil Debski
2014-01-08 15:44           ` randy
     [not found]           ` <52CD725E.5060903@hotmail.com>
2014-01-10  9:15             ` randy
2014-01-10 11:13               ` Andrzej Hajda
2014-01-10 15:23                 ` randy
2014-01-13 10:15                   ` Andrzej Hajda
2014-01-13 11:18                     ` Andrzej Hajda
2014-01-13 15:44                       ` randy
2014-01-13 16:18                         ` Kamil Debski
2014-01-14  5:17                           ` randy
2014-01-14 10:29                             ` Andrzej Hajda
2014-01-14 16:50                               ` randy
2014-01-15  7:08                                 ` Andrzej Hajda
2014-01-15 15:50                                   ` randy
2014-01-16 12:37                                     ` Andrzej Hajda
2014-01-16 19:30                                       ` randy
2014-01-16 20:10                                       ` randy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox