FFMPEG -> RTMP success

Hi all,

I have been trying to get an RTMP stream out of the Organelle, and just stumbled upon success. There is no video, it appears as a black screen, but the remote stream is then available to include in another streaming applications, for example streamlink into OBS. Requires ffmpeg is installed, which I believe is available in the default repositories, and that you are configured to use JACK.

Not all of these options will be useful for others, some may be just downright incongruous, but it runs for me:

ffmpeg -stream_loop -1 -re -t 3600 -s 320x240 \
-f rawvideo -pix_fmt rgb24 -r 12 -i /dev/zero \
-thread_queue_size 1024 -re -f jack -i ffmpeg \
-pix_fmt yuv420p -b:v 128K -level 3.0 \
-ar 22050 -ac 2 -ab 48k -aspect 16:9 -movflags frag_keyframe+empty_moov \
-f flv rtmp://live.restream.io/live/re_2081781_8f125e072057368ad4cb 

After that’s running, something like jack_connect/aj-snapshot will be needed to hook the desired inputs and outputs together.

Kind regards,
schmooster

2 Likes

That’s cool! Thanks for sharing your settings!

1 Like

update - it is not 100% reliable over longer periods for me, which I’m guessing might be due to network blips or resource use, regardless a suitable [haltable] loop around the command might be enough in some cases