more
This commit is contained in:
12
bin/wsl/findnon_hcodec.sh
Executable file
12
bin/wsl/findnon_hcodec.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
echo "Media to convert to h.264"
|
||||
echo "--------------------"
|
||||
for i in `ls`
|
||||
do
|
||||
OUTPUTh264=`ffmpeg -i $i 2>&1 | egrep 'h264'`
|
||||
OUTPUTh265=`ffmpeg -i $i 2>&1 | egrep 'hevc'`
|
||||
if [[ ( -z "$OUTPUTh264" ) && ( -z "$OUTPUTh265" ) ]]; then
|
||||
echo " "
|
||||
echo $i
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user