demuxer

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

demuxer

simba9
Is there an element that takes data and copies it to two outputs? I want to
analyze them from the first output, and from the second to send them further
along the pipeline for playback.



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

AW: demuxer

Thornton, Keith
Hi,
Use tee. In each branch after the tee insert a queue

---- TEE --- queue --- do something
         |
         --- queue --- do something else
Gruesse

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel <[hidden email]> Im Auftrag von simba9
Gesendet: Donnerstag, 21. Januar 2021 12:04
An: [hidden email]
Betreff: demuxer

Is there an element that takes data and copies it to two outputs? I want to analyze them from the first output, and from the second to send them further along the pipeline for playback.



--
Sent from: https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgstreamer-devel.966125.n4.nabble.com%2F&amp;data=04%7C01%7C%7C633b9f18b9044c32d2ec08d8be10b58b%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637468326258358596%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=Hdqr%2B3TM40loL0CyMKjuEUUwfDWAgvffhMr39RsYSJU%3D&amp;reserved=0
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&amp;data=04%7C01%7C%7C633b9f18b9044c32d2ec08d8be10b58b%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637468326258358596%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=R0cWaZxYqO9VmoaM2PkBmQILIlNwRoQ1V8QkWyv7vsw%3D&amp;reserved=0
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: AW: demuxer

simba9
Why queue up after tee?



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

Re: AW: demuxer

gotsring
I believe this is a threading thing, the queue allows data to be pushed
across threads. See docs on tee here.
https://gstreamer.freedesktop.org/documentation/coreelements/tee.html?gi-language=c



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

AW: AW: demuxer

Thornton, Keith
In reply to this post by simba9
Hi,
a queue forces a thread change. Without it you are in danger of one branch causing another to block e.g. when in one block an encoder needs more than one frame in order to be able to encode, and the other only lets one buffer through, the pipeline will block. Try it out and you will see.
Gruesse

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel <[hidden email]> Im Auftrag von simba9
Gesendet: Donnerstag, 21. Januar 2021 15:13
An: [hidden email]
Betreff: Re: AW: demuxer

Why queue up after tee?



--
Sent from: https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgstreamer-devel.966125.n4.nabble.com%2F&amp;data=04%7C01%7C%7Cd5b66cc5cb61486a6f4108d8be23935b%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637468407283728185%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=MX6fjLGY3siH4BU4bOk%2BKzLDJNA0nQajZ%2BeAKkxvAg4%3D&amp;reserved=0
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&amp;data=04%7C01%7C%7Cd5b66cc5cb61486a6f4108d8be23935b%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637468407283728185%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=FrtmjRAF6yA9FnqvXkEBEMKBu0O0ef%2BY4UfxmsA7Yhg%3D&amp;reserved=0
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel