Projects
Multimedia
audenc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 8
View file
audenc.changes
Changed
@@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Wed Feb 15 11:35:00 UTC 2023 - neutrino8@gmail.com + +- Update to version 3.3.8 + * Added -mpeg4 switch to MP4Box + * Removed the 'track' -itags property for MP4Box. It is not needed + * Syntax updates + +------------------------------------------------------------------- Tue Feb 14 14:30:00 UTC 2023 - neutrino8@gmail.com - Update to version 3.3.7
View file
audenc.spec
Changed
@@ -17,7 +17,7 @@ Name: audenc -Version: 3.3.7 +Version: 3.3.8 Release: %mkrel 1 Summary: Batch script for audio encoding License: GPL-2.0+
View file
audenc-3.3.7.tar.gz/audenc -> audenc-3.3.8.tar.gz/audenc
Changed
@@ -1,5 +1,5 @@ #!/usr/bin/env bash -# v3.3.7 - 2023/02/14 - Grozdan "microchip" Nikolov <neutrino8@gmail.com> +# v3.3.7 - 2023/02/15 - Grozdan "microchip" Nikolov <neutrino8@gmail.com> # Re-encode audio files in a directory to another format # # audenc is free software ; you can redistribute it and/or modify @@ -23,7 +23,7 @@ green() { echo -e "\e1;32m$1\e0;39;49m"; } CONFIG="$HOME/.audenc" -VERSION="3.3.7" +VERSION="3.3.8" CONFIG_VERSION="12" config_func() { @@ -52,7 +52,7 @@ LAMEOPTS="-b 320 -q 1" # neroAacEnc encoder options -NEROOPTS="-q 0.62 -lc" +NEROOPTS="-q 0.60 -lc" # fdk-aac (aac-enc) encoder options FDKAACOPTS="-r 220000 -a 1 -v 5" @@ -300,14 +300,14 @@ # Do some checks test -x "$MPLAYER" || exit_func conf test -x "$MEDIAINFO" || exit_func conf -test -n "$NVALUE" || exit_func conf +test ! -z "$NVALUE" || exit_func conf test "$2" = "-af" && AUDFILTERS="-af $3,format=s16le" -if -n "$AUDFILTERS" ; then +if ! -z "$AUDFILTERS" ; then # Input dir test ! -d "$4" && exit_func idir || IN_DIR="$4" # Output dir - if -n "$5" ; then + if ! -z "$5" ; then if ! -d "$5" ; then mkdir -p "$5" 2>/dev/null test $? != 0 && exit_func mkfld @@ -322,7 +322,7 @@ # Input dir test ! -d "$2" && exit_func idir || IN_DIR="$2" # Output dir - if -n "$3" ; then + if ! -z "$3" ; then if ! -d "$3" ; then mkdir -p "$3" 2>/dev/null test $? != 0 && exit_func mkfld @@ -335,43 +335,43 @@ fi fi -test -n "$(echo "$IN_DIR" | grep '^/')" && INDIR="$IN_DIR" || INDIR="$(pwd)/$IN_DIR" -test -n "$(echo "$OUT_DIR" | grep '^/')" && OUTDIR="$OUT_DIR" || OUTDIR="$(pwd)/$OUT_DIR" +test ! -z "$(echo "$IN_DIR" | grep '^/')" && INDIR="$IN_DIR" || INDIR="$(pwd)/$IN_DIR" +test ! -z "$(echo "$OUT_DIR" | grep '^/')" && OUTDIR="$OUT_DIR" || OUTDIR="$(pwd)/$OUT_DIR" # Only root can use negative nice values if "$UID" != "0" ; then - test -n "$(echo "$NVALUE" | grep '-')" && exit_func conf + test ! -z "$(echo "$NVALUE" | grep '-')" && exit_func conf fi case "$CODEC" in - mp3) test -x $LAME || exit_func conf; ext="mp3" ;; + mp3) test -x "$LAME" || exit_func conf; ext="mp3" ;; aac) case "$AACENC" in - nero|Nero|NERO) test -x $NERO -a -x $NEROTAG || exit_func conf; ext="m4a" ;; - faac|Faac|FAAC) test -x $FAAC || exit_func conf; ext="m4a" ;; + nero|Nero|NERO) test -x "$NERO" -a -x "$NEROTAG" || exit_func conf; ext="m4a" ;; + faac|Faac|FAAC) test -x "$FAAC" || exit_func conf; ext="m4a" ;; aacplusenc|AACPLUSENC|fdk-aac|FDK-AAC|fdkaac|FDKAAC) case "$AACENC" in aacplusenc|AACPLUSENC) - test -x $AACPLUSENC || exit_func conf + test -x "$AACPLUSENC" || exit_func conf ;; fdk-aac|FDK-AAC|fdkaac|FDKAAC) - test -x $FDKAAC || exit_func conf + test -x "$FDKAAC" || exit_func conf ;; esac if "$M4A" = "y" ; then - test -x $MP4BOX -a -x $NEROTAG || exit_func conf + test -x "$MP4BOX" || exit_func conf fi ext="aac" ;; ""|*) exit_func conf ;; esac ;; - vorbis) test -x $OGG || exit_func conf; ext="ogg" ;; - opus) test -x $OPUS || exit_func conf; ext="opus" ;; - ac3) test -x $AFTEN || exit_func conf; ext="ac3" ;; - dts) test -x $DCAENC || exit_func conf; ext="dts" ;; - flac) test -x $FLAC || exit_func conf; ext="flac" ;; - amr) test -x $AMRENC || exit_func conf; ext="amr" ;; + vorbis) test -x "$OGG" || exit_func conf; ext="ogg" ;; + opus) test -x "$OPUS" || exit_func conf; ext="opus" ;; + ac3) test -x "$AFTEN" || exit_func conf; ext="ac3" ;; + dts) test -x "$DCAENC" || exit_func conf; ext="dts" ;; + flac) test -x "$FLAC" || exit_func conf; ext="flac" ;; + amr) test -x "$AMRENC" || exit_func conf; ext="amr" ;; wav) ext="wav" ;; esac @@ -436,8 +436,9 @@ mp3|amr) CHANNELS="-channels 2" ;; aac) case "$AACENC" in - aacplusenc|AACPLUSENC) CHANNELS="-channels 2" ;; - *) CHANNELS="-channels 6" ;; + aacplusenc|AACPLUSENC) CHANNELS="-channels 2" ;; + fdkaac|FDKAAC|fdk-aac|FDK-AAC) CHANNELS="-channels 8" ;; + *) CHANNELS="-channels 6" ;; esac ;; *) CHANNELS="-channels 6" ;; @@ -473,7 +474,7 @@ esac if "$M4A" = "y" ; then m4a="y" - $MP4BOX -add "$OUTPUT" $SBR -itags artist="$ARTIST":name="$TITLE":tracks="$TOTAL_TRACKS":tracknum="$TRACK":disk="$DISC":genre="$GENRE":album="$ALBUM":comment="$COMMENT":created="$YEAR" -new "${OUTPUT%.*}.m4a" + $MP4BOX -add "$OUTPUT" $SBR -itags artist="$ARTIST":name="$TITLE":tracknum="$TRACK/$TOTAL_TRACKS":disk="$DISC":genre="$GENRE":album="$ALBUM":comment="$COMMENT":created="$YEAR" -mpeg4 -new "${OUTPUT%.*}.m4a" rm -f "$OUTPUT" 2>/dev/null fi ;;
View file
audenc-3.3.7.tar.gz/doc/ChangeLog -> audenc-3.3.8.tar.gz/doc/ChangeLog
Changed
@@ -1,3 +1,8 @@ +2023-02-15 - audenc 3.3.8 + * Added -mpeg4 switch to MP4Box + * Removed the 'track' -itags property for MP4Box. It is not needed + * Syntax updates + 2023-02-14 - audenc 3.3.7 * Use MP4Box to add tags when using FDK's aac-enc and aacplusenc encoders instead of relying on neroAacTag
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
.