diff --git a/gaboshlib/g_compress_video.bashfunc b/gaboshlib/g_compress_video.bashfunc index 4411a22..e4fddf3 100644 --- a/gaboshlib/g_compress_video.bashfunc +++ b/gaboshlib/g_compress_video.bashfunc @@ -14,7 +14,7 @@ function g_compress_video { # Bereits bearbeitet? - if egrep -q "Stream.+Video: hevc" Video: hevc + if egrep -q "Stream.+Video: hevc" "$g_tmp"/vidinfo 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