Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 130
View file
ffhevc.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Sep 18 07:58:00 UTC 2019 - neutrino8@opensuse.org + +- Update to version 3.7.9 + * Improvements to the audio copy metadata + +------------------------------------------------------------------- Fri Sep 13 14:12:00 UTC 2019 - neutrino8@opensuse.org - Update to version 3.7.8
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 3.7.8 +Version: 3.7.9 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with ffmpeg License: GPL-2.0+
View file
ffhevc-3.7.8.tar.gz/ChangeLog -> ffhevc-3.7.9.tar.gz/ChangeLog
Changed
@@ -1,3 +1,6 @@ +2019-09-18 - ffhevc 3.7.9 + * Improvements to the audio copy metadata + 2019-09-13 - ffhevc 3.7.8 * Add audio channel metadata when using audio copy
View file
ffhevc-3.7.8.tar.gz/ffhevc -> ffhevc-3.7.9.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.7.8 -# Date: 2019-09-13 +# Version: 3.7.9 +# Date: 2019-09-18 # # 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.7.8" +version="3.7.9" CFG="$HOME/.ffhevc" cfgversion="43" @@ -3092,18 +3092,34 @@ aindex[i]="$(($(echo "${atrack[i]}" | awk -F: '{print $2}')-1))" test "${aindex[i]}" = "-1" && aindex[i]="0" - GETAUDCDC[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^codec_name' | awk -F= '{print $2}' | tr '[a-z]' '[A-Z]')" + GETAUDCDC[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^codec_name' | awk -F= '{print $2}')" GETAUDBTR[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^bit_rate' | awk -F= '{print $2}')" GETAUDSR[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^sample_rate' | awk -F= '{print $2}')" - GETAUDCH[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^channel_layout' | awk -F= '{print $2}')" + GETAUDCL[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^channel_layout' | awk -F= '{print $2}')" if [ ! -z "${GETAUDCDC[i]}" ]; then - case "${GETAUDCH[i]}" in + case "${GETAUDCDC[i]}" in + ac3) GETAUDCDC[i]="AC-3" ;; + eac3) GETAUDCDC[i]="E-AC-3" ;; + truehd) GETAUDCDC[i]="TrueHD" ;; + dts) GETAUDCDC[i]="DTS" ;; + vorbis) GETAUDCDC[i]="Vorbis" ;; + aac) GETAUDCDC[i]="AAC" ;; + mp3) GETAUDCDC[i]="MP3" ;; + mp2) GETAUDCDC[i]="MP2" ;; + wma*) GETAUDCDC[i]="WMA" ;; + opus) GETAUDCDC[i]="Opus" ;; + pcm*) GETAUDCDC[i]="PCM" ;; + flac) GETAUDCDC[i]="FLAC" ;; + alac) GETAUDCDC[i]="ALAC" ;; + *) GETAUDCDC[i]="$(echo "${GETAUDCDC[i]}" | tr '[a-z]' '[A-Z]')" ;; + esac + case "${GETAUDCL[i]}" in [1-9]*|mono|stereo) - case "${GETAUDCH[i]}" in + case "${GETAUDCL[i]}" in mono) audchmeta[i]=" Mono" ;; stereo) audchmeta[i]=" Stereo" ;; - *) audchmeta[i]=" $(echo "${GETAUDCH[i]}" | sed 's|(.*||g')" ;; + *) audchmeta[i]=" $(echo "${GETAUDCL[i]}" | sed 's|(.*||g')" ;; esac ;; 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
.