Projects
Multimedia
ffxvid
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 58
View file
ffxvid.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Oct 17 05:40:00 UTC 2019 - neutrino8@opensuse.org + +- Update to version 1.4.6 + * Support the WMV container format + +------------------------------------------------------------------- Wed Oct 16 05:20:00 UTC 2019 - neutrino8@opensuse.org - Update to version 1.4.5
View file
ffxvid.spec
Changed
@@ -17,7 +17,7 @@ Name: ffxvid -Version: 1.4.5 +Version: 1.4.6 Release: 0 Summary: A small shell script for encoding to H.264 with ffmpeg License: GPL-2.0+
View file
ffxvid-1.4.5.tar.gz/ChangeLog -> ffxvid-1.4.6.tar.gz/ChangeLog
Changed
@@ -1,3 +1,6 @@ +2019-10-17 - ffxvid 1.4.6 + * Support the WMV container format + 2019-10-16 - ffxvid 1.4.5 * Support the fftdnoiz denoise filter
View file
ffxvid-1.4.5.tar.gz/ffxvid -> ffxvid-1.4.6.tar.gz/ffxvid
Changed
@@ -2,8 +2,8 @@ # # Small script to encode to Xvid video using FFmpeg. # Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org> -# Version: 1.4.5 -# Date: 2019-10-16 +# Version: 1.4.6 +# Date: 2019-10-17 # # 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 "\e[0;33m$1\e[0;39;49m"; } error() { echo -e "\e[1;31m$1\e[0;39;49m"; } -version="1.4.5" +version="1.4.6" CFG="$HOME/.ffxvid" cfgversion="10" @@ -354,10 +354,10 @@ if [ ! -z "$CONFMT" ]; then case "$CONFMT" in mov) movflags="-movflags +faststart" ;; - avi|mkv) true ;; + avi|mkv|wmv) true ;; *) error "-> Xvid video not supported by the chosen container!" - error "-> Supported containers are: avi, mov, mkv" + error "-> Supported containers are: avi, wmv, mov, mkv" error "-> Check your config file, if needed, in '$CFG'" exit 1 ;; @@ -467,7 +467,7 @@ fi if [ -z "$CONFMT" ]; then - printf "Which Container Format to use? [avi/mkv/mov - default is avi]: " + printf "Which Container Format to use? [avi/mkv/mov/wmv - default is avi]: " read confmt test -z "$confmt" && CONFMT="avi" || CONFMT="$confmt" fi @@ -521,9 +521,10 @@ case "$1" in mov) green "-> ac3|eac3|dts|aac|fdk-aac|mp3|vorbis|alac|copy" ;; avi) green "-> ac3|dts|aac|fdk-aac|mp3|vorbis|wmav1|wmav2|pcm|flac|copy" ;; + wmv) green "-> ac3|eac3|dts|aac|fdk-aac|mp3|vorbis|wmav1|wmav2|flac|copy" other) error "-> Xvid video not supported by the $i container!" - error "-> Supported containers are: avi, mov, mkv" + error "-> Supported containers are: avi, mov, mkv, wmv" echo exit 1 ;; @@ -549,6 +550,7 @@ ;; mov) container_func mov ;; avi) container_func avi ;; + wmv) container_func wmv ;; *) container_func other ;; esac done @@ -2234,6 +2236,11 @@ libopus|opus|truehd|eac3|alac) conerror_func ;; esac ;; + wmv) + case "${acodec[i]}" in + libopus|opus|truehd|alac) conerror_func ;; + esac + ;; esac done @@ -3160,7 +3167,10 @@ echo "echo" >> "$OUTFILE" echo "green \"-> Remuxing to $i...\"" >> "$OUTFILE" echo "" >> "$OUTFILE" - echo "$FFMPEG -i \"$OUTPUT\" -map 0 -c copy $strict \"${OUTPUT%.*}.$i\" >/dev/null 2>&1" >> "$OUTFILE" + case "$i" in + wmv) echo "$FFMPEG -fflags +genpts -i \"$OUTPUT\" -map 0 -c copy $strict \"${OUTPUT%.*}.$i\" >/dev/null 2>&1" >> "$OUTFILE" ;; + *) echo "$FFMPEG -i \"$OUTPUT\" -map 0 -c copy $strict \"${OUTPUT%.*}.$i\" >/dev/null 2>&1" >> "$OUTFILE" ;; + esac echo "test \"\$?\" = \"0\" && green \"-> Done\" || red \"-> Failed!\"" >> "$OUTFILE" done echo "echo" >> "$OUTFILE"
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
.