After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664232 - Doesn't work: camerabin2 image-capture-encoder=pngenc
Doesn't work: camerabin2 image-capture-encoder=pngenc
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.35
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-16 22:50 UTC by Alex Fiestas
Modified: 2011-11-16 23:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alex Fiestas 2011-11-16 22:50:05 UTC
Porting a QtGst application from our custom pipeline to camerabin2 I noticed that it won't work if I use pngenc as the encoder.

Tried to do:
"gst-launch camerabin2 image-capture-encoder=pngenc"

getting the following output:
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstCameraBin2:camerabin20/GstImageCaptureBin:imagebin: Internal GStreamer error: negotiation problem.

With camerabin1 it seems to work:
gst-launch camerabin image-encoder=pngenc

I can provide any kind of feedback so just ask for it!
Comment 1 Thiago Sousa Santos 2011-11-16 23:00:01 UTC
Are you using latest camerabin2 from git? Looks like you're using an old version of it. The git version has lots of improvements.

Latest camerabin2 uses encoding profiles instead of passing element instances. Instead of passing pngdec, you have to create a encoding profile for png and set that as the 'image-profile'.

Check the docs on top of camerabin2 source file on -bad for the latest usage info: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst/camerabin2/gstcamerabin2.c

If you have further doubts on the usage, you can use the gstreamer devel mailing list for asking questions.
Comment 2 Alex Fiestas 2011-11-16 23:05:01 UTC
Wow quick reply! this motivate me even more to complete the porting :)

I'm using the 0.10.22 so I guess it is too old.

Will setup git and try again, thanks!