Projects
Multimedia
h264enc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 376
View file
h264enc.spec
Changed
@@ -1,7 +1,7 @@ # norootforbuild Name: h264enc -Version: 10.3.0 +Version: 10.3.1 Release: 1 License: GPL-2.0+ @@ -58,6 +58,9 @@ %changelog +* Tue Sep 30 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.3.1 + * Fix a syntax error in the ratio_and_pixels_func() due to missing var + * Mon Sep 29 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.3.0 * Get rid of the $RATIO var in the ratio_and_pixels_func() function * Support disabling of all video filters at once through the config file
View file
h264enc-10.3.0.tar.gz/doc/ChangeLog -> h264enc-10.3.1.tar.gz/doc/ChangeLog
Changed
@@ -1,4 +1,7 @@ -2014-09-29- h264enc 10.3.0 +2014-09-30 - h264enc 10.3.1 + * Fix a syntax error in the ratio_and_pixels_func() due to missing var + +2014-09-29 - h264enc 10.3.0 * Get rid of the $RATIO var in the ratio_and_pixels_func() function * Support disabling of all video filters at once through the config file * Support disabling of cropping and subtitles
View file
h264enc-10.3.0.tar.gz/h264enc -> h264enc-10.3.1.tar.gz/h264enc
Changed
@@ -1,5 +1,5 @@ #!/usr/bin/env bash -# $Id: h264enc, v 10.3.0, 2014/09/29, gn Exp $ +# $Id: h264enc, v 10.3.1, 2014/09/30, gn Exp $ # # Encode BDs/DVDs/VCDs/video files to the H.264/AVC/MPEG-4 Part 10 # video format using MEncoder from MPlayer @@ -23,7 +23,7 @@ shopt -u expand_aliases export PATH=$PATH:/usr/local/bin -version=10.3.0 +version=10.3.1 configversion=33 green() { echo -e "\e[1;32m$1\e[0;39;49m"; } @@ -4390,14 +4390,16 @@ cropped) VWIDTH="$(echo $cropfilter | sed 's|crop=||' | awk -F: '{print $1}')" VHEIGHT="$(echo $cropfilter | sed 's|crop=||' | awk -F: '{print $2}')" + RATIO="$VWIDTH/$VHEIGHT" PIXELS="$(($(echo "$GETRES" | sed 's|x|*|')))" - green "-> Detected Aspect Ratio (AR): $(echo "scale=4; $VWIDTH/$VHEIGHT" | $BC -l | sed 's|^\.|0\.|'):1" + green "-> Detected Aspect Ratio (AR): $(echo "scale=4; $RATIO" | $BC -l | sed 's|^\.|0\.|'):1" ;; scaled) VWIDTH="$(echo $scale | sed "s|${ilpack}scale=||" | awk -F: '{print $1}')" VHEIGHT="$(echo $scale | sed "s|${ilpack}scale=||" | awk -F: '{print $2}')" + RATIO="$VWIDTH/$VHEIGHT" PIXELS="$(($(echo $scale | sed "s|${ilpack}scale=||; s|:|*|")))" - green "-> Aspect Ratio (AR): $(echo "scale=4; $VWIDTH/$VHEIGHT" | $BC -l | sed 's|^\.|0\.|'):1" + green "-> Aspect Ratio (AR): $(echo "scale=4; $RATIO" | $BC -l | sed 's|^\.|0\.|'):1" ;; esac # PAR = aspect_ratio * image_height / image_width
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
.