CreeCyan
New Member
Hello guys,
I've been using the awesome guide in archives about how to set up 2 computer streaming without a capture card. I've been following the steps and have managed to do most of it, I've got a stream running, showing on my encoding computer (iMac).
I've set up ffmpeg via Homebrew, it seems to be on the system, with the libx264, as far as I can see. But I'm not getting any luck with making the transcode working. Looks like the stream comes in (verified with VLC) but the transcode doesn't start. AFAIK, the exec ffmpeg command should work on Mac the same as on Linux. Or am I wrong?
My nginx.conf:
I've been using the awesome guide in archives about how to set up 2 computer streaming without a capture card. I've been following the steps and have managed to do most of it, I've got a stream running, showing on my encoding computer (iMac).
I've set up ffmpeg via Homebrew, it seems to be on the system, with the libx264, as far as I can see. But I'm not getting any luck with making the transcode working. Looks like the stream comes in (verified with VLC) but the transcode doesn't start. AFAIK, the exec ffmpeg command should work on Mac the same as on Linux. Or am I wrong?
My nginx.conf:
Code:
rtmp {
server {
listen 1935;
chunk_size 4096;
application transcode {
live on;
record off;
exec ffmpeg -re -i rtmp://localhost:1935/transcode/1000 -vcodec libx264 -preset veryfast -x264opts nal-hrd=cbr:force-cfr=1:keyint=120 -r 60 -b:v 9000k -maxrate 9000k -bufsize 9000k -threads 6 -s 1920x1080 -acodec copy -f flv rtmp://localhost:1935/live/1000;
}
application live {
live on;
record off;
push rtmp://a.rtmp.youtube.com/live2/*youtube_stream_key*;
}
}
}