Projects
Multimedia
ffxvid
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
ffxvid.changes
Changed
@@ -1,4 +1,26 @@ ------------------------------------------------------------------- +Tue Feb 21 13:09:00 UTC 2017 - neutrino8@opensuse.org + +- Update to version 1.0.3 + * Enable Variance AQ by default + * Correct a few things in man page + * Update the preset.txt file + +------------------------------------------------------------------- +Sat Feb 18 16:58:00 UTC 2017 - neutrino8@opensuse.org + +- Update to version 1.0.2 + * Switch to using libxvid instead of mpeg4 encoder + * Set appropriate threads amount for encoding + * Update default encoding options + +------------------------------------------------------------------- +Fri Feb 17 20:55:00 UTC 2017 - neutrino8@opensuse.org + +- Update to version 1.0.1 + * Update default encoding options + +------------------------------------------------------------------- Fri Feb 17 05:02:00 UTC 2017 - neutrino8@opensuse.org - Initial package release
View file
ffxvid.spec
Changed
@@ -17,7 +17,7 @@ Name: ffxvid -Version: 1.0.0 +Version: 1.0.3 Release: 0 Summary: A small shell script for encoding to H.264 with ffmpeg License: GPL-2.0+
View file
ffxvid-1.0.0.tar.gz/ChangeLog -> ffxvid-1.0.3.tar.gz/ChangeLog
Changed
@@ -1,599 +1,15 @@ -2017-02-06 - ffx264 3.3.5 - * Support the framestep filter for FPS conversion - * Support halving the frame rate. Only supported for - 50/59.940/60 FPS input - -2017-01-25 - ffx264 3.3.4 - * Small improvement: add "Track $i:" to the question for - audio channel layout - -2017-01-24 - ffx264 3.3.3 - * Removed one of the OUTPUT variables for batch mode. It is - no longer needed - * Rewrote the audio channel layout code. It is now based on - per-codec encoder support - * Repositioned the audio channel checking code - -2017-01-20 - ffx264 3.3.2 - * Fixed a small issue in the output code for batch mode - -2017-01-18 - ffx264 3.3.1 - * Check channel amount for the libfdk_aac encoder and warn and - exit on 7 channels as it doesn't support it - * Use range=tv instead of range=mpeg for the color conversion - filter - * Bugfix: return value of variable autocrop wasn't checked - when running in batch mode resulting in always cropping - the input files - * Bugfix in the $OUTPUT variable when running in batch mode - * Removed readlink from the batch mode variables as it's no - longer needed - -2017-01-15 - ffx264 3.3.0 - * Support ALAC audio encoding - * Some small improvements to the audio code - * A few variable renamings, mostly in the case statements +2017-02-19 - ffxvid 1.0.3 + * Enable Variance AQ by default + * Correct a few things in man page + * Update the preset.txt file + +2017-02-18 - ffxvid 1.0.2 + * Switch to using libxvid instead of mpeg4 encoder + * Set appropriate threads amount for encoding + * Update default encoding options + +2017-02-17 - ffxvid 1.0.1 + * Update default encoding options -2017-01-13 - ffx264 3.2.9 - * Support 50 <-> 60/59.940 FPS conversions - * Use upper-case words for the color primaries/transfers/matrices - and pixel formats - * Support 4.0 audio channel layout in addition to Quad - -2017-01-12 - ffx264 3.2.8 - * Added support for pixel format conversion - * Added support for colorspace conversion - -2017-01-09 - ffx264 3.2.7 - * Fix a possible issue when detecting the FPS value that occurs - with some files - * Expand directory path internally instead of exporting the - dirname command to the file that gets sourced for encoding - * Use 'bc' for calculating the detected FPS value - * Only use fractions internally for FPS values. The user should - be presented with the floating point value - -2017-01-08 - ffx264 3.2.6 - * Support SMPTE-2084 transfer characteristics - * Placed the video post-processing filters in their own sub-menu - * Some small changes to the FPS conversion code - -2017-01-06 - ffx264 3.2.5 - * Bugfix: default output directory wasn't made when running - in batch mode - * Display found per-file crop values when running in batch mode - -2017-01-05 - ffx264 3.2.4 - * Support per-file auto-cropping when running in batch mode - * Use internally full paths for input and output - * Add a test case for output directory to the script that gets - sourced for encoding - -2017-01-04 - ffx264 3.2.3 - * Use readlink to get the full path to the cover art image. Fixes - an issue when running in batch mode - -2016-12-02 - ffx264 3.2.2 - * Merged the output code for the batch mode with that for single - file input - * Fixed an issue where remuxing to MP4 may fail in case the user - chooses FLAC audio - * Renamed variable $extracon to $remuxcon and $econ to $rcon - * Made strict option "global" so I won't have to worry about - adding experimental audio codecs support in the future - * Clean ups to the FPS conversion menu - -2016-11-23 - ffx264 3.2.1 - * Added support for FLAC audio in MP4. Requires a very recent - ffmpeg version - * Added the $strict variable to the remuxing code - * Use the improved way of gathering info for the audio sample - rate detection - * Added the ability to flag the first internal or external - subtitle as default, when using the option for internal and - external subtitle copying - * Added support for LD-AAC audio encoding with libfdk-aac - * Removed stderr to stdout redirection (2>&1) for some of the - ffprobe lines. It is no longer needed - -2016-11-20 - ffx264 3.2.0 - * Moved checks for supported containers into its own function, - check_container_func() - * Improvements to gathering information about the input file. - Saves us piping to sed and in some cases piping to awk and tail - * Removed the NOSOUND option since the user can specify 0 for - amount of audio tracks which equals to encoding with the NOSOUND - option - * Placed both subcopy and subcpy variables into a single subparams - variable. This also removes the NOSUBS variable - * Placed the video length detection code into its own function, - video_length_func(), as it is used in two places so we can - save writing the same stuff twice - * Instead of skipping bitrate calc for target file size in case - we can't detect the video length, ask the user to provide it - * Removed install script and added a Makefile for installation - * Added new INSTALL file with install/uninstall instructions - -2016-11-18 - ffx264 3.1.9 - * Use process number instead of .old when renaming existing files - * Added support for detelecining (IVTC). Bumps up config file - version to 29 - * Minor improvements to the cropping code - -2016-11-16 - ffx264 3.1.8 - * Added support for 3-pass encoding - * Added support for setting a default audio codec in the config - file. Bumps up config file version to 28 - * Moved setting the video bitrate before the video filters - * More variables renamings and other small code tweaks - * Do some checking on duplicate entries when using additional - containers and warn and exit - * Updated the man page - -2016-11-14 - ffx264 3.1.7 - * Set default amount of subtitles to 1 instead of exiting when no - value is given - * Allow the user to choose the amount of audio tracks he wants at - run time instead of requiring it to be set in the config file. - This removes config file var MAX_AUD_TRACKS and bumps up version - to 27 - * Renamed array variables audmapval and submapval to audindex and - subindex since we're not mapping but specifying the audio/sub - index id with these vars - * Fixed a possible case where audio params weren't cleared in - case the nosound option was chosen - * A few other small tweaks - -2016-11-13 - ffx264 3.1.6 - * Added support for batch encoding mode, to be activated with the - new -b option. It's used to encode directories with video files - * Renamed variable $mode to $encmode for clarity - * Reworked the input/output code - * Instead of relying on a config var to set the subtitles amount - to support, ask the user each time to provide it. Makes the - code less complex and easier to extend in the future. Bumps up - config file version to 26 - * Check if the X264PARAMS var is missing from config in case we're - not using an x264 preset - * Updated the man page - -2016-11-12 - ffx264 3.1.5 - * Added support for importing external srt/ssa subtitles for the - mkv, m2ts, mts and ts containers - * Moved the subtitle code into its own video_subtitles_func() - function - * Added support for simultaneously copying subtitles from the - input file and copying external ones - * Renamed variable SUBT to SUBNR for clarity - * Updated the README file and man page - -2016-11-10 - ffx264 3.1.4 - * Check if name of input file matches that of output file and warn - and exit. Requires the realpath utility - * Added support for the m2ts, mts, ts and flv containers - * Merged the code that checks if an audio codec is supported by a - container with that that checks for additional output containers. - Removes code duplication and maintainability - * Update to the audio sample rates. Sync them with ffmpeg -h encoder=<encoder> - * Restrict TrueHD channels to 2, 5 and 6 as that's what the encoder - currently supports - * Updated the README file - -2016-11-09 - ffx264 3.1.3 - * Renamed config var CON to CONFMT. Updates config file version to 25 - * Reduced some duplication in the audio codec checks for the container - formats - * Reduced some error message duplication when checking if an additional - container supports an audio codec
View file
ffxvid-1.0.0.tar.gz/ffxvid -> ffxvid-1.0.3.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.0.0 -# Date: 2017-02-17 +# Version: 1.0.3 +# Date: 2017-02-19 # # 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,10 +24,10 @@ brown() { echo -e "\e[0;33m$1\e[0;39;49m"; } error() { echo -e "\e[1;31m$1\e[0;39;49m"; } -version="1.0.0" +version="1.0.3" CFG="$HOME/.ffxvid" -cfgversion="1" +cfgversion="4" genconfig_func() { cat<<EOF>>"$CFG" @@ -76,8 +76,7 @@ # SCALER="" -# Support NTSC <-> PAL or -# NTSC <-> NTSC FPS conversion? +# Support FPS conversion? VID_FPS_CONVERT="y" # Video filters @@ -109,8 +108,8 @@ # Copy chapters from input? CHAPS="y" -# FFmpeg MPEG4/Xvid params. -XVIDPARAMS="-flags +mv4+aic+cgop -bf 2 -mpeg_quant 1 -dia_size -3 -mbd rd -cmp satd -sc_threshold 1000000000 -vtag xvid" +# FFmpeg Xvid params. +XVIDPARAMS="-flags +mv4+aic+cgop -bf 1 -me_quality 6 -mbd 2 -trellis 1 -variance_aq 1" # Leave empty to auto-detect ffmpeg/ffprobe or # set your custom ones (eg, /path/to/bin/ffmpeg) @@ -210,11 +209,10 @@ esac done -if [ ! -z "$vtune" ]; then - if [ -z "$vpreset" ]; then - error "-> Tune profiles require a preset to be used!" - error "-> Use: $(basename $0) -h" - exit 1 +if [ -r /proc/cpuinfo ]; then + THREADS=$(sed -n -e '/^processor/p' /proc/cpuinfo | wc -l) + if [ ! -z "$THREADS" ]; then + threads="-threads $THREADS" fi fi @@ -1624,7 +1622,7 @@ ;; avi) case "${acodec[i]}" in - opus|truehd|alac) conerror_func ;; + opus|truehd|eac3|alac) conerror_func ;; esac ;; esac @@ -2374,7 +2372,7 @@ test ! -z "$vidfilters" && vfilters="-vf $vidfilters" -XVIDPARAMS="$interlaced $XVIDPARAMS" +XVIDPARAMS="$interlaced $XVIDPARAMS $threads" test ! -z "$COMMENT" && METACOMMENT="-metadata comment=\"$COMMENT\"" @@ -2392,11 +2390,11 @@ OPTS2="${audparams[*]} $subparams $strict $movflags $METACOVER \"$OUTPUT\"" ;; esac - echo "nice -n $NICE $FFMPEG -i \"$input\" $VIDOPTS -c:v mpeg4 $passone $XVIDPARAMS $OPTS1" + echo "nice -n $NICE $FFMPEG -i \"$input\" $VIDOPTS -c:v libxvid $passone $XVIDPARAMS $OPTS1" case "$1" in 2p) echo - echo "nice -n $NICE $FFMPEG -i \"$input\" $VIDOPTS -c:v mpeg4 $passtwo $XVIDPARAMS $OPTS2" + echo "nice -n $NICE $FFMPEG -i \"$input\" $VIDOPTS -c:v libxvid $passtwo $XVIDPARAMS $OPTS2" ;; esac }
View file
ffxvid-1.0.0.tar.gz/ffxvid.1 -> ffxvid-1.0.3.tar.gz/ffxvid.1
Changed
@@ -3,12 +3,12 @@ .de IPs .IP "\\$1" .. -.TH ffxvid 1 "Feb 17, 2017" +.TH ffxvid 1 "Feb 19, 2017" .SH NAME ffxvid .SH SYNOPSIS -.B ffx264 +.B ffxvid [\-m <mode>] [\-b|\-v|\-e|\-r|\-h] [\-c <preset/config file>] .br @@ -24,9 +24,11 @@ can pass through it in under a minute. .SH REQUIREMENTS -- FFmpeg +- FFmpeg with libxvid support .br - FFprobe (part of FFmpeg) +.br +- bc .SH PARAMETERS .TP
View file
ffxvid-1.0.0.tar.gz/preset.txt -> ffxvid-1.0.3.tar.gz/preset.txt
Changed
@@ -4,4 +4,4 @@ # Constant quantizer CQ="2" -XVIDPARAMS="-flags +mv4+aic -bf 2 -mbd rd -mpeg_quant 1 -cmp satd -vtag xvid" +XVIDPARAMS="-flags +mv4+aic+cgop -bf 2 -mbd 2 -mpeg_quant 1 -variance_aq 1 -trellis 1"
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
.