gst-play wav file is playing but no sound

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

gst-play wav file is playing but no sound

Arjav Parikh
Hi,
When I play a wav file using command:
gst-play-1.0 /data/Haze.wav
Now playing /data/Haze.wav
0:00:03.0 / 0:00:03.0      
Reached end of play list.

I could not hear sound but it shows file is playing. When I play the same file using tinyplay utility I could hear the sound produced b wav file.
What configurations have to be passed to enable volume?

--
Thanks & Regards,
Arjav Parikh

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

Re: gst-play wav file is playing but no sound

Arjav Parikh
Any suggestions in this case?

On Tue, Oct 9, 2018 at 7:41 PM Arjav Parikh <[hidden email]> wrote:
Hi,
When I play a wav file using command:
gst-play-1.0 /data/Haze.wav
Now playing /data/Haze.wav
0:00:03.0 / 0:00:03.0      
Reached end of play list.

I could not hear sound but it shows file is playing. When I play the same file using tinyplay utility I could hear the sound produced b wav file.
What configurations have to be passed to enable volume?

--
Thanks & Regards,
Arjav Parikh


--
Thanks & Regards,
Arjav Parikh

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

Re: gst-play wav file is playing but no sound

Nicolas Dufresne-5


Le mer. 10 oct. 2018 01 h 12, Arjav Parikh <[hidden email]> a écrit :
Any suggestions in this case?

Tinyplay, that's for one of the flavour of tinyalsa lib? Are you sure you have an element to handle that ?


On Tue, Oct 9, 2018 at 7:41 PM Arjav Parikh <[hidden email]> wrote:
Hi,
When I play a wav file using command:
gst-play-1.0 /data/Haze.wav
Now playing /data/Haze.wav
0:00:03.0 / 0:00:03.0      
Reached end of play list.

I could not hear sound but it shows file is playing. When I play the same file using tinyplay utility I could hear the sound produced b wav file.
What configurations have to be passed to enable volume?

--
Thanks & Regards,
Arjav Parikh


--
Thanks & Regards,
Arjav Parikh
_______________________________________________
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: gst-play wav file is playing but no sound

Arjav Parikh
Yes tinyplay is part of libtinyalsa and I have that on my board.
Using tinycap and tinyplay I am able to capture and play .wav format files.

Thanks & Regards,
Arjav Parikh

On Wed, Oct 10, 2018, 11:13 AM Nicolas Dufresne <[hidden email]> wrote:


Le mer. 10 oct. 2018 01 h 12, Arjav Parikh <[hidden email]> a écrit :
Any suggestions in this case?

Tinyplay, that's for one of the flavour of tinyalsa lib? Are you sure you have an element to handle that ?


On Tue, Oct 9, 2018 at 7:41 PM Arjav Parikh <[hidden email]> wrote:
Hi,
When I play a wav file using command:
gst-play-1.0 /data/Haze.wav
Now playing /data/Haze.wav
0:00:03.0 / 0:00:03.0      
Reached end of play list.

I could not hear sound but it shows file is playing. When I play the same file using tinyplay utility I could hear the sound produced b wav file.
What configurations have to be passed to enable volume?

--
Thanks & Regards,
Arjav Parikh


--
Thanks & Regards,
Arjav Parikh
_______________________________________________
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

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

Re: gst-play wav file is playing but no sound

Nicolas Dufresne-5
Le mercredi 10 octobre 2018 à 11:31 +0530, Arjav Parikh a écrit :
> Yes tinyplay is part of libtinyalsa and I have that on my board.
> Using tinycap and tinyplay I am able to capture and play .wav format
> files.

Ok, then the selected audio sink won't work (pulsesink or alsasink).
You need to make sure you have tinyalsasink in your build of gst-
plugins-bad, and specify it explicitly as this element is not ranked.

  gst-launch-1.0 audiotestsrc ! tinyalsasink
  gst-play-1.0 --videosink=tinyalsasink some.wav

This element got very low attention since it was merged. I know there
is multiple incompatible flavours of tinyalsa. Best for you is to grab
the code and compare against what your copy of tinyplay is doing.

Nicolas

>
> Thanks & Regards,
> Arjav Parikh
>
> On Wed, Oct 10, 2018, 11:13 AM Nicolas Dufresne <[hidden email]
> > wrote:
> >
> > Le mer. 10 oct. 2018 01 h 12, Arjav Parikh <[hidden email]
> > > a écrit :
> > > Any suggestions in this case?
> >
> > Tinyplay, that's for one of the flavour of tinyalsa lib? Are you
> > sure you have an element to handle that ?
> >
> > > On Tue, Oct 9, 2018 at 7:41 PM Arjav Parikh <
> > > [hidden email]> wrote:
> > > > Hi,
> > > > When I play a wav file using command:
> > > > gst-play-1.0 /data/Haze.wav
> > > > Now playing /data/Haze.wav
> > > > 0:00:03.0 / 0:00:03.0      
> > > > Reached end of play list.
> > > >
> > > > I could not hear sound but it shows file is playing. When I
> > > > play the same file using tinyplay utility I could hear the
> > > > sound produced b wav file.
> > > > What configurations have to be passed to enable volume?
> > > >
> > > > --
> > > > Thanks & Regards,
> > > > Arjav Parikh
> > >
> > >
> > > _______________________________________________
> > > 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

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

Re: gst-play wav file is playing but no sound

