Open joeyparrish opened 5 years ago
RTMP and UDP inputs seem to work without any additional code. How to use them should be well-documented, though, so I'm changing this to a docs issue.
Could we have sample config files for RTMP and UDP inputs ? Thank you
@joeyparrish would love some docs on RTMP and UDP inputs. I'd be happy to contribute documentation, but I'm not sure where to start. Perhaps you could point me in the right direction?
hello @joeyparrish can I see the sample for udp inputs?
I tried this:
# List of inputs.
inputs:
# The type of input.
# - input_type: external_command
# The command to run. Here $SHAKA_STREAMER_EXTERNAL_COMMAND_OUTPUT
# (or %SHAKA_STREAMER_EXTERNAL_COMMAND_OUTPUT% on Windows) is replaced
# with the output pipe.
- name: udp://@227.10.20.8:1234
media_type: video
# hardcode resolution to avoid autodetection
resolution: 720p
frame_rate: 25
# - input_type: external_command
- name: udp://@227.10.20.8:1234
media_type: audio
channel_layout: stereo
but the video FPS got stuck in there, as I also can't view the output from outputs_files using apache2. if i see the output file, only audio is being generated while the video is not.
I tried only the video input and its working, but not when I added the audio stream
Working VLC footage (no audio)
here is the working video only code:
# List of inputs.
inputs:
# The type of input.
# - input_type: external_command
# The command to run. Here $SHAKA_STREAMER_EXTERNAL_COMMAND_OUTPUT
# (or %SHAKA_STREAMER_EXTERNAL_COMMAND_OUTPUT% on Windows) is replaced
# with the output pipe.
- name: udp://@227.10.20.8:1234
media_type: video
# hardcode resolution to avoid autodetection
resolution: 720p
frame_rate: 25
any suggestions?
We don't yet support UDP input streams, but we could.