You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been working with the latest gstreamer 1.0 compiled for the Pi to use the hardware capabilities. After 3 long nights I finally got a pipe to work for gstreamer and nginx-rtmp.
I use the flvmux and that combination seems to work. Anything else I try will just give me that erroneous pipeline error and the debug says cannot match source to rtmp sink.
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?
nginx.conf is setup like in your manual, using 1 worker process and running as root for now + publish_time_fix off; is under rtmp { server { ...
I also tried the variation you published to use a normal webcam
Hi Roman,
I have been working with the latest gstreamer 1.0 compiled for the Pi to use the hardware capabilities. After 3 long nights I finally got a pipe to work for gstreamer and nginx-rtmp.
The command line I use is as follows
I use the flvmux and that combination seems to work. Anything else I try will just give me that erroneous pipeline error and the debug says cannot match source to rtmp sink.
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?
nginx.conf is setup like in your manual, using 1 worker process and running as root for now + publish_time_fix off; is under rtmp { server { ...
I also tried the variation you published to use a normal webcam
but get the error
Additional debug info:
gstomxvideoenc.c(1738): gst_omx_video_enc_handle_frame (): /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0:
Failed to write input into the OpenMAX buffer
ERROR: pipeline doesn't want to preroll.
Also when I use strobemedia as before to try and view the RTMP stream it just says buffering...
How can I solve this?
-EDIT
I downloaded rtmp dump and I get this result. It detects the frame size but there are not framerate?
EDIT 2
I added this ! h264parse config-interval=2 ! to the pipe and that seems to get rtmp stream working... but not always.
The text was updated successfully, but these errors were encountered: