I am trying to use an rtsp (h264) camera feed as source to HLS. its not working...
gst-launch-1.0 rtspsrc location=rtsp://
192.168.1.231/channel2 '!' rtph264depay '!' h264parse '!' fluh264dec '!' videoconvert '!' hlssink playlist-root=
http://192.168.1.8/~silentm/hlssink location=/home/silentm/public_html/hlssink/hlssink.%05d.ts target-duration=1 max-files=3 playlist-length=3 playlist-location=/home/silentm/public_html/hlssink/playlist.m3u8
The output with GST_DEBUG=2
0:00:00.027511085 29989 0xf4f210 WARN fluh264dec fluh264dec.c:258:gst_fluh264dec_flush:<GstFluH264Dec@0xf58000> we are not setup yet, can't flush
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
0:00:00.118346119 29989 0x7f869c04e8f0 WARN basesrc gstbasesrc.c:2939:gst_base_src_loop:<udpsrc4> error: Internal data stream error.
0:00:00.118393540 29989 0x7f869c04e8f0 WARN basesrc gstbasesrc.c:2939:gst_base_src_loop:<udpsrc4> error: streaming stopped, reason not-linked (-1)
0:00:00.570757517 29989 0x7f866c002000 ERROR hlssink gsthlssink.c:503:schedule_next_key_unit:<hlssink0> Failed to push upstream force key unit event
0:00:00.603464242 29989 0x7f866c002000 ERROR hlssink gsthlssink.c:503:schedule_next_key_unit:<hlssink0> Failed to push upstream force key unit event
I presume my pipeline is wrong. What did I miss?