[Bug 756422] rtpj2kpay: wrong offsets in output

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 14 00:43:45 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=756422

--- Comment #5 from Amomum <poganoe at mail.ru> ---
I'm afraid that doesn't seem to work with openjpeg:

gst-launch-1.0 videotestsrc ! videoconvert ! openjpegenc ! rtpj2kpay !
rtpj2kdepay ! openjpegdec ! fakesink

gives this several times:
0:00:11.165840987 10166      0x253c280 DEBUG                default
gstsegment.c:492:gst_segment_to_running_time_full: invalid position (-1)
0:00:11.165859164 10166      0x253c280 DEBUG            openjpegdec
gstopenjpegdec.c:973:gst_openjpeg_dec_handle_frame:<openjpegdec0> Handling
frame
0:00:11.165883792 10166      0x253c280 WARN            videodecoder
gstvideodecoder.c:4065:_gst_video_decoder_error:<openjpegdec0> error: Failed to
decode OpenJPEG stream

and stops. As far as I can see, openjpegdec for some reason can't decode stream
after depayer.

I reverted my "fix" in gstavcodecmap.c, so avenc_jpeg2000 and rtpj2kpay do not
want to link together (because of different image type).


(In reply to Thiago Sousa Santos from comment #4)
> Created attachment 313201 [details] [review]
> rtpj2kpay: update fragment offset
> 
> It was always being set to 0, making the resulting stream broken
> for the receiver

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list