Opening a media stream
[Decoding of multimedia streams]

Various methods of opening a media stream. More...

Functions

int bgav_open (bgav_t *bgav, const char *location)
 Open a file or URL.
int bgav_open_vcd (bgav_t *bgav, const char *location)
 Open a VCD device.
int bgav_open_dvd (bgav_t *bgav, const char *location)
 Open a DVD device.
int bgav_open_dvb (bgav_t *bgav, const char *location)
 Open a DVB device.
int bgav_open_fd (bgav_t *bgav, int fd, int64_t total_size, const char *mimetype)
 Open a decoder from a filedescriptor.

Detailed Description

Various methods of opening a media stream.


Function Documentation

int bgav_open ( bgav_t bgav,
const char *  location 
)

Open a file or URL.

Parameters:
bgav A decoder instance
location The URL or path to open
Returns:
1 if the location was successfully openend, 0 else.

int bgav_open_vcd ( bgav_t bgav,
const char *  location 
)

Open a VCD device.

Parameters:
bgav A decoder instance
location The device node
Returns:
1 if the VCD device was successfully openend, 0 else.

int bgav_open_dvd ( bgav_t bgav,
const char *  location 
)

Open a DVD device.

Parameters:
bgav A decoder instance
location The device node
Returns:
1 if the DVD device was successfully openend, 0 else.

int bgav_open_dvb ( bgav_t bgav,
const char *  location 
)

Open a DVB device.

Parameters:
bgav A decoder instance
location The device directory
Returns:
1 if the DVB device was successfully openend, 0 else.
This function will search your system for channel configuration files, which are created by other tools. The channels are then available as normal tracks.

int bgav_open_fd ( bgav_t bgav,
int  fd,
int64_t  total_size,
const char *  mimetype 
)

Open a decoder from a filedescriptor.

Parameters:
bgav A decoder instance
fd The filedescriptor
total_size The total number of available bytes or 0 if this info is not known.
mimetype The mimetype of the input or NULL if this info is not known.
Returns:
1 if the filedescriptor was successfully openend, 0 else.


Generated on Wed Jan 9 19:33:10 2008 for gmerlin_avdecoder by  doxygen 1.5.3