FFmpeg-QuQi-H265-FLV-RTMP icon indicating copy to clipboard operation
FFmpeg-QuQi-H265-FLV-RTMP copied to clipboard

Request for a complete build version of this great modification!

Open hnguyen48206 opened this issue 3 years ago • 13 comments

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.

hnguyen48206 avatar Jul 24 '21 05:07 hnguyen48206

Which platform? mac/linux/win?

numberwolf avatar Jul 25 '21 05:07 numberwolf

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

hnguyen48206 avatar Jul 25 '21 05:07 hnguyen48206

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

hnguyen48206 avatar Jul 27 '21 02:07 hnguyen48206

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

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

numberwolf avatar Jul 27 '21 03:07 numberwolf

It's really not hard to compile yourself if your motivated. These guys already do a significant amount of work every day without compensation from anyone. When quqi first came out with his rtmp using h265 it was only for mac and i needed it for PC, i spent a few weeks learning where the code was different and eventually slipped the code into a windows build. Then i used the dll's for OBS and now i can stream h265 over rtmp in obs using nvidia acceleration. Now i need to fix wowza so it will make h265 hls.

When people give you code for free, you should do your own work to understand how to use it in your own application.

Keep in mind that it can be illegal or a violation of copyright laws for someone to provide compiled executables that are completely legal for you to compile on your own.

On Sun, Jul 25, 2021, 1:03 AM yanlong @.***> wrote:

Which platform? mac/linux/win?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/numberwolf/FFmpeg-QuQi-H265-FLV-RTMP/issues/7#issuecomment-886147411, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIW77MFFPQFDASDK7L3IKIDTZOLLBANCNFSM5A5ES4FQ .

123JRM avatar Jul 27 '21 03:07 123JRM

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

numberwolf avatar Jul 27 '21 06:07 numberwolf

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.

hnguyen48206 avatar Jul 27 '21 08:07 hnguyen48206

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

numberwolf avatar Jul 27 '21 15:07 numberwolf

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.

hnguyen48206 avatar Aug 03 '21 04:08 hnguyen48206

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?

numberwolf avatar Aug 03 '21 08:08 numberwolf

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

image

hnguyen48206 avatar Aug 04 '21 01:08 hnguyen48206

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

numberwolf avatar Aug 04 '21 02:08 numberwolf

you may wish to also add hardware support as I have, encoding h265 is much easier with nvidia nvenc and it works great with RTMP also you can add all this to OBS if you build the static and transplant the DLL into your obs system.

I believe this and the extra libraries linked will do the trick ...

--enable-nonfree --enable-nvenc --enable-libx264 --enable-gpl --enable-cuda --enable-cuvid --enable-cuda-nvcc

Kind Regards,

Jeffrey Morrison

954.214.6322

On Tue, Aug 3, 2021 at 10:57 PM yanlong @.***> wrote:

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

[image: image] https://user-images.githubusercontent.com/28868992/128106799-dfd0835c-d8ec-48ff-90a6-b2dc19b82276.png

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

you can compile with it

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/numberwolf/FFmpeg-QuQi-H265-FLV-RTMP/issues/7#issuecomment-892321022, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIW77MAX3OUQFYKUDCR2YMLT3CUCLANCNFSM5A5ES4FQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

123JRM avatar Aug 04 '21 18:08 123JRM