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

1. It appears that mplayer-common isn't required by mplayer nor mencoder. Is that intentional? I took me a couple of minutes to find out what happened to the manpages--which I'd consider essential to deciphering mencoder's many options. Also things like /etc/mplayer/mplayer.conf are part of mplayer-common, so it seems like it should be a dependency of mplayer and/or mencoder.

Fixed !


Confirmed!


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.

Many thanks!

Greg

_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to