Changes of Revision 216

ffhevc.changes Changed
x
 
1
@@ -1,4 +1,16 @@
2
 -------------------------------------------------------------------
3
+Mon Jul 13 09:37:00 UTC 2020 - neutrino8@opensuse.org
4
+
5
+- Update to version 4.3.1
6
+  * Enable tskip and hme in default encoding options
7
+  * Merge mp4 audio support with ts/m2ts/mts
8
+    in the case statement for additional
9
+    container formats
10
+  * Removed not in use, commented out code
11
+  * Lower default AAC audio bitrate from 448 to
12
+    384 kbps
13
+
14
+-------------------------------------------------------------------
15
 Sat Jul 04 18:52:00 UTC 2020 - neutrino8@opensuse.org
16
 
17
 - Update to version 4.3.0
18
ffhevc.spec Changed
10
 
1
@@ -17,7 +17,7 @@
2
 
3
 
4
 Name:           ffhevc
5
-Version:        4.3.0
6
+Version:        4.3.1
7
 Release:        0
8
 Summary:        A small shell script for encoding to H.265/HEVC with FFmpeg
9
 License:        GPL-2.0+
10
ffhevc-4.3.0.tar.gz/ChangeLog -> ffhevc-4.3.1.tar.gz/ChangeLog Changed
14
 
1
@@ -1,3 +1,12 @@
2
+2020-07-13 - ffhevc 4.3.1
3
+   * Enable tskip and hme in default encoding options
4
+   * Merge mp4 audio support with ts/m2ts/mts
5
+     in the case statement for additional
6
+     container formats
7
+   * Removed not in use, commented out code
8
+   * Lower default AAC audio bitrate from 448 to
9
+     384 kbps
10
+
11
 2020-07-04 - ffhevc 4.3.0
12
    * Switch to rskip mode 2 (edge density). Should
13
      prevent onion artifacts and speed up encoding a bit
14
ffhevc-4.3.0.tar.gz/ffhevc -> ffhevc-4.3.1.tar.gz/ffhevc Changed
71
 
1
@@ -2,8 +2,8 @@
2
 #
3
 # Small script to encode to H.265/HEVC video using FFmpeg and libx265.
4
 # Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org>
5
-# Version: 4.3.0
6
-# Date: 2020-07-04
7
+# Version: 4.3.1
8
+# Date: 2020-07-13
9
 #
10
 # ffhevc is free software ; you can redistribute it and/or modify
11
 # it under the terms of the GNU General Public License as published by
12
@@ -24,10 +24,10 @@
13
 brown() { echo -e "\e[0;33m$1\e[0;39;49m"; }
14
 error() { echo -e "\e[1;31m$1\e[0;39;49m"; }
15
 
16
-version="4.3.0"
17
+version="4.3.1"
18
 
19
 CFG="$HOME/.ffhevc"
20
-cfgversion="72"
21
+cfgversion="73"
22
 
