Projects
Multimedia
h264enc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 393
View file
h264enc.spec
Changed
@@ -1,7 +1,7 @@ # norootforbuild Name: h264enc -Version: 10.4.6 +Version: 10.4.7 Release: 1 License: GPL-2.0+ @@ -58,6 +58,10 @@ %changelog +* Tue Jan 19 2016 Grozdan Nikolov <neutrino8@gmail.com> 10.4.7 + * Added support for the video rotate filter. Requested by Thomas Troeger + * Updated copyright dates + * Mon Sep 21 2015 Grozdan Nikolov <neutrino8@gmail.com> 10.4.6 * Clean up the config file a bit * Added support for setting the MAX_AMOUNT_SUBS and MAX_AMOUNT_AUD_TRACKS
View file
h264enc-10.4.6.tar.gz/doc/ChangeLog -> h264enc-10.4.7.tar.gz/doc/ChangeLog
Changed
@@ -1,7 +1,11 @@ +2016-01-19 - h264enc 10.4.7 + * Added support for the video rotate filter. Requested by Thomas Troeger + * Updated copyright dates + 2015-09-21 - h264enc 10.4.6 * Clean up the config file a bit * Added support for setting the MAX_AMOUNT_SUBS and MAX_AMOUNT_AUD_TRACKS - to "auto". When set to "auto" it will as for as many audio tracks/subs + to "auto". When set to "auto" it will ask for as many audio tracks/subs as detected * New variable in the config file, MAX_AMOUNT_EXT_SUBS, for setting the amount of times we get asked for importing external subs into
View file
h264enc-10.4.6.tar.gz/h264enc -> h264enc-10.4.7.tar.gz/h264enc
Changed
@@ -1,10 +1,10 @@ #!/usr/bin/env bash -# $Id: h264enc, v 10.4.6, 2015/09/21, gn Exp $ +# $Id: h264enc, v 10.4.7, 2016/01/19, gn Exp $ # # Encode BDs/DVDs/VCDs/video files to the H.264/AVC/MPEG-4 Part 10 # video format using MEncoder from MPlayer # -# Copyright (C) 2006-2015, Grozdan Nikolov +# Copyright (C) 2006-2016, Grozdan Nikolov # # h264enc is free software ; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -23,8 +23,8 @@ shopt -u expand_aliases export PATH=$PATH:/usr/local/bin -version=10.4.6 -configversion=36 +version=10.4.7 +configversion=37 green() { echo -e "\e[1;32m$1\e[0;39;49m"; } @@ -102,6 +102,7 @@ ALLOW_VID_NOISE="y" ALLOW_VID_DEBAND="y" ALLOW_VID_UNSHARP="y" +ALLOW_VID_ROTATE="y" ALLOW_VID_BRIGHTNESS="y" ALLOW_VID_EQUALIZER="y" ALLOW_VID_AUTOCROP="n" @@ -2494,6 +2495,25 @@ fi } +video_rotate_func() { + rotate=$(get_selection_func "Would you like to Rotate the $type? [y/N]: ") + if [ "$rotate" = "y" ]; then + echo + brown "Video Rotation" + brown "~~~~~~~~~~~~~~" + echo "0 -> Rotate by 90 degrees clockwise and flip" + echo "1 -> Rotate by 90 degrees clockwise" + echo "2 -> Rotate by 90 degrees counterclockwise" + echo "3 -> Rotate by 90 degrees counterclockwise and flip" + echo + printf "Specify how to rotate the video [press 'Enter' to skip]: " + read vidrotate + if [ ! -z "$vidrotate" ]; then + rotatefilter=",rotate=$vidrotate" + fi + fi +} + # Debanding filter video_deband_func() { deband=$(get_selection_func "Would you like to Deband the $type? [y/N]: ") @@ -3386,6 +3406,7 @@ test "$ALLOW_VID_DELOGO" = "y" && video_delogo_func test "$ALLOW_VID_DENOISE" = "y" && video_denoise_func test "$ALLOW_VID_DEBAND" = "y" && video_deband_func + test "$ALLOW_VID_ROTATE" = "y" && video_rotate_func test "$ALLOW_VID_NOISE" = "y" && video_noise_func test "$ALLOW_VID_UNSHARP" = "y" && video_unsharp_func test "$ALLOW_VID_BRIGHTNESS" = "y" && video_brightness_func @@ -7122,7 +7143,7 @@ # # Video filters chain -videofilters="-vf $(echo $ivtcfilter$delogofilter$cropfilter$deintfilter$fpsfilter$ild$deblockfilter$denoisefilter$debandfilter$ili$brightnessfilter$colorspacefilter,softskip,$dsizefilter$expandfilter_bfr$scale$isws$swsparam$expandfilter_afr$noisefilter$unsharpfilter$eq2filter,harddup$intfilter$telecinefilter | sed 's|^,||; s|,,|,|g; s|,$||')" +videofilters="-vf $(echo $ivtcfilter$delogofilter$cropfilter$deintfilter$fpsfilter$ild$deblockfilter$denoisefilter$debandfilter$ili$brightnessfilter$colorspacefilter,softskip,$dsizefilter$expandfilter_bfr$scale$isws$swsparam$expandfilter_afr$noisefilter$unsharpfilter$eq2filter,harddup$intfilter$telecinefilter$rotatefilter | sed 's|^,||; s|,,|,|g; s|,$||')" # Audio filters chain for i in $(eval echo "{1..$MAX_AMOUNT_AUD_TRACKS}"); do
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
.