Index: head/multimedia/Makefile =================================================================== --- head/multimedia/Makefile +++ head/multimedia/Makefile @@ -369,6 +369,7 @@ SUBDIR += rubygem-clutter-gstreamer SUBDIR += rubygem-flvtool2 SUBDIR += rubygem-gstreamer + SUBDIR += rubygem-paperclip-av-transcoder SUBDIR += sabbu SUBDIR += schroedinger SUBDIR += shotcut Index: head/multimedia/rubygem-paperclip-av-transcoder/Makefile =================================================================== --- head/multimedia/rubygem-paperclip-av-transcoder/Makefile +++ head/multimedia/rubygem-paperclip-av-transcoder/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= paperclip-av-transcoder +PORTVERSION= 0.6.4 +CATEGORIES= multimedia rubygems +MASTER_SITES= RG + +MAINTAINER= jrm@FreeBSD.org +COMMENT= Audio/Video transcoder for Paperclip using FFMPEG/Avconv + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-av>=0.9.0:multimedia/rubygem-av \ + rubygem-paperclip>=2.5.2:devel/rubygem-paperclip + +NO_ARCH= yes + +USE_RUBY= yes +USES= gem + +.include Index: head/multimedia/rubygem-paperclip-av-transcoder/distinfo =================================================================== --- head/multimedia/rubygem-paperclip-av-transcoder/distinfo +++ head/multimedia/rubygem-paperclip-av-transcoder/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1491842137 +SHA256 (rubygem/paperclip-av-transcoder-0.6.4.gem) = 0e5214d866e7ae8b6dff3439efff59f6a461d4c39ec8c868c4b4ac76ddb896bd +SIZE (rubygem/paperclip-av-transcoder-0.6.4.gem) = 147456 Index: head/multimedia/rubygem-paperclip-av-transcoder/pkg-descr =================================================================== --- head/multimedia/rubygem-paperclip-av-transcoder/pkg-descr +++ head/multimedia/rubygem-paperclip-av-transcoder/pkg-descr @@ -0,0 +1,12 @@ +Audio/Video Transcoder for Paperclip using FFMPEG/Avconv. + +With a few lines of code, your application can produce + +- a transcoded FLV file with the requested dimensions if they will match the + aspect ratio of the original file, otherwise, width will be maintained and + height will be recalculated to keep the original aspect ratio + +- a screenshot thumbnail with the requested dimensions regardless of the aspect + ratio. + +WWW: https://github.com/ruby-av/paperclip-av-transcoder/