Weird question, but here's the context. I was playing a video in VLC on Ubuntu 16.04. I accidentally deleted the video while I was still playing it. I can still move to any point on the video stream in VLC and play it, but the physical file is deleted from the disk.
Is there a way to recover this cache? I still have VLC open.
Edit per comments:
lsof | grep vlc | grep dvgrab
returns
vlc 2671 peter 31r REG 0,40 1048560000 45 /mnt/server/Vid projects/2017/01 January/22 Home/dvgrab-003.dv (deleted)
vlc 2671 2674 peter 31r REG 0,40 1048560000 45 /mnt/server/Vid projects/2017/01 January/22 Home/dvgrab-003.dv (deleted)
vlc 2671 2676 peter 31r REG 0,40 1048560000 45 /mnt/server/Vid projects/2017/01 January/22 Home/dvgrab-003.dv (deleted)
vlc 2671 2677 peter 31r REG 0,40 1048560000 45 /mnt/server/Vid projects/2017/01 January/22 Home/dvgrab-003.dv (deleted)
vlc 2671 2686 peter 31r REG 0,40 1048560000 45 /mnt/server/Vid projects/2017/01 January/22 Home/dvgrab-003.dv (deleted)
vlc 2671 2689 peter 31r REG 0,40 1048560000 45 /mnt/server/Vid projects/2017/01 January/22 Home/dvgrab-003.dv (deleted)
vlc 2671 2692 peter 31r REG 0,40 1048560000 45 /mnt/server/Vid projects/2017/01 January/22 Home/dvgrab-003.dv (deleted)
vlc 2671 2694 peter 31r REG 0,40 1048560000 45 /mnt/server/Vid projects/2017/01 January/22 Home/dvgrab-003.dv (deleted)
vlc 2671 2695 peter 31r REG 0,40 1048560000 45 /mnt/server/Vid projects/2017/01 January/22 Home/dvgrab-003.dv (deleted)
vlc 2671 2696 peter 31r REG 0,40 1048560000 45 /mnt/server/Vid projects/2017/01 January/22 Home/dvgrab-003.dv (deleted)
vlc 2671 2697 peter 31r REG 0,40 1048560000 45 /mnt/server/Vid projects/2017/01 January/22 Home/dvgrab-003.dv (deleted)
vlc 2671 2698 peter 31r REG 0,40 1048560000 45 /mnt/server/Vid projects/2017/01 January/22 Home/dvgrab-003.dv (deleted)
vlc 2671 2699 peter 31r REG 0,40 1048560000 45 /mnt/server/Vid projects/2017/01 January/22 Home/dvgrab-003.dv (deleted)
vlc 2671 2700 peter 31r REG 0,40 1048560000 45 /mnt/server/Vid projects/2017/01 January/22 Home/dvgrab-003.dv (deleted)
Best Answer
As @ridgy so helpfully pointed out in the comments:
And later on:
And, indeed, running
grabbed the file and stored it to my hard drive. Thanks!