Closed davidgatti closed 6 years ago
Hi!
I'm pretty sure the issue comes from the encoding of the video. What did you use to covert it to other formats? I've had no problem with 60fps HD streams in the past so I don't think it comes from RTSPAtt, unless there was a regression.
If you could share a link to an example video for me to reproduce the issue, that would also be great :)
Thanks!
I recorded the video, with my iPhone, and had this, then I converted it using VLC.
Then I'm pretty sure the problem comes from the way VLC converts this video. RTSPATT uses Gstreamer, a streaming library, and the way it handles files means it's not able to handle every file format and every encoding that exists, so it's very likely to produce issues such as this one.
To fix it, use ffmpeg
for encoding instead of VLC, like such: ffmpeg -i input.avi -c:v libx264 output.mp4
and use this output.mp4
file in RTSPATT instead. Let me know if that helps :)
Oo I see you should include this info I the readme :)
I'm trying to stream a demo file with the following command:
When I do this I get the following error message
When I connect to the stream with VLC, the vide o is choppy, brakes down, and is unreliable. I did try to convert the original video in to different formats and bitrates but ending up with the same result.
Any idea what might be wrong?