Projects
Multimedia
ffxvid
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 104
View file
ffxvid.changes
Changed
@@ -1,11 +1,52 @@ ------------------------------------------------------------------- +Sun Nov 03 13:46:00 UTC 2024 - neutrino8@gmail.com + +- Update to version 1.8.5 + * Support copying full DTS-X audio or only the DTS core + +------------------------------------------------------------------- +Sat Nov 02 09:27:00 UTC 2024 - neutrino8@gmail.com + +- Update to version 1.8.4 + * Support copying full DTS-HD HRA audio or just the DTS Core in it + * Support copying full Dolby Atmos audio or just the AC-3/TrueHD + Core in it + +------------------------------------------------------------------- +Fri Nov 01 14:47:00 UTC 2024 - neutrino8@gmail.com + +- Update to version 1.8.3 + * Added support for copying only the DTS Core + audio or the full DTS-HD MA audio track + +------------------------------------------------------------------- +Wed Oct 30 21:04:00 UTC 2024 - neutrino8@gmail.com + +- Update to version 1.8.2 + * Reduced duplication in the final audio params + code variable + * Use kHz instead of Hz for audio sample rate + metadata + * Slightly increased default value of the noise + filter + * Updated the AUTHORS file (email address) + +------------------------------------------------------------------- +Mon Oct 28 16:25:00 UTC 2024 - neutrino8@gmail.com + +- Update to version 1.8.1 + * Updated the audio copy code to detect Dolby + Atmos and use the correct name metadata + * Renamed a few variables + +------------------------------------------------------------------- Wed Feb 28 22:20:00 UTC 2024 - neutrino8@opensuse.org - Update to version 1.8.0 * Initial support for zimg (z lib) scalers ------------------------------------------------------------------- -Sun Feb 04 16:40:00 UTC 2024 - neutrino8@opensuse.org +Sun Feb 04 16:40:00 UTC 2023 - neutrino8@opensuse.org - Update to version 1.7.7 * Don't exit but warn about MP4Box/Mplayer missing
View file
ffxvid.spec
Changed
@@ -17,7 +17,7 @@ Name: ffxvid -Version: 1.8.0 +Version: 1.8.5 Release: %mkrel 1 Summary: A small shell script for encoding to Xvid with FFmpeg License: GPL-2.0+
View file
ffxvid-1.8.0.tar.gz/AUTHORS -> ffxvid-1.8.5.tar.gz/AUTHORS
Changed
@@ -1,3 +1,3 @@ -- Grozdan Nikolov aka microchip <neutrino8@opensuse.org> +- Grozdan Nikolov aka microchip <neutrino8@gmail.com> Author/maintainer/developer/packager
View file
ffxvid-1.8.0.tar.gz/ChangeLog -> ffxvid-1.8.5.tar.gz/ChangeLog
Changed
@@ -1,3 +1,31 @@ +2024-11-03 - ffxvid 1.8.5 + * Support copying full DTS-X audio or only + the DTS core + +2024-11-02 - ffxvid 1.8.4 + * Support copying full DTS-HD HRA audio or just + the DTS Core in it + * Support copying full Dolby Atmos audio or just + the AC-3/TrueHD Core in it + +2024-11-01 - ffxvid 1.8.3 + * Added support for copying only the DTS Core + audio or the full DTS-HD MA audio track + +2024-10-30 - ffxvid 1.8.2 + * Reduced duplication in the final audio params + code variable + * Use kHz instead of Hz for audio sample rate + metadata + * Slightly increased default value of the noise + filter + * Updated the AUTHORS file (email address) + +2024-10-28 - ffxvid 1.8.1 + * Updated the audio copy code to detect Dolby + Atmos and use the correct name metadata + * Renamed a few variables + 2024-02-28 - ffxvid 1.8.0 * Initial support for zimg (z lib) scalers
View file
ffxvid-1.8.0.tar.gz/ffxvid -> ffxvid-1.8.5.tar.gz/ffxvid
Changed
@@ -1,9 +1,9 @@ #!/usr/bin/env bash # # Small script to encode to Xvid video using FFmpeg. -# Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org> -# Version: 1.7.7 -# Date: 2024-02-28 +# Author: Grozdan "microchip" Nikolov <neutrino8@gmail.com> +# Version: 1.8.5 +# Date: 2024-11-03 # # 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.0" +version="1.8.5" CFG="$HOME/.ffxvid" cfgversion="15" @@ -746,9 +746,9 @@ printf "Add Temporal & Uniform Noise to the Input File? y/N: " read tun if "$tun" = "y" -o "$tun" = "Y" ; then - printf "Specify the Noise Strength 0-100 - default is 2: " + printf "Specify the Noise Strength 0-100 - default is 4: " read nvalue - test -z "$nvalue" && nval="2" || nval="$nvalue" + test -z "$nvalue" && nval="4" || nval="$nvalue" noise="noise=alls=$nval:allf=t+u," fi } @@ -1682,8 +1682,8 @@ scale="scale=$res$interl:flags=$scaler$accuround$fullchroma_inp$fullchroma_int$swsparam0$swsparam1," ;; *) - WIDTH="$(echo "$res" | awk -Fx '{print $1}')" - HEIGHT="$(echo "$res" | awk -Fx '{print $2}')" + ZWIDTH="$(echo "$res" | awk -Fx '{print $1}')" + ZHEIGHT="$(echo "$res" | awk -Fx '{print $2}')" echo brown "Software Scalers" brown "~~~~~~~~~~~~~~~~" @@ -1697,18 +1697,18 @@ printf "Specify the Software Scaler default is 5: " read swsopt case "$swsopt" in - 0) scfilter="point" ;; - 1) scfilter="bilinear" ;; - 2) scfilter="bicubic" ;; - 3) scfilter="spline16" ;; - 4) scfilter="spline36" ;; - 5|"") scfilter="lanczos" ;; + 0) zfilter="point" ;; + 1) zfilter="bilinear" ;; + 2) zfilter="bicubic" ;; + 3) zfilter="spline16" ;; + 4) zfilter="spline36" ;; + 5|"") zfilter="lanczos" ;; *) error "-> Invalide software scaler!" exit 1 ;; esac - scale="zscale=width=$WIDTH:height=$HEIGHT:filter=$scfilter," + scale="zscale=width=$ZWIDTH:height=$ZHEIGHT:filter=$zfilter," ;; esac fi @@ -3223,14 +3223,14 @@ ;; esac aresamplei="aresample=${audhzi}${audfiltypei}${audmatrixi}," - ahzmetai=", ${audhzi} Hz" + ahzmetai=", $(echo "scale=1; ${audhzi}/1000" | $BC -l | sed 's|\.0$||') kHz" fi fi if -z "${audhzi}" ; then GETAUDSRi="$($FFPROBE -i "$input" -v quiet -select_streams a:${aidxi} -show_entries stream=sample_rate -of default=noprint_wrappers=1:nokey=1 | tail -1)" case "${GETAUDSRi}" in - 1-9*) ahzmetai=", ${GETAUDSRi} Hz" ;; + 1-9*) ahzmetai=", $(echo "scale=1; ${GETAUDSRi}/1000" | $BC -l | sed 's|\.0$||') kHz" ;; esac fi @@ -3255,16 +3255,47 @@ case "${GETAUDCDCi}" in ac3) GETAUDCDCi="AC-3" ;; - eac3) GETAUDCDCi="E-AC-3" ;; - truehd) GETAUDCDCi="TrueHD" ;; + eac3|truehd) + get_audio_profile_func + case "${GETAUDPROFi}" in + "Dolby Digital Plus + Dolby Atmos"|"Dolby TrueHD + Dolby Atmos") + if ! -z "$(echo "${GETAUDPROFi}" | grep 'Digital')" ; then + GETAUDCDCi="E-AC-3 + Atmos" + audcorecdci="eac3_core" + audcdcnamei="AC-3" + else + GETAUDCDCi="TrueHD + Atmos" + audcorecdci="truehd_core" + audcdcnamei="TrueHD" + fi + printf "Track $i: Copy Full or just the ${audcdcnamei} Core? full/core - default is full: " + read acorecopyi + case "${acorecopyi}" in + c*|C*) audcorei="-bsf:a:${audindexi} ${audcorecdci}" ;; + esac + ;; + *) + if "${GETAUDCDCi}" = "eac3" ; then + GETAUDCDCi="E-AC-3" + else + GETAUDCDCi="TrueHD" + fi + ;; + esac + ;; dts) get_audio_profile_func + GETAUDCDCi="${GETAUDPROFi}" case "${GETAUDPROFi}" in - "DTS-HD MA") GETAUDCDCi="DTS-HD MA" ;; - "DTS Express") GETAUDCDCi="DTS Express" ;; - "DTS-HD HRA") GETAUDCDCi="DTS-HD HR" ;; - DTS-ES) GETAUDCDCi="DTS-ES" ;; - *) GETAUDCDCi="DTS" ;; + "DTS-HD MA"|"DTS-HD HRA"|"DTS-HD MA + DTS:X") + 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" ;; + esac + ;; esac ;; vorbis) GETAUDCDCi="Vorbis" ;; @@ -3275,7 +3306,7 @@ HE|HE-AAC) GETAUDCDCi="HE-AAC" ;; HEv2|HE-AACv2) GETAUDCDCi="HE-AACv2" ;; LD|LD-AAC) GETAUDCDCi="LD-AAC" ;; - ""|N/A|unknown) GETAUDCDCi="AAC" ;; + *) GETAUDCDCi="AAC" ;; esac ;; mp3) GETAUDCDCi="MP3" ;; @@ -3311,25 +3342,37 @@ esac ;; esac + # DTS-HD MA/HRA/E-AC-3 can have up to 8 chans + # but DTS Core & AC-3 a max of 6 chans. + if ! -z "${audcorei}" ; then + case "$(echo "${achmetai}" | sed 's|:space:||g')" in + 6.1*|7.0*|7.1*) achmetai=" 5.1/6.0" ;; + mono) achmetai=" Mono" ;; + stereo) achmetai=" Stereo" ;; + esac + fi case "${GETAUDBTRi}" in 1-9*) abtrmetai=" @ $(($(echo "${GETAUDBTRi}")/1000)) kbps" ;; esac case "${GETAUDBDi}" in - 1-9*) abdmetai=", ${GETAUDBDi} bits" ;; + 1-9*) + if -z "${audcorei}" ; then + abdmetai=", ${GETAUDBDi} bits" + fi + ;; esac case "${GETAUDSRi}" in - 1-9*) asrmetai=", ${GETAUDSRi} Hz" ;; + 1-9*) asrmetai=", $(echo "scale=1; ${GETAUDSRi}/1000" | $BC -l | sed 's|\.0$||') kHz" ;; esac audmetai="-metadata:s:a:${audindexi} title=\"${GETAUDCDCi}${achmetai}${abtrmetai}${asrmetai}${abdmetai}\"" fi fi if -z "$noaudmeta" ; then - audparamsi="${audmapi} -c:a:${audindexi} ${acdci} ${audprofilei} ${audcompleveli} ${audbtri} ${audchani} ${audbdi} ${auddialnormi} ${audfiltersi} ${audlangi} ${audmetai} ${auddispoi}" - else - audparamsi="${audmapi} -c:a:${audindexi} ${acdci} ${audprofilei} ${audcompleveli} ${audbtri} ${audchani} ${audbdi} ${auddialnormi} ${audfiltersi} ${audlangi} ${auddispoi}" + audmetadatai="${audmetai}" fi - + + audparamsi="${audmapi} -c:a:${audindexi} ${acdci} ${audprofilei} ${audcompleveli} ${audbtri} ${audchani} ${audbdi} ${auddialnormi} ${audcorei} ${audfiltersi} ${audlangi} ${audmetadatai} ${auddispoi}" done 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
.