When opens a zero byte file (zerobytefile.mp4), VLC player is thrown into an infinite loop and no longer responsive. I have to kill the app using Task Manager.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
No child items are currently assigned. Use child items to break down this issue into smaller parts.
$ touch empty_file$ vlc empty_fileVLC media player 3.0.3 Vetinari (revision 3.0.3-1-0-gc2bb759264)[000056513855af70] [http] lua interface: Lua HTTP interface[0000565138480570] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.[00007f86dc0018a0] cache_read stream error: cannot pre fill buffer[00007f86dc017290] mjpeg demux error: cannot peek[00007f871c00e000] cache_read stream error: cannot pre fill buffer[00007f871c065d80] mjpeg demux error: cannot peek[00007f86dc010960] cache_read stream error: cannot pre fill buffer[00007f86dc005f20] mjpeg demux error: cannot peek# Continues endlessly
With a non-existing file:
$ vlc /tmp/missing_fileVLC media player 3.0.3 Vetinari (revision 3.0.3-1-0-gc2bb759264)[000056487b27a570] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.[000056487b355200] [http] lua interface: Lua HTTP interface[00007f92680015f0] filesystem stream error: cannot open file /tmp/missing_file (No such file or directory)[00007f9268001bd0] filesystem stream error: cannot open file /tmp/missing_file (No such file or directory)# Continues endlessly
I'm not sure I understand the question. There's definitely a "loop" in the output of vlc.
I have no looping of video playback turned on in the settings. If I run vlc existing_file.mp4 it plays to completion and stops.
But even if I had looping enabled, there's no reason for VLC to behave the way it does when a file doesn't exist or there's an error even starting to play it.
Am I the only person experiencing the behavior described when opening missing or empty files from the command line?
I checked, and I do have the loop button set to "loop all". A setting I'm not really familiar with, as playing a single mp3 file from the command line still stops its end rather then play it endlessly.
Regardless of the setting, I don't think VLC should continuously try to replay a file that is empty or doesn't exist.