Open kovenko opened 3 years ago
I connected an RTSP H.264 IP camera, added a config, the image is distorted. Can you tell me what I'm doing wrong? Thank
"-rtsp_transport", "tcp", '-re', "-i", "rtsp://10.3.1.230:554/user=admin&password=&channel=1&stream=0.sdp", "-video_size", '1280x720', "-an", '-pix_fmt', 'yuv420p', '-c:v', 'libx264', '-vprofile', 'baseline', '-f' ,'h264', '-' ];
ffmpeg -rtsp_transport tcp -re -i rtsp://10.3.1.230:554/user=admin&password=&channel=1&stream=0.sdp -video_size 1280x720 -an -pix_fmt yuv420p -c:v libx264 -vprofile baseline -f h264 -
Change width & height const server = http.createServer(app); const silence = new WebStreamerServer(server, { width : 1280, height: 720, });
I connected an RTSP H.264 IP camera, added a config, the image is distorted. Can you tell me what I'm doing wrong? Thank
ffmpeg -rtsp_transport tcp -re -i rtsp://10.3.1.230:554/user=admin&password=&channel=1&stream=0.sdp -video_size 1280x720 -an -pix_fmt yuv420p -c:v libx264 -vprofile baseline -f h264 -