Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 103
View file
ffx264.changes
Changed
@@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Sep 25 09:53:00 UTC 2019 - neutrino8@opensuse.org + +- Update to version 3.8.3 + * Revert using audindex[i] var for audio metadata + detection + +------------------------------------------------------------------- Wed Sep 25 06:23:00 UTC 2019 - neutrino8@opensuse.org - Update to version 3.8.2
View file
ffx264.spec
Changed
@@ -17,7 +17,7 @@ Name: ffx264 -Version: 3.8.2 +Version: 3.8.3 Release: 0 Summary: A small shell script for encoding to H.264 with ffmpeg License: GPL-2.0+
View file
ffx264-3.8.2.tar.gz/ChangeLog -> ffx264-3.8.3.tar.gz/ChangeLog
Changed
@@ -1,3 +1,7 @@ +2019-09-25 - ffx264 3.8.3 + * Revert using audindex[i] var for audio metadata + detection + 2019-09-25 - ffx264 3.8.2 * Use the audindex[i] variable for audio metadata during audio copy
View file
ffx264-3.8.2.tar.gz/ffx264 -> ffx264-3.8.3.tar.gz/ffx264
Changed
@@ -2,7 +2,7 @@ # # Small script to encode to H.264/AVC video using FFmpeg and libx264. # Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org> -# Version: 3.8.2 +# Version: 3.8.3 # Date: 2019-09-25 # # ffx264 is free software ; you can redistribute it and/or modify @@ -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.8.2" +version="3.8.3" CFG="$HOME/.ffx264" cfgversion="35" @@ -3016,14 +3016,17 @@ test ! -z "${afilters[i]}" && audfilters[i]="-filter:a:${audindex[i]} ${afilters[i]}" else if [ -z "$batchmode" ]; then - GETAUDCDC[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${audindex[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:${audindex[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:${audindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^sample_rate' | awk -F= '{print $2}')" - GETAUDCL[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${audindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^channel_layout' | awk -F= '{print $2}')" + 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}')" + 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}')" + 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 get_audio_profile_func() { - GETAUDPROF[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${audindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^profile' | awk -F= '{print $2}')" + GETAUDPROF[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^profile' | awk -F= '{print $2}')" } case "${GETAUDCDC[i]}" in ac3) GETAUDCDC[i]="AC-3" ;; @@ -3065,7 +3068,7 @@ mono) audchmeta[i]=" Mono" ;; stereo) audchmeta[i]=" Stereo" ;; unknown|N/A|"") - GETAUDCH[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${audindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^channels' | awk -F= '{print $2}')" + GETAUDCH[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^channels' | awk -F= '{print $2}')" case "${GETAUDCH[i]}" in 1) audchmeta[i]=" Mono" ;; 2) audchmeta[i]=" Stereo" ;;
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
.