Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
11th May 2024, 21:14 | #101 | Link | ||
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,102
|
Quote:
there are several ways to use libfdk_aac. First of all I suggest to have a look at the documentation here: https://trac.ffmpeg.org/wiki/Encode/AAC The commandline parameters are a little different than for the built-in AAC encoder, so you might want to have a look. Your next decision will be if you want to use the software using the command line interface, or if you prefer a GUI. For a CLI I made a simple template you can alter depending on your needs: Quote:
As an alternative you can use an ffmpeg GUI which may be easier and also more powerful. My favorite is dmMediaConverter by Marius Dalacu. Marius was nice enough to integrate libfdk seamlessly into his software, so it is easy to use and still very powerful. You can find all the necessary info and download links here: https://forum.doom9.org/showthread.p...37#post1979037 You should also read the following posts for some additional info and recommendations... If you got questions, please don't hesitate to ask. Cheers manolito Last edited by manolito; 11th May 2024 at 21:24. |
||
11th May 2024, 22:14 | #102 | Link |
Registered User
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 754
|
Thank you Manolito for your response. I have used libfdkaac but I have never used it with ffmpeg outside of their compilation. In the first post Reino explains how to do it (map?) but I would like an example to understand what it is like to use both separately. Anyway, I'll check your information.
|
12th May 2024, 01:10 | #103 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,102
|
Looks like I do not really understand what you mean...
Quote:
Are you talking about some very different libfdkaac file? Please clarify... Cheers manolito |
|
12th May 2024, 14:11 | #104 | Link | ||
Registered User
Join Date: Nov 2005
Posts: 705
|
Quote:
The latest (headers only). Quote:
While reading your question, immediately my gut feeling was, this could be the root cause. Somehow it never crossed my mind to try to use a more up-to-date Avisynth install. I feel so dumb! I've uploaded a new ffms2_cplugin build, which uses the latest revision (from https://github.com/qyot27/ffms2_cplugin.git) and is linked against ffmpeg-6.2-609-238f9de (my previous FFmpeg build from begin this year). I've installed AviSynthPlus_3.7.3_20230715_xp.exe and did some tests. This new ffms2_cplugin build works perfectly now. No more errors. So it was my mistake afterall, not using an up-to-date Avisynth install.
__________________
My hobby website |
||
13th May 2024, 09:38 | #105 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 3,040
|
Oh, that's very good to know!
But... to avoid having a blob in the plugins+ folder, would you mind uploading ffms2 as static rather than shared? Pretty pretty please? |
13th May 2024, 23:54 | #106 | Link |
Registered User
Join Date: Nov 2005
Posts: 705
|
I think you misunderstand. You always have to compile ffms2 with --enable-shared, in order to get 'ffms3.dll'. Hence "shared" in the archive name.
But I can see where the confusion is coming from. Especially because I don't put "shared" in the archive name of libfdk-aac, frei0r, or openssl either. So I've renamed the content or the entire ffms2 dir. I think it's more clear now. Also the filesize would be an indication whether FFmpeg was linked statically, or not.
__________________
My hobby website |
14th May 2024, 07:46 | #107 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 3,040
|
Ahhhhh it was just the name hahahahahahaha gotcha.
Yep, it's indeed static and it works like a charm, I've just put it in my plugins+ folder and I used FFMpegSource2("test.mp4", atrack=-1). Nice! |
15th May 2024, 21:12 | #108 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,102
|
After reading some FFmpeg docs I am a bit scared about version 7.1 backward compatibility. Here is the important part from the 7.0 documentation:
Quote:
Cheers manolito Last edited by manolito; 15th May 2024 at 21:28. |
|
15th May 2024, 22:39 | #109 | Link | |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 3,040
|
Good point, manolito.
For me the big blow was around -map_channels. I use it all the time and it no longer works now. In FFMpeg 7.x this code fails: Quote:
I still have to see how to change it... I guess I'm gonna stick to 6.1.1 for a little bit longer... |
|
17th May 2024, 23:08 | #110 | Link |
Registered User
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 754
|
Sorry for the delay in the response.
Are you talking about some very different libfdkaac file? Please clarify... Manolito: Reino in post #104 has explained it for me. The idea of using both files as Reino suggests As I explained in post #1, put the dll-file in the same map as 'ffmpeg.exe', or in any map listed in the %PATH%-variable. Next, please consult https://trac.ffmpeg.org/wiki/Encode/AAC. Reino: I don't know how to place libfdkaac in the same ffmpeg map, if someone can explain it to me with an example I would greatly appreciate it, like in the link above. Edit: Manolito, with dmMediaconverter you can use libfdkaac with ffmpeg but I don't know how to integrate them... Last edited by GMJCZP; 17th May 2024 at 23:37. |
18th May 2024, 19:16 | #111 | Link |
Registered User
Join Date: Nov 2005
Posts: 705
|
Have you actually downloaded the latest archive, 'libfdk-aac-2.0.3-win32-xpmod-sse.7z'? That's where you'll find 'libfdk-aac-2.dll'.
__________________
My hobby website |
18th May 2024, 23:24 | #112 | Link |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,102
|
Looks like GMJCZP is mixing up fdkaac.exe which is a standalone audio encoder with lidfdk-aac-xxx.dll which is an FFmpeg plugin. Those two programs serve a completely different purpose and must not be mixed up.
Cheers manolito Last edited by manolito; 18th May 2024 at 23:32. |
19th May 2024, 22:27 | #113 | Link |
Registered User
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 754
|
I explain: I have the two files that Reino has uploaded, but I don't know how to use them as he says in his first post. I use fdkaac.exe in BeHappy but I want to learn how to use libfdkaac with ffmpeg like Reino says but I don't know about mapping
|
19th May 2024, 22:59 | #114 | Link | ||
Registered User
Join Date: Aug 2015
Posts: 309
|
Quote:
Quote:
put the dll-file in the same folder as 'ffmpeg.exe', or in any folder listed in the %PATH%-variable |
||
20th May 2024, 19:32 | #116 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,102
|
@ GMJCZP
Quote:
You can find all the relevant information starting at this post. Make sure to also read the following couple of posts up to #195 : https://forum.doom9.org/showthread.p...37#post1979037 Good luck... manolito Last edited by manolito; 20th May 2024 at 19:37. |
|
20th May 2024, 23:26 | #117 | Link |
Registered User
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 754
|
Thank you all, I will read all the information. So if I put libfdkaac in the same folder as ffmpeg it would be the same as if the library had been compiled inside ffmpeg, right?
Edit: About dmMediaConverter here Can I with that activate libfdkaac? Last edited by GMJCZP; 20th May 2024 at 23:31. |
21st May 2024, 02:07 | #118 | Link | ||
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,102
|
Quote:
https://oss.netfarm.it/mplayer/ Quote:
Cheers manolito |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|