Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
Am Mo., 13. Apr. 2020 um 09:59 Uhr schrieb Vincent Torri : > advantage : cross compiling on linux is a lot faster than compiling with MSYS2 Which is the reason I use wsl (which also allows cross-compiling in case native compilation isn't fast enough for you). Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
On Mon, Apr 13, 2020 at 1:43 AM Carl Eugen Hoyos wrote: > > Am Mo., 13. Apr. 2020 um 01:33 Uhr schrieb Mark Filipak > : > > > > On 04/12/2020 07:24 PM, Carl Eugen Hoyos wrote: > > > Am Mo., 13. Apr. 2020 um 01:18 Uhr schrieb Mark Filipak > > > : > > > > > >> I'd like to give the path described by the ffmpeg docs a try. If that > > >> doesn't work, then I'll try your path. Okay? > > > > > > Obviously not. > > > > > > But otoh: What else should I have expected? > > > I don't know why it's *obviously not* okay to follow the path outlined > > in the ffmpeg docs, but so be it. > > > > I don't know what you mean by "What else should I have expected?" > > I suggested to use wsl because that is how I compile FFmpeg on Windows > and this works (surprisingly) fast and very similar to compiling on other > platforms. > Last time I tested msys, it was not fast, I don't know if this has changed. if you are talking about MSYS from the MinGW (dead) project, then yes, it's slow. MSYS2 is faster though > I consider installing wsl simple, last time I installed msys, it was less > simple, I don't know if this has changed. MSYS2 is simple to install, it uses a win32 port to install packages that is what I use to compile ffmpeg (among other libs). ffmpeg is also compiled and available with pacman : https://packages.msys2.org/package/mingw-w64-x86_64-ffmpeg > I suspect the "ffmpeg docs" (not sure what exactly you mean with it) were > written before wsl existed. > > But given our exchange so far, I wasn't extremely surprised that you > did not want to follow what I suggested. > > If you absolutely want to cross-compile from a Linux box for Windows, > this also works fine but I always only saw disadvantages. That is why > I suggested wsl. advantage : cross compiling on linux is a lot faster than compiling with MSYS2 regards Vincent Torri ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
Carl Zwanzig (12020-04-12): > It's amazing how much it seems like half the regular posters here are more > intent on questioning the question than answering it. It's amazing how some adult people don't realize that questions contain assumptions that need to be challenged when they are wrong. It's amazing how some people want help but don't respect the expertise of the people they want help from. -- Nicolas George signature.asc Description: PGP signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
Am Mo., 13. Apr. 2020 um 02:10 Uhr schrieb Reindl Harald : > > > > Am 13.04.20 um 01:44 schrieb Carl Eugen Hoyos: > > Am Mo., 13. Apr. 2020 um 01:43 Uhr schrieb Carl Zwanzig : > > > >>> (Why on earth do you need --static for a Windows build?) > >> > >> Because I want one, that's why (and I've been around long enough to > >> understand the tradeoffs). Why must you question it? > > > > Then allow me to rephrase because I apparently don't understand: > > What is different about the resulting binary if you don't use --static? > > the better question is: does it any harm and why do you need question > every single option over the years whoever someone uses? > > if you don't like all the configure params why do they exist at all? In this specific case, the option is needed for some Linux users. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
Am 13.04.20 um 01:44 schrieb Carl Eugen Hoyos: > Am Mo., 13. Apr. 2020 um 01:43 Uhr schrieb Carl Zwanzig : > >>> (Why on earth do you need --static for a Windows build?) >> >> Because I want one, that's why (and I've been around long enough to >> understand the tradeoffs). Why must you question it? > > Then allow me to rephrase because I apparently don't understand: > What is different about the resulting binary if you don't use --static? the better question is: does it any harm and why do you need question every single option over the years whoever someone uses? if you don't like all the configure params why do they exist at all? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
On 04/12/2020 08:01 PM, Carl Eugen Hoyos wrote: Am Mo., 13. Apr. 2020 um 02:00 Uhr schrieb Mark Filipak : I really don't understand why you insist that I justify everything. I am just a curious developer. Curiousness is good; it's wonderful. Oh, how I wish I could write and understand German because I suspect that would help. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
Am Mo., 13. Apr. 2020 um 02:00 Uhr schrieb Mark Filipak : > I really don't understand why you insist that I justify everything. I am just a curious developer. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
On 04/12/2020 07:49 PM, Carl Eugen Hoyos wrote: Am Mo., 13. Apr. 2020 um 01:46 Uhr schrieb Mark Filipak : Sorry, but I will not connect Windows to the Internet. It's not safe. So, if building on a Windows box implies doing a 'git sync' implies connecting Windows to the Internet, it's a non-starter. Then you will cross-compile from Linux, that is not how I do it but to the best of my knowledge, many people do it and there should be a lot of documentation. The unavoidable question is now: Why do you need a Windows binary at all? Or did I only imagine that you were using a Windows binary? My TV is connected to the display port, which is driven by Windows. I do all my ffmpeg work in Windows. The source videos are on a USB JBOD array that's connected to Windows and that I choose not to connect to the Linux VM. I do all my work on a RAID-0 (drive C:\) that also contains Windows and I choose not to share it with the Linux VM. I hope those are good reasons for cross-compiling. I really don't understand why you insist that I justify everything. Users are not stupid, just naive regarding ffmpeg. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
Am Mo., 13. Apr. 2020 um 01:51 Uhr schrieb Mark Filipak : > > On 04/12/2020 07:43 PM, Carl Eugen Hoyos wrote: > > Am Mo., 13. Apr. 2020 um 01:33 Uhr schrieb Mark Filipak > > : > >> > >> On 04/12/2020 07:24 PM, Carl Eugen Hoyos wrote: > >>> Am Mo., 13. Apr. 2020 um 01:18 Uhr schrieb Mark Filipak > >>> : > >>> > I'd like to give the path described by the ffmpeg docs a try. If that > doesn't work, then I'll try your path. Okay? > >>> > >>> Obviously not. > >>> > >>> But otoh: What else should I have expected? > > > >> I don't know why it's *obviously not* okay to follow the path outlined > >> in the ffmpeg docs, but so be it. > >> > >> I don't know what you mean by "What else should I have expected?" > > > > I suggested to use wsl because that is how I compile FFmpeg on Windows > > and this works (surprisingly) fast and very similar to compiling on other > > platforms. > > Last time I tested msys, it was not fast, I don't know if this has changed. > > I consider installing wsl simple, last time I installed msys, it was less > > simple, I don't know if this has changed. > > > > I suspect the "ffmpeg docs" (not sure what exactly you mean with it) were > > written before wsl existed. > > > > But given our exchange so far, I wasn't extremely surprised that you > > did not want to follow what I suggested. > > Because you scare the piss out of me, Carl Eugen. I understand so little > of what you write, and you (and others) get so angry when I don't. Don't worry: I wrote the above (incorrectly) assuming that you want a Windows binary, that you can build on Windows (at least in theory) and that you assumed cross-compilation from Linux is necessary (as it was once upon a time). If you don't want to use a Windows box to compile, you will have to cross-compile from Linux, there are other people who do this more regularly than me (I never do it). Sorry for making too many assumptions, Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
On 04/12/2020 07:43 PM, Carl Eugen Hoyos wrote: Am Mo., 13. Apr. 2020 um 01:33 Uhr schrieb Mark Filipak : On 04/12/2020 07:24 PM, Carl Eugen Hoyos wrote: Am Mo., 13. Apr. 2020 um 01:18 Uhr schrieb Mark Filipak : I'd like to give the path described by the ffmpeg docs a try. If that doesn't work, then I'll try your path. Okay? Obviously not. But otoh: What else should I have expected? I don't know why it's *obviously not* okay to follow the path outlined in the ffmpeg docs, but so be it. I don't know what you mean by "What else should I have expected?" I suggested to use wsl because that is how I compile FFmpeg on Windows and this works (surprisingly) fast and very similar to compiling on other platforms. Last time I tested msys, it was not fast, I don't know if this has changed. I consider installing wsl simple, last time I installed msys, it was less simple, I don't know if this has changed. I suspect the "ffmpeg docs" (not sure what exactly you mean with it) were written before wsl existed. But given our exchange so far, I wasn't extremely surprised that you did not want to follow what I suggested. Because you scare the piss out of me, Carl Eugen. I understand so little of what you write, and you (and others) get so angry when I don't. If you absolutely want to cross-compile from a Linux box for Windows, this also works fine but I always only saw disadvantages. That is why I suggested wsl. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
Am Mo., 13. Apr. 2020 um 01:46 Uhr schrieb Mark Filipak : > Sorry, but I will not connect Windows to the Internet. It's not safe. So, if > building on a Windows > box implies doing a 'git sync' implies connecting Windows to the Internet, > it's a non-starter. Then you will cross-compile from Linux, that is not how I do it but to the best of my knowledge, many people do it and there should be a lot of documentation. The unavoidable question is now: Why do you need a Windows binary at all? Or did I only imagine that you were using a Windows binary? Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
On 04/12/2020 07:20 PM, Carl Zwanzig wrote: On 4/12/2020 3:57 PM, Mark Filipak wrote: [Note 1] I'm pretty sure that a git project requires continuous access to the Internet. My Internet access is solely via a VBox Linux guest, so it seems reasonable that ffmpeg must be compiled from within Linux. FWIW, I build on a windows box in mingw64 after a git sync (so no continual net connection needed after sync). Hi Carl! Thanks for helping. May I ask questions? Sorry, but I will not connect Windows to the Internet. It's not safe. So, if building on a Windows box implies doing a 'git sync' implies connecting Windows to the Internet, it's a non-starter. On the other hand, that may not be what you mean? Can you comment/clarify? I've never done this stuff before. Thanks. The config string- --extra-cflags=-I/mingw64/include --extra-ldflags=-L/mingw64/lib --extra-version=static \ --extra-cflags=--static --enable-static --disable-debug --disable-shared --disable-ffplay \ --disable-ffprobe --disable-doc --enable-decklink --enable-avfilter --extra-cflags=-I/mingw64/include/BMD It was fairly straightforward to set up, but I can't readily grab that info at the moment. What is being configured by the 'config string' above? ...I suppose it will become clearer down the path I'm trodding, but in the mean time, I'm stuck. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
Am Mo., 13. Apr. 2020 um 01:43 Uhr schrieb Carl Zwanzig : > > (Why on earth do you need --static for a Windows build?) > > Because I want one, that's why (and I've been around long enough to > understand the tradeoffs). Why must you question it? Then allow me to rephrase because I apparently don't understand: What is different about the resulting binary if you don't use --static? Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
Am Mo., 13. Apr. 2020 um 01:33 Uhr schrieb Mark Filipak : > > On 04/12/2020 07:24 PM, Carl Eugen Hoyos wrote: > > Am Mo., 13. Apr. 2020 um 01:18 Uhr schrieb Mark Filipak > > : > > > >> I'd like to give the path described by the ffmpeg docs a try. If that > >> doesn't work, then I'll try your path. Okay? > > > > Obviously not. > > > > But otoh: What else should I have expected? > I don't know why it's *obviously not* okay to follow the path outlined > in the ffmpeg docs, but so be it. > > I don't know what you mean by "What else should I have expected?" I suggested to use wsl because that is how I compile FFmpeg on Windows and this works (surprisingly) fast and very similar to compiling on other platforms. Last time I tested msys, it was not fast, I don't know if this has changed. I consider installing wsl simple, last time I installed msys, it was less simple, I don't know if this has changed. I suspect the "ffmpeg docs" (not sure what exactly you mean with it) were written before wsl existed. But given our exchange so far, I wasn't extremely surprised that you did not want to follow what I suggested. If you absolutely want to cross-compile from a Linux box for Windows, this also works fine but I always only saw disadvantages. That is why I suggested wsl. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
On 4/12/2020 4:25 PM, Carl Eugen Hoyos wrote: This will not work for Mark. It probably would if he used mingw and wanted BMD support. If he doesn't, then course it wouldn't. I expect that Mark could understand that. (Why on earth do you need --static for a Windows build?) Because I want one, that's why (and I've been around long enough to understand the tradeoffs). Why must you question it? It's amazing how much it seems like half the regular posters here are more intent on questioning the question than answering it. z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
On 04/12/2020 07:24 PM, Carl Eugen Hoyos wrote: Am Mo., 13. Apr. 2020 um 01:18 Uhr schrieb Mark Filipak : I'd like to give the path described by the ffmpeg docs a try. If that doesn't work, then I'll try your path. Okay? Obviously not. But otoh: What else should I have expected? Carl Eugen I don't know why it's *obviously not* okay to follow the path outlined in the ffmpeg docs, but so be it. I don't know what you mean by "What else should I have expected?" ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
Am Mo., 13. Apr. 2020 um 01:20 Uhr schrieb Carl Zwanzig : > > On 4/12/2020 3:57 PM, Mark Filipak wrote: > > [Note 1] I'm pretty sure that a git project requires continuous access to > > the Internet. My Internet access is solely via a VBox Linux guest, so it > > seems reasonable that ffmpeg must be compiled from within Linux. > FWIW, I build on a windows box in mingw64 after a git sync (so no continual > net connection needed after sync). > > The config string- > --extra-cflags=-I/mingw64/include --extra-ldflags=-L/mingw64/lib > --extra-version=static \ > --extra-cflags=--static --enable-static --disable-debug --disable-shared > --disable-ffplay \ > --disable-ffprobe --disable-doc --enable-decklink --enable-avfilter > --extra-cflags=-I/mingw64/include/BMD This will not work for Mark. (Why on earth do you need --static for a Windows build?) Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
Am Mo., 13. Apr. 2020 um 01:18 Uhr schrieb Mark Filipak : > I'd like to give the path described by the ffmpeg docs a try. If that > doesn't work, then I'll try your path. Okay? Obviously not. But otoh: What else should I have expected? Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
On 4/12/2020 3:57 PM, Mark Filipak wrote: [Note 1] I'm pretty sure that a git project requires continuous access to the Internet. My Internet access is solely via a VBox Linux guest, so it seems reasonable that ffmpeg must be compiled from within Linux. FWIW, I build on a windows box in mingw64 after a git sync (so no continual net connection needed after sync). The config string- --extra-cflags=-I/mingw64/include --extra-ldflags=-L/mingw64/lib --extra-version=static \ --extra-cflags=--static --enable-static --disable-debug --disable-shared --disable-ffplay \ --disable-ffprobe --disable-doc --enable-decklink --enable-avfilter --extra-cflags=-I/mingw64/include/BMD It was fairly straightforward to set up, but I can't readily grab that info at the moment. z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
On 04/12/2020 07:05 PM, Carl Eugen Hoyos wrote: Am Mo., 13. Apr. 2020 um 00:57 Uhr schrieb Mark Filipak : Following instructions here: https://github.com/rdp/ffmpeg-windows-build-helpers We do not support external scripts on this mailing list. I don't know what that means, Carl Eugen. Do you mean you-of-the-list won't help debugging scripts that don't work or break? Linux, git build scripts or Windows scripts? I'd like to give the path described by the ffmpeg docs a try. If that doesn't work, then I'll try your path. Okay? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
Am Mo., 13. Apr. 2020 um 01:05 Uhr schrieb Carl Eugen Hoyos : > For gcc, there is an Ubuntu incantation to install the Windows toolchain. $ sudo apt-get install gcc-mingw-w64 Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Preparing to compile ffmpeg from git source -- stuck
Am Mo., 13. Apr. 2020 um 00:57 Uhr schrieb Mark Filipak : > Following instructions here: > https://github.com/rdp/ffmpeg-windows-build-helpers We do not support external scripts on this mailing list. If you want to compile for Windows, install wsl (wsl2 does not work here, wsl works fine). Then decide if you want to use msvc, clang or gcc for compilation. For gcc, there is an Ubuntu incantation to install the Windows toolchain. While this is not necessarily a cross-compilation, I suspect using the configure option "cross-prefix" is easiest. For msvc / clang, you do not need the whole Visual Studio, only the Build Tools for Visual Studio are needed. For clang and msvc, use the configure option "toolchain=msvc" In both cases, you don't need a cross compilation, just tell the configure script that your host os is win32. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".