Quantcast Mencoder: Problems Compiling Mplayer/Mencoder - digitalFAQ.com Forums [Archives]
  #1  
03-16-2004, 05:08 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi there,
I've been reading the instructions given by bilu and kwag here about compiling mencoder and mplayer.
So here is what I did:
I downloaded and installed MinGW and MSYS by this order.
I downloaded and extracted the directx from VLC.
I downloaded and extracted the latest Mplayer CVS.
I edited the /etc/codecs.conf to enable makeAVIS as per VMesquita's instructions.
I started MSYS and browsed to mplayer folder.
I ran ./configure --enable-largefiles --disable-runtime-cpudetection --enable-static .
Everything went smoothly.
And I ran make .
Everything went smoothly.
And I ran make install and I got
Code:
$ make install
if test ! -d /usr/local/bin ; then mkdir -p /usr/local/bin ; fi
install -m 755 -s mplayer /usr/local/bin/mplayer
if test ! -d /usr/local/man/man1 ; then mkdir -p /usr/local/man/man1; fi
for i in en; do \
        if test "$i" = en ; then \
                install -c -m 644 DOCS/man/en/mplayer.1 /usr/local/man/man1/mplayer.1 ; \
        else \
                mkdir -p /usr/local/man/$i/man1 ; \
                install -c -m 644 DOCS/man/$i/mplayer.1 /usr/local/man/$i/man1/mplayer.1 ; \
        fi ; \
done
install -m 755 -s mencoder /usr/local/bin/mencoder
for i in en; do \
        if test "$i" = en ; then \
                ln -sf mplayer.1 /usr/local/man/man1/mencoder.1 ; \
        else \
                ln -sf mplayer.1 /usr/local/man/$i/man1/mencoder.1 ; \
        fi ; \
done
ln: creating symbolic link `/usr/local/man/man1/mencoder.1' to `mplayer.1': No such file or directory
make: *** [install] Error 1
From the make install command it seems that it couldn't create the man-page.
That's not a disaster.
But when I try to encode I get:
Code:
MEncoder dev-CVS-040316-21:10-3.2.3 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner 530.7 MHz (Family: 6, Step
ping: 3)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading c:/video/mplayer/mplayer/codecs.conf: Can't open 'c:/video/mplayer/mplay
er/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file c:/video/mplayer/mplayer/mencoder: No such file or directory

Reading config file rui.ini
font: can't open file: c:/video/mplayer/mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
success: format: 0  data: 0x0 - 0x17600
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO:  [AVIS]  704x576  16bpp  25.000 fps    0.8 kbps ( 0.1 kbyte/s)
[V] filefmt:3  fourcc:0x53495641  size:704x576  fps:25.00  ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [hqdn3d=1]
==========================================================================
Requested video codec family [makeAVIS] (vfm=vfw) not available.
Enable it at compilation.
Cannot find codec matching selected -vo and video format 0x53495641.
Read DOCS/HTML/en/codecs.html!
==========================================================================
Exiting...
Although it tries to use my codecs.conf it seems that it cannot find the ffvfw.dll or something.
I tried the original compilation that I got from mplayer's site and it works fine if I use a codecs.conf
file in a mplayer folder already inside my mplayer folder as usual.
Any thoughts about this?
Thanks.

Rui
__________________
Rui
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
03-17-2004, 04:54 AM
bilu bilu is offline
Free Member
 
Join Date: Jan 2004
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
About that "make install" error, I got it too. Maybe it's related to the directory structure or something.

About the codecs.conf, I haven't changed nothing since I'm working with VOBs or M2Vs directly. We'll have to check.


Bilu
Reply With Quote
  #3  
03-17-2004, 09:05 AM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
@ bilu,

Not to be OT, but ... so than that explains why you researched through MEn's
params for the IVTC to work w/ your VOBs ??

