Green records with BlueCherry Provideo PV143

Description

We're trying to install a matterhorn system here at Universidad Politecnica de Valencia, Spain

We have the server installed and working, but we have some problems with the capture agents.
We have a BlueCherry Provideo PV143 Card and an Epiphan VGA2USB. The vga2usb is working well, but we have problems with the Bluecherry.
We think the problems are related with the camera format. The camera conected to the Provideo card is PAL.

In the setup scripts we have those two lines to set the PAL format and select de Composite 0
v4l2-ctl -s 4 -d /dev/video0
v4l2-ctl -d /dev/video0 -i 0

But the camera only records a green screen. If we run the Bluecherry pipeline with gst-launch manualy:

gst-launch v4l2src device=/dev/video0 ! queue ! videorate ! ffenc_mpeg2video ! mpegtsmux ! filesink location=/tmp/test.mpg

the test.mpg file only shows a green screen, but if we change the pipeline by:

gst-launch v4l2src device=/dev/video0 ! queue ! videorate ! video/x-raw-rgb ! ffmpegcolorspace ! ffenc_mpeg2video ! mpegtsmux ! filesink location=/tmp/test.mpg

it works correctly. We changed the PipelineFacory.java file in the matterhorn module to build this pipeline and now the capture agent is recording correctly.

I don't know if this changes will work in a NTSC camera or if the solution is good enought. Maybe you can add a flag to add the "video/x-raw-rgb" caps to the cameras that need it.

Thanks in advance,
Miguel Escriva

Status

Assignee

Adam McKenzie

Reporter

Miguel

Criticality

None

Tags (folksonomy)

Components

Fix versions

Affects versions

Configure