Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 166
View file
ffx264.changes
Changed
@@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Fri Nov 08 10:17:00 UTC 2024 - neutrino8@gmail.com + +- Update to version 4.5.8 + * Support copying the DTS core-only from DTS 96/24 and + DTS:X IMAX tracks + * Updated the AAC profile detection for audio copy + +------------------------------------------------------------------- Wed Nov 06 10:28:00 UTC 2024 - neutrino8@gmail.com - Update to version 4.2.6
View file
ffx264.spec
Changed
@@ -17,7 +17,7 @@ Name: ffx264 -Version: 4.2.6 +Version: 4.2.7 Release: %mkrel 1 Summary: A small shell script for encoding to H.264/AVC with FFmpeg License: GPL-2.0+
View file
ffx264-4.2.6.tar.gz/ChangeLog -> ffx264-4.2.7.tar.gz/ChangeLog
Changed
@@ -1,3 +1,8 @@ +2024-11-08 - ffx264 4.2.7 + * Support copying the DTS core-only from DTS 96/24 and + DTS:X IMAX tracks + * Updated the AAC profile detection for audio copy + 2024-11-06 - ffx264 4.2.6 * Replaced the detelecine filter with a combination of the fieldmatch, bwdif and decimate filters
View file
ffx264-4.2.6.tar.gz/ffx264 -> ffx264-4.2.7.tar.gz/ffx264
Changed
@@ -2,8 +2,8 @@ # # Small script to encode to H.264/AVC video using FFmpeg and libx264. # Author: Grozdan "microchip" Nikolov <neutrino8@gmail.com> -# Version: 4.2.6 -# Date: 2024-11-06 +# Version: 4.2.7 +# Date: 2024-11-08 # # 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 "\e0;33m$1\e0;39;49m"; } error() { echo -e "\e1;31m$1\e0;39;49m"; } -version="4.2.6" +version="4.2.7" CFG="$HOME/.ffx264" cfgversion="43" @@ -3556,13 +3556,18 @@ get_audio_profile_func GETAUDCDCi="${GETAUDPROFi}" case "${GETAUDPROFi}" in - "DTS-HD MA"|"DTS-HD HRA"|"DTS-HD MA + DTS:X") + "DTS 96/24"|"DTS-HD MA"|"DTS-HD HRA"|"DTS-HD MA + DTS:X"|"DTS-HD MA + DTS:X IMAX") printf "Track $i: Copy Full or just the DTS Core? full/core - default is full: " read acorecopyi case "${acorecopyi}" in c*|C*) GETAUDCDCi="DTS" - audcorei="-bsf:a:${audindexi} dca_core" ;; + audcorei="-bsf:a:${audindexi} dca_core" + # For sample rate metadata + if "${GETAUDPROFi}" = "DTS 96/24" ; then + DTS96i="1" + fi + ;; esac ;; esac @@ -3571,11 +3576,16 @@ aac) get_audio_profile_func case "${GETAUDPROFi}" in - LC|LC-AAC) GETAUDCDCi="LC-AAC" ;; - HE|HE-AAC) GETAUDCDCi="HE-AAC" ;; - HEv2|HE-AACv2) GETAUDCDCi="HE-AACv2" ;; - LD|LD-AAC) GETAUDCDCi="LD-AAC" ;; - *) GETAUDCDCi="AAC" ;; + LC) GETAUDCDCi="LC-AAC" ;; + HE-AAC) GETAUDCDCi="HE-AAC" ;; + HE-AACv2) GETAUDCDCi="HE-AACv2" ;; + LD) GETAUDCDCi="LD-AAC" ;; + ELD) GETAUDCDCi="ELD-AAC" ;; + Main) GETAUDCDCi="AAC Main" ;; + SSR) GETAUDCDCi="AAC SSR" ;; + LTP) GETAUDCDCi="LTP-AAC" ;; + xHE-AAC) GETAUDCDCi="xHE-AAC" ;; + *) GETAUDCDCi="AAC" ;; esac ;; mp3) GETAUDCDCi="MP3" ;; @@ -3595,6 +3605,7 @@ mono) achmetai=" Mono" ;; stereo) achmetai=" Stereo" ;; unknown|N/A|"") + # Second try, guesstimate based on chans GETAUDCHi="$($FFPROBE -i "$input" -v quiet -select_streams a:${aidxi} -show_entries stream=channels -of default=noprint_wrappers=1:nokey=1 | tail -1)" case "${GETAUDCHi}" in 1) achmetai=" Mono" ;; @@ -3631,7 +3642,13 @@ ;; esac case "${GETAUDSRi}" in - 1-9*) asrmetai=", $(echo "scale=1; ${GETAUDSRi}/1000" | $BC -l | sed 's|\.0$||') kHz" ;; + 1-9*) + if -z "${DTS96i}" ; then + asrmetai=", $(echo "scale=1; ${GETAUDSRi}/1000" | $BC -l | sed 's|\.0$||') kHz" + else + asrmetai=", 48 kHz" + fi + ;; esac audmetai="-metadata:s:a:${audindexi} title=\"${GETAUDCDCi}${achmetai}${abtrmetai}${asrmetai}${abdmetai}\"" fi
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
.