Projects
Multimedia
ffxvid
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 106
View file
ffxvid.changes
Changed
@@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Fri Nov 08 10:17:00 UTC 2024 - neutrino8@gmail.com + +- Update to version 1.8.7 + * 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 1.8.6
View file
ffxvid.spec
Changed
@@ -17,7 +17,7 @@ Name: ffxvid -Version: 1.8.6 +Version: 1.8.7 Release: %mkrel 1 Summary: A small shell script for encoding to Xvid with FFmpeg License: GPL-2.0+
View file
ffxvid-1.8.6.tar.gz/ChangeLog -> ffxvid-1.8.7.tar.gz/ChangeLog
Changed
@@ -1,3 +1,8 @@ +2024-11-08 - ffxvid 1.8.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 - ffxvid 1.8.6 * Fixed a bug in the video_hdr_to_sdr_func() function * Replaced the detelecine filter with a combination
View file
ffxvid-1.8.6.tar.gz/ffxvid -> ffxvid-1.8.7.tar.gz/ffxvid
Changed
@@ -2,8 +2,8 @@ # # Small script to encode to Xvid video using FFmpeg. # Author: Grozdan "microchip" Nikolov <neutrino8@gmail.com> -# Version: 1.8.6 -# Date: 2024-11-06 +# Version: 1.8.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="1.8.6" +version="1.8.7" CFG="$HOME/.ffxvid" cfgversion="15" @@ -3287,13 +3287,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 @@ -3302,11 +3307,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" ;; @@ -3326,6 +3336,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" ;; @@ -3362,7 +3373,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
.