Use of capsfilter

deepthips deepthips at tataelxsi.co.in
Thu Nov 29 00:39:27 PST 2012


Thanks for the reply.. I changed capsfilter to be after qtdemux.  But that
also didnt show any change. Tried with a video pipeline without audio.

gst-launch filesrc location=IceAge.mp4 ! qtdemux name=myqtdemux ! myvideo !
capsfilter caps="video/x-fake-yuv,width=320,height=240" ! mydisplaysink   
------- I expected video to show different resolution

AND 

gst-launch filesrc location=IceAge.mp4 ! qtdemux name=myqtdemux ! myvideo !
capsfilter caps="video/x-fake-yuv,blue_mask=(int)0xFFFFF000" ! mydisplaysink 
---------------- I expected screen to be blue color


Video played normally.

gst-inspect mydisplaysink:

Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      video/x-fake-yuv
      video/x-raw-rgb
                    bpp: 32
                  depth: 32
               red_mask: 65280
             green_mask: 16711680
              blue_mask: -16777216
             endianness: 4321
                  width: [ 1, 1280 ]
                 height: [ 1, 720 ]
              framerate: [ 0/1, 100/1 ]
      video/x-raw-rgb
                    bpp: 32
                  depth: 32
               red_mask: -16777216
             green_mask: 16711680
              blue_mask: 65280
             endianness: 4321
                  width: [ 1, 1280 ]
                 height: [ 1, 720 ]
              framerate: [ 0/1, 100/1 ]



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Use-of-capsfilter-tp4657112p4657116.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list