Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
ffhevc.changes
Changed
@@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Nov 01 00:35:00 UTC 2016 - neutrino8@gmail.com + +- Update to version 2.8.9 + * Added support for bobbing (deinterlace at double FPS) + * Cosmetics: add menu header to the Color Primaries option + +------------------------------------------------------------------- Tue Oct 18 20:26:00 UTC 2016 - neutrino8@gmail.com - Add changes file
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 2.8.8 +Version: 2.8.9 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with ffmpeg License: GPL-2.0+
View file
ffhevc-2.8.8.tar.gz/ChangeLog -> ffhevc-2.8.9.tar.gz/ChangeLog
Changed
@@ -1,3 +1,7 @@ +2016-11-01 - ffhevc 2.8.9 + * Added support for bobbing (deinterlace at double FPS) + * Cosmetics: add menu header to the Color Primaries option + 2016-10-11 - ffhevc 2.8.8 * Fix video rotation for 180°. Don't use transpose=0 and transpose=3 as they cancel each others out
View file
ffhevc-2.8.8.tar.gz/ffhevc -> ffhevc-2.8.9.tar.gz/ffhevc
Changed
@@ -1,16 +1,16 @@ #!/usr/bin/env bash # # Small script to encode to H.265/HEVC video using FFmpeg and libx265. -# Author: Grozdan "microchip" Nikolov -# Version: 2.8.8 -# Date: 2016-10-11 +# Author: Grozdan "microchip" Nikolov <neutrino8@gmail.com> +# Version: 2.8.9 +# Date: 2016-11-01 # License: GNU GPLv2+ green() { echo -e "\e[1;32m$1\e[0;39;49m"; } brown() { echo -e "\e[0;33m$1\e[0;39;49m"; } error() { echo -e "\e[1;31m$1\e[0;39;49m"; } -version="2.8.8" +version="2.8.9" CFG="$HOME/.ffhevc" cfgversion="25" @@ -445,7 +445,34 @@ printf "Deinterlace the Input File? [y/N]: " read deint if [ "$deint" = "y" -o "$deint" = "Y" ]; then - yadif="yadif," + echo + brown " Deinterlace Methods" + brown " ~~~~~~~~~~~~~~~~~~~" + echo " 0 -> Deinterlace at original FPS" + echo " 1 -> Bobbing (deinterlace at double FPS)" + echo + printf "Specify the Deinterlace Method [default is 0]: " + read dmethod + case "$dmethod" in + 0|"") yadif="yadif," ;; + 1) + FPSOUT="$(dirname "${OUTPUT%.*}")/.ff_fps$$" + $FFPROBE -i "$input" -select_streams v:0 -show_entries stream=r_frame_rate > "$FPSOUT" 2>&1 + FPS1="$(cat "$FPSOUT" | sed -n 's|r_frame_rate=||p' | awk -F/ '{print $1}')" + FPS2="$(cat "$FPSOUT" | sed -n 's|r_frame_rate=||p' | awk -F/ '{print $2}')" + rm -f "$FPSOUT" + echo + green "-> Detected $FPS1/$FPS2 FPS" + green "-> Setting output FPS to: $(($FPS1*2))/$FPS2" + echo + fps="-r $(($FPS1*2))/$FPS2" + yadif="yadif=1," + ;; + *) + error "-> Invalid option!" + exit 1 + ;; + esac fi fi @@ -512,6 +539,8 @@ read cprim if [ "$cprim" = "y" -o "$cprim" = "Y" ]; then echo + brown " Color Primaries" + brown " ~~~~~~~~~~~~~~~" echo " 0 -> smpte170m (NTSC DVD)" echo " 1 -> bt470bg (PAL DVD)" echo " 2 -> bt709 (HD/Full HD)" @@ -1071,7 +1100,7 @@ case "$1" in 1p|crf) test "$mode" = "1p" && pmode="bitrate=$vbitrate" || pmode="crf=$CRF" - OPTS1="-map 0:0 -disposition:v:0 default $NOSUBS $MDATA $CHPS $METATITLE $METAGENRE $METAYEAR $METACOMMENT $vfilters $sws" + OPTS1="-map 0:0 -disposition:v:0 default $fps $NOSUBS $MDATA $CHPS $METATITLE $METAGENRE $METAYEAR $METACOMMENT $vfilters $sws" OPTS2="${audparams[*]} ${auddis[*]} ${subcopy[*]} ${subdis[*]} $strict $movflags $METACOVER \"$OUTPUT\"" ;; 2p) @@ -1079,7 +1108,7 @@ passtwo="stats=\"$OUTFILE.log\":pass=2:bitrate=$vbitrate" OPTS1="-map 0:0" OPTS2="-an -f null -y /dev/null" - OPTS3="-map 0:0 -disposition:v:0 default $NOSUBS $MDATA $CHPS $METATITLE $METAGENRE $METAYEAR $METACOMMENT $vfilters $sws" + OPTS3="-map 0:0 -disposition:v:0 default $fps $NOSUBS $MDATA $CHPS $METATITLE $METAGENRE $METAYEAR $METACOMMENT $vfilters $sws" OPTS4="${audparams[*]} ${auddis[*]} ${subcopy[*]} ${subdis[*]} $strict $movflags $METACOVER \"$OUTPUT\"" ;; esac
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
.