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 684502 - jpegenc produces data in subsampling mode that rtpjpegpay can't handle
jpegenc produces data in subsampling mode that rtpjpegpay can't handle
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 763331 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-09-20 20:59 UTC by Olivier Crête
Modified: 2018-11-03 14:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Olivier Crête 2012-09-20 20:59:59 UTC
We probably need to add more data to the image/jpeg caps to specify it's subsampling mode so it can be configured, but I don't really understand how jpegenc works.

Test case:

gst-launch-1.0 videotestsrc ! 'video/x-raw, width=(int)160, height=(int)120, framerate=(fraction)30/1, format=(string)BGRx, pixel-aspect-ratio=(fraction)1/1' ! jpegenc ! rtpjpegpay ! fakesink

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstRtpJPEGPay:rtpjpegpay0: Invalid component
Additional debug info:
gstrtpjpegpay.c(544): gst_rtp_jpeg_pay_read_sof (): /GstPipeline:pipeline0/GstRtpJPEGPay:rtpjpegpay0
ERROR: pipeline doesn't want to preroll.
Comment 1 Tim-Philipp Müller 2013-04-21 10:28:46 UTC
So this needs to be negotiated via caps somehow, and the question is how. We could either (ab)use the "format" identifiers from raw video caps for this, or have some kind of {planar,packed,semiplanar}-{4:2:0,4:2:2,4:4:4} field.
Comment 2 Olivier Crête 2018-05-04 09:31:29 UTC
This is still broken. I still don't understand the jpeg subformats ;)
Comment 3 Olivier Crête 2018-05-04 11:20:02 UTC
*** Bug 763331 has been marked as a duplicate of this bug. ***
Comment 4 GStreamer system administrator 2018-11-03 14:47:37 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/73.