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 785104 - multiple instances of omxmjpegdec seems not work well
multiple instances of omxmjpegdec seems not work well
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-omx
1.12.2
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-07-19 05:11 UTC by Yuji Kuwabara
Modified: 2018-11-03 13:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yuji Kuwabara 2017-07-19 05:11:47 UTC
I'm not sure whether it is a problem of GStreamer or not. 
On Raspberry Pi3, multiple instances of omxmjpegdec seems not work well at the same time.

How to reproduce:
Use 2 of separate Terminals and a Photo JPEG movie file.
(I used 640x480 30fps)

On the one Terminal:
 gst-launch-1.0 filesrc location=/home/pi/Videos/Fish.mov ! decodebin ! glimagesink

On the other Terminal:
 gst-launch-1.0 filesrc location=/home/pi/Videos/Fish.mov ! decodebin ! videocrop bottom=100 ! glimagesink

(NOTE: videocrop is used to show first (background) video)

Result:
 These movies are not played well, and many "Frame is too late" messages are shown (GST_DEBUG=2).
---------------------------------------------------------------------
omxvideodec gstomxvideodec.c:1387:gst_omx_video_dec_loop:<omxmjpegdec-omxmjpegdec0> Frame is too late, dropping
---------------------------------------------------------------------

On 1.12.0, same problem was seen.
I saw a message from gst_omx_port_wait_enabled_unlocked() several times,
but since updated to 1.12.2, not yet seen.
---------------------------------------------------------------------
Timeout waiting for ... port ... to be enabled
---------------------------------------------------------------------


The combination of a Photo JPEG and a H.264 movie files is no problem.
Also, the combination of two H.264 movie files is no problem.
2 instances of omxplayer also works well for same (used in above test) Photo JPEG movie file.
Comment 1 Yuji Kuwabara 2017-07-19 09:15:00 UTC
One more comment.
Using jpegdec (instead of omxmjpegdec), works fine.
Comment 2 GStreamer system administrator 2018-11-03 13:01:22 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-omx/issues/14.