GESUriClip

## GESUriClip GESUriClip — An object for manipulating media files in a GESTimeline |

## Synopsis

    #include <ges/ges.h>

                        GESUriClip;
    GESUriClip *        ges_uri_clip_new                    (gchar *uri);
    const gchar *       ges_uri_clip_get_uri                (GESUriClip *self);
    gboolean            ges_uri_clip_is_image               (GESUriClip *self);
    gboolean            ges_uri_clip_is_muted               (GESUriClip *self);
    void                ges_uri_clip_set_is_image           (GESUriClip *self,
                                                             gboolean is_image);
    void                ges_uri_clip_set_mute               (GESUriClip *self,
                                                             gboolean mute);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GESTimelineElement
                   +----GESContainer
                         +----GESClip
                               +----GESSourceClip
                                     +----GESUriClip

## Implemented Interfaces

GESUriClip implements GESExtractable and GESMetaContainer.

## Properties

      "is-image"                 gboolean              : Read / Write / Construct
      "mute"                     gboolean              : Read / Write / Construct
      "supported-formats"        GESTrackType          : Read / Write / Construct
      "uri"                      gchar*                : Read / Write / Construct Only

## Description

Represents all the output streams from a particular uri. It is assumed that the URI points to a file of some type.

## Details

### GESUriClip

    typedef struct _GESUriClip GESUriClip;

### ges_uri_clip_new ()

    GESUriClip *        ges_uri_clip_new                    (gchar *uri);

Creates a new GESUriClip for the provided `uri`.

`uri` : | the URI the source should control
Returns : | The newly created GESUriClip, or NULL if there was an error.

### ges_uri_clip_get_uri ()

    const gchar *       ges_uri_clip_get_uri                (GESUriClip *self);

Get the location of the resource.

`self` : | the GESUriClip
Returns : | The location of the resource.

### ges_uri_clip_is_image ()

    gboolean            ges_uri_clip_is_image               (GESUriClip *self);

Lets you know if `self` is an image or not.

`self` : | the GESUriClip
Returns : | `TRUE` if `self` is a still image `FALSE` otherwise.

### ges_uri_clip_is_muted ()

    gboolean            ges_uri_clip_is_muted               (GESUriClip *self);

Lets you know if the audio track of `self` is muted or not.

`self` : | the GESUriClip
Returns : | `TRUE` if the audio track of `self` is muted, `FALSE` otherwise.

### ges_uri_clip_set_is_image ()

    void                ges_uri_clip_set_is_image           (GESUriClip *self,
                                                             gboolean is_image);

Sets whether the clip is a still image or not.

`self` : | the GESUriClip
`is_image` : | `TRUE` if `self` is a still image, `FALSE` otherwise

### ges_uri_clip_set_mute ()

    void                ges_uri_clip_set_mute               (GESUriClip *self,
                                                             gboolean mute);

Sets whether the audio track of this clip is muted or not.

`self` : | the GESUriClip on which to mute or unmute the audio track
`mute` : | `TRUE` to mute `self` audio track, `FALSE` to unmute it

## Property Details

### The `"is-image"` property

      "is-image"                 gboolean              : Read / Write / Construct

Whether this filesource represents a still image or not. This must be set before create_track_elements is called.

Default value: FALSE

### The `"mute"` property

      "mute"                     gboolean              : Read / Write / Construct

Whether the sound will be played or not.

Default value: FALSE

### The `"supported-formats"` property

      "supported-formats"        GESTrackType          : Read / Write / Construct

Formats supported by the file.

Default value: GES_TRACK_TYPE_UNKNOWN

### The `"uri"` property

      "uri"                      gchar*                : Read / Write / Construct Only

The location of the file/resource to use.

Default value: NULL