Arjav Parikh
Output for gst-launch-1.0 audiotestsrc ! tinyalsasink is
WARNING: erroneous pipeline: no element "tinyalsasink"
and
output for gst-play-1.0 --videosink=tinyalsasink /data/Haze.wav is
** (gst-play-1.0:10605): WARNING **: 13:52:27.197: Couldn't create specified video sink 'tinyalsasink'
Press 'k' to see a list of keyboard shortcuts.
Now playing /data/Haze.wav
0:00:03.0 / 0:00:03.0      
Reached end of play list. Sound not heard.

Is there any patch for tinyalsasink to work in gst-plugins-bad?

On Wed, Oct 10, 2018 at 6:40 PM Nicolas Dufresne <[hidden email]> wrote:
Le mercredi 10 octobre 2018 à 11:31 +0530, Arjav Parikh a écrit :
> Yes tinyplay is part of libtinyalsa and I have that on my board.
> Using tinycap and tinyplay I am able to capture and play .wav format
> files.

Ok, then the selected audio sink won't work (pulsesink or alsasink).
You need to make sure you have tinyalsasink in your build of gst-
plugins-bad, and specify it explicitly as this element is not ranked.

  gst-launch-1.0 audiotestsrc ! tinyalsasink
  gst-play-1.0 --videosink=tinyalsasink some.wav

This element got very low attention since it was merged. I know there
is multiple incompatible flavours of tinyalsa. Best for you is to grab
the code and compare against what your copy of tinyplay is doing.

Nicolas

>
> Thanks & Regards,
> Arjav Parikh
>
> On Wed, Oct 10, 2018, 11:13 AM Nicolas Dufresne <[hidden email]
> > wrote:
> >
> > Le mer. 10 oct. 2018 01 h 12, Arjav Parikh <[hidden email]
> > > a écrit :
> > > Any suggestions in this case?
> >
> > Tinyplay, that's for one of the flavour of tinyalsa lib? Are you
> > sure you have an element to handle that ?
> >
> > > On Tue, Oct 9, 2018 at 7:41 PM Arjav Parikh <
> > > [hidden email]> wrote:
> > > > Hi,
> > > > When I play a wav file using command:
> > > > gst-play-1.0 /data/Haze.wav
> > > > Now playing /data/Haze.wav
> > > > 0:00:03.0 / 0:00:03.0       
> > > > Reached end of play list.
> > > >
> > > > I could not hear sound but it shows file is playing. When I
> > > > play the same file using tinyplay utility I could hear the
> > > > sound produced b wav file.
> > > > What configurations have to be passed to enable volume?
> > > >
> > > > --
> > > > Thanks & Regards,
> > > > Arjav Parikh
> > >
> > >
> > > _______________________________________________
> > > 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


--
Thanks & Regards,
Arjav Parikh

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

Re: gst-play wav file is playing but no sound

Arjav Parikh
How do I include tinyalsasink in gst-plugins-bad? Any suggestions?

On Wed, Oct 10, 2018 at 7:37 PM Arjav Parikh <[hidden email]> wrote:
Output for gst-launch-1.0 audiotestsrc ! tinyalsasink is
WARNING: erroneous pipeline: no element "tinyalsasink"
and
output for gst-play-1.0 --videosink=tinyalsasink /data/Haze.wav is
** (gst-play-1.0:10605): WARNING **: 13:52:27.197: Couldn't create specified video sink 'tinyalsasink'
Press 'k' to see a list of keyboard shortcuts.
Now playing /data/Haze.wav
0:00:03.0 / 0:00:03.0      
Reached end of play list. Sound not heard.

Is there any patch for tinyalsasink to work in gst-plugins-bad?

On Wed, Oct 10, 2018 at 6:40 PM Nicolas Dufresne <[hidden email]> wrote:
Le mercredi 10 octobre 2018 à 11:31 +0530, Arjav Parikh a écrit :
> Yes tinyplay is part of libtinyalsa and I have that on my board.
> Using tinycap and tinyplay I am able to capture and play .wav format
> files.

Ok, then the selected audio sink won't work (pulsesink or alsasink).
You need to make sure you have tinyalsasink in your build of gst-
plugins-bad, and specify it explicitly as this element is not ranked.

  gst-launch-1.0 audiotestsrc ! tinyalsasink
  gst-play-1.0 --videosink=tinyalsasink some.wav

This element got very low attention since it was merged. I know there
is multiple incompatible flavours of tinyalsa. Best for you is to grab
the code and compare against what your copy of tinyplay is doing.

Nicolas

>
> Thanks & Regards,
> Arjav Parikh
>
> On Wed, Oct 10, 2018, 11:13 AM Nicolas Dufresne <[hidden email]
> > wrote:
> >
> > Le mer. 10 oct. 2018 01 h 12, Arjav Parikh <[hidden email]
> > > a écrit :
> > > Any suggestions in this case?
> >
> > Tinyplay, that's for one of the flavour of tinyalsa lib? Are you
> > sure you have an element to handle that ?
> >
> > > On Tue, Oct 9, 2018 at 7:41 PM Arjav Parikh <
> > > [hidden email]> wrote:
> > > > Hi,
> > > > When I play a wav file using command:
> > > > gst-play-1.0 /data/Haze.wav
> > > > Now playing /data/Haze.wav
> > > > 0:00:03.0 / 0:00:03.0       
> > > > Reached end of play list.
> > > >
> > > > I could not hear sound but it shows file is playing. When I
> > > > play the same file using tinyplay utility I could hear the
> > > > sound produced b wav file.
> > > > What configurations have to be passed to enable volume?
> > > >
> > > > --
> > > > Thanks & Regards,
> > > > Arjav Parikh
> > >
> > >
> > > _______________________________________________
> > > 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


--
Thanks & Regards,
Arjav Parikh


--
Thanks & Regards,
Arjav Parikh

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