-
-
Save aaomidi/0a3b5c9bd563c9e012518b495410dc0e to your computer and use it in GitHub Desktop.
webm | |
mkv | |
flv | |
vob | |
ogv | |
ogg | |
rrc | |
gifv | |
mng | |
mov | |
avi | |
qt | |
wmv | |
yuv | |
rm | |
asf | |
amv | |
mp4 | |
m4p | |
m4v | |
mpg | |
mp2 | |
mpeg | |
mpe | |
mpv | |
m4v | |
svi | |
3gp | |
3g2 | |
mxf | |
roq | |
nsv | |
flv | |
f4v | |
f4p | |
f4a | |
f4b | |
mod |
Can you possibly add all the associated video extensions for Blu-Rays and DVDs as well? I want to try excluding them from my AV to see if that improves performance (so they're not scanned each time they're accessed)>
Thank you!!!!!!!!
--- DS
video_extensions = ['webm', 'mkv', 'flv', 'vob', 'ogv', 'ogg', 'rrc', 'gifv', 'mng', 'mov', 'avi', 'qt', 'wmv', 'yuv', 'rm', 'asf', 'amv', 'mp4', 'm4p', 'm4v', 'mpg', 'mp2', 'mpeg', 'mpe', 'mpv', 'm4v', 'svi', '3gp', '3g2', 'mxf', 'roq', 'nsv', 'flv', 'f4v', 'f4p', 'f4a', 'f4b', 'mod']
in python list :)
thank you
["webm", "mkv", "flv", "vob", "ogv", "ogg", "rrc", "gifv", "mng", "mov", "avi", "qt", "wmv", "yuv", "rm", "asf", "amv", "mp4", "m4p", "m4v", "mpg", "mp2", "mpeg", "mpe", "mpv", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "flv", "f4v", "f4p", "f4a", "f4b", "mod"]
Swift anyone?
["webm", "mkv", "flv", "vob", "ogv", "ogg", "rrc", "gifv", "mng", "mov", "avi", "qt", "wmv", "yuv", "rm", "asf", "amv", "mp4", "m4p", "m4v", "mpg", "mp2", "mpeg", "mpe", "mpv", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "flv", "f4v", "f4p", "f4a", "f4b", "mod"]
Swift anyone?
let fileExtensions = ["webm", "mkv", "flv", "vob", "ogv", "ogg", "rrc", "gifv", "mng", "mov", "avi", "qt", "wmv", "yuv", "rm", "asf", "amv", "mp4", "m4p", "m4v", "mpg", "mp2", "mpeg", "mpe", "mpv", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "flv", "f4v", "f4p", "f4a", "f4b", "mod"]
with find:
find . -type f -name *.webm -o -name *.mkv -o -name *.flv -o -name *.vob -o -name *.ogv -o -name *.ogg -o -name *.rrc -o -name *.gifv -o -name *.mng -o -name *.mov -o -name *.avi -o -name *.qt -o -name *.wmv -o -name *.yuv -o -name *.rm -o -name *.asf -o -name *.amv -o -name *.mp4 -o -name *.m4p -o -name *.m4v -o -name *.mpg -o -name *.mp2 -o -name *.mpeg -o -name *.mpe -o -name *.mpv -o -name *.m4v -o -name *.svi -o -name *.3gp -o -name *.3g2 -o -name *.mxf -o -name *.roq -o -name *.nsv -o -name *.flv -o -name *.f4v -o -name *.f4p -o -name *.f4a -o -name *.f4b -o -name *.mod
in bash:
for video_file in *.{webm,mkv,flv,vob,ogv,ogg,rrc,gifv,mng,mov,avi,qt,wmv,yuv,rm,asf,amv,mp4,m4p,m4v,mpg,mp2,mpeg,mpe,mpv,m4v,svi,3gp,3g2,mxf,roq,nsv,flv,f4v,f4p,f4a,f4b,mod}
How about .heic file which is record video from iPhone?