Hi, I am using libav api in my application to push rtsp stream to cloud. Below are the timing details when I start pushing rtsp stream:
- avformat_open_input - takes ~1second - avformat_find_stream_info- takes 700ms - avformat_write_header - takes 2.5 to 3.5seconds I have tried setting probesize and max_analyze_duration, which reduced start time by <1second. I am getting 4-6seconds to start rtsp push which is too huge for my application. I am using stream copying (no transcoding) and want reduce the start time to <1second. Below is the Input source information: - Video: h264 (Baseline), yuvj420p, 1920x1080, 30 fps and - Audio: aac, 8000 Hz, mono, fltp Does anyone know the how to achieve this speed (start tie < 1sec)? Regards, Pavana _______________________________________________ libav-api mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-api
