„gaboshlib/g_compress_video.bashfunc“ ändern
This commit is contained in:
parent
dcc02e9cde
commit
82051cefe2
@ -14,6 +14,8 @@ function g_compress_video {
|
||||
|
||||
|
||||
# Bereits bearbeitet?
|
||||
if egrep -q "Stream.+Video: hevc" Video: hevc
|
||||
then
|
||||
local g_lines=`cat "$g_tmp"/vidinfo | egrep -v "WARNING: | configuration: |Side data\:|audio service type\: main|Video\:.+hevc.+1280x|Video\:.+hevc.+960x|Video\:.+hevc.+[1-8][0-9][0-9]x|Audio\:.+HE-AAC\).+mono|Audio\:.+HE-AAC.+stereo|Audio\:.+ac3.+5\.1.side.|Input .+mp4.+from|vendor_id" | wc -l`
|
||||
# Max DVD Quali
|
||||
[ -e "$g_tmp"/VID-SD ] && g_lines=`cat "$g_tmp"/vidinfo | egrep -v "Side data\:|audio service type\: main|Video\:.+hevc.+[1-8][0-9][0-9]x|Audio\:.+HE-AAC\).+mono|Audio\:.+HE-AAC.+stereo|Audio\:.+ac3.+5\.1.side.|Input .+mp4.+from|vendor_id" | wc -l`
|
||||
@ -22,6 +24,7 @@ function g_compress_video {
|
||||
g_echo "Video $g_vid bereits bearbeitet!"
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
||||
local g_wait=$(($RANDOM % 60))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user