Re: coda: Unable to use encoder video_bitrate

2014-12-22 Thread Frédéric Sureau
Hi Philipp, Le 18/12/2014 17:52, Philipp Zabel a écrit : Hi Frédéric, Am Donnerstag, den 18.12.2014, 17:44 +0100 schrieb Frédéric Sureau: Hi I am trying to use the coda encoder through Gstreamer on an iMX6-based board. I use the (rebased and slightly modified) gstv4l2h264enc plugin from:

Re: coda: Unable to use encoder video_bitrate

2014-12-22 Thread Nicolas Dufresne
Le 2014-12-22 10:24, Frédéric Sureau a écrit : Thanks for the patch! It works fine now after forcing framerate to 30fps (which seems to be hardcoded in the driver) Can you comment about this on gnome bug. Would make sense for the encoder element in GStreamer to relay the framerate to the

Re: coda: Unable to use encoder video_bitrate

2014-12-22 Thread Philipp Zabel
Hi Frédéric, On Mon, Dec 22, 2014 at 04:24:20PM +0100, Frédéric Sureau wrote: Thanks for the patch! It works fine now after forcing framerate to 30fps (which seems to be hardcoded in the driver) That is a good point, rate control can only work if the encoder has an idea about the framerate.

Re: coda: Unable to use encoder video_bitrate

2014-12-22 Thread Nicolas Dufresne
Le 2014-12-22 11:02, Philipp Zabel a écrit : That is a good point, rate control can only work if the encoder has an idea about the framerate. I've sent a patch that allows to use VIDIOC_S_PARM to set it: [media] coda: Use S_PARM to set nominal framerate for h.264 encoder Thanks, I'll sort out

Re: coda: Unable to use encoder video_bitrate

2014-12-19 Thread Philipp Zabel
Hi Jean-Michel, Am Donnerstag, den 18.12.2014, 18:10 +0100 schrieb Jean-Michel Hautbois: Sorry, forgot to put all of you on Cc: for the [media] coda: fix encoder rate control parameter masks patch. The coda driver is in drivers/media/platform/coda, register definitions in coda_regs.h. The

Re: coda: Unable to use encoder video_bitrate

2014-12-19 Thread Jean-Michel Hautbois
2014-12-19 11:28 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Hi Jean-Michel, Am Donnerstag, den 18.12.2014, 18:10 +0100 schrieb Jean-Michel Hautbois: Sorry, forgot to put all of you on Cc: for the [media] coda: fix encoder rate control parameter masks patch. The coda driver is in

coda: Unable to use encoder video_bitrate

2014-12-18 Thread Frédéric Sureau
Hi I am trying to use the coda encoder through Gstreamer on an iMX6-based board. I use the (rebased and slightly modified) gstv4l2h264enc plugin from: https://github.com/hizukiayaka/gst-plugins-good This pipeline works fine: gst-launch-1.0 -vvv v4l2src device=/dev/video4 !

Re: coda: Unable to use encoder video_bitrate

2014-12-18 Thread Philipp Zabel
Hi Frédéric, Am Donnerstag, den 18.12.2014, 17:44 +0100 schrieb Frédéric Sureau: Hi I am trying to use the coda encoder through Gstreamer on an iMX6-based board. I use the (rebased and slightly modified) gstv4l2h264enc plugin from: https://github.com/hizukiayaka/gst-plugins-good This

Re: coda: Unable to use encoder video_bitrate

2014-12-18 Thread Jean-Michel Hautbois
Hi Philipp, 2014-12-18 17:52 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Hi Frédéric, Am Donnerstag, den 18.12.2014, 17:44 +0100 schrieb Frédéric Sureau: Hi I am trying to use the coda encoder through Gstreamer on an iMX6-based board. I use the (rebased and slightly modified)

Re: coda: Unable to use encoder video_bitrate

2014-12-18 Thread Philipp Zabel
Hi Jean-Michel, Am Donnerstag, den 18.12.2014, 17:55 +0100 schrieb Jean-Michel Hautbois: Hi Philipp, 2014-12-18 17:52 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Hi Frédéric, Am Donnerstag, den 18.12.2014, 17:44 +0100 schrieb Frédéric Sureau: Hi I am trying to use the coda

Re: coda: Unable to use encoder video_bitrate

2014-12-18 Thread Jean-Michel Hautbois
2014-12-18 18:09 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Hi Jean-Michel, Am Donnerstag, den 18.12.2014, 17:55 +0100 schrieb Jean-Michel Hautbois: Hi Philipp, 2014-12-18 17:52 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Hi Frédéric, Am Donnerstag, den 18.12.2014, 17:44 +0100