[FFmpeg-user] 答复: Custom Build

刘鹏 michaelliu at qiyi.com
Thu Mar 27 05:29:09 CET 2014


This time I built in RedHat Linux 64bit machine. 

1.       Download the latest mingw-w64-build-3.5.8 sript from http://ffmpeg.zeranoe.com/blog/

2.       Run the script for a whole night.

3.       Add “/root/software/mingw-w64/mingw-w64-i686/bin” in the PATH env

4.       cd /root/software/ ffmpeg-0.8.15

5.       ./configure --enable-memalign-hack  --enable-cross-compile --target-os=mingw32 --arch=x86 --cross-prefix=i686-w64-mingw32- 

6.       But show fail: i686-w64-mingw32-gcc is unable to create an executable file. C compiler test failed.


I didn’t found i686-w64-mingw32-gcc in /root/software/mingw-w64/mingw-w64-i686/bin directory indeed.


Could you please kindly explain why, please? Thank you!



发件人: 刘鹏 [mailto:michaelliu at qiyi.com] 
发送时间: 2014年3月26日 18:29
收件人: 'ffmpeg-user at ffmpeg.org'
主题: 答复: Custom Build



         I use Mingw-w64(download the latest mingw-builds-install.exe and install then, get a combination of mingw and msys). My source code is in the directory E:\study\ffmpeg\ffmpeg-0.8.15 so edit the file fstab in C:\MinGW\msys\1.0\etc, add a  line 

E:\study\ffmpeg\ffmpeg-0.8.15                /home/michaelliu/ffmpeg-0.8.15

(michaelliu is my userid, folder /home/michaelliu/ffmpeg-0.8.15 is a empty folder I created)


Restart the shell box run the following bash:

cd ~/ ffmpeg-0.8.15

ls(Indeed found many files of ffmpeg)


But failed …

Attached fail log FYI!  Would you please kindly give me an answer? Thank you very much!



发件人: Kyle Schwarz [mailto:zeranoe at zeranoe.com] 
发送时间: 2014年3月21日 5:26
收件人: 刘鹏
主题: Re: Custom Build



Dshow support will automatically be enabled if your toolchain supports it. No need for extra arguments.

Best regards,

On 3/19/2014 4:28 AM, 刘鹏 wrote:


         I’m Michael Lewis from China. Nice to see you!

Could you please tell me which property I should enable to support dshow?



直 播中心



地 址:上海市徐汇区 宜山路1388号民润商务楼11层 

邮 编:201103

手 机:+86 13651694599

电 话:+86 21 54519520-8964

邮 箱: <mailto:yangrui at qiyi.com> michaelliu at qiyi.com

       liupeng2 at qiyi.com



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 14951 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140327/774b768e/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 73490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140327/774b768e/attachment.obj>

More information about the ffmpeg-user mailing list