Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video distortion from RTSP camera #89

Open
kovenko opened this issue Feb 18, 2021 · 1 comment
Open

Video distortion from RTSP camera #89

kovenko opened this issue Feb 18, 2021 · 1 comment

Comments

@kovenko
Copy link

kovenko commented Feb 18, 2021

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 -

image

@kovenko
Copy link
Author

kovenko commented Feb 18, 2021

Change width & height
const server = http.createServer(app);
const silence = new WebStreamerServer(server, {
width : 1280,
height: 720,
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant