solid-software / flutter_vlc_player

šŸ“ŗ Flutter VLC powered video player.
506 stars 247 forks source link

Does the startRecording work as in the RTSP mode? #254

Open wmhseir3 opened 3 years ago

wmhseir3 commented 3 years ago

Hi, I am experiencing the following errors when stop recording the RTSP streams using the "_toggleRecording()" examples. It's most likely related with the local file IO operations but I am not sure. Can you advise how to escape from this situation next? Thanks.

  1. The Logs: E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: cannot create /tmp/vlcraZwuTlsA: No such file or directory E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: record E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: An error occurred during recording. Error: No such file or directory E/VLC (25839): [b40000710c941c10/6d5b] libvlc stream out: no suitable sout access module for file{no-append,no-format,no-overwrite}/avi:///tmp/vlcraZwuTlsA' E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: cannot create /tmp/vlcEVrtV2xvg: No such file or directory E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: record E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: An error occurred during recording. Error: No such file or directory E/VLC (25839): [b40000710c941c10/6d5b] libvlc stream out: no suitable sout access module forfile{no-append,no-format,no-overwrite}/mp4:///tmp/vlcEVrtV2xvg' E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: cannot create /tmp/vlcmYvn29Wml: No such file or directory E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: record E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: An error occurred during recording. Error: No such file or directory E/VLC (25839): [b40000710c941c10/6d5b] libvlc stream out: no suitable sout access module for file{no-append,no-format,no-overwrite}/ogg:///tmp/vlcmYvn29Wml' E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: cannot create /tmp/vlcFFwXmKLbr: No such file or directory E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: record E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: An error occurred during recording. Error: No such file or directory I/flutter (25839): 2021-09-04T16:42:02.965958 I _VideoPlayerView4State._player_portrait.<ac>: VideoPlayerView4: valueListenable: value = false E/VLC (25839): [b40000710c941c10/6d5b] libvlc stream out: no suitable sout access module forfile{no-append,no-format,no-overwrite}/asf:///tmp/vlcFFwXmKLbr' E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: cannot create /tmp/vlcV3F0yOtGX: No such file or directory E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: record E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: An error occurred during recording. Error: No such file or directory E/VLC (25839): [b40000710c941c10/6d5b] libvlc stream out: no suitable sout access module for file{no-append,no-format,no-overwrite}/ts:///tmp/vlcV3F0yOtGX' E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: cannot create /tmp/vlczWluGfbvX: No such file or directory E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: record E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: An error occurred during recording. Error: No such file or directory E/VLC (25839): [b40000710c941c10/6d5b] libvlc stream out: no suitable sout access module forfile{no-append,no-format,no-overwrite}/ps:///tmp/vlczWluGfbvX' E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: cannot create /tmp/vlcqW5t4Avy1: No such file or directory E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: record E/VLC (25839): [b4000070b27d8090/6d5b] libvlc access out: An error occurred during recording. Error: No such file or directory E/VLC (25839): [b40000710c941c10/6d5b] libvlc stream out: no suitable sout access module for `file{no-append,no-format,no-overwrite}/mkv:///tmp/vlcqW5t4Avy1'

  2. I can do createCameraImage(). So, there is no storage permission issues.

  3. Flutter doctor: [āˆš] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19042.1165], locale zh-TW) [āˆš] Android toolchain - develop for Android devices (Android SDK version 30.0.0-rc1) [āˆš] Chrome - develop for the web [āˆš] Android Studio (version 4.1.0) [āˆš] Connected device (3 available)

alr2413 commented 3 years ago

Can you provide the RTSP stream url?