Hello I'm facing troubles when encoding live streams. I would like to stream from IP cam (rtsp h264 1600x1200) to websites via rtmp. So I am using some rtmp server (crtmpserver exactly) which can handle rtsp2rtmp. But I need to encode the stream to several other streams (smaller, resolution, smaller bitrate) to allow user to choose desired quality. So I’m taking the output rtmp stream from the server and trzing to encode it and push back to server.
Everything is working when I simply do "-vcodec copy -acodec copy", but everytime i try to downscale resolution or change bitrate, the output is very weird.
When something is moving, sometimes it has a pixelate ghost (trace) - and sometimes it looks like the picture is going back the start of the ghost (trace) and back to normal again (this frame jump occurs multiple times), after that it continues. This occurs very often.
no problem, but I’m still facing the problems that I described... so maybe I can help you and you can help me... But I didn’t change a lot of the example configuration file :) I have only uncommented one of the external streams and changed to fit my needs (if I remember it exactly)
conf file: 2398_crtmpserver.lua.zip
But maybe you will not have such a problems like me.