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 doesn’t 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, it’s working. But when I use only one pipeline it doesn’t work. So my question is why ? Thanks in advance for your help. Frederic _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hello, I try to add pts and dts to the output buffer… but nothing more. It always doesn’t work on live stream whereas it work when I use an intermediate file. Help me please, it’s going to make me crazy !!!! Frederic De : gstreamer-devel [mailto:[hidden email]] De la part de Duchassin Frédéric 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 doesn’t 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, it’s working. But when I use only one pipeline it doesn’t work. So my question is why ? Thanks in advance for your help. Frederic _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
If somebody can have a look at debug file in order to give me a clue. 2 zip archive containing dot files : - The first is a pipeline from a file and is working. - The second is a live stream from udp and is not working. BR Frederic De : gstreamer-devel [mailto:[hidden email]] De la part de Duchassin Frederic Hello, I try to add pts and dts to the output buffer… but nothing more. It always doesn’t work on live stream whereas it work when I use an intermediate file. Help me please, it’s going to make me crazy !!!! Frederic De : gstreamer-devel [mailto:[hidden email]] De la part de Duchassin Frédéric 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 doesn’t 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, it’s working. But when I use only one pipeline it doesn’t work. So my question is why ? Thanks in advance for your help. Frederic _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Duchassin Frederic
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:[hidden email]] De la part de Duchassin Frederic Hello, I try to add pts and dts to the output buffer… but nothing more. It always doesn’t work on live stream whereas it work when I use an intermediate file. Help me please, it’s going to make me crazy !!!! Frederic De : gstreamer-devel [mailto:[hidden email]] De la part de Duchassin Frédéric 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 doesn’t 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, it’s working. But when I use only one pipeline it doesn’t work. So my question is why ? Thanks in advance for your help. Frederic _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |