On Tue, 7 Dec 2010, Greg Bailey wrote:

Dag Wieers wrote:
 On Mon, 6 Dec 2010, Greg Bailey wrote:

> 2. Once I figure out that I should install mplayer-common, I get the > following when using mplayer: > > $ mplayer testfile.flv
>  The fontconfig option can't be used in a config file.
>  Error parsing option fontconfig=yes at line 123

 Not sure what I should build differently.

Not sure either, other than to perhaps patch the stock mplayer.conf file. With the new build I still have to do the following patch to the /etc/mplayer/mplayer.conf file supplied by mplayer-common:

--- mplayer.conf.bak    2010-12-06 17:47:34.000000000 -0700
+++ mplayer.conf        2010-12-07 06:10:09.000000000 -0700
@@ -120,7 +120,7 @@
flip-hebrew = no

# Use fontconfig for font selection
-fontconfig = yes
+#fontconfig = yes

# Default font for unstyled subtitles
font = "Sans"


> 3. After commenting out line 123, when attempting to encode flash video > to MPEG4, I get: > > $ mencoder -ofps 30000/1001 -af lavcresample=24000 -vf > harddup,crop=320:128:0:56,scale=368:208 -of lavf \ > -oac lavc -ovc lavc -lavcopts > aglobal=1:vglobal=1:vcodec=mpeg4:acodec=libfaac \
>     -lavfopts format=psp \
>     -noskip -skiplimit 1 -mc 0 \
>     testfile.flv \
>     -o testfile.mp4
> > gives MPlayer output, followed by: > > ========================================================================== > > Audio LAVC, couldn't find encoder for codec libfaac. > > I verified that I have the "faac" RPM installed from RPMForge.

 lavc means ffmpeg. So apparently ffmpeg is lacking faac, or mplayer
 refuses to use that one. I have a new rebuild, please test it when it
 comes available. Thanks in advance,

Yes, encoding with faac works now; maybe it was a build environment thing earlier? (Is it one of those things where if libfaac isn't found at build time then support for it isn't compiled in?) Either way, it's OK now.

The problem was related to me cleaning up the SPEC file and adding options to force mplayer to use libfaac, and not ffmpeg's faac. From the buildlog diff:

        -Checking for FAAC support ... yes (in libavcodec: no)
        +Checking for FAAC support ... yes (in libavcodec: yes)

I thought it was better to use libfaac, but I reverted this (and a few other ffmpeg items) after your report.

--
-- dag wieers, [email protected], http://dag.wieers.com/
-- dagit linux solutions, [email protected], http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to