Yes. I use QMediaPlayer and QVideoWidget to construct a simplest player.
 I also try to comment code related on playbin and create the gstreamer 
pipeline manually. When I connect to TIDmaiVideoSink, it plays very 
well. But it plays very slow when I change video ouput from 
TIDmaiVideoSink to QVideoWidget.<br><br><div class="gmail_quote">On Fri, May 25, 2012 at 12:38 AM, Fredrik HENRICSSON <span dir="ltr"><<a href="mailto:fredrik.henricsson@stericsson.com" target="_blank">fredrik.henricsson@stericsson.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u><u></u><div link="blue" vlink="purple" style="margin-left:7.5pt;margin-top:7.5pt;margin-right:7.5pt;margin-bottom:7.5pt" lang="SV">

<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hi William,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">This looks a bit familiar.. Are you using QVideoWidget or the QML Video element in your UI? I had performance issues with QML video playback that I at the time concluded did not end up using GStreamer, while QVideoWidget does and GStreamer draws to a native window. This was over a year ago though so things may have changed since then.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">BR<br>Fredrik<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>

<div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin:0cm;margin-bottom:.0001pt"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> interest-bounces+fredrik.henricsson=<a href="mailto:stericsson.com@qt-project.org" target="_blank">stericsson.com@qt-project.org</a> [mailto:<a href="mailto:interest-bounces%2Bfredrik.henricsson" target="_blank">interest-bounces+fredrik.henricsson</a>=<a href="mailto:stericsson.com@qt-project.org" target="_blank">stericsson.com@qt-project.org</a>] <b>On Behalf Of </b>William Zeng<br>

<b>Sent:</b> den 24 maj 2012 17:51<br><b>To:</b> <a href="mailto:interest@qt-project.org" target="_blank">interest@qt-project.org</a><br><b>Subject:</b> [Interest] Play video is very slow using Gstreamer<u></u><u></u></span></p>

</div></div><div><div class="h5"><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><div><p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">Hi All, <u></u><u></u></span></p>

<p><span style="font-size:10.5pt;font-family:"\000026#24494","serif""> <u></u><u></u></span></p><p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">I'm trying to make a media player using Qt and TI DSP. It has sound but no video when I use QtMultimedia of Qt5 alpha + Gstreamer. <u></u><u></u></span></p>

<p><span style="font-size:10.5pt;font-family:"\000026#24494","serif""> <u></u><u></u></span></p><p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">Then I try several methods, such as:<u></u><u></u></span></p>

<p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">1. QtMultimedia of Qt5 alpha + Qt mobility 1.2.0 + Gstreamer<u></u><u></u></span></p><p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">2. QtMultimedia of Qt 4.8.1 + Qt mobility 1.2.0 + Gstreamer<u></u><u></u></span></p>

<p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">3. Qt 4.8.2 + Phonon + Gstreamer<u></u><u></u></span></p><p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">The same result is video plays very slow and the CPU usage is up to 54%.<u></u><u></u></span></p>

<p><span style="font-size:10.5pt;font-family:"\000026#24494","serif""> <u></u><u></u></span></p><p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">Below is my environment:<u></u><u></u></span></p>

<p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">Beagleboard-xM<u></u><u></u></span></p><p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">TI DVSDK 4.01.00.09 for DM3730<u></u><u></u></span></p>

<p><span style="font-size:10.5pt;font-family:"\000026#24494","serif""> <u></u><u></u></span></p><p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">It play very well when I used the gstreamer directly:<u></u><u></u></span></p>

<p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">gst-launch filesrc location="/usr/share/ti/data/videos/davincieffect_h264_aac.mp4" ! qtdemux name=demux demux.audio_00 ! queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 ! TIAuddec1 ! alsasink demux.video_00 ! queue ! TIViddec2 padAllocOutbufs=TRUE ! TIDmaiVideoSink videoStd=720P_60 videoOutput=AUTO numBufs=5<u></u><u></u></span></p>

<p><span style="font-size:10.5pt;font-family:"\000026#24494","serif""> <u></u><u></u></span></p><p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">Another command is well by using playbin2. I know Qt also use playbin2 to process media file. But I don't know why they can't get the same result.<u></u><u></u></span></p>

<p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">gst-launch playbin2 uri=<a>file:///usr/share/ti/data/videos/davincieffect_h264_aac.mp4</a> flags="native-video"<u></u><u></u></span></p>

<p><span style="font-size:10.5pt;font-family:"\000026#24494","serif""> <u></u><u></u></span></p><p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">Does anybody have such experience and give some advices to me? <u></u><u></u></span></p>

<p><span style="font-size:10.5pt;font-family:"\000026#24494","serif""> <u></u><u></u></span></p><p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">Thank you very much.<u></u><u></u></span></p>

<p><span style="font-size:10.5pt;font-family:"\000026#24494","serif""> <u></u><u></u></span></p><p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">Best regards, <u></u><u></u></span></p>

<p><span style="font-size:10.5pt;font-family:"\000026#24494","serif"">William<u></u><u></u></span></p></div></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards, <br>
<br>
William Zeng<br>