I was wondering why you were doing this, and now I think I understand
I was looking for the right IVTC settings for my GUI (i'm still slowly developing)
and I haven't found it yet (but you may have ? ) If you did, could you post it
in the MENcoder thread (not here)

Thanks,
-vhelp
Reply With Quote
  #4  
03-17-2004, 09:17 AM
bilu bilu is offline
Free Member
 
Join Date: Jan 2004
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
@vhelp (no need to post there, it's a simple answer)

I wanted to keep telecine as it was in the original stream.
Mencoder cannot import the MPEG-2 RFF flags directly but can create repeated fields based on that flags: the movie will be hard-telecined instead of soft-telecine.

I never wanted to IVTC since it would stop working on standalone players (don't work with 23.976 fps, only 29.97 fps), but it did IVTC automatically ***unless I used the -vf softpulldown switch*** since it doesn't create the repeated fields unless you specify that option.

Bilu
Reply With Quote
  #5  
03-17-2004, 03:10 PM
rhino rhino is offline
Free Member
 
Join Date: Jan 2003
Location: Back in Ireland (for a while)
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
Code:
$ make install
if test ! -d /usr/local/bin ; then mkdir -p /usr/local/bin ; fi
install -m 755 -s mplayer /usr/local/bin/mplayer
if test ! -d /usr/local/man/man1 ; then mkdir -p /usr/local/man/man1; fi
for i in en; do \
        if test "$i" = en ; then \
                install -c -m 644 DOCS/man/en/mplayer.1 /usr/local/man/man1/mplayer.1 ; \
        else \
                mkdir -p /usr/local/man/$i/man1 ; \
                install -c -m 644 DOCS/man/$i/mplayer.1 /usr/local/man/$i/man1/mplayer.1 ; \
        fi ; \
done
install -m 755 -s mencoder /usr/local/bin/mencoder
for i in en; do \
        if test "$i" = en ; then \
                ln -sf mplayer.1 /usr/local/man/man1/mencoder.1 ; \
        else \
                ln -sf mplayer.1 /usr/local/man/$i/man1/mencoder.1 ; \
        fi ; \
done
ln: creating symbolic link `/usr/local/man/man1/mencoder.1' to `mplayer.1': No such file or directory
make: *** [install] Error 1
The failure would kinda indicate that this path is wrong /usr/local/man/man1/mencoder.1. I would suggest you try executing

ln -sf mplayer.1 /usr/local/man/man1/mencoder.1

in the shell to see what happens.
__________________
rhino
Reply With Quote
  #6  
03-18-2004, 05:16 AM
bilu bilu is offline
Free Member
 
Join Date: Jan 2004
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
I just installed MinGW and MYS to compile Mencoder.
I don't know if it somehow replicates a /usr/local/bin directory structure.

The error line in "make install" means it can't make a shortcut called "Mencoder manpage" pointing at "Mplayer manpage".

The whole point of make install seems to be copying files into the right place of the directory structure. But since Mencoder is compiled with everything built-in maybe we can just skip that step


Bilu
Reply With Quote
  #7  
03-18-2004, 09:11 AM
rhino rhino is offline
Free Member
 
Join Date: Jan 2003
Location: Back in Ireland (for a while)
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
I just installed MinGW and MYS to compile Mencoder.
I don't know if it somehow replicates a /usr/local/bin directory structure.
Yes it replicates /usr. I think the c:/msys/<etc>/ becomes /usr. One of the readme's explains it, worth reading to know the directory structure mappings etc.

Quote:
The whole point of make install seems to be copying files into the right place of the directory structure. But since Mencoder is compiled with everything built-in maybe we can just skip that step
That's the point of "make install". Though I thought 'ln' shoudl still have made that link even though /usr/local/man/man1/mencode.1 would have been linking to an invalid file. As this is based upon Linux and not Solaris unix its maybe more stict on linking to files that do not exist.

Does 'make -k install' work? Not at home to try this, but the '-k' argument should tell make to continue even if it hits a failure like this one.

Anyway, if you correct that link you would have recieved a message about fonts, and if you do not have them, where you can get them from.

With everything is working for you, then I would not worry about this (its nice to have working makefiles though).

Cheers,
__________________
rhino
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
SUPER, the GUI for ffmpeg, mencoder, mplayer, x264 Dialhot Video Encoding and Conversion 3 11-25-2005 05:27 PM
Compiling Mencoder Prodater64 Avisynth Scripting 4 11-30-2004 02:02 PM
Mencoder: Color Problems on Mencoder outputs? Koekies Video Encoding and Conversion 60 06-15-2004 06:40 AM
Mencoder: Mplayer Screenshots Fluffbutt Video Encoding and Conversion 0 06-09-2004 10:49 AM
Mencoder: Mpv only readable by mplayer Koekies Video Encoding and Conversion 17 06-07-2004 09:40 AM

Thread Tools



 
All times are GMT -5. The time now is 03:57 AM  —  vBulletin © Jelsoft Enterprises Ltd