Created
          October 4, 2019 21:37 
        
      - 
      
- 
        Save anselmobattisti/e1f290faf8225af2e262581edcf48dca to your computer and use it in GitHub Desktop. 
    Combine two videos and place than side by side gstreamer
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | gst-launch-1.0 \ | |
| videomixer name=m sink_1::xpos=50 sink_1::ypos=50 sink_2::xpos=400 sink_2::ypos=50 \ | |
| ! x264enc \ | |
| ! rtph264pay \ | |
| ! udpsink host=localhost port=5000 \ | |
| videotestsrc pattern=white \ | |
| ! video/x-raw, format=I420, framerate=5/1, width=740, height=480 \ | |
| ! m. \ | |
| videotestsrc pattern=red \ | |
| ! videobox left=100 \ | |
| ! video/x-raw, format=I420, framerate=5/1, width=300, height=200 \ | |
| ! queue \ | |
| ! m. \ | |
| videotestsrc pattern=green \ | |
| ! videobox left=500 \ | |
| ! video/x-raw, format=I420, framerate=5/1, width=300, height=200 \ | |
| ! queue \ | |
| ! m. | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Nice