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

Nginx-rtmp stucks with Gstreamer on the first chunk #1127

Open
evjenios opened this issue Sep 29, 2017 · 2 comments
Open

Nginx-rtmp stucks with Gstreamer on the first chunk #1127

evjenios opened this issue Sep 29, 2017 · 2 comments

Comments

@evjenios
Copy link

Hi!

I've noted pretty same issue #284 but with rtspsrc.

The problem is that for some reason the m3u8 gets created and then after a few seconds it gets deleted and only video1.ts available after that. It grows in size then gets deleted grows, deleted... but there is no m3u8 file?

This issue still persists on new versions of Gstreamer, e.g. 1.8 and 1.10, but 1.2.4 works fine.

Pipeline is:

gst-launch-1.0 \
        rtspsrc location=rtsp://my.ip.cam/ protocols=tcp ! rtph264depay \
            ! h264parse \
            ! queue \
            ! flvmux \
! rtmpsink location="rtmp://my.server.ip/live/test"

Any thoughts?

@arut
Copy link
Owner

arut commented Sep 29, 2017

M3u8 is deleted once it becomes old enough. For some reason it is not updated. BTW did you try the nginx-ts-module instead? This may help to investigate the issue.

@evjenios
Copy link
Author

evjenios commented Sep 29, 2017

Viewing same stream over rtmp results in only one frame is displayed with further infinite buffering. When player is being restarted I've got another one new frame and infinite buffering again.

Another information: nginx-rtmp + gst 1.2.4 works fine on ubuntu 14, gst 1.4.5 works fine on debian 8, gst 1.8.3 gives issue on Ubuntu 16, gst 1.10.4 gives same issue on debian 9 and Ubuntu 17.04.

nginx-ts-module doesn't support rtmp-input? Or not?

PS: I can send you by e-mail actual camera stream and sample pipeline and even vps-access with installed gstreamer to perform tests.

Thank you!

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