[MeeGo-dev] videoplayer using xvideo/xvimagesink?
dmytro.poplavskiy at nokia.com
Thu Aug 26 20:34:50 PDT 2010
On Thursday 26 August 2010 21:41:36 ext anand k n wrote:
> I am trying to use the default mediaplayer .I have an issue when I am using
> the xvideo plugin. the gst pipeline I think is created like this but does
> not work (no display)for videoplayer filesrc location=file ! qtdemux !
> omx_h263dec ! qvideosurfacegstsink
> But when I use the gst-launch pipeline it works properly
> gst-launch-0.10 --gst-debug=0 filesrc location=file ! qtdemux ! omx_h263dec
> ! xvimagesink
> when I enable the log in case of videoplayer I can see that
> xvimagesink xvimagesink.c:1997:gst_xvimagesink_xcontext_clear:
> <xvimagesink0>[00m Closing display and freeing X Context
From this error message it doesn't look like qvideosurfacegstsink is used but
Could you provide mode details? Since you mentioned qvideosurfacegstsink
I suppose you are used QtMobility media service.
Does playbin and playbin2 elements work for you?
QtMobility gstreamer engine uses one of them for playback.
> -I am confused
> whether this is an issue with gst pipeline or Qt based interface?
xvimagesink is usually used when video rendering is done with
QVideoWidgetControl, this control is tried first by QVideoWidget,
qvideosurfacegstsink is selected for QVideoWindowControl and
QVideoRendererControl (QGraphicsVideoItem case).
> there a method to avoid the qvideosurfacegstsink from the videopipeline?
> any pointers will be appreciated.
More information about the MeeGo-dev