[mythtv-users] myth2ipod install help

Chris Tepe cstepe at ctdataservices.com
Thu Oct 5 12:12:13 UTC 2006


Thanks, I was getting confused between devel an source. Once I download 
the source it was where you stated. I couldn't get it to configure until 
I downloaded all the necessary devel RPMs. The config script runs but it 
fails during make complaining about x264.

Here is my config command
./configure --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib 
--mandir=/usr/share/man --enable-mp3lame --enable-libogg --enable-vorbis 
--enable-faadbin --enable-xvid --enable-x264 --enable-a52 
--enable-a52bin --enable-dts --enable-pp --enable-shared 
--enable-pthreads --enable-dc1394 --enable-faac --enable-gpl 
--disable-strip --extra-cflags="-O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 
-fasynchronous-unwind-tables"

Config runs fine.

Here is the result of make

[root at mythtvserver ffmpeg-0.4.9]# make
make -C libavutil all
make[1]: Entering directory `/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil'
make -C libavcodec all
make[1]: Entering directory 
`/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavcodec'
gcc -DHAVE_AV_CONFIG_H -I.. 
-I/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 
-fasynchronous-unwind-tables -pthread -g -Wdeclaration-after-statement 
-Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith 
-Wredundant-decls -Winline -O3 -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -c -o x264.o x264.c
In file included from 
/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/common.h:186,
from /usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/avutil.h:42,
from avcodec.h:32,
from x264.c:20:
/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/internal.h:195:1: 
warning: "sprintf" redefined
In file included from /usr/include/stdio.h:834,
from /usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/common.h:36,
from /usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/avutil.h:42,
from avcodec.h:32,
from x264.c:20:
/usr/include/bits/stdio2.h:30:1: warning: this is the location of the 
previous definition
In file included from 
/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/common.h:186,
from /usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/avutil.h:42,
from avcodec.h:32,
from x264.c:20:
/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/internal.h:196:1: 
warning: "strcat" redefined
In file included from /usr/include/string.h:422,
from /usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/common.h:37,
from /usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/avutil.h:42,
from avcodec.h:32,
from x264.c:20:
/usr/include/bits/string3.h:147:1: warning: this is the location of the 
previous definition
In file included from 
/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/common.h:186,
from /usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/avutil.h:42,
from avcodec.h:32,
from x264.c:20:
/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/internal.h:198:1: 
warning: "printf" redefined
In file included from /usr/include/stdio.h:834,
from /usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/common.h:36,
from /usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/avutil.h:42,
from avcodec.h:32,
from x264.c:20:
/usr/include/bits/stdio2.h:65:1: warning: this is the location of the 
previous definition
In file included from 
/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/common.h:186,
from /usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/avutil.h:42,
from avcodec.h:32,
from x264.c:20:
/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/internal.h:199:1: 
warning: "fprintf" redefined
In file included from /usr/include/stdio.h:834,
from /usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/common.h:36,
from /usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil/avutil.h:42,
from avcodec.h:32,
from x264.c:20:
/usr/include/bits/stdio2.h:67:1: warning: this is the location of the 
previous definition
x264.c: In function ‘X264_init’:
x264.c:146: error: ‘struct <anonymous>’ has no member named 
‘i_rc_method’
x264.c:146: error: ‘X264_RC_CRF’ undeclared (first use in this function)
x264.c:146: error: (Each undeclared identifier is reported only once
x264.c:146: error: for each function it appears in.)
x264.c:149: error: ‘struct <anonymous>’ has no member named 
‘i_rc_method’
x264.c:149: error: ‘X264_RC_CQP’ undeclared (first use in this function)
x264.c:156: error: ‘struct <anonymous>’ has no member named 
‘i_rc_method’
x264.c:156: error: ‘X264_RC_ABR’ undeclared (first use in this function)
make[1]: *** [x264.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavcodec'
make: *** [lib] Error 2


I went to http://atrpms.net/dist/fc5/ffmpeg and downloaded 
ffmpeg-0.4.9-17_r6524.at.src.rpm 
<http://dl.atrpms.net/all/ffmpeg-0.4.9-17_r6524.at.src.rpm>, installed 
(rpm -iv rpmfile).
After that the source tar will be in /usr/src/redhat/SOURCES.

-Walter


Chris Tepe wrote:
> I don't know what I'm doing wrong but I can't find where it is going 
> on my system. I used the command yum install ffmpeg-devel. It 
> completed successfully but I can't ind where it went.
>
>
> Chris,
>
> You should find the source in /usr/src/redhat/SOURCES.
> I used the configuration from my installed ffmpeg (ffmpeg -version) 
> will print the config/compiler options.
> In my case I had to add the --enable-aac parameter for the ipod audio 
> codec.
>
> However I'm still not able to convert recordings through myth2ipd.
> I'm still ending up with a SIGFPE :-(
>
> From the ATrpms-users list I got a suggestion to remove the "-ac 0 -ar 
> 0" statement which is always present when checking how ffmpeg is 
> called form nuvexport. So I meesed with the scripts from nuvexprt and 
> the SIGFPE went away, but the audio from the mp4 output is out of 
> sync....
>
> -Walter
>
> Chris Tepe wrote:
>> Walter,
>>
>> I've pulled the ffmpeg source from atrpms and it installed, But I 
>> cann't find where it installed to so I can configure and build it. 
>> What was the configuration used to build it?
>>
>> Chris
>>
>> >
>> > Chris,
>> >
>> > I'm currently struggling as well with the myth2ipod script.
>> > I took the source-rpm of ffmpeg from atrpms and recompiled ffmpeg to
>> > assure the aac (codec) is enabled.
>> >
>> > I found that I can convert mpeg2 videos to mp4 (ipod) when starting
>> > ffmpeg mnually.
>> > (In the meantime, Axel (atrpms) was very helpful and updated the 
>> ffmpeg
>> > package on atrpms with the using the source).
>> >
>> > I tried to nail down my problem when starting "nuvexport -debug".
>> > (nuvexport is called form myth2ipod).
>> > In the debug mode nuvexport provides a list commands executed, so you
>> > just do the conversion step by step, using two shells.
>> > In my case the error was caused by a SIGFPE (floating point error),
>> > casued by ffmpeg.....
>> >
>> > I'll investigate a bit further to check if this has to do with the 
>> fifos
>> > created by nuvexport.
>> >
>> > I'm not sure how to get a hold of people coding nuvexport, but I'll 
>> also
>> > post this behavior on the ffmpeg-devel list, because on the end ffmgeg
>> > falls over the FPE issue...
>> >
>> > -Walter
>> >
>> >
>> >
>> > jmail wrote:
>> >> I have a Myth 20 system on a Fedora Core 4 I installed from the 
>> ATRPMS
>> >> following Jerod's guide.
>> >> I've been trying to get myth2ipod to install and run. I've installed
>> >> myth2ipod but when I execute it the log file says that ffmpeg exited
>> >> early.
>> >> I suspect I don't have ffmpeg built right. How do I build ffmpeg with
>> >> the right properties enabled starting from a yum installed machine.
>> >> I've read Jerod's spec file posted in Dec. but I don't know what 
>> to do
>> >> with this. Any detailed install instructions would be greatly
>> >> appreciated.
>> >>
>> >> Chris
>> >> _______________________________________________
>> >> mythtv-users mailing list
>> >> mythtv-users at mythtv.org
>> >> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users)
>> >>
>> >>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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