gst-play wav file is playing but no sound
Nicolas Dufresne
nicolas at ndufresne.ca
Wed Oct 10 13:10:45 UTC 2018
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 <nicolas at ndufresne.ca
> > wrote:
> >
> > Le mer. 10 oct. 2018 01 h 12, Arjav Parikh <parikharjav24 at gmail.com
> > > 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 <
> > > parikharjav24 at gmail.com> 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
> > > gstreamer-devel at lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20181010/4c962d06/attachment.sig>
More information about the gstreamer-devel
mailing list