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

GStreamer-CRITICAL error on vainilla usage of the encoder (gst-launch) #3

Open
lalanne opened this issue Apr 1, 2019 · 1 comment

Comments

@lalanne
Copy link

lalanne commented Apr 1, 2019

Hello:
When trying this test (2 gst-launch instances communicating via RTP)
Sender side

gst-launch-1.0 --gst-plugin-path=/usr/local/lib/gstreamer-1.0 -v filesrc location=bienvenidoTmp.wav ! wavparse ! g729enc ! rtpg729pay ! udpsink host=127.0.0.1 port=6002 sync=true

Receiver side

gst-launch-1.0 -v udpsrc port=6002 caps="application/x-rtp" ! rtpg729depay ! avdec_g729 ! autoaudiosink

The sender side show this errors

(gst-launch-1.0:12731): GStreamer-CRITICAL **: 12:05:09.432: gst_buffer_map_range: assertion 'GST_IS_BUFFER (buffer)' failed
(gst-launch-1.0:12731): GStreamer-CRITICAL **: 12:05:09.433: gst_buffer_unmap: assertion 'GST_IS_BUFFER (buffer)' failed
(gst-launch-1.0:12731): GStreamer-CRITICAL **: 12:05:09.452: gst_buffer_map_range: assertion 'GST_IS_BUFFER (buffer)' failed
(gst-launch-1.0:12731): GStreamer-CRITICAL **: 12:05:09.454: gst_buffer_unmap: assertion 'GST_IS_BUFFER (buffer)' failed
(gst-launch-1.0:12731): GStreamer-CRITICAL **: 12:05:09.461: gst_buffer_map_range: assertion 'GST_IS_BUFFER (buffer)' failed
(gst-launch-1.0:12731): GStreamer-CRITICAL **: 12:05:09.463: gst_buffer_unmap: assertion 'GST_IS_BUFFER (buffer)' failed
(gst-launch-1.0:12731): GStreamer-CRITICAL **: 12:05:09.471: gst_buffer_map_range: assertion 'GST_IS_BUFFER (buffer)' failed
(gst-launch-1.0:12731): GStreamer-CRITICAL **: 12:05:09.473: gst_buffer_unmap: assertion 'GST_IS_BUFFER (buffer)' failed

The audio is received correctly by the receiver side(you can hear ir clearly), but at the end of the audio file instead of closing the file, you can hear a loud audio distortion at the same time when the CRITICAL errors of Gstreamer are shown on the standard output.

Could you give me any guidance on how to solve this?

Thanks in advance.

@sdroege sdroege mentioned this issue Jul 10, 2019
@sdroege
Copy link
Contributor

sdroege commented Jul 10, 2019

See #4

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