23
 genconfig_func() {
24
 cat<<EOF>>"$CFG"
25
@@ -123,7 +123,7 @@
26
 # libx265 parameters. Modify, if needed,
27
 # to fit your needs
28
 # merange is calculated as: ctu size - 4(luma) - 2(chroma) (- 1 if me=hex is used)
29
-X265PARAMS="ref=4:hme=0:me=star:merange=58:bframes=8:rd=4:rd-refine=0:subme=5:qcomp=0.7:fades=1:strong-intra-smoothing=0:ctu=64:qg-size=64:sao=0:selective-sao=0:cu-lossless=0:cutree=1:tu-inter-depth=4:tu-intra-depth=4:rskip=2:max-merge=2:rc-lookahead=100:aq-mode=1:aq-strength=1.0:rdoq-level=1:psy-rd=3.3:psy-rdoq=16.0:limit-modes=0:limit-refs=0:limit-tu=0:deblock=-3,-3:weightb=1:weightp=1:rect=1:amp=0:wpp=1:pmode=0:pme=0:b-intra=1:b-adapt=2:b-pyramid=1:tskip-fast=0:fast-intra=0:early-skip=0:min-keyint=24:keyint=240"
30
+X265PARAMS="ref=4:hme=1:hme-search=umh,umh,star:bframes=8:rd=4:rd-refine=0:subme=5:qcomp=0.7:fades=1:strong-intra-smoothing=0:ctu=64:qg-size=64:sao=0:selective-sao=0:cu-lossless=0:cutree=1:tu-inter-depth=4:tu-intra-depth=4:rskip=2:max-merge=2:rc-lookahead=100:aq-mode=1:aq-strength=1.0:rdoq-level=1:psy-rd=3.3:psy-rdoq=16.0:limit-modes=0:limit-refs=0:limit-tu=0:deblock=-3,-3:weightb=1:weightp=1:rect=1:amp=0:wpp=1:pmode=0:pme=0:b-intra=1:b-adapt=2:b-pyramid=1:tskip=1:tskip-fast=0:fast-intra=0:early-skip=0:min-keyint=24:keyint=240"
31
 
32
 # Leave empty to auto-detect ffmpeg/ffprobe/mplayer
33
 # or set your custom ones (eg, /path/to/bin/ffmpeg)
34
@@ -617,9 +617,8 @@
35
                ;;
36
            esac
37
            case "$1" in
38
-               mp4)        green "-> ac3|eac3|truehd|dts|aac|fdk-aac|mp3|vorbis|flac|copy" ;;
39
-               mov)        green "-> ac3|eac3|dts|aac|fdk-aac|mp3|vorbis|alac|copy" ;;
40
-               ts|mts|m2ts)    green "-> ac3|eac3|truehd|dts|aac|fdk-aac|mp3|vorbis|flac|copy" ;;
41
+               mov)            green "-> ac3|eac3|dts|aac|fdk-aac|mp3|vorbis|alac|copy" ;;
42
+               mp4|ts|mts|m2ts)    green "-> ac3|eac3|truehd|dts|aac|fdk-aac|mp3|vorbis|flac|copy" ;;
43
                other)
44
                error "-> HEVC video not supported by the $i container!"
45
                error "-> Supported containers are: mkv, mp4, mov, m2ts, mts and ts"
46
@@ -1672,7 +1671,6 @@
47
        read autocrop
48
        if [ "$autocrop" = "y" -o "$autocrop" = "Y" ]; then
49
            CROPVAL="\$($FFMPEG -ss \$((\$VLENGTH/2)) -i \"\$i\" $vidmap -vf cropdetect=24:4 -frames:v 1000 -f null - 2>&1 | awk '/crop/ {print \$NF}' | awk -F= '{print \$2}' | tail -1)"
50
-           # CROPVAL="\$($MPLAYER \"\$i\" -noconfig all -loop 1 -vid $vidtrack -frames 250 -ss \$((\$VLENGTH/2)) -vf cropdetect=24:4 -ao null -vo null -nocache 2>/dev/null | tr '\r' '\n' | grep 'crop=' | tail -n 1 | awk '{print \$9}' | sed 's|crop=||g; s|).||g')"
51
            crop="crop=\$CROPVAL,"
52
        fi
53
    else
54
@@ -1685,7 +1683,6 @@
55
            vlength="$VLENGTH"
56
        fi
57
        CROPVAL="$($FFMPEG -ss $(($vlength/2)) -i "$input" $vidmap -vf cropdetect=24:4 -frames:v 1000 -f null - 2>&1 | awk '/crop/ {print $NF}' | awk -F= '{print $2}' | tail -1)"
58
-       # CROPVAL="$($MPLAYER "$input" -noconfig all -loop 1 -vid $vidtrack -frames 250 -ss $(($vlength/2)) -vf cropdetect=24:4 -ao null -vo null -nocache 2>/dev/null | tr '\r' '\n' | grep 'crop=' | tail -n 1 | awk '{print $9}' | sed 's|crop=||g; s|).||g')"
59
        if [ ! -z "$CROPVAL" ]; then
60
            green "-> Found crop values: $CROPVAL"
61
        else
62
@@ -2618,7 +2615,7 @@
63
            acdc[i]="aac"
64
            acdcmeta[i]="LC-AAC"
65
            abropts[i]="32-512"
66
-           abrdef[i]="448"
67
+           abrdef[i]="384"
68
            ;;
69
            fdk*)
70
            acdc[i]="libfdk_aac"
71