sentriz / betanin

beets based mitm of your torrent client and music player
GNU General Public License v3.0
341 stars 16 forks source link

ffmpeg aac #110

Closed firu82 closed 11 months ago

firu82 commented 11 months ago

Hello the Convert AAC plugin It works but it doesn't convert anything in Docker This function is available ffmpeg in the container?

Thank you

sentriz commented 11 months ago

hello, could you elaborate some more? not sure I understand.

also ffmpeg is included in the container

firu82 commented 11 months ago

the ffmpeg inside of the docker compose not support AAC-LC encoders (aac, libfdk_aac to mp4 music files

sentriz commented 11 months ago

can you give an example ffmpeg command which fails?

firu82 commented 11 months ago

ffmpegnoaac

the ffmpeg build in the container not have the aac encoder libfdk_aac

the commands work fine but no convert filies missin encoder

https://trac.ffmpeg.org/wiki/Encode/AAC

sentriz commented 11 months ago

ffmpeg comes with 3 different AAC encoders seemingly. but libfdk is the proprietary one. do you have an example of a command which fails?

like some ffmpeg -i in.mp4 out.aac

firu82 commented 11 months ago

Hi, the Alpine Linux version of FFMPEG does not come with codec. I've solved it by copying another version of FFMPEG into Container and now it works perfectly If it were possible in the FFMPEG Export P PTAH container to be able to use your own version it would be wonderful Great job thank you

betanin betanin1

sentriz commented 11 months ago

ok glad you got it working. maybe then a good-enough solution is for you to run the container with volume

volumes:
  path/to/custom/ffmpeg:/usr/local/bin/ffmpeg

?

or else a custom docker image to overwrite

FROM sentriz/betanin
RUN <install custom ffmpeg>

because i'm not sure i want to have a custom ffmpeg with --non-free for everyone. hope this makes sense! thanks

firu82 commented 11 months ago

Ok thanks I'm going to dig