I'm trying to transcode an rtsp stream into something that Android can read.
I need to take a input of rtsp: Transcode it to H.264 AVC (Baseline) MPEGTS + AAC LC audio. Broadcast out onto the localhost socket.
Currently I have:
bash
ffmpeg -re -i rtsp://admin:12345@remote-address:55266/videoMain -c:a copy -c:v libx264 -r 25 -preset ultrafast -profile:v baseline -f mpegts udp://127.0.0.1:65440
I see ffmpeg printing out that it's copying frames to the output. But if I try to connect to the stream in VLC, I see nothing. (The original source works fine in VLC).
Can anyone see if I am doing something wrong?