Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't manage to get an audio interpipe connected #157

Open
mlopez-egi opened this issue Apr 4, 2024 · 1 comment
Open

I can't manage to get an audio interpipe connected #157

mlopez-egi opened this issue Apr 4, 2024 · 1 comment

Comments

@mlopez-egi
Copy link

I can't manage to get an audio interpipe connected.
(gst-interpipe version: 1.1.8)
Using:
gst-launch-1.0 audiotestsrc freq=1000 ! audioconvert ! audio/x-raw,channels=2 ! interpipesink name=loopmonitor

gst-launch-1.0 interpipesrc listen-to="loopmonitor" ! alsasink

I get:
0:00:00.162694907 2918 0x12737600 INFO interpipe gstinterpipe.c:123:gst_inter_pipe_listen_node: listener interpipesrc0 listen to node loopmonitor
0:00:00.162744488 2918 0x12737600 INFO interpipe gstinterpipe.c:140:gst_inter_pipe_listen_node: Adding new listener interpipesrc0 to node loopmonitor
0:00:00.162785028 2918 0x12737600 INFO interpipe gstinterpipe.c:147:gst_inter_pipe_listen_node: Node is not available yet, connecting later.
0:00:00.162829943 2918 0x12737600 INFO interpipesrc gstinterpipesrc.c:396:gst_inter_pipe_src_start: Listening to node loopmonitor
0:00:00.162929105 2918 0x12737600 INFO basesrc gstbasesrc.c:1435:gst_base_src_do_seek: seeking: bytes segment start=0, offset=0, stop=-1, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0, base=0, position 0, duration -1
0:00:00.163227175 2918 0x12737600 INFO task gsttask.c:516:gst_task_set_lock: setting stream lock 0x12928130 on task 0x1295e050
0:00:00.163303880 2918 0x12737600 INFO GST_PADS gstpad.c:6354:gst_pad_start_task:interpipesrc0:src created task 0x1295e050
0:00:00.163716278 2918 0x12737600 INFO GST_STATES gstelement.c:2817:gst_element_continue_state: completed state change to PAUSED
0:00:00.163927144 2918 0x12737600 INFO GST_STATES gstelement.c:2720:_priv_gst_element_state_changed: notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.163954559 2918 0x12931460 INFO GST_ELEMENT_PADS gstelement.c:1014:gst_element_get_static_pad: no such pad 'sink' in element "interpipesrc0"
0:00:00.164119635 2918 0x12737600 INFO GST_STATES gstbin.c:2939:gst_bin_change_state_func: child 'interpipesrc0' changed state to 3(PAUSED) successfully
0:00:00.164126343 2918 0x12931460 FIXME default gstutils.c:4037:gst_pad_create_stream_id_internal:interpipesrc0:src Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.164245921 2918 0x12737600 INFO pipeline gstpipeline.c:534:gst_pipeline_change_state: pipeline is not live
Pipeline is PREROLLING ...

Please, can you help me?

@dfloer
Copy link

dfloer commented Dec 8, 2024

They need to be run in the same process in order to communicate, so you'd need a pipeline like: audiotestsrc freq=1000 ! audioconvert ! audio/x-raw,channels=2 ! interpipesink name=loopmonitor interpipesrc listen-to=loopmonitor ! alsasink for it to work.

If you need to move data between different processes, then you'll need to look at other elements, such as gdppay/gdpdepay and shmsrc /shmsink. If you just want to have different pipelines, RidgeRun's gstd works well for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants