Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread Carl Zwanzig
On 1/31/2023 12:33 PM, Ricardo Zacarias wrote: I was running under the false assumption that since I can turn an executable (ffmpeg) into a dll, then the dll must also be executable. (using the terms as commonly understood) You cannot turn an executable file into a DLL without repackaging it; th

Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread David Niklas
I just have to say that this whole discussion has me laughing out loud at my keyboard. The conversation is so funny and clueless. Thanks for making my day, David ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmp

Re: [FFmpeg-user] Generating HLS chunks on demand

2023-01-31 Thread Vincent Deconinck
Hi, Here is my progress report. I wanted to understand why files (even the ones created with the hls muxer) cannot be played smoothly one after the other if they were generated by different runs. So I executed 13 HLS encodings (A-M) of different parts of the first 36 seconds of my sample file. I

Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread Ricardo Zacarias
Carl Zwanzig wrote: > It sounds like you are really unclear on the differences between shared > *libraries* and *executable files* You are absolutely right. I was running under the false assumption that since I can turn an executable (ffmpeg) into a dll, then the dll must also be executable.

Re: [FFmpeg-user] New user question

2023-01-31 Thread Patrick Cusack via ffmpeg-user
> This is my first time using FFMPEG. We are trying to use it to convert media > files to HAP. I loaded the latest version, but when we try to transcode a > file, it returns " Unknown encoder 'hap' ". How do I load the hap encoder to > the system? Please include your command that you use for

[FFmpeg-user] FW: New user question

2023-01-31 Thread Scott Perrilloux
This is my first time using FFMPEG. We are trying to use it to convert media files to HAP. I loaded the latest version, but when we try to transcode a file, it returns " Unknown encoder 'hap' ". How do I load the hap encoder to the system? ___

Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread Carl Zwanzig
On 1/31/2023 10:46 AM, Ricardo Zacarias wrote: I thought that shared object files (.so) were similar to dynamically linked libraries (.dll) and that they can be used as executables. They are, and they can't. Real DLLs cannot be directly executed but they can be called by executable files. The

Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread Ricardo Zacarias
Carl Zwanzig wrote: > That's because 'ffmpeg' is an executable, not a library- I thought that shared object files (.so) were similar to dynamically linked libraries (.dll) and that they can be used as executables. So if I can get ffmpeg to be built as a dll, should I not be able to create a .so

Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread Carl Zwanzig
On 1/31/2023 7:06 AM, Ricardo Zacarias wrote: but there is still no FFmpeg.so file being created in its place. That's because 'ffmpeg' is an executable, not a library- # file /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically lin

Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread Ricardo Zacarias
Sorry if the previous questions have not been clear. I have been using the compilation and installation steps for FFmpeg found here: https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu. At the end of the process, when I run the 'make install' command, an executable named 'ffmpeg' gets placed in

Re: [FFmpeg-user] errors in encoding avc x264 to av1 using latest ffmpeg libaom linux

2023-01-31 Thread Ferdi Scholten
On 31-01-2023 17:05, Guddla Rupesh wrote: Hi in the attachments below I am providing the script which consists of ffmpeg commands to convert a x264 MP4 video file to av1 using latest ffmpeg and libaom. After that I have given the attachment of output of running the script. Kindly try to sugg

Re: [FFmpeg-user] errors in encoding avc x264 to av1 using latest ffmpeg libaom linux

2023-01-31 Thread Guddla Rupesh
Hi in the attachments below I am providing the script which consists of ffmpeg commands to convert a x264 MP4 video file to av1 using latest ffmpeg and libaom. After that I have given the attachment of output of running the script. Kindly try to suggest what's wrong and run the above script witho

Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread Reindl Harald
for the sake of god stop top-posting Am 31.01.23 um 16:06 schrieb Ricardo Zacarias: Adding the '--disable-programs' option caused the build to not create an executable, but there is still no FFmpeg.so file being created in its place. Or is this something that I would have to manually create?

Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread Ricardo Zacarias
Adding the '--disable-programs' option caused the build to not create an executable, but there is still no FFmpeg.so file being created in its place. Or is this something that I would have to manually create? From: ffmpeg-user on behalf of Reindl Harald Sent:

Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread Reindl Harald
Am 31.01.23 um 15:21 schrieb Ricardo Zacarias: Got it. So not static. So if I wanted to have it dynamic, to produce a .so file, I would need '--disable-static' and '--enable-shared' instead. Anything else you could recommend? I replaced those options, but the resulting FFmpeg build is still

Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread Ricardo Zacarias
Got it. So not static. So if I wanted to have it dynamic, to produce a .so file, I would need '--disable-static' and '--enable-shared' instead. Anything else you could recommend? I replaced those options, but the resulting FFmpeg build is still an executable and is not in .so format. __

Re: [FFmpeg-user] How to compile static FFmpeg to a .so file?

2023-01-31 Thread Mark Harfouche
On linux. static = .a, dynamic = .so On Mon, Jan 30, 2023 at 1:22 PM Ricardo Zacarias wrote: > I am trying to build a static ffmpeg to produce a .so file. > I was able to build FFmpeg into a Windows dll using this configuration. > > ./configure --extra-ldexeflags='-dll' --target-os=win64 --arch=