Open rnixx opened 1 year ago
Try setting the log level to debug and connecting a logger to see the full ffpyplayer logs.
from ffpyplayer.tools import set_loglevel, set_log_callback
import logging
set_log_callback(logger=logging, default_only=True)
set_loglevel('trace')
logging.root.setLevel(logging.DEBUG)
from ffpyplayer.player import MediaPlayer
...
When connecting to a RTSP stream and initializing MediaPlayer paused, sometimes 'eof' is received after a few frames, depending on the stream producer.
I encountered this behavior with a RTSP stream from a NDI converter. The same stream works fine when connecting to it with ffplay directly.
I also tried to reproduce the issue with a stream from VLC, but the issue not happened.