I run the following command in a linux terminal:
vlc http://streamx/live/....stream/playlist.m3u8 --rate=1 --video-filter=scene --vout=dummy --run-time=3 --scene-format=png --scene-ratio=24 --scene-path=/home/pi/Desktop vlc://quit
If the url is okay, it makes some pictures from streams. I would like to know if the command ran successfully or not.
if the url is not correct is writes out:
[73b00508] core input error: open of 'http://streamx/live/....stream/playlist.m3u8' failed
[73b00508] core input error: Your input can't be opened
[73b00508] core input error: VLC is unable to open the MRL 'http://streamx/live/....stream/playlist.m3u8'. Check the log for details.
if the url is correct is writes out:
[73b03f20] httplive stream: HTTP Live Streaming (streamx/live/....stream/playlist.m3u8)
How can I get after running the command (for example in a python script) if the url was okay or not?
Thanks in advance!