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 779493 - add image/jpeg for uvc usb cameras to encode with vaapijpecenc
add image/jpeg for uvc usb cameras to encode with vaapijpecenc
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-02 20:17 UTC by freen.mail
Modified: 2017-03-03 15:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.45 KB, patch)
2017-03-02 20:17 UTC, freen.mail
none Details | Review

Description freen.mail 2017-03-02 20:17:50 UTC
Created attachment 347095 [details] [review]
patch

Hi 


for encoding my webcam i need image/jpeg format 

Pixel Format: 'MJPG' (compressed)
	Name        : Motion-JPEG

for opencv i use 
v4l2src io-mode=mmap device=/dev/video0 ! image/jpeg, width=2304, height=1536  ! vaapijpegdec ! videoconvert n-threads=4 ! video/x-raw,format=BGR ! appsink
Comment 1 Hyunjun Ko 2017-03-03 01:10:22 UTC
Thanks for reporting.

But you need to see bug #778942, #734093.
There's a reason that jpeg caps is missing in vaapidecode.

Why don't you use vaapijpegdec as the pipeline you show, by the way?
Comment 2 freen.mail 2017-03-03 15:08:35 UTC
Hello

sorry for the report, you are right 
the patch was from a older testing with vaapidecoderbin

all works fine with vaapijpegdec