⚔️ su || cd ⚔️ on Nostr: And here's an ffmpeg that streams a video to an owncast and icecast2 server ffmpeg ...
And here's an ffmpeg that streams a video to an owncast and icecast2 server
ffmpeg -re -stream_loop -1 -i 'input.m4v' -map 0:v:0 -map 0:a:0 -c:v libx264 -preset veryfast -b:v 1500k -maxrate 1500k -bufsize 3000k -g 50 -keyint_min 50 -force_key_frames 'expr:gte(t,n_forced*2)' -tune zerolatency -c:a aac -b:a 128k -ar 44100 -f flv 'rtmp://oc.example.com:1935/live/88888887' -f mp3 -content_type audio/mpeg -ice_public 1 -password '333' 'icecast://source:333.example.com:8008/stream02
#ffmpeg
Published at
2025-09-20 17:06:39 UTCEvent JSON
{
"id": "300207768539ffd46a00023432c7a341201f75c9c48588938cad235fc69546fe",
"pubkey": "237b4f7e7feb85502fc711652fbddcf9e6636aec9c4cbd618092c8e64dbcc69c",
"created_at": 1758387999,
"kind": 1,
"tags": [
[
"t",
"ffmpeg"
],
[
"proxy",
"https://podcastindex.social/@suorcd/115237715909509877",
"web"
],
[
"proxy",
"https://podcastindex.social/users/suorcd/statuses/115237715909509877",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://podcastindex.social/users/suorcd/statuses/115237715909509877",
"pink.momostr"
],
[
"-"
]
],
"content": "And here's an ffmpeg that streams a video to an owncast and icecast2 server\n\nffmpeg -re -stream_loop -1 -i 'input.m4v' -map 0:v:0 -map 0:a:0 -c:v libx264 -preset veryfast -b:v 1500k -maxrate 1500k -bufsize 3000k -g 50 -keyint_min 50 -force_key_frames 'expr:gte(t,n_forced*2)' -tune zerolatency -c:a aac -b:a 128k -ar 44100 -f flv 'rtmp://oc.example.com:1935/live/88888887' -f mp3 -content_type audio/mpeg -ice_public 1 -password '333' 'icecast://source:333.example.com:8008/stream02\n\n#ffmpeg",
"sig": "c69bcd15dbb016759c75c1bb3eb434f37bede8f59aab53fafd6dfdf778d5aae0c3e51ec7412f62f0bd3808abca8b6290863376a0753d02acaa3595e6178f6762"
}