-
Notifications
You must be signed in to change notification settings - Fork 205
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
nvmpi decoder fails with some RTSP streams #113
Comments
I've the same problem: if I connect to a rtsp stream from a live camera is all ok, but if I connect to a rtsp media server streaming a video in loop it doesn't work: no frame are decoded. I'm using ffmpeg 4.2 and rtsp-simple-server (https://github.com/aler9/rtsp-simple-server) as server.
Thanks for the awesome project. |
The problem seems to be not with this wrapper, but the actual nvidia implementation. I'm seeing the same behavior if running with nvidia-supplied ffmpeg on Jetson. Tracking it here - https://forums.developer.nvidia.com/t/nvmpi-decoder-doesnt-work/210993/7 |
Can you elaborate on 'nvidia-supplied ffmpeg on Jetson' ? |
Interesting, thank you for the link @w3sip |
Trying to use nvmpi with ffmpeg 4.2 -- using commit
3dff99c3c2ef280209244d9bae5771997d4aa770
from this repository.It seems to be very finicky with the bitstream it attempts to consume. For example:
ffmpeg/bin/ffmpeg -c:v h264_nvmpi -i rtsp://127.0.0.1/short.mkv -f null -
- this command fails to decode RTSP stream served by live555 (frames are never generated)The stream is fine (a different decoder is able to process it):
ffmpeg/bin/ffmpeg -c:v h264 -i rtsp://127.0.0.1/short.mkv -f null -
- this command decodes it without issueThe problem isn't exclusive to live555 (we've seen it fail with ffmpeg-served video, albeit not as often), but this is the easiest way to reproduce the problem.
I'm attaching
live555.zip
Just running
./live555MediaServer &
and one of the commands above should reproduce the issue.The text was updated successfully, but these errors were encountered: