#include <avdetector.h>
Public Member Functions | |
int | detectVideoProperties (cUPnPResource *Resource, const char *Filename) |
This is the audio video detector, which analizes the audio and video stream of a file to gather more information about the resource. This is also required for determination of a suitable DLNA profile.
int cAudioVideoDetector::detectVideoProperties | ( | cUPnPResource * | Resource, | |
const char * | Filename | |||
) |
Detect video properties
This detects video properties of a video stream and stores them in the Resource object.
Resource | the resource, where to save the data | |
Filename | the file, which shall be read |
0
, if the detection was successful<0
, otherwise