Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 28
View file
ffhevc.changes
Changed
@@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Fri Dec 02 14:42:00 UTC 2016 - neutrino8@opensuse.org + +- Update to version 3.0.6 + * Merged the output code for the batch mode with that for single + file input + * Fixed an issue where remuxing to MP4 may fail in case the user + chooses FLAC audio + * Renamed variable $extracon to $remuxcon and $econ to $rcon + * Made strict option "global" so I won't have to worry about + adding experimental audio codecs support in the future + * Clean ups to the FPS conversion menu + +------------------------------------------------------------------- Wed Nov 23 15:20:00 UTC 2016 - neutrino8@opensuse.org - Update to version 3.0.5
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 3.0.5 +Version: 3.0.6 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with ffmpeg License: GPL-2.0+
View file
ffhevc-3.0.5.tar.gz/ChangeLog -> ffhevc-3.0.6.tar.gz/ChangeLog
Changed
@@ -1,3 +1,13 @@ +2016-12-02 - ffhevc 3.0.6 + * Merged the output code for the batch mode with that for single + file input + * Fixed an issue where remuxing to MP4 may fail in case the user + chooses FLAC audio + * Renamed variable $extracon to $remuxcon and $econ to $rcon + * Made strict option "global" so I won't have to worry about + adding experimental audio codecs support in the future + * Clean ups to the FPS conversion menu + 2016-11-23 - ffhevc 3.0.5 * Added support for FLAC audio in MP4. Requires a very recent ffmpeg version
View file
ffhevc-3.0.5.tar.gz/Makefile -> ffhevc-3.0.6.tar.gz/Makefile
Changed
@@ -12,7 +12,7 @@ cp -f AUTHORS LICENSE README ChangeLog preset.txt $(DOCDIR)/ffhevc chmod 644 $(DOCDIR)/ffhevc/* cp -f ffhevc.1 $(MANDIR) - gzip -9 $(MANDIR)/ffhevc.1 + gzip -9 -f $(MANDIR)/ffhevc.1 uninstall: rm -f $(PREFIX)/bin/ffhevc
View file
ffhevc-3.0.5.tar.gz/ffhevc -> ffhevc-3.0.6.tar.gz/ffhevc
Changed
@@ -2,8 +2,8 @@ # # Small script to encode to H.265/HEVC video using FFmpeg and libx265. # Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org> -# Version: 3.0.5 -# Date: 2016-11-23 +# Version: 3.0.6 +# Date: 2016-12-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 @@ -24,7 +24,7 @@ brown() { echo -e "\e[0;33m$1\e[0;39;49m"; } error() { echo -e "\e[1;31m$1\e[0;39;49m"; } -version="3.0.5" +version="3.0.6" CFG="$HOME/.ffhevc" cfgversion="33" @@ -119,7 +119,7 @@ # Add a custom comment to your encodes # Leave empty to disable/ask each time -COMMENT="Encoded with the help of ffhevc" +COMMENT="Encoded with the help of \$(basename \$0) \$version" ##################################################### EOF @@ -427,9 +427,6 @@ else printf "Specify a Name for the Output: " read -e output -fi - -if [ -z "$batchmode" ]; then if [ -z "$output" ]; then error "-> You have to provide a name for the output!" exit 1 @@ -502,9 +499,9 @@ read acf if [ "$acf" = "y" -o "$acf" = "Y" ]; then printf "Specify the Container Formats [example: mp4,mov,m2ts - press 'Enter' to skip]: " - read econ - test ! -z "$econ" && extracon="$(echo "$econ" | tr '[:upper:]' '[:lower:]' | tr '[:punct:]' ' ')" - if [ ! -z "$extracon" ]; then + read rcon + test ! -z "$rcon" && remuxcon="$(echo "$rcon" | tr '[:upper:]' '[:lower:]' | tr '[:punct:]' ' ')" + if [ ! -z "$remuxcon" ]; then container_func() { case "$1" in mp4|mov) @@ -523,13 +520,13 @@ esac } - DUPS="$(echo -e "$extracon" | sed 's| |\n|g' | sort | uniq -d)" + DUPS="$(echo -e "$remuxcon" | sed 's| |\n|g' | sort | uniq -d)" if [ ! -z "$DUPS" ]; then error "-> You provided a duplicate container entry!" exit 1 fi - for i in $extracon; do + for i in $remuxcon; do echo if [ "$i" = "$CONFMT" ]; then error "-> Additional container $i matches the main output container!" @@ -636,7 +633,7 @@ denoise="atadenoise=$ata_1$ata_2$ata_3," ;; *) - error "-> Invalid denoiser option!" + error "-> Invalid option!" exit 1 ;; esac @@ -1006,23 +1003,23 @@ ;; esac echo - brown " NTSC <-> PAL and NTSC <-> NTSC FPS Conversion" - brown " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" - echo " 0 --> 23.976 FPS (24000/1001) to 24 FPS" - echo " 1 --> 23.976 FPS (24000/1001) to 25 FPS" - echo " 2 --> 23.976 FPS (24000/1001) to 29.970 FPS" + brown " FPS Conversion" + brown " ~~~~~~~~~~~~~~" + echo " 0 --> 23.976 FPS to 24 FPS" + echo " 1 --> 23.976 FPS to 25 FPS" + echo " 2 --> 23.976 FPS to 29.970 FPS" echo - echo " 3 --> 24 FPS to 23.976 FPS (24000/1001)" + echo " 3 --> 24 FPS to 23.976 FPS" echo " 4 --> 24 FPS to 25 FPS" - echo " 5 --> 24 FPS to 29.970 FPS (30000/1001)" + echo " 5 --> 24 FPS to 29.970 FPS" echo - echo " 6 --> 25 FPS to 23.976 FPS (24000/1001)" + echo " 6 --> 25 FPS to 23.976 FPS" echo " 7 --> 25 FPS to 24 FPS" - echo " 8 --> 25 FPS to 29.970 FPS (30000/1001)" + echo " 8 --> 25 FPS to 29.970 FPS" echo - echo " 9 --> 29.970 FPS (30000/1001) to 23.976 FPS (24000/1001)" - echo " 10 -> 29.970 FPS (30000/1001) to 24 FPS" - echo " 11 -> 29.970 FPS (30000/1001) to 25 FPS" + echo " 9 --> 29.970 FPS to 23.976 FPS" + echo " 10 -> 29.970 FPS to 24 FPS" + echo " 11 -> 29.970 FPS to 25 FPS" echo printf "Specify the FPS Conversion option [press 'Enter' to skip]: " read fpsopt @@ -1170,8 +1167,8 @@ exit 1 ;; esac - if [ ! -z "$extracon" ]; then - for i in $extracon; do + if [ ! -z "$remuxcon" ]; then + for i in $remuxcon; do case "$i" in mkv|m2ts|mts|ts) true ;; *) @@ -1314,6 +1311,11 @@ esac if [ "$ATRACKS" != "0" ]; then + # Making it "global" so I don't have to + # worry about adding experimental codecs + # support + strict="-strict -2" + for i in $(eval echo "{1..$ATRACKS}"); do audindex[i]="$(($i-1))" printf "Track $i: Specify the Audio Track to Encode or Copy [default is 0:1]: " @@ -1375,7 +1377,6 @@ abrdef[i]="768" ;; truehd) - strict="-strict -2" acdc[i]="truehd" ameta[i]="TrueHD" abropts[i]="1000-18000" @@ -1383,7 +1384,6 @@ skiptfs="1" ;; dts) - strict="-strict -2" acdc[i]="dca" ameta[i]="DTS" abropts[i]="754/1509" @@ -1419,7 +1419,6 @@ abrdef[i]="448" ;; flac) - test "$CONFMT" = "mp4" && strict="-strict -2" acdc[i]="flac" ameta[i]="FLAC" abropts[i]="0-8" @@ -1455,7 +1454,7 @@ conerror_func() { test -z "${acodec[i]}" && audcodec[i]="ac3" || audcodec[i]="${acodec[i]}" - if [ ! -z "$extracon" ]; then + if [ ! -z "$remuxcon" ]; then error "-> Additional container $c does not support ${audcodec[i]} audio!" else error "-> The $c container does not support ${audcodec[i]} audio!" @@ -1467,7 +1466,7 @@ # mkv/m2ts/mts/ts are missing from the list since they # support all the audio codecs supported by the script - for c in $CONFMT $extracon; do + for c in $CONFMT $remuxcon; do case "$c" in mp4) case "${acodec[i]}" in @@ -2003,10 +2002,10 @@ fi encoder_func $encmode >> "$OUTFILE" echo "" >> "$OUTFILE" -if [ ! -z "$extracon" ]; then +if [ ! -z "$remuxcon" ]; then echo "green() { echo -e \"\e[1;32m\$1\e[0;39;49m\"; }" >> "$OUTFILE" echo "red() { echo -e \"\e[1;31m\$1\e[0;39;49m\"; }" >> "$OUTFILE" - for i in $extracon; do + for i in $remuxcon; do echo "" >> "$OUTFILE" echo "echo" >> "$OUTFILE" echo "green \"-> Remuxing to $i...\"" >> "$OUTFILE"
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
.