Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 286
View file
ffhevc.changes
Changed
@@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Mon Mar 02 15:30:00 UTC 2026 - microchip8@proton.me + +- Update to version 4.7.0 + * Remove dependency on MPlayer and use ffplay instead + for crop previews + * Updated the man page + +------------------------------------------------------------------- Mon Feb 23 05:15:00 UTC 2026 - microchip8@proton.me - Update to version 4.6.19
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 4.6.19 +Version: 4.7.0 Release: %mkrel 1 Summary: A small shell script for encoding to H.265/HEVC with FFmpeg License: GPL-2.0+
View file
ffhevc-4.6.19.tar.gz/ChangeLog -> ffhevc-4.7.0.tar.gz/ChangeLog
Changed
@@ -1,3 +1,8 @@ +2026-03-02 - ffhevc 4.7.0 + * Remove dependency on MPlayer and use ffplay instead + for crop previews + * Updated the man page + 2026-02-23 - ffhevc 4.6.19 * Minor update to the built-in script preset * Set Spline64 as default zimg scaler
View file
ffhevc-4.6.19.tar.gz/ffhevc -> ffhevc-4.7.0.tar.gz/ffhevc
Changed
@@ -4,8 +4,8 @@ # encoding to H.265/HEVC video using FFmpeg and libx265. # # Author: Grozdan "microchip" Nikolov <microchip8@proton.me> -# Version: 4.6.19 -# Date: 2026-02-23 +# Version: 4.7.0 +# Date: 2026-03-02 # # ffhevc is free software ; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -26,10 +26,10 @@ brown() { echo -e "\e0;33m$1\e0;39;49m"; } error() { echo -e "\e1;31m$1\e0;39;49m"; } -version="4.6.19" +version="4.7.0" CFG="$HOME/.ffhevc" -cfgversion="101" +cfgversion="102" genconfig_func() { cat<<EOF>>"$CFG" @@ -141,11 +141,11 @@ # merange is calculated as: ctu size - 4(luma) - 2(chroma) (- 1 if me=hex is used) X265PARAMS="ref=4:me=umh:merange=52:subme=7:bframes=6:rd=4:rd-refine=0:qcomp=0.60:fades=1:strong-intra-smoothing=0:ctu=32:qg-size=32:sao=0:selective-sao=0:cu-lossless=0:cutree=1:tu-inter-depth=4:tu-intra-depth=4:max-merge=5:rskip=2:rskip-edge-threshold=1:rc-lookahead=80:lookahead-slices=0:aq-mode=1:aq-strength=1.1:rdoq-level=1:psy-rd=3.0:psy-rdoq=3.5:limit-modes=1:limit-refs=0:limit-tu=0:deblock=-3,-3:weightb=1:weightp=1:rect=1:amp=1:wpp=1:b-intra=1:b-adapt=2:b-pyramid=1:tskip=0:tskip-fast=0:fast-intra=0:early-skip=0:splitrd-skip=0:refine-mv=3:refine-intra=4:refine-inter=1" -# Leave empty to auto-detect ffmpeg/ffprobe/mplayer +# Leave empty to auto-detect ffmpeg/ffprobe/ffplay # or set your custom ones (eg, /path/to/bin/ffmpeg) FFMPEG="" FFPROBE="" -MPLAYER="" +FFPLAY="" MP4BOX="" # Add a custom comment to your encodes @@ -393,17 +393,17 @@ fi if "$AUTOCROP" = "y" ; then - if ! -z "$MPLAYER" ; then - if ! -x "$MPLAYER" ; then - error "-> MPlayer is missing from your system!" + if ! -z "$FFPLAY" ; then + if ! -x "$FFPLAY" ; then + error "-> ffplay is missing from your system!" error "-> Check the config in '$CFG'" echo exit 1 fi else - MPLAYER="$(which mplayer 2>/dev/null)" - if ! -x "$MPLAYER" ; then - error "-> MPlayer is missing from your system! (Needed for crop preview)" + FFPLAY="$(which ffplay 2>/dev/null)" + if ! -x "$FFPLAY" ; then + error "-> ffplay is missing from your system! (Needed for crop preview)" echo fi fi @@ -1898,22 +1898,28 @@ else if -z "$cropval" ; then crop="crop=$CROPVALUES," - crop_preview="$CROPVALUES" + crop_vals="$CROPVALUES" else crop="crop=$cropval," - crop_preview="$cropval" + crop_vals="$cropval" fi - printf "Preview the Crop Values for 10 seconds? y/N: " + + crop_w="$(echo "$crop_vals" | awk -F: '{print $1}')" + crop_h="$(echo "$crop_vals" | awk -F: '{print $2}')" + crop_x="$(echo "$crop_vals" | awk -F: '{print $3}')" + crop_y="$(echo "$crop_vals" | awk -F: '{print $4}')" + + printf "Preview the Crop Values for 15 seconds? y/N: " read precrop if "$precrop" = "y" -o "$precrop" = "Y" ; then - printf "Specify the Start Position in hour:min:sec default is 0:02:00: " + printf "Specify the Start Position in hour:min:sec default is 00:03:00: " read timepos if -z "$timepos" ; then - startpos="0:02:00" + startpos="00:03:00" else startpos="$timepos" fi - $MPLAYER "$input" -vid $vidtrack -vf rectangle=$crop_preview -noconfig all -nocache -ao null -ss $startpos -endpos 10 >/dev/null 2>&1 + timeout 15 $FFPLAY -vst $vidtrack -ss "$startpos" -an -vf drawbox=w=$crop_w:h=$crop_h:x=$crop_x:y=$crop_y:thickness=2:color=white@0.5 "$input" >/dev/null 2>&1 fi fi printf "Are you Satisfied with the Crop Area? y/N: "
View file
ffhevc-4.6.19.tar.gz/ffhevc.1 -> ffhevc-4.7.0.tar.gz/ffhevc.1
Changed
@@ -3,7 +3,7 @@ .de IPs .IP "\\$1" .. -.TH ffhevc 1 "Nov 13, 2025" +.TH ffhevc 1 "Mar 02, 2026" .SH NAME ffhevc @@ -27,7 +27,7 @@ .br - FFprobe (part of FFmpeg) .br -- MPlayer (for crop preview only) +- FFplay (part of FFmpeg, for crop preview only) .br - MP4Box from GPAC (for mp4/mov cover art only) .br
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.