* imx27 coda interface no capture output
@ 2013-06-21 7:38 Chris Ruehl
2013-06-21 23:08 ` Fabio Estevam
0 siblings, 1 reply; 2+ messages in thread
From: Chris Ruehl @ 2013-06-21 7:38 UTC (permalink / raw)
To: linux-media
Hi All,
After Freescale was so kind and forward the v4l-codadx6-imx27.bin
the firmware loaded properly and I see a /dev/video1 the v4l_ctrl looks promising
root@gtsir-nand:~# v4l2-ctl --list-formats -d /dev/video1
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'H264'
Name : H264 Encoded Stream
Index : 1
Type : Video Capture
Pixel Format: 'MPG4'
Name : MPEG4 Encoded Stream
root@gtsir-nand:~# v4l2-ctl -d /dev/video1 -l
User Controls
horizontal_flip (bool) : default=0 value=0
vertical_flip (bool) : default=0 value=0
MPEG Encoder Controls
video_gop_size (int) : min=1 max=60 step=1 default=16 value=16
video_bitrate (int) : min=0 max=32767000 step=1 default=0
value=0
sequence_header_mode (menu) : min=0 max=1 default=1 value=1
maximum_bytes_in_a_slice (int) : min=1 max=1073741823 step=1
default=500 value=500
number_of_mbs_in_a_slice (int) : min=1 max=1073741823 step=1
default=1 value=1
slice_partitioning_method (menu) : min=0 max=2 default=0 value=0
h264_i_frame_qp_value (int) : min=1 max=51 step=1 default=25 value=25
h264_p_frame_qp_value (int) : min=1 max=51 step=1 default=25 value=25
mpeg4_i_frame_qp_value (int) : min=1 max=31 step=1 default=2 value=2
mpeg4_p_frame_qp_value (int) : min=1 max=31 step=1 default=2 value=2
But the capture is not working :-(
root@gtsir-nand:~# ./video1.x -f MPG4 -w 320 -h 240 a.mpg4
g_width = 320, g_height = 240
--------------------------------------------------------------------------------------------
Width = 320 Height = 240 Image size = 589824
pixelformat = 875967048 colorspace = 3
--------------------------------------------------------------------------------------------
^C
and the kernel spit this
[ 3043.981600] coda coda-imx27.0: coda_stop_streaming: timeout, sending SEQ_END
anyway
[ 3044.998085] coda coda-imx27.0: CODA_COMMAND_SEQ_END failed
did I miss something ?? just enlighten me please
Thanks
Chris
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: imx27 coda interface no capture output
2013-06-21 7:38 imx27 coda interface no capture output Chris Ruehl
@ 2013-06-21 23:08 ` Fabio Estevam
0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2013-06-21 23:08 UTC (permalink / raw)
To: Chris Ruehl; +Cc: linux-media, Javier Martin, Philipp Zabel
Hi Chris,
On Fri, Jun 21, 2013 at 4:38 AM, Chris Ruehl <chris.ruehl@gtsys.com.hk> wrote:
> Hi All,
>
> After Freescale was so kind and forward the v4l-codadx6-imx27.bin
> the firmware loaded properly and I see a /dev/video1 the v4l_ctrl looks
> promising
>
> root@gtsir-nand:~# v4l2-ctl --list-formats -d /dev/video1
> ioctl: VIDIOC_ENUM_FMT
> Index : 0
> Type : Video Capture
> Pixel Format: 'H264'
> Name : H264 Encoded Stream
>
> Index : 1
> Type : Video Capture
> Pixel Format: 'MPG4'
> Name : MPEG4 Encoded Stream
>
> root@gtsir-nand:~# v4l2-ctl -d /dev/video1 -l
>
> User Controls
>
> horizontal_flip (bool) : default=0 value=0
> vertical_flip (bool) : default=0 value=0
>
> MPEG Encoder Controls
>
> video_gop_size (int) : min=1 max=60 step=1 default=16
> value=16
> video_bitrate (int) : min=0 max=32767000 step=1
> default=0 value=0
> sequence_header_mode (menu) : min=0 max=1 default=1 value=1
> maximum_bytes_in_a_slice (int) : min=1 max=1073741823 step=1
> default=500 value=500
> number_of_mbs_in_a_slice (int) : min=1 max=1073741823 step=1
> default=1 value=1
> slice_partitioning_method (menu) : min=0 max=2 default=0 value=0
> h264_i_frame_qp_value (int) : min=1 max=51 step=1 default=25
> value=25
> h264_p_frame_qp_value (int) : min=1 max=51 step=1 default=25
> value=25
> mpeg4_i_frame_qp_value (int) : min=1 max=31 step=1 default=2
> value=2
> mpeg4_p_frame_qp_value (int) : min=1 max=31 step=1 default=2
> value=2
>
>
> But the capture is not working :-(
>
> root@gtsir-nand:~# ./video1.x -f MPG4 -w 320 -h 240 a.mpg4
> g_width = 320, g_height = 240
> --------------------------------------------------------------------------------------------
> Width = 320 Height = 240 Image size = 589824
> pixelformat = 875967048 colorspace = 3
> --------------------------------------------------------------------------------------------
> ^C
>
> and the kernel spit this
> [ 3043.981600] coda coda-imx27.0: coda_stop_streaming: timeout, sending
> SEQ_END anyway
> [ 3044.998085] coda coda-imx27.0: CODA_COMMAND_SEQ_END failed
>
> did I miss something ?? just enlighten me please
Adding Javier and Philipp in case they have some suggestions.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-21 23:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-21 7:38 imx27 coda interface no capture output Chris Ruehl
2013-06-21 23:08 ` Fabio Estevam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox