From: Chris Ruehl <chris.ruehl@gtsys.com.hk>
To: linux-media@vger.kernel.org
Subject: imx27 coda interface no capture output
Date: Fri, 21 Jun 2013 15:38:39 +0800 [thread overview]
Message-ID: <51C402FF.7010909@gtsys.com.hk> (raw)
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
next reply other threads:[~2013-06-21 7:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-21 7:38 Chris Ruehl [this message]
2013-06-21 23:08 ` imx27 coda interface no capture output Fabio Estevam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51C402FF.7010909@gtsys.com.hk \
--to=chris.ruehl@gtsys.com.hk \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.