Problem with jpegparse and timestamps

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with jpegparse and timestamps

Guillermo Rodriguez Garcia-2
Hi all,

I have been using gstreamer to stream live video from mjpeg cameras with a pipeline like this:

gst-launch-1.0 souphttpsrc is-live=true location=<camera_url> ! multipartdemux ! image/jpeg,framerate=0/1 ! jpegparse ! avdec_mjpeg ! videoconvert ! ximagesink

This was working fine with 1.14.x.
Recently I upgraded gstreamer to a more recent version and the above does not work well anymore. Video stutters or freezes.

I ran git bisect and found the following commit to be the culprit:


If I revert that commit, the pipeline works fine again.

Is this the expected behaviour? Can someone shed some light?

Thanks,

Guillermo Rodriguez Garcia
[hidden email]

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with jpegparse and timestamps

Olivier Crête-3
Hi,

Let me know if the following patch fixes your issue:


Olivier

On Tue, 2021-03-30 at 18:08 +0200, Guillermo Rodriguez Garcia wrote:
Hi all,

I have been using gstreamer to stream live video from mjpeg cameras with a pipeline like this:

gst-launch-1.0 souphttpsrc is-live=true location=<camera_url> ! multipartdemux ! image/jpeg,framerate=0/1 ! jpegparse ! avdec_mjpeg ! videoconvert ! ximagesink

This was working fine with 1.14.x.
Recently I upgraded gstreamer to a more recent version and the above does not work well anymore. Video stutters or freezes.

I ran git bisect and found the following commit to be the culprit:


If I revert that commit, the pipeline works fine again.

Is this the expected behaviour? Can someone shed some light?

Thanks,

Guillermo Rodriguez Garcia
[hidden email]
_______________________________________________
gstreamer-devel mailing list

-- 
Olivier Crête


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with jpegparse and timestamps

Guillermo Rodriguez Garcia-2
Hello,

Yes indeed, I confirm that this patch fixes the problem.

Thank you for the quick response!

Guillermo

El mar, 30 mar 2021 a las 18:42, Olivier Crête (<[hidden email]>) escribió:
Hi,

Let me know if the following patch fixes your issue:


Olivier

On Tue, 2021-03-30 at 18:08 +0200, Guillermo Rodriguez Garcia wrote:
Hi all,

I have been using gstreamer to stream live video from mjpeg cameras with a pipeline like this:

gst-launch-1.0 souphttpsrc is-live=true location=<camera_url> ! multipartdemux ! image/jpeg,framerate=0/1 ! jpegparse ! avdec_mjpeg ! videoconvert ! ximagesink

This was working fine with 1.14.x.
Recently I upgraded gstreamer to a more recent version and the above does not work well anymore. Video stutters or freezes.

I ran git bisect and found the following commit to be the culprit:


If I revert that commit, the pipeline works fine again.

Is this the expected behaviour? Can someone shed some light?

Thanks,

Guillermo Rodriguez Garcia
[hidden email]
_______________________________________________
gstreamer-devel mailing list

-- 
Olivier Crête

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


--
Guillermo Rodriguez Garcia
[hidden email]

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with jpegparse and timestamps

GStreamer-devel mailing list
Hi Olivier,

Will this be merged upstream? 

BR,

Guillermo

El mié, 31 mar 2021 a las 9:46, Guillermo Rodriguez Garcia (<[hidden email]>) escribió:
Hello,

Yes indeed, I confirm that this patch fixes the problem.

Thank you for the quick response!

Guillermo

El mar, 30 mar 2021 a las 18:42, Olivier Crête (<[hidden email]>) escribió:
Hi,

Let me know if the following patch fixes your issue:


Olivier

On Tue, 2021-03-30 at 18:08 +0200, Guillermo Rodriguez Garcia wrote:
Hi all,

I have been using gstreamer to stream live video from mjpeg cameras with a pipeline like this:

gst-launch-1.0 souphttpsrc is-live=true location=<camera_url> ! multipartdemux ! image/jpeg,framerate=0/1 ! jpegparse ! avdec_mjpeg ! videoconvert ! ximagesink

This was working fine with 1.14.x.
Recently I upgraded gstreamer to a more recent version and the above does not work well anymore. Video stutters or freezes.

I ran git bisect and found the following commit to be the culprit:


If I revert that commit, the pipeline works fine again.

Is this the expected behaviour? Can someone shed some light?

Thanks,

Guillermo Rodriguez Garcia
[hidden email]
_______________________________________________
gstreamer-devel mailing list

-- 
Olivier Crête

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


--
Guillermo Rodriguez Garcia
[hidden email]


--
Guillermo Rodriguez Garcia
[hidden email]

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with jpegparse and timestamps

GStreamer-devel mailing list
Hi,

I missed your confirmation, I've just submitted a merge request.


Olivier

On Fri, 2021-04-23 at 18:26 +0200, Guillermo Rodriguez Garcia wrote:
Hi Olivier,

Will this be merged upstream? 

BR,

Guillermo

El mié, 31 mar 2021 a las 9:46, Guillermo Rodriguez Garcia (<[hidden email]>) escribió:
Hello,

Yes indeed, I confirm that this patch fixes the problem.

Thank you for the quick response!

Guillermo

El mar, 30 mar 2021 a las 18:42, Olivier Crête (<[hidden email]>) escribió:
Hi,

Let me know if the following patch fixes your issue:


Olivier

On Tue, 2021-03-30 at 18:08 +0200, Guillermo Rodriguez Garcia wrote:
Hi all,

I have been using gstreamer to stream live video from mjpeg cameras with a pipeline like this:

gst-launch-1.0 souphttpsrc is-live=true location=<camera_url> ! multipartdemux ! image/jpeg,framerate=0/1 ! jpegparse ! avdec_mjpeg ! videoconvert ! ximagesink

This was working fine with 1.14.x.
Recently I upgraded gstreamer to a more recent version and the above does not work well anymore. Video stutters or freezes.

I ran git bisect and found the following commit to be the culprit:


If I revert that commit, the pipeline works fine again.

Is this the expected behaviour? Can someone shed some light?

Thanks,

Guillermo Rodriguez Garcia
[hidden email]
_______________________________________________
gstreamer-devel mailing list

-- 
Olivier Crête

_______________________________________________
gstreamer-devel mailing list


--
Guillermo Rodriguez Garcia
[hidden email]



-- 
Olivier Crête


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel