X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fplugins%2Fhtml%2Fgst-plugins-base-plugins-xvimagesink.html;h=a17c8be42d64a5c3be9ee513eb12311424460556;hb=refs%2Fheads%2Fmaster;hp=ee13e99208cffda6d48ce850dfdce976533a796b;hpb=5368e843d0f50770b7959782e360243dff90eb8d;p=framework%2Fmultimedia%2Fgst-plugins-base0.10.git diff --git a/docs/plugins/html/gst-plugins-base-plugins-xvimagesink.html b/docs/plugins/html/gst-plugins-base-plugins-xvimagesink.html index ee13e99..a17c8be 100644 --- a/docs/plugins/html/gst-plugins-base-plugins-xvimagesink.html +++ b/docs/plugins/html/gst-plugins-base-plugins-xvimagesink.html @@ -3,12 +3,12 @@
-XvImageSink renders video frames to a drawable (XWindow) on a local display -using the XVideo extension. Rendering to a remote display is theorically -possible but i doubt that the XVideo extension is actually available when -connecting to a remote display. This element can receive a Window ID from the -application through the XOverlay interface and will then render video frames -in this drawable. If no Window ID was provided by the application, the -element will create its own internal window and render into it. -
--
--The XVideo extension, when it's available, handles hardware accelerated -scaling of video frames. This means that the element will just accept -incoming video frames no matter their geometry and will then put them to the -drawable scaling them on the fly. Using the "force-aspect-ratio" -property it is possible to enforce scaling with a constant aspect ratio, -which means drawing black borders around the video frame. -
--
--XvImageSink creates a thread to handle events coming from the drawable. There -are several kind of events that can be grouped in 2 big categories: input -events and window state related events. Input events will be translated to -navigation events and pushed upstream for other elements to react on them. -This includes events such as pointer moves, key press/release, clicks etc... -Other events are used to handle the drawable appearance even when the data -is not flowing (GST_STATE_PAUSED). That means that even when the element is -paused, it will receive expose events from the drawable and draw the latest -frame with correct borders/aspect-ratio. -
--
--When changing state to GST_STATE_READY, XvImageSink will open a connection to -the display specified in the "display" property or the -default display if nothing specified. Once this connection is open it will -inspect the display configuration including the physical display geometry and -then calculate the pixel aspect ratio. When receiving video frames with a -different pixel aspect ratio, XvImageSink will use hardware scaling to -display the video frames correctly on display's pixel aspect ratio. -Sometimes the calculated pixel aspect ratio can be wrong, it is -then possible to enforce a specific pixel aspect ratio using the -"pixel-aspect-ratio" property. -
--
-1 |
- gst-launch -v videotestsrc ! xvimagesink |
-
1 |
- gst-launch -v videotestsrc ! xvimagesink force-aspect-ratio=true |
-
1 |
- gst-launch -v videotestsrc ! navigationtest ! xvimagesink |
-
1 |
- gst-launch -v videotestsrc ! video/x-raw-yuv, pixel-aspect-ratio=(fraction)4/3 ! xvimagesink |
-
1 |
- gst-launch -v videotestsrc ! xvimagesink hue=100 saturation=-100 brightness=100 |
-
-
"synchronous"
property"synchronous" gboolean : Read / Write-
When enabled, runs the X display in synchronous mode. (used only for debugging).
+When enabled, runs the X display in synchronous mode. (unrelated to A/V sync, used only for debugging).
Default value: FALSE
"double-buffer"
property"double-buffer" gboolean : Read / Write-
-Whether to double-buffer the output. -
+Whether to double-buffer the output.
Default value: TRUE
-Since 0.10.14
"handle-expose"
property"handle-expose" gboolean : Read / Write-
-When enabled, the current frame will always be drawn in response to X -Expose. -
+When enabled, the current frame will always be drawn in response to X Expose events.
Default value: TRUE
-Since 0.10.14
"autopaint-colorkey"
property"autopaint-colorkey" gboolean : Read / Write-
-Whether to autofill overlay with colorkey -
+Whether to autofill overlay with colorkey.
Default value: TRUE
-Since 0.10.21
"colorkey"
property"colorkey" gint : Read / Write-
-Color to use for the overlay mask. -
+Color to use for the overlay mask.
Default value: 0
-Since 0.10.21
"draw-borders"
property"draw-borders" gboolean : Read / Write-
-Draw black borders when using GstXvImageSink:force-aspect-ratio to fill -unused parts of the video area. -
+Draw black borders to fill unused area in force-aspect-ratio mode.
Default value: TRUE
-Since 0.10.21
"window-height"
property"window-height" guint64 : Read-
-Actual height of the video window. -
+ "window-height" guint64 : Read
+Height of the window.
Default value: 0
-Since 0.10.32
"window-width"
property"window-width" guint64 : Read-
-Actual width of the video window. -
+ "window-width" guint64 : Read
+Width of the window.
Default value: 0
-Since 0.10.32