x264 make problem

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: x264 make problem

Postby VLC_help » 24 Aug 2011 18:02

Did you even read the error?
Don't have the file or directory

huoyee
Blank Cone
Blank Cone
Posts: 40
Joined: 11 Aug 2011 04:41

Re: x264 make problem

Postby huoyee » 25 Aug 2011 04:36

Thank you, VLC_help!

Now I use "make" command to compile the ffmpeg, it generated the following error in the end:

ln: Create symbolic link “libavutil.so”: Operation not supported
make: *** [libavutil/libavutil.so] Error 1

How to enable it to support this "ln" operation and solve the problem,please?

Thank you in advance!

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: x264 make problem

Postby VLC_help » 25 Aug 2011 16:07

ln will fail if the file system doesn't support symbolic links. IIRC FAT and FAT32 don't support them.

huoyee
Blank Cone
Blank Cone
Posts: 40
Joined: 11 Aug 2011 04:41

Re: x264 make problem

Postby huoyee » 26 Aug 2011 03:46

Thank you very much, VLC_help!

huoyee
Blank Cone
Blank Cone
Posts: 40
Joined: 11 Aug 2011 04:41

Re: x264 make problem

Postby huoyee » 26 Aug 2011 11:25

Dear everyone,

I used mount command to see my file system type, and it generated the following information:

/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
.host:/ on /mnt/hgfs type vmhgfs (rw,ttl=1)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/huoyi/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=huoyi)

from above I got the type of the file system is ext4. It isn't fat, why doesn't it support symbolic link? and how to enable it to support,please?

Thank you in advance!

huoyee
Blank Cone
Blank Cone
Posts: 40
Joined: 11 Aug 2011 04:41

Re: x264 make problem

Postby huoyee » 26 Aug 2011 15:32

Dear everyone,

I have solved the problem by moving the code to an unshared directory.

Now I want to add x264 lib to ffmpeg to enable ffmpeg to encode h264 format. First, I set up x264 through the following commands:
./configure --enable-shared
make
sudo make install
sudo ldconfig

Then I compiled ffmpeg as following:
./configure --enable-libx264 --enable-gpl --enable-shared
make

After I run make command, it generated the following error information in the end:
LD ffmpeg_g
/home/huoyi/public/x264_to_ffmpeg/ffmpeg/libavcodec/libavcodec.so: undefined reference to `x264_encoder_open_116'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1

How to solve the problem,please? Thank you in advance!

huoyee
Blank Cone
Blank Cone
Posts: 40
Joined: 11 Aug 2011 04:41

Re: x264 make problem

Postby huoyee » 27 Aug 2011 07:00

Dear everyone,

I want to add x264 lib into ffmpeg, who knows which version of x264 map which version of ffmpeg,please?

Thank you in advance!


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 68 guests