[mythtv-users] nuvexport 0.5 with ffmpeg 0.5 not working
Chris Petersen
lists at forevermore.net
Tue Apr 21 20:54:36 UTC 2009
Could one of you please create a bug at
http://svn.mythtv.org/trac/newticket/ with the [,-] fix so I don't
forget? If so, I'll try to get a fix committed this evening when I get
home from work.
-Chris
Robin Hill wrote:
> 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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
More information about the mythtv-users
mailing list