[nleurisource] inpoint and duration not effective

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

[nleurisource] inpoint and duration not effective

Christophe Da Silva
Hi,

I use gst-editing-tools (try with version 1.6.2 and 1.10.4) and the inpoint and duration args for nlesource or nleurisource does not work.

ex:
gst-launch-1.0 nleurisource uri=file:///my_video.mp4 inpoint=10000000000 duration=5000000000 ! decodebin ! videoconvert ! autovideosink

My pipeline is working but all the video is used (from first to last frame). The inpoint and duration have no consequence.

If I replace nleurisource by the old gnlurisource, everything works fine.

These options are still working?

And in this case, is this a bug from this version and do I need to upgrade my libs?

Or maybe, it's not the way to do it anymore?

Regards,

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

Re: [nleurisource] inpoint and duration not effective

Nicolas Dufresne-5
Le jeudi 27 avril 2017 à 08:13 +0000, Christophe Da Silva a écrit :

> Hi,
>
> I use gst-editing-tools (try with version 1.6.2 and 1.10.4) and the
> inpoint and duration args for nlesource or nleurisource does not
> work.
>
> ex:
> gst-launch-1.0 nleurisource uri=file:///my_video.mp4
> inpoint=10000000000 duration=5000000000 ! decodebin ! videoconvert !
> autovideosink
NLE does not work in gst-launch-1.0 because you need to "commit" (see
commit action signal) the changes, even the initial one.

>
> My pipeline is working but all the video is used (from first to last
> frame). The inpoint and duration have no consequence.
>
> If I replace nleurisource by the old gnlurisource, everything works
> fine.
>
> These options are still working?
>
> And in this case, is this a bug from this version and do I need to
> upgrade my libs?
>
> Or maybe, it's not the way to do it anymore?
>
> Regards,
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [nleurisource] inpoint and duration not effective

Christophe Da Silva
I understand, thanks for the answer.

And sorry for the duplicate question in the forum.

Regards,

Le jeu. 27 avr. 2017 à 14:00, Nicolas Dufresne <[hidden email]> a écrit :
Le jeudi 27 avril 2017 à 08:13 +0000, Christophe Da Silva a écrit :
> Hi,
>
> I use gst-editing-tools (try with version 1.6.2 and 1.10.4) and the
> inpoint and duration args for nlesource or nleurisource does not
> work.
>
> ex:
> gst-launch-1.0 nleurisource uri=file:///my_video.mp4
> inpoint=10000000000 duration=5000000000 ! decodebin ! videoconvert !
> autovideosink

NLE does not work in gst-launch-1.0 because you need to "commit" (see
commit action signal) the changes, even the initial one.

>
> My pipeline is working but all the video is used (from first to last
> frame). The inpoint and duration have no consequence.
>
> If I replace nleurisource by the old gnlurisource, everything works
> fine.
>
> These options are still working?
>
> And in this case, is this a bug from this version and do I need to
> upgrade my libs?
>
> Or maybe, it's not the way to do it anymore?
>
> Regards,
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

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

Re: [nleurisource] inpoint and duration not effective

Nicolas Dufresne-5
Le jeudi 27 avril 2017 à 12:11 +0000, Christophe Da Silva a écrit :
I understand, thanks for the answer.

And sorry for the duplicate question in the forum.

Note that Thibault corrected me, if calling commit worked for me is just a luck. This bug need to be fixed.

regards,
Nicolas

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

signature.asc (188 bytes) Download Attachment