View Single Post
Old 2008-07-31, 14:54   Link #82
Miles Teg
Senior Member
 
Join Date: Dec 2005
Location: Le Mans, France
Quote:
Originally Posted by wiskas View Post
To enable it in mplayer, apply the patch, run ./configure, then open config.h, find these two lines
Code:
#define CONFIG_FILE_PROTOCOL 0
#define ENABLE_FILE_PROTOCOL 0
and replace 0 with 1. Then open libavformat/Makefile, find this line
Code:
OBJS = allformats.o cutils.o os_support.o sdp.o utils.o
and add file.o to it. Then make. I'll probably make a patch for this later.
I have tried with Formula Sub Shugo chara! and BSS kurenai and that don't work (not even an error message).

Patch no problem.
./configure no problem.
#define CONFIG_FILE_PROTOCOL 0 don't appear in my config.h (I have tried with and without just in case)
#define ENABLE_FILE_PROTOCOL 0 appear, 0 change to 1 no problem.
file.o added to the Makefile of libavformat.
make no problem.

My version of Mplayer is dev-SVN-r27382-4.2.3 compile for a C2D (X86_64) on a Ubuntu 8.04.
Miles Teg is offline