splitmuxsink not working with opusenc

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

splitmuxsink not working with opusenc

Abu Abdullah
Hi,

the following pipeline is not working:
$ gst-launch-1.0 alsasrc ! audio/x-raw,channels=1 ! opusenc ! oggmux !
splitmuxsink location=%03d.ogg
WARNING: erroneous pipeline: could not link oggmux0 to splitmuxsink0

using normal filesink is working fine:
$ gst-launch-1.0 alsasrc ! audio/x-raw,channels=1 ! opusenc ! oggmux !
filesink location=dd.ogg


platform is Raspberry pi with gst 1.16.2

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

Re: splitmuxsink not working with opusenc

Nicolas Dufresne-5
Le mercredi 18 mars 2020 à 19:46 +0400, Abu Abdullah a écrit :
> Hi,
>
> the following pipeline is not working:
> $ gst-launch-1.0 alsasrc ! audio/x-raw,channels=1 ! opusenc ! oggmux !
> splitmuxsink location=%03d.ogg
> WARNING: erroneous pipeline: could not link oggmux0 to splitmuxsink0

You need to give the muxer to splitmuxsink. Placing it before won't
work, see "muxer" property.

  ...! splitmuxsink muxer=oggmux

>
> using normal filesink is working fine:
> $ gst-launch-1.0 alsasrc ! audio/x-raw,channels=1 ! opusenc ! oggmux !
> filesink location=dd.ogg
>
>
> platform is Raspberry pi with gst 1.16.2
>
> any help is appreciated
> _______________________________________________
> 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: splitmuxsink not working with opusenc

Abu Abdullah
> You need to give the muxer to splitmuxsink. Placing it before won't
> work, see "muxer" property.
>
>   ...! splitmuxsink muxer=oggmux
>

thank you for your response. still not solving the issue:

$ gst-launch-1.0 alsasrc ! audio/x-raw,channels=1 ! opusenc !
splitmuxsink location=%03d.ogg muxer=oggmux
WARNING: erroneous pipeline: could not link opusenc0 to splitmuxsink0
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: splitmuxsink not working with opusenc

Abu Abdullah
> This is one case where GStreamer can't manage to figure out the correct
> pad to connect to on splitmuxsink and you have to tell it.
>
> This pipeline works:
>
>
> gst-launch-1.0 alsasrc ! audio/x-raw,channels=1 ! opusenc ! .audio_%u
> splitmuxsink location=%03d.ogg muxer=oggmux
>

it works, thank you
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel