Skip to content

Commit

Permalink
Import of RANDOMMAN/Video-FFmpeg-0.47 from CPAN.
Browse files Browse the repository at this point in the history
gitpan-cpan-distribution: Video-FFmpeg
gitpan-cpan-version:      0.47
gitpan-cpan-path:         RANDOMMAN/Video-FFmpeg-0.47.tar.gz
gitpan-cpan-author:       RANDOMMAN
gitpan-cpan-maturity:     released
  • Loading branch information
CryptoPunk authored and Gitpan committed Oct 23, 2014
1 parent e7fa93a commit 8d20549
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 15 deletions.
10 changes: 7 additions & 3 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
Revision history for Perl extension Video::FFmpeg.

0.42 Wed Dec 23 10:43:03 2009
- First public release
- First public release.
0.43 Wed Dec 29 04:43:20 2009
- Fixed insufficient thread locking around avcodec_open/close() error;
0.44 Wed Jun 4 12:14:20 2010
- Fixed typo in metatag functions. Thanks Sergiy Borodych
- Fixed typo in metatag functions. Thanks Sergiy Borodych.
0.45 Wed Jun 4 03:40:00 2010
- Added META.yml
- Fixed versioning info
- Fixed versioning info.
0.46 Wed Jun 4 03:40:00 2010
- Fixed issue with test video. Variable bitrates give variable responses.
0.47 Wed Oct 27 7:27:00 2010
- Fixed Mac OS X Compilation issue. Thanks Mischa Spiegelmock.
- Fixed META.yml desription.
- Lowered required version of libavformat to compile on Debian Lenny.
3 changes: 2 additions & 1 deletion FFmpeg.xs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "ppport.h"

#include <libavformat/avformat.h>
#include <avformat.h>
#include <pthread.h>
pthread_mutex_t AVFormatCtxMP;

Expand Down Expand Up @@ -37,6 +37,7 @@ MODULE = Video::FFmpeg PACKAGE = Video::FFmpeg

BOOT:
av_register_all();
pthread_mutex_init(&AVFormatCtxMP, NULL);

MODULE = Video::FFmpeg PACKAGE = Video::FFmpeg::AVFormat

Expand Down
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MANIFEST
META.yml
ppport.h
README
test
test.mp4
typemap
t/Video-FFmpeg.t
Expand Down
4 changes: 2 additions & 2 deletions META.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--- #YAML:1.0
name: Video-FFmpeg
abstract: Build and install Perl modules
version: 0.46
abstract: Extract Video information using libavformat
version: 0.47
author:
- Max Vohra <max@seattlenetworks.com>
license: perl
Expand Down
4 changes: 2 additions & 2 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use ExtUtils::PkgConfig;

my $lavf_lib = ExtUtils::PkgConfig->libs("libavformat");
my $lavf_inc = ExtUtils::PkgConfig->cflags("libavformat");
die("Installed libavformat version is too low. I require 52.16 or greater") unless (
ExtUtils::PkgConfig->atleast_version("libavformat", "52.16.0"));
die("Installed libavformat version is too low. I require 52.7 or greater") unless (
ExtUtils::PkgConfig->atleast_version("libavformat", "52.7.0"));

WriteMakefile(
NAME => 'Video::FFmpeg',
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Video-FFmpeg version 0.46
Video-FFmpeg version 0.47
========================

The README is used to introduce the module and provide instructions on
Expand Down
2 changes: 1 addition & 1 deletion lib/Video/FFmpeg.pm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use Video::FFmpeg::AVStream::Subtitle;

our @ISA = ('Video::FFmpeg::AVFormat');

our $VERSION = '0.46';
our $VERSION = '0.47';

sub new {
my $class = shift;
Expand Down
2 changes: 1 addition & 1 deletion lib/Video/FFmpeg/AVFormat.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Video::FFmpeg::AVFormat;
use Video::FFmpeg;
use Switch;

our $VERSION = '0.46';
our $VERSION = '0.47';

sub new {
$i = Video::FFmpeg::AVFormat::open($_[1]);
Expand Down
2 changes: 1 addition & 1 deletion lib/Video/FFmpeg/AVStream.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Video::FFmpeg::AVStream;

our $VERSION = '0.46';
our $VERSION = '0.47';

1;
__END__
Expand Down
2 changes: 1 addition & 1 deletion lib/Video/FFmpeg/AVStream/Audio.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Video::FFmpeg::AVStream::Audio;

our $VERSION = '0.46';
our $VERSION = '0.47';

our @ISA = ('Video::FFmpeg::AVStream');

Expand Down
2 changes: 1 addition & 1 deletion lib/Video/FFmpeg/AVStream/Subtitle.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Video::FFmpeg::AVStream::Subtitle;

our $VERSION = '0.46';
our $VERSION = '0.47';

our @ISA = ('Video::FFmpeg::AVStream');

Expand Down
2 changes: 1 addition & 1 deletion lib/Video/FFmpeg/AVStream/Video.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Video::FFmpeg::AVStream::Video;

our $VERSION = '0.46';
our $VERSION = '0.47';

our @ISA = ('Video::FFmpeg::AVStream');

Expand Down

0 comments on commit 8d20549

Please sign in to comment.