avfassetsrc

Read and decode samples from AVFoundation assets using the AVFAssetReader API.

Two URI protocols are supported: avf+file:// and ipod-library://.

'avf+file://' is used to distinguish media URIs which should be handled and decoded by AVFoundation from regular arbitrary file:// URIs. ipod-library:// URIs are returned by the MPMediaItem API.

Example launch lines

gst-launch-1.0 -v -m avfassetsrc uri="file:///path/to/movie.mp4" ! autovideosink
gst-play-1.0 -v avf+file:///path/to/movie.mp4

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──avfassetsrc

Implemented interfaces

Factory details

Authors: – Andoni Morales Alastruey amorales@fluendo.com

Classification:Source/Codec

Rank – secondary

Plugin – applemedia

Package – GStreamer Bad Plug-ins

Pad Templates

audio

audio/x-raw:
         format: F32LE
           rate: [ 1, 2147483647 ]
       channels: [ 1, 2 ]
         layout: interleaved

Presencesometimes

Directionsrc

Object typeGstPad


video

video/x-raw:
         format: NV12
      framerate: [ 0/1, 2147483647/1 ]
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]

Presencesometimes

Directionsrc

Object typeGstPad


Properties

uri

“uri” gchararray

URI of the asset to read

Flags : Read / Write

Default value : NULL


The results of the search are