I need a delphi code that will do the following: Using ffmpeg library (not ffmpeg command line!). take RTSP stream as input.
Check if stream encoded as H264/AAC, if not, transcode the stream to H264/AAC and push as RTMP output stream.
You can use any ffmpeg library wrappers available.
I recommend using [url removed, login to view] package it has great ffmpeg wrapper components and I already using it in my project.