[mythtv-users] mythtv-users Digest, Vol 43, Issue 29

Chris Tepe cstepe at ctdataservices.com
Thu Oct 5 20:25:25 UTC 2006


Ok,  I removed the x264 requirement But it still fails on the make
complaining about x264 .  I have all the latest updates for the devel
from atrpms so I don't understand why it will not build.

OUTPUT

[root at mythtvserver ffmpeg-0.4.9]# ./configure  --prefix=/usr
--libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man
--enable-mp3lame --enable-libogg --enable-vorbis --enable-faadbin
--enable-xvid --enable-faac --enable-a52 --enable-a52bin --enable-dts
--enable-pp --enable-shared --enable-pthreads --enable-dc1394
--enable-gpl --disable-strip --extra-cflags="-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386
-fasynchronous-unwind-tables"
install prefix   /usr
source path      /usr/src/redhat/SOURCES/ffmpeg-0.4.9
C compiler       gcc
make             make
CPU              x86 (generic)
big-endian       no
inttypes.h       yes
broken inttypes.h no
MMX enabled      yes
Vector Builtins  yes
3DNow! Builtins  yes
gprof enabled    no
zlib enabled     yes
libgsm enabled   no
mp3lame enabled  yes
libogg enabled   yes
Vorbis enabled   yes
FAAD enabled     no
faadbin enabled  yes
FAAC enabled     yes
XviD enabled     yes
x264 enabled     no
a52 support      yes
a52 dlopened     yes
DTS support      yes
pp support       yes
Software Scaler enabled no
AVISynth enabled no
debug symbols    yes
strip symbols    no
optimize         yes
static           yes
shared           yes
video hooking    yes
SDL support      yes
Imlib2 support   yes
FreeType support yes
Sun medialib support no
pthreads support yes
AMR-NB float support no
AMR-NB fixed support no
AMR-WB float support no
AMR-WB IF2 support no
network support      yes
IPv6 support         yes
.align is power-of-two no
License: GPL
Creating config.mak and config.h...
[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'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavcodec'
make -C libavformat all
make[1]: Entering directory
`/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavformat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavformat'
make -C libpostproc all
make[1]: Entering directory
`/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libpostproc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libpostproc'
gcc -L./libavformat -L./libavcodec -L./libavutil -Wl,--warn-common  
-pthread -rdynamic -export-dynamic -Wl,--as-needed
-Wl,-rpath-link,/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavcodec
-Wl,-rpath-link,/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavformat
-Wl,-rpath-link,/usr/src/redhat/SOURCES/ffmpeg-0.4.9/libavutil -g -o
ffmpeg_g ffmpeg.o cmdutils.o -lavformat -lavcodec -lavutil -lm -lz -ldts
-lmp3lame -lvorbis -lvorbisenc -logg -logg -lxvidcore -ldc1394_control
-lraw1394 -lfaac -ldl
./libavcodec/libavcodec.so: undefined reference to `x264_encoder'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1
[root at mythtvserver ffmpeg-0.4.9]#


chris
On Thu, 2006-10-05 at 10:20, mythtv-users-request at mythtv.org wrote:
> Send mythtv-users mailing list submissions to
> 	mythtv-users at mythtv.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> or, via email, send a message with subject or body 'help' to
> 	mythtv-users-request at mythtv.org
> 
> You can reach the person managing the list at
> 	mythtv-users-owner at mythtv.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of mythtv-users digest..."
> 
> ______________________________________________________________________
> Today's Topics:
> 
>    1. Re: myth2ipod install help (Chris Tepe)
>    2. Re: Xbox frontend and 0.20 (Phill Edwards)
>    3. Re: GeForce 6150, SPDIF, digital passthru - Success! (Jason)
>    4. Re: OT: PCI slots: 64 bit slots on Dell PowerEdge (James Pifer)
>    5. Re: myth2ipod install help (Walter Hofstetter)
>    6. have livetv but recording doesn't work (Timothy Waters)
>    7. Re: Xbox frontend and 0.20 (Alexander Fisher)
>    8. Re: 1080i HD without XvMC, how much horsepower? (Steven Adeff)
>    9. Re: visit from googlebot (Jacob Steenhagen)
>   10. Re: [mythtv] what does "DVBRec(1): PID 0x840	discontinuity
>       detected" mean? (Daniel Kristjansson)
>   11. Re: DVB-T Channel Scanning (Alessandro Corbelli)
>   12. Re: Backup DB for recordings... (A JM)
>   13. Re: Wishlist feature for adding a hard drive (Steve Daniels)
>   14. Re: Protocol mismatch problem and ongoing GUIcolours	problem
>       (Steve Daniels)
>   15. Re: [mythtv] what does "DVBRec(1): PID 0x840	discontinuity
>       detected" mean? (Janne Grunau)
>   16. Re: Ati Radeon 7000 vs. nVidia FX 5500 (Dan Wilga)
>   17. Re: backend crash - how to diagnose? (Axel Thimm)
>   18. Re: GeForce 6150, SPDIF, digital passthru - Success! (Nick)
>   19. Re: [mythtv] what does "DVBRec(1): PID	0x840	discontinuity
>       detected" mean? (Daniel Kristjansson)
>   20. Re: DVB-T Channel Scanning (Lauri Tischler)
>   21. Re: DVB-T Channel Scanning (Lauri Tischler)
>   22. Re: Ati Radeon 7000 vs. nVidia FX 5500 (Nick)
>   23. Wishlist feature: OSD disappears after a few seconds	when in
>       pause mode (Nick)
>   24. backend hardware recommendations (Yan Seiner)
>   25. backend hardware recommendations (Yan Seiner)
>   26. Re: No sound on one DVD (Dag Nygren)
>   27. Re: Wishlist feature: OSD disappears after a few	seconds when
>       in pause mode (aaron)
>   28. IRW responds to remote, but not MythFrontend (White Joe)
> 
> ______________________________________________________________________
> From: Chris Tepe <cstepe at ctdataservices.com>
> To: mythtv-users at mythtv.org
> Subject: Re: [mythtv-users] myth2ipod install help
> Date: Thu, 05 Oct 2006 08:12:13 -0400
> 
> 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
> 
> 
> 
> 
> ______________________________________________________________________
> From: Phill Edwards <philledwards at gmail.com>
> To: alex at alexfisher.me.uk, MythTV Users List <mythtv-users at mythtv.org>
> Subject: Re: [mythtv-users] Xbox frontend and 0.20
> Date: Thu, 05 Oct 2006 22:23:36 +1000
> 
> > But it's still crashing. I'm now doing:
> > # apt-get upgrade
> > to see whether that will help.
> 
> No, this doesn't work either. Very strange and a real bummer because
> the frontend just won't run :(
> 
> 
> ______________________________________________________________________
> From: Jason <fearthepenguin at jasonandjessi.com>
> To: Discussion about mythtv <mythtv-users at mythtv.org>
> Subject: Re: [mythtv-users] GeForce 6150, SPDIF, digital passthru - Success!
> Date: Thu, 05 Oct 2006 07:35:01 -0500
> 
> excellent! Thank you both,  looks like I have a new project for this
> weekend!
> 
> Jason
> The place where you made your stand never mattered,
> only that you were there... and still on your feet
> 
> 
> 
> Chad wrote:
> > On 10/4/06, Kevin Mori <kmori.nospam at gmail.com> wrote:
> >   
> >> yes
> >> On Wed, 2006-10-04 at 21:43 -0500, Jason wrote:
> >>     
> >>> I've never used the SPDIF on my receiver, so this is a very uneducated
> >>> question,  but if I switch to the spdif output of my soundcard, could I
> >>> use that as my audio out for all of my content, even if it doesn't have
> >>> AC3 encoding?   MP3s and what not?  It would be nice to have one,
> >>> hi-fidelity audio out into my receiver and not have to switch inputs
> >>> between DVDs and OTA TV.
> >>>
> >>> Jason
> >>>       
> >
> >
> > With a little more information and a space between your response:
> > yes.  ;)
> >
> > Some people report having to use a fancy .asoundrc to get this to
> > work.  However, if you are talking about using the SPDIF output
> > onboard something like the Asus M2NPV-VM, then yes, and you don't have
> > to use any special asoundrc files.  Having AC3 passthrough checked
> > will send Dolby Digital (DD) to your reciever when the stream contains
> > an identifiable AC3 track (as in an HDTV presentation such as CSI);
> > when it does not (as in the case where you record an analog show using
> > something like a PVR-x50), analog audio is passed digitally over your
> > SPDIF output to your receiver which then (assuming you have comsumer
> > level equipment :D ) converts the audio to analog and out to your
> > speakers.  The same holds true for your videos and mp3's, although
> > mp3s are (again sometimes) reported to play at faster/slower speeds if
> > they are not 48000 (it seems most typically they are 44100 IIRC).  As
> > usual, I haven't noticed this either using a basically standard
> > install of Gentoo, and/or FC5.
> >
> > -Chad
> >
> >   
> 
> 
> ______________________________________________________________________
> From: James Pifer <jep at obrien-pifer.com>
> To: Discussion about mythtv <mythtv-users at mythtv.org>
> Subject: Re: [mythtv-users] OT: PCI slots: 64 bit slots on Dell PowerEdge
> Date: Thu, 05 Oct 2006 08:40:35 -0400
> 
> On Tue, 2006-10-03 at 22:33 -0700, Justin The Cynical wrote:
> > James Pifer wrote:
> > > I've been trying to get a frontend working well with TVOut. I bought a
> > > PCI FX5200 that I've been trying to run in a box with Athlon 1400+
> > > processor. (I've tried a lot of things, see previous posts about
> > > horsepower)
> > 
> > Does it look like this card?
> > 
> > http://aopen.jp/products/vga/large/fx5200-v128pci-l.jpg
> > 
> > The important part is the notches in the edge connector.
> > 
> > > I have another box that I decided to try and use. I moved all of the
> > > stuff it was running to another box to free it up. It's a Dual Xeon 1.8
> > > ghz machine. That's got to have plenty to do this. (no HD)
> > > 
> > > Problem is the PCI slots. It has:
> > > two 32-bit 33MHz PCI slots
> > > two 64-bit 66MHz PCI slots
> > > two 64-bit 100MHz PCI-X slots
> > 
> > Does your PCI-X slots look like these?
> > 
> > http://www.pasarlascanutas.com/bricolaje/ensamblaje_de_pc_2004/2_montar_un_pc_placa_base_022.JPG
> > 
> > > Is there any way I can I use the 64 bit slots with regular PCI cards?
> > > Maybe some kinf of riser or something? Currently the cards do not fit. I
> > > have 3 tuners, plus the PCI FX5200. I'd be willing to trade up the video
> > > card to something that would work, but all I can find are PCI-Express,
> > > which to my understanding are different.
> > 
> > Well, if the video card look like the image I listed, it will not work 
> > in the PCI-X slot, as PCI-X doesn't support 5V cards.
> > 
> > The 64-bit slots I linked to as well are 3.3V slots, PCI cards that are 
> > not universal (5V only) won't work in them.
> > 
> > Doing some google image searches, it looks like there are universal and 
> > 5V FX5200 cards, so it depends on which one you have if it will work.
> > 
> > Universal PCI cards will work in a 64-bit PCI slot.  I ran a buffalo 
> > wifi card in my old B&W Mac and the current Digital Audio G4, and all 
> > the general use PCI slots in those machines are 64-bit.
> 
> 
> The slots look like this:
> http://www.obrien-pifer.com/poweredge/poweredge.jpg
> 
> I do have two regular PCI slots, so hopefully I can use those two for
> the problem cards, if there are any.... 
> 
> The raid controller is the card that's currently in there. Based on
> another person's response, I would not want to lower the speed on that
> bus, so I probably won't use that slot unless I pick up a 64 bit gigabit
> NIC.
> 
> James
> 
> 
> 
> ______________________________________________________________________
> From: Walter Hofstetter <walter.hofstetter at netwho.com>
> To: Discussion about mythtv <mythtv-users at mythtv.org>
> Subject: Re: [mythtv-users] myth2ipod install help
> Date: Thu, 05 Oct 2006 14:43:40 +0200
> 
> I had the same error, so finally didn't use the enable-x264 switch.
> I assume, that some of the libraries to compile x264 are broken at least 
> on FC5 :-(
> 
> It will compile without the x264 switch and you can still create mp4 
> files which will run on your ipod.
> 
> Using a syntax such as
> 
> ffmpeg -i  file.mpg -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x240 -aspect 4:3 file.mp4
> 
> should create ipod compatible videos.
> However you most likely will then run into issues with the myth2ipod scipt.
> I figured, that the called nuvexport will create wrong switches and causes ffmpeg to crash with a floating point error.
> 
> I tried to modify the nuvexport code, but wasn't quit successful yet.
> 
> Regards, Walter
> 
> 
> Chris Tepe wrote:
> > 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
> >>     
> >
> >
> > _______________________________________________
> > 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