How to take snapshots of rtsp stream without displaying?
Posted: 25 Sep 2017 05:38
I need to take snapshots of a stream periodically in background.
And i found that the commands follows in command line may solve my problem.
However, when i apply it as options of playing media, it doesn't work.
By the way, i'm using vljc to implement it.
Is there something wrong with my options?
Thanks!
And i found that the commands follows in command line may solve my problem.
Code: Select all
vlc --video-filter=scene --vout=dummy --aout=dummy --scene-path=$path
Code: Select all
headlessMediaplayer.playMedia($STREAM_URL, "video-filter=scene","vout=dummy","aout=dummy","scene-path=$PATH");
Is there something wrong with my options?
Thanks!