Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

nuvexport 0.5 with ffmpeg 0.5 not working

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


stephen at carins

Apr 20, 2009, 5:26 AM

Post #1 of 6 (1625 views)
Permalink
nuvexport 0.5 with ffmpeg 0.5 not working

Hi all
im having trouble getting the latest nuvexport working, hoping someone can
help

i followed this guide
http://ubuntuforums.org/archive/index.php/t-786095.html
basically

sudo apt-get purge ffmpeg x264 libx264-dev
sudo apt-get update
sudo apt-get install build-essential subversion git-core checkinstall yasm
texi2html libfaac-dev libfaad-dev libmp3lame-dev libtheora-dev
libxvidcore4-dev libvorbis-dev

git clone git://git.videolan.org/x264.git
cd x264
./configure
make
sudo checkinstall --fstrans=no --install=yes --pkgname=x264 --pkgversion
"1:0.svn`date +%Y%m%d`-0.0ubuntu1" --default

cd ..
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --enable-gpl --enable-postproc --enable-pthreads
--enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora
--enable-libvorbis --enable-libx264 --enable-libxvid
make
sudo mkdir /usr/local/lib/pkgconfig
sudo mkdir /usr/include/libavdevice
sudo mkdir /usr/include/libavformat
sudo mkdir /usr/include/libavcodec
sudo mkdir /usr/include/libavutil
sudo mkdir /usr/lib/vhook
sudo mkdir /usr/include/libpostproc
sudo checkinstall --fstrans=no --install=yes --pkgname=ffmpeg --pkgversion
"3:0.svn`date +%Y%m%d`-12ubuntu3" --default

cd ..
wget
http://forevermore.net/files/nuvexport/nuvexport-0.5-0.20090413.svn.tar.bz2
bunzip2 nuvexport-0.5-0.20090413.svn.tar.bz2
tar -xvf nuvexport-0.5-0.20090413.svn.tar
cd nuvexport-0.5
make install


everything seems to work except nuvexport says
Using ffmpeg for exporting.
What would you like to do?

1. Export to XviD (disabled)
2. Export to SVCD (disabled)
3. Export to VCD (disabled)
4. Export to DVCD (VCD with 48kHz audio for making DVDs) (disabled)
5. Export to DVD (disabled)
6. Export to DivX (disabled)
7. Export to ASF (disabled)
8. Export to MP3 (disabled)
9. Export to PSP (disabled)
10. Export to MP4 (iPod) (disabled)
11. Export to .nuv and .sql

q. Quit

Choose a function: 1

Unrecognizeable ffmpeg version string.
This version of nuvexport requires ffmpeg 0.5.

Press ENTER to continue.

but ffmpeg says

FFmpeg version SVN-r18632, 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 50. 3. 0 / 50. 3. 0
libavcodec 52.27. 0 / 52.27. 0
libavformat 52.32. 0 / 52.32. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Apr 20 2009 22:20:42, gcc: 4.3.2
FFmpeg SVN-r18632
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.27. 0 / 52.27. 0
libavformat 52.32. 0 / 52.32. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0


i also tried building ffmpeg 0.5 from sorce
the result is that the ffmpeg version says FFmpeg version 0.5.
but i have the same problem

anyone had a similar problem? any suggestions

cheers in advance

Steve




_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


robert.mcnamara at gmail

Apr 20, 2009, 6:48 AM

Post #2 of 6 (1552 views)
Permalink
Re: nuvexport 0.5 with ffmpeg 0.5 not working [In reply to]

On Mon, Apr 20, 2009 at 5:26 AM, stephen <stephen [at] carins> wrote:
> svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg

Per this line, you are not using ffmpeg 0.5. You're using trunk.

Robert
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


stephen at carins

Apr 20, 2009, 8:13 PM

Post #3 of 6 (1535 views)
Permalink
nuvexport 0.5 with ffmpeg 0.5 not working [In reply to]

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

Steve

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


myth at robinhill

Apr 21, 2009, 1:43 AM

Post #4 of 6 (1524 views)
Permalink
Re: nuvexport 0.5 with ffmpeg 0.5 not working [In reply to]

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> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |


lists at forevermore

Apr 21, 2009, 1:54 PM

Post #5 of 6 (1503 views)
Permalink
Re: nuvexport 0.5 with ffmpeg 0.5 not working [In reply to]

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
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


stephen at carins

Apr 21, 2009, 6:26 PM

Post #6 of 6 (1518 views)
Permalink
nuvexport 0.5 with ffmpeg 0.5 not working [In reply to]

I have confirmed that changing line

if ($data =~ m/ffmpeg\sversion\s0.5-/si) {
to
if ($data =~ m/ffmpeg\sversion\s0.5[,-]/si) {

has indeed fixed the problem

i will report a bug

appreciate the help, cheers

Steve

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.