Pause issue

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Pause issue

Gayatri

Hi

 

   Using Gstreamer -1.0 for development embedded  Media player , I face the issue when the song is paused .

   That is : last frame is repeated when pause is done(it sounds as if its is dragged).

   Can anyone let me know why is this happening .

 

 

Regards,

  Gayatri



::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Pause issue

Sebastian Dröge-3
On Di, 2016-05-10 at 10:50 +0000, Gayatri Badiger wrote:
> Hi
>  
>    Using Gstreamer -1.0 for development embedded  Media player , I
> face the issue when the song is paused .
>    That is : last frame is repeated when pause is done(it sounds as
> if its is dragged).
>    Can anyone let me know why is this happening .

Please provide more details about your application, what kind of file
your playing and on what kind of system (especially how it's output to
the speakers). 

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Pause issue

Gayatri

I am playing the mp3 file and I am using the Alsa sink , in the pipe creation.
I have the setup(Intel and the Audio processor(Dirana, a NXP chip) ), decoded data goes to Audio processor through Alsa.

The issue is there when I play .ogg file.

Have any body came across with such issue ?
Reply | Threaded
Open this post in threaded view
|

Re: Pause issue

Kyrylo Polezhaiev
Hi,

What issue do you have? Also please attach your pipeline description.

Cheers,
- K

> On May 12, 2016, at 11:18, Gayatri <[hidden email]> wrote:
>
>
> I am playing the mp3 file and I am using the Alsa sink , in the pipe
> creation.
> I have the setup(Intel and the Audio processor(Dirana, a NXP chip) ),
> decoded data goes to Audio processor through Alsa.
>
> The issue is there when I play .ogg file.
>
> Have any body came across with such issue ?
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Pause-issue-tp4677435p4677501.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Pause issue

Gayatri

Hi


High lights of Pipe line used for the playback

gst_init (NULL, NULL);
pAudioSrc = gst_element_factory_make ("filesrc","file-source");
pAudParse = gst_element_factory_make("mpegaudioparse", NULL);
pDecoder = gst_element_factory_make("mad", NULL);
pAudioConv = gst_element_factory_make("audioconvert", "converter");
pAudioSample = gst_element_factory_make("audioresample", NULL);
pAlsaSink = gst_element_factory_make("alsasink", "audio-output");
pVolume = gst_element_factory_make("volume", NULL);


char* alsaSinkDevice = (char*)"plughw:0,0";
g_object_set(pAlsaSink, "device", alsaSinkDevice, NULL);


g_object_set(G_OBJECT(pAudioSrc), "location",uri, NULL);

SetBusWatch // My own function where gst_bus_add_watch is set

gst_bin_add_many(GST_BIN(m_pPipeLine), pAudioSrc, pAudParse, pDecoder, pAudioConv, pAudioSample, pVolume, pAlsaSink, NULL);
   
gst_element_link_many(pAudioSrc, pAudParse, pDecoder, pAudioConv, pAudioSample, pVolume, pAlsaSink, NULL);


The play back , stop, and  seek works properly . only pause has the issue , when we pause ,play back is paused but the some dragging(looks like last frame) sound is heard.


Thanks .