[mythtv-users] nuvexport 0.5 with ffmpeg 0.5 not working
Robin Hill
myth at robinhill.me.uk
Tue Apr 21 08:43:54 UTC 2009
On Tue Apr 21, 2009 at 01:13:27PM +1000, stephen wrote:
>
>
> thanks for the response
>
> still have the issue
>
> ive changed to the tar by changing the svn lines
>
> wget http://ffmpeg.org/releases/ffmpeg-0.5.tar.bz2
> bunzip2 ffmpeg-0.5.tar.bz2
> tar -xvf ffmpeg-0.5.tar
> cd ffmpeg-0.5
>
> #ffmpeg -version
> FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
> configuration: --enable-gpl --enable-postproc --enable-pthreads
> --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora
> --enable-libvorbis --enable-libx264 --enable-libxvid
> libavutil 49.15. 0 / 49.15. 0
> libavcodec 52.20. 0 / 52.20. 0
> libavformat 52.31. 0 / 52.31. 0
> libavdevice 52. 1. 0 / 52. 1. 0
> libpostproc 51. 2. 0 / 51. 2. 0
> built on Apr 21 2009 12:33:01, gcc: 4.3.2
> FFmpeg 0.5
> libavutil 49.15. 0 / 49.15. 0
> libavcodec 52.20. 0 / 52.20. 0
> libavformat 52.31. 0 / 52.31. 0
> libavdevice 52. 1. 0 / 52. 1. 0
> libpostproc 51. 2. 0 / 51. 2. 0
>
> same issue
>
> i notices a few lines on startup of nuvexport that say
> Use of uninitialized value in numeric lt (<) at
> /usr/local/share/nuvexport/export/ffmpeg.pm line 96.
> Use of uninitialized value in numeric lt (<) at
> /usr/local/share/nuvexport/export/ffmpeg.pm line 96.
> Use of uninitialized value in numeric lt (<) at
> /usr/local/share/nuvexport/export/ffmpeg.pm line 96.
> Use of uninitialized value in numeric lt (<) at
> /usr/local/share/nuvexport/export/ffmpeg.pm line 96.
> Use of uninitialized value in numeric lt (<) at
> /usr/local/share/nuvexport/export/ffmpeg.pm line 96.
>
> that line reads
> if ($self->{'ffmpeg_vers'} < 0.5) {
> push @{$self->{'errors'}}, "This version of nuvexport requires
> ffmpeg 0.5.\n";
> }
>
> from what i can tell it should be fine, strange
> thanks in advance
>
Tracing back the ffmpeg_vers variable, the error is in export/ffmpeg.pm
on line 75. The regex for checking the ffmpeg version currently reads:
m/ffmpeg\sversion\s0.5-/si
Since your version does not have a trailing hyphen, it's not matching.
If you change this to:
m/ffmpeg\sversion\s0.5[,-]/si
then it should work (I've put the [,-] in there to make sure it'll only
match the exact 0.5 version - I'm not sure how critical this is though).
Cheers,
Robin
--
___
( ' } | Robin Hill <myth at robinhill.me.uk> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090421/f9ce760c/attachment.pgp>
More information about the mythtv-users
mailing list