gstreamer custom element
Duchassin Frederic
duchassin at sefram.fr
Wed May 16 13:06:14 UTC 2018
Hello,
Nobody can help me or have experience about plugin creation ?
I use this mailing list since several month now and I nearly never have an
answer L
I hope someone could take time and read my post to help a newbie.
BR
Frederic
De : gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
De la part de Duchassin Frederic
Envoyé : mardi 15 mai 2018 10:47
À : 'Discussion of the development of and with GStreamer'
Objet : RE: gstreamer custom element
Hello,
I try to add pts and dts to the output buffer
but nothing more.
It always doesnt work on live stream whereas it work when I use an
intermediate file.
Help me please, its going to make me crazy !!!!
Frederic
De : gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
De la part de Duchassin Frédéric
Envoyé : lundi 14 mai 2018 14:25
À : 'Discussion of the development of and with GStreamer'
Objet : gstreamer custom element
Hello,
I try to make my own element called t2mi : this element take a t2-mi
stream as input as output an mpeg2-ts stream.
So using these pipeline :
(this first pipeline create a file called out.ts which contain valid
mpeg2-ts)
gst-launch-1.0 -v udpsrc address=239.0.0.1 port=1234 buffer-size=300000000
do-timestamp=false ! queue ! t2mi pid=64 ! queue ! filesink
location=/home/t2misample/out.ts
+
(this second pipeline read the out.ts file and display the decoded video)
gst-launch-1.0 -v filesrc location=/home/t2misample/out.ts blocksize=564 !
tsdemux name=d ! multiqueue name=q use-buffering=1 d. ! q. q. ! queue
max-size-bytes=100000000 max-size-time=0 ! vpudec ! queue
max-size-bytes=100000000 max-size-time=0 ! imxipuvideosink q. ! queue
max-size-bytes=100000000 max-size-time=0 ! decodebin ! queue
max-size-bytes=100000000 max-size-time=0 ! audioconvert ! volume volume=10 !
alsasink
So my element seems working but when I use the following pipeline, it
doesnt work anymore :
gst-launch-1.0 -v udpsrc address=239.0.0.1 port=1234 buffer-size=300000000
do-timestamp=false ! queue ! t2mi pid=64 ! queue ! tsdemux name=d !
multiqueue name=q use-buffering=1 d. ! q. q. ! queue
max-size-bytes=100000000 max-size-time=0 ! vpudec ! queue
max-size-bytes=100000000 max-size-time=0 ! imxipuvideosink q. ! queue
max-size-bytes=100000000 max-size-time=0 ! decodebin ! queue
max-size-bytes=100000000 max-size-time=0 ! audioconvert ! volume volume=10 !
alsasink
So when I use a filesink + filesrc and 2 pipeline, its working. But when I
use only one pipeline it doesnt work.
So my question is why ?
Thanks in advance for your help.
Frederic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180516/ca0ade68/attachment.html>
More information about the gstreamer-devel
mailing list