Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for a complete build version of this great modification! #7

Open
hnguyen48206 opened this issue Jul 24, 2021 · 13 comments
Open

Comments

@hnguyen48206
Copy link

Dear Mr,

May I request a compiled version of your version of ffmpeg? It's the exact solution that I'm looking for to get the flv h265 streaming work. However, I do not really know how to go from this pure src code only.

Best Regards.

@numberwolf
Copy link
Owner

Which platform? mac/linux/win?

@hnguyen48206
Copy link
Author

I need both win and linux versions actually, but either one of them is still good enough. Thank you in advance.

@hnguyen48206
Copy link
Author

Sorry sir, do you have any update on this matter?

@numberwolf
Copy link
Owner

Sorry sir, do you have any update on this matter?

None update; If you want to compile by yourself, you need install libx265

@123JRM
Copy link

123JRM commented Jul 27, 2021 via email

@numberwolf
Copy link
Owner

I will support one shell script for compile this project, you can compile use it by yourself.

@hnguyen48206
Copy link
Author

That is very nice of you Mr. It's not that I do not want to compile it myself, just difficult to find a good start document.

I'm intending to use this tool for compiling: https://github.com/m-ab-s/media-autobuild_suite#custom-patches since it seems to be the least complicated one. The problem is how to replace the original git src of ffmpeg (that the tool will use) by your version.
Do you guys have any experience with this one or suggest another tool to achieve the goal? I would like to try with the windows version first.

Best Regards.

@numberwolf
Copy link
Owner

Compile Script:
#!/bin/bash
./configure
--enable-cross-compile
--pkg-config-flags="--static"
--extra-ldflags="-lm -lz -llzma -lpthread"
--extra-libs=-lpthread
--extra-libs=-lm
--enable-gpl
--enable-libfdk_aac
--enable-libfreetype
--enable-libmp3lame
--enable-libx264
--enable-libx265
--enable-nonfree
make clean
make -j16
make install

@hnguyen48206
Copy link
Author

Hello Mr,

I have been trying to compile ffmpeg on Windows 10 (using your src code) with x264 and x265 since the last week and everytime I thought I have gotten it, the process fails with a new kind of error and this time is the one that I have no clue on how to overcome it. To be more specific, I have followed 2 tutorials that I found:

x264: https://cwiki.apache.org/confluence/download/attachments/27838216/FFmpeg%20compilation%20in%20Windows%2010.pdf?version=4&modificationDate=1513618557000&api=v2

x265: http://www.gregwessels.com/dev/2017/10/27/ffmpeg-x265.html

After compiling the 2 above libraries, I set the pkg-config path to where I have installed x265 --> verify that it is there certainly and run the ffmpeg configure command:

CPPFLAGS="$CPPFLAGS -I/usr/local/x86_64-w64-mingw32/include" ./configure --extra-ldflags='-L/usr/local/x86_64-w64-mingw32/lib'--prefix=/usr/local/x86_64-w64-mingw32 --target-os=mingw32 --enable-w32threads --arch=x86_64 --enable-runtime-cpudetect --enable-static --disable-shared --enable-gpl --enable-libx264 --enable-libx265 --enable-asm --enable-x86asm

And it ended up with this message which I wonder if the reason could be an incompatible x265 version with your ffmpeg?
Do I need to compile a specific x265 one for it to work?

image

Thank you so much.

@numberwolf
Copy link
Owner

Hello Mr,

I have been trying to compile ffmpeg on Windows 10 (using your src code) with x264 and x265 since the last week and everytime I thought I have gotten it, the process fails with a new kind of error and this time is the one that I have no clue on how to overcome it. To be more specific, I have followed 2 tutorials that I found:

x264: https://cwiki.apache.org/confluence/download/attachments/27838216/FFmpeg%20compilation%20in%20Windows%2010.pdf?version=4&modificationDate=1513618557000&api=v2

x265: http://www.gregwessels.com/dev/2017/10/27/ffmpeg-x265.html

After compiling the 2 above libraries, I set the pkg-config path to where I have installed x265 --> verify that it is there certainly and run the ffmpeg configure command:

CPPFLAGS="$CPPFLAGS -I/usr/local/x86_64-w64-mingw32/include" ./configure --extra-ldflags='-L/usr/local/x86_64-w64-mingw32/lib'--prefix=/usr/local/x86_64-w64-mingw32 --target-os=mingw32 --enable-w32threads --arch=x86_64 --enable-runtime-cpudetect --enable-static --disable-shared --enable-gpl --enable-libx264 --enable-libx265 --enable-asm --enable-x86asm

And it ended up with this message which I wonder if the reason could be an incompatible x265 version with your ffmpeg?
Do I need to compile a specific x265 one for it to work?

image

Thank you so much.

It looks like that you have not link the libx265.

Do you install the x265 librarys?

@hnguyen48206
Copy link
Author

Yes sir, I think I do have x265 linked using pkg path.

image

@numberwolf
Copy link
Owner

Yes sir, I think I do have x265 linked using pkg path.

image

Here compile guide :https://trac.ffmpeg.org/wiki/CompilationGuide

you can compile with it

@123JRM
Copy link

123JRM commented Aug 4, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants