Projects
Multimedia
ffxvid
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 38
View file
ffxvid.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Sep 13 14:12:00 UTC 2019 - neutrino8@opensuse.org + +- Update to version 1.3.4 + * Add audio channel metadata when using audio copy + +------------------------------------------------------------------- Thu Sep 05 03:30:00 UTC 2019 - neutrino8@opensuse.org - Update to version 1.3.3
View file
ffxvid.spec
Changed
@@ -17,7 +17,7 @@ Name: ffxvid -Version: 1.3.3 +Version: 1.3.4 Release: 0 Summary: A small shell script for encoding to H.264 with ffmpeg License: GPL-2.0+
View file
ffxvid-1.3.3.tar.gz/ChangeLog -> ffxvid-1.3.4.tar.gz/ChangeLog
Changed
@@ -1,3 +1,6 @@ +2019-09-13 - ffxvid 1.3.4 + * Add audio channel metadata when using audio copy + 2019-09-05 - ffxvid 1.3.3 * Code optimization in the audio sample rate metadata
View file
ffxvid-1.3.3.tar.gz/ffxvid -> ffxvid-1.3.4.tar.gz/ffxvid
Changed
@@ -2,8 +2,8 @@ # # Small script to encode to Xvid video using FFmpeg. # Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org> -# Version: 1.3.3 -# Date: 2019-09-05 +# Version: 1.3.4 +# Date: 2019-09-13 # # ffx264 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="1.3.3" +version="1.3.4" CFG="$HOME/.ffxvid" cfgversion="9" @@ -2811,8 +2811,18 @@ 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]')" 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}')" if [ ! -z "${GETAUDCDC[i]}" ]; then + case "${GETAUDCH[i]}" in + [1-9]*|mono|stereo) + case "${GETAUDCH[i]}" in + mono) audchmeta[i]=" Mono" ;; + stereo) audchmeta[i]=" Stereo" ;; + *) audchmeta[i]=" $(echo "${GETAUDCH[i]}" | sed 's|(.*||g')" ;; + esac + ;; + esac case "${GETAUDBTR[i]}" in [1-9]*) audbtrmeta[i]=" @ $(($(echo "${GETAUDBTR[i]}")/1000)) kbps" ;; 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
.