Audio glitch when playing on Qemu

sudarshan bisht bisht.sudarshan at gmail.com
Sun Apr 24 23:58:31 PDT 2011


OK, I am not much familiar to Qemu, but what is the emulated processor speed
in your case ?

It may be a performance issue , If possible you can try running top command
when you play your file and see the CPU load. If CPU load is very high then
there is a very little chance to do something except reducing the video
resolution or fps to some optimum values and then running it.



On Mon, Apr 25, 2011 at 12:15 PM, Ashwini Sharma <ak.ashwini at gmail.com>wrote:

> I am having a video of 544x576 at fps=25.
>
> I am running it on Qemu.
>
> On Mon, Apr 25, 2011 at 12:09 PM, sudarshan bisht <
> bisht.sudarshan at gmail.com> wrote:
>
>> May I know what is the video resolution and fps ? are you running it on
>> Linux machine or on some embedded device/hardware ?
>>
>>
>> On Mon, Apr 25, 2011 at 11:59 AM, Ashwini Sharma <ak.ashwini at gmail.com>wrote:
>>
>>> Yes, I want to play both. But as per my requirement i can't use the
>>> playbin or playbin2.
>>>
>>> But i have seen that even with playbin2 i get the glitch in Audio.
>>>
>>>
>>>
>>>
>>> On Mon, Apr 25, 2011 at 11:32 AM, sudarshan bisht <
>>> bisht.sudarshan at gmail.com> wrote:
>>>
>>>> Is this file has audio and video both ? And you want to play both of
>>>> them ?
>>>>
>>>> In my opinion you should use playbin or playbin2.
>>>> gst-launch playbin2 uri=file:///bin/multipsdemo.ts
>>>>
>>>>
>>>> On Mon, Apr 25, 2011 at 11:21 AM, Ashwini Sharma <ak.ashwini at gmail.com>wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> This is ho my pipeline looks like at qemu:
>>>>> *"gst-launch -v filesrc location=/bin/multipsdemo.ts ! mpegtsparse !
>>>>> mpegtsdemux  name=demux ! queue max-size-buffers=5000 ! decodebin ! queue
>>>>> max-size-buffers=5000 ! audioconvert ! queue max-size-buffers=5000 !
>>>>> alsasink sync=false"*
>>>>>
>>>>> **
>>>>> Can you suggest some modifications which can help.
>>>>>
>>>>> rgds,
>>>>> Ashwini
>>>>>
>>>>>
>>>>> On Mon, Apr 25, 2011 at 11:15 AM, sudarshan bisht <
>>>>> bisht.sudarshan at gmail.com> wrote:
>>>>>
>>>>>> Are you using queue element in your pipeline at right places ?
>>>>>>
>>>>>>   On Thu, Apr 21, 2011 at 10:10 AM, Ashwini Sharma <
>>>>>> ak.ashwini at gmail.com> wrote:
>>>>>>
>>>>>>>   Hi All,
>>>>>>>
>>>>>>>     I am using gstreamer on qemu (0.14.0) to play Audio/video.
>>>>>>> I have two cases, when I play a MP3 file, the sound output is fine
>>>>>>> (continuousand smooth), but when I play a TS or Video file the sound output
>>>>>>> is having glitches, even if i set the "sync=false" for both the audio and
>>>>>>> video sink.
>>>>>>>
>>>>>>> When i checked the output sample rate by putting printf in the
>>>>>>> AudioSink write function, i see that the output sample rate is fine , i.e.
>>>>>>> equal to the input sample rate of the audio stream.
>>>>>>>
>>>>>>> Can someone pls help me on this.
>>>>>>>
>>>>>>> rgds,
>>>>>>> Ashwini
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> gstreamer-devel mailing list
>>>>>>> gstreamer-devel at lists.freedesktop.org
>>>>>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>>
>>>>>> Sudarshan Bisht
>>>>>>
>>>>>> _______________________________________________
>>>>>> gstreamer-devel mailing list
>>>>>> gstreamer-devel at lists.freedesktop.org
>>>>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> gstreamer-devel mailing list
>>>>> gstreamer-devel at lists.freedesktop.org
>>>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Sudarshan Bisht
>>>>
>>>> _______________________________________________
>>>> gstreamer-devel mailing list
>>>> gstreamer-devel at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>
>>>>
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Sudarshan Bisht
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110425/28cc8b02/attachment.htm>


More information about the gstreamer-devel mailing list