Subject: | video info bug |
Date: | Thu, 21 Aug 2014 21:40:46 +0200 |
To: | bug-Video-Info [...] rt.cpan.org |
From: | Andrej Fenik <fenik.andrej [...] gmail.com> |
Hi,
I cannot get video info from mp4 file (made by my tablet camera) ...
the method probe() freezes, cpu is at 100% ... the example code at
http://search.cpan.org/~allenday/Video-Info-0.993/Info/MPEG.pm is not
compilable, and when I fix it - it freezes at probe() :
use strict;
use Video::Info::MPEG;
my $video = Video::Info::MPEG->new( -file => $filename );
$video->probe();
print $file->type; ## MPEG
## Audio information
print $file->acodec; ## MPEG Layer 1/2
print $file->acodecraw; ## 80
print $file->achans; ## 1
print $file->arate; ## 128000 (bits/sec)
print $file->astreams ## 1
## Video information
printf "%0.2f", $file->fps ## 29.97
print $file->height ## 240
print $file->width ## 352
print $file->vstreams ## 1
print $file->vcodec ## MPEG1
print $file->vframes ## 529
print $file->vrate ## 1000000 (bits/sec)
i have xubuntu x64 ...
could you have a look ? I use the newest version of makemethods ...
so I don't know what to check ... perl is version 5.14.2