v4l2radio

v4l2radio — Controls a Video4Linux2 radio device

Synopsis

struct              GstV4l2Radio;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstV4l2Radio

Implemented Interfaces

GstV4l2Radio implements GstURIHandler, GstImplementsInterface, GstTuner and GstPropertyProbe.

Properties

  "device"                   gchar*                : Read / Write
  "frequency"                gint                  : Read / Write

Description

v4l2radio can be used to control radio device and to tune it to different radiostations.

Example launch lines

gst-launch v4l2radio device=/dev/radio0 frequency=101200000
gst-launch alsasrc device=hw:1 ! audioconvert ! audioresample ! alsasink
First pipeline tunes the radio device /dev/radio0 to station 101.2 MHz, second pipeline connects digital audio out (hw:1) to default sound card.

Synopsis

Element Information

plugin

video4linux2

author

Alexey Chernov <4ernov@gmail.com>

class

Tuner

Element Pads

Details

struct GstV4l2Radio

struct GstV4l2Radio;

Opaque video4linux2 radio tuner element

Property Details

The "device" property

  "device"                   gchar*                : Read / Write

Video4Linux2 radio device location.

Default value: "/dev/radio0"


The "frequency" property

  "frequency"                gint                  : Read / Write

Station frequency in Hz.

Allowed values: [87500000,108000000]

Default value: 100000000