Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-16 Thread randy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> [ 100.645000] s5p_mfc_alloc_codec_buffers_v5:177: Failed to >> allocate Bank1 temporary buffer [ 107.065000] >> s5p_mfc_alloc_priv_buf:43: Allocating private buffer failed [ >> 107.065000] s5p_mfc_alloc_codec_buffers_v5:177: Failed to >> alloc

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-16 Thread randy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 于 2014年01月16日 20:37, Andrzej Hajda 写道: > On 01/15/2014 04:50 PM, randy wrote: >> Sorry, again, I forget to enable CMA, as exynos4_defconf and MFC doesn't depend on it. But 16MB can't work with the same log as below. >> root@kagami:~/v4l2-mfc-encoder#

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-16 Thread Andrzej Hajda
On 01/15/2014 04:50 PM, randy wrote: > > Sorry, I forget to switch to new kernel, > but in new kernel it doesn't work too. > root@kagami:~/v4l2-mfc-encoder# ./mfc-encode -m /dev/video1 -c > h264,header_mode=1 -d 1 > mfc codec encoding example application > Andrzej Hajda > Copyright 2012 Samsung El

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-15 Thread randy
于 2014年01月15日 15:08, Andrzej Hajda 写道: > On 01/14/2014 05:50 PM, randy wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> 于 2014年01月14日 18:29, Andrzej Hajda 写道: >>> On 01/14/2014 06:17 AM, randy wrote: Yes, it make encoder work. But sadness ./mfc-encode -m /dev/video1 -c h26

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-14 Thread Andrzej Hajda
On 01/14/2014 05:50 PM, randy wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > 于 2014年01月14日 18:29, Andrzej Hajda 写道: >> On 01/14/2014 06:17 AM, randy wrote: >>> Yes, it make encoder work. But sadness ./mfc-encode -m >>> /dev/video1 -c h264,header_mode=1 -d 1 will still output a zero >>

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-14 Thread randy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 于 2014年01月14日 18:29, Andrzej Hajda 写道: > On 01/14/2014 06:17 AM, randy wrote: >> Yes, it make encoder work. But sadness ./mfc-encode -m >> /dev/video1 -c h264,header_mode=1 -d 1 will still output a zero >> demo.out without header-mode or set it to zero

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-14 Thread Andrzej Hajda
On 01/14/2014 06:17 AM, randy wrote: > Yes, it make encoder work. But sadness ./mfc-encode -m /dev/video1 -c > h264,header_mode=1 -d 1 will still output a zero demo.out without > header-mode or set it to zero will works. > What is the problem? It seems infradead repo is not synchronized with our i

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-13 Thread randy
于 2014年01月14日 00:18, Kamil Debski 写道: > Hi, > >> From: randy [mailto:lxr1...@hotmail.com] >> Sent: Monday, January 13, 2014 4:45 PM >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> 20140113 19:18, Andrzej Hajda wrote: >> > It won't work, if I do that, after step 7, neither OUP

RE: using MFC memory to memery encoder, start stream and queue order problem

2014-01-13 Thread Kamil Debski
Hi, > From: randy [mailto:lxr1...@hotmail.com] > Sent: Monday, January 13, 2014 4:45 PM > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > 20140113 19:18, Andrzej Hajda wrote: > > >>> It won't work, if I do that, after step 7, neither OUPUT nor > >>> CAPTURE will poll return in my

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-13 Thread randy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 20140113 19:18, Andrzej Hajda wrote: >>> It won't work, if I do that, after step 7, neither >>> OUPUT nor CAPTURE will poll return in my program. but >>> ./mfc-encode -m /dev/video1 -c h264,header_mode=1 work >>> normally, >> I am

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-13 Thread Andrzej Hajda
On 01/13/2014 11:15 AM, Andrzej Hajda wrote: > On 01/10/2014 04:23 PM, randy wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> 于 2014年01月10日 19:13, Andrzej Hajda 写道: >>> Hi Randy, >>> >>> On 01/10/2014 10:15 AM, randy wrote: >>> >>> >>> > It won't work, if I do that, after step

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-13 Thread Andrzej Hajda
On 01/10/2014 04:23 PM, randy wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > 于 2014年01月10日 19:13, Andrzej Hajda 写道: >> Hi Randy, >> >> On 01/10/2014 10:15 AM, randy wrote: >> >> >> It won't work, if I do that, after step 7, neither OUPUT nor CAPTURE will poll return in my

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-10 Thread randy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 于 2014年01月10日 19:13, Andrzej Hajda 写道: > Hi Randy, > > On 01/10/2014 10:15 AM, randy wrote: > > > >>> It won't work, if I do that, after step 7, neither OUPUT nor >>> CAPTURE will poll return in my program. but ./mfc-encode -m >>> /dev/video1 -c

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-10 Thread Andrzej Hajda
Hi Randy, On 01/10/2014 10:15 AM, randy wrote: >> It won't work, if I do that, after step 7, neither OUPUT nor >> CAPTURE will poll return in my program. but ./mfc-encode -m >> /dev/video1 -c h264,header_mode=1 work normally, > I am sorry, I didn't well test it, if I use ./mfc-encode -m > /dev/

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-10 Thread randy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 于 2014年01月08日 23:44, randy 写道: > 于 2014年01月08日 22:42, Kamil Debski 写道: >> Hi Randy, > >> Please have a look at the V4L2_CID_MPEG_VIDEO_HEADER_MODE >> control. >>> From your description it seems that it is in its default state >>> - >>> >> V4L2_MPEG_V

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-08 Thread randy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 于 2014年01月08日 22:42, Kamil Debski 写道: > Hi Randy, > >> From: randy [mailto:lxr1...@hotmail.com] Sent: Friday, January >> 03, 2014 4:17 PM >> >> I rewrite my program, it takes the order as below 1.request >> buffer. 2.mmap input buffer with OUTPUT 3.o

RE: using MFC memory to memery encoder, start stream and queue order problem

2014-01-08 Thread Kamil Debski
Hi Randy, > From: randy [mailto:lxr1...@hotmail.com] > Sent: Friday, January 03, 2014 4:17 PM > > I rewrite my program, it takes the order as below 1.request buffer. > 2.mmap input buffer with OUTPUT > 3.output buffer with CAPTURE. > 4.filled input buffer with the first frame. > 5.enqueue the fir

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-03 Thread randy
I rewrite my program, it takes the order as below 1.request buffer. 2.mmap input buffer with OUTPUT 3.output buffer with CAPTURE. 4.filled input buffer with the first frame. 5.enqueue the first frame in the input buffer in OUTPUT side 6.enqueue the output buffer in CAPTURE side 7.start stream 8.deq

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-03 Thread randy
于 2014年01月02日 20:59, Kamil Debski 写道: > Hi, > >> From: lxr1234 [mailto:lxr1...@hotmail.com] >> Sent: Thursday, January 02, 2014 1:57 PM >> To: Kamil Debski >> Subject: RE: using MFC memory to memery encoder, start stream and queue >> order problem >&

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-03 Thread randy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 于 2014年01月02日 20:59, Kamil Debski 写道: > Hi, > >> From: lxr1234 [mailto:lxr1...@hotmail.com] Sent: Thursday, >> January 02, 2014 1:57 PM To: Kamil Debski Subject: RE: using MFC >> memory to memery encoder, start stream

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-02 Thread randy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 于 2014年01月02日 20:59, Kamil Debski 写道: > Hi, > >> From: lxr1234 [mailto:lxr1...@hotmail.com] Sent: Thursday, >> January 02, 2014 1:57 PM To: Kamil Debski Subject: RE: using MFC >> memory to memery encoder, start stream

RE: using MFC memory to memery encoder, start stream and queue order problem

2014-01-02 Thread Kamil Debski
Hi Randy, > From: randy [mailto:lxr1...@hotmail.com] > Sent: Thursday, January 02, 2014 12:35 PM > > -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

using MFC memory to memery encoder, start stream and queue order problem

2014-01-02 Thread randy
-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 R