Jump to content

GstInterpipe - Simple Examples: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 17: Line 17:


In the sample the source pipeline periodically (each 8 s) change the source pipeline it is listening to, so you will see a different video pattern on the rendering screen.
In the sample the source pipeline periodically (each 8 s) change the source pipeline it is listening to, so you will see a different video pattern on the rendering screen.
As you can view from the sample code, to change the the source pipeline that the sink pipeline is listening to, is as easy as change the value of the interpipesrc element '''"listen-to"''' property with the name of the desired interpipesink to be listened.


The below diagram illustrates the concept.
The below diagram illustrates the concept.
Line 93: Line 95:
To run the sample follow this steps:
To run the sample follow this steps:
#Copy the script code in a file
#Copy the script code in a file
#Change the file permissions to be executable (chmod 777 <file.sh>)
#Change the file permissions to be executable (''chmod 777 <file.sh>'')
#Run the script: ./<file.sh>
#Run the script: ''./<file.sh>''


}}
}}
1,433

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.