Giter Site home page Giter Site logo

Comments (9)

PikuZheng avatar PikuZheng commented on June 30, 2024

yes...but can you confirm your ffmpeg support flac encode?

on my pc---->

localhost:~# docker run -it --rm metube:20240522v2 '/usr/local/bin/ffmpeg' '-codecs' | grep flac
 DEAI.S flac                 FLAC (Free Lossless Audio Codec)                      <--------------EA means support flac audio encode

from metube.

jannme310103 avatar jannme310103 commented on June 30, 2024

I don't exactly know, I'll check that if I'm back at home later

from metube.

jannme310103 avatar jannme310103 commented on June 30, 2024

So I checked it, I would say it's able to encode flac
I've checked it with this command

ffmpeg -i /home/jann/Sickmodel R Mish\ I One\ And\ only\ (Uptemp ol Edit).flac -f null -

and this is the output:

ffmpeg version 5.1.4-0+rpt3+deb12ul Copyright (c) 2000-2023 the FFmpeg developers built with gcc 12 (Debian 12.2.0-14) configuration: --prefix=/usr --extra-version=0+rpt3+deb12ul --toolchain=hardened --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --disabl e-mmal --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-li bbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --en able-libdavld --enable-libflite --enable-libfontconfig --enable-libfreetype --enab le-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt - -enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-l ibrubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspe ex --enable-libsrt --enable-libssh --enable-libsvtavl --enable-libtheora --enable-
libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libz --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --en mq able-opengl --enable-sand --enable-sdl2 --disable-sndio --enable-libjxl --enable-n eon --enable-v4l2-request --enable-libudev --enable-epoxy --libdir=/usr/lib/aarch6 4-linux-gnu --arch=arm64 --enable-pocketsphinx -- enable-librsvg --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint -ena ble-freior --enable-libx264 --enable-libplacebo --enable-libravle --enable-shared libavutil 57. 28.100 / 57 28.100 libavcodec 59. 37.100 /59 37.100 libavformat 59. 27.100 /59 27.100 libavdevice 59 7.100 59. 7.100 libavfilter 8 44.100 8 44.100 libswscale 6 7.100 7.100 libswresample 4 7.100 4. 7.100 56 6.100 56. 6.100 from /home/jann/Sickmode & Mish - One And Only (Uptempo Edit).fla
libpostproc Input #0, flac,
c':
Metadata: encoder
Lavf58.20.100
Duration:
00:00:45.81,
start:
0.000000,
bitrate:
1052 kb/s
Stream #0:0:
Audio:
flac,
44100 Hz,
stereo,
s16
Stream mapping: Stream #0:0 ->
#0:0
(flac (native) for help

pcm_s16le
(native))
Press [q] to stop, [?] Output #0, null, to 'pipe:': Metadata:
encoder
Lavf59.27.100
stream #0:0:
Audio:
pcm_sl6le,
44100 Hz, stereo,
s16,
1411 kb/s
Metadata: encoder
Lavc59.37.100
pcm_sl6le
size=N/A time=00:00:45.81 bitrate=N/A speed=1.58e+03x video:0kB audio:7892kB subtitle:okB other streams:OkB global headers:0kB muxing ov erhead: unknown

from metube.

PikuZheng avatar PikuZheng commented on June 30, 2024

ffmpeg -codecs |grep flac plz

from metube.

jannme310103 avatar jannme310103 commented on June 30, 2024

Looking good

root@raspi:/# ffmpeg -codecs I grep flac ffmpeg version 5.1.4-0+rpt3+deb1l2ul Copyright (c) 2000-2023 the FFmpeg developers built with gcc 12 (Debian 12.2.0-14) configuration: --prefix=/usr --extra-version=0+rpt3+deb12u1 --toolchain=hardened --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --disabl e-mmal --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-li bbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --en able-libdavld --enable-libflite --enable-libfontconfig --enable-libfreetype --enab le-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt - -enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-l ibrubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspe ex --enable-libsrt --enable-libssh --enable-libsvtavl --enable-libtheora --enable- libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libz mq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --en able-opengl --enable-sand --enable-sdl2 --disable-sndio --enable-libjxl --enable-n eon --enable-v4l2-request --enable-libudev --enable-epoxy --libdir=/usr/lib/aarch6 4-linux-gnu --arch=arm64 --enable-pocketsphinx --enable-librsvg --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --ena ble-freior --enable-libx264 --enable-libplacebo --enable-libravle --enable-shared libavutil 57. 28.100 / 57. 28.100 libavcodec 59. 37.100 / 59. 37.100 libavformat 59. 27.100 / 59. 27.100 libavdevice 59. 7.100 / 59. 7.100 libavfilter 8. 44. . 100 / 8. 44.100 libswscale 6. 7.100 / 6. 7.100 libswresample 4. 7.100 / 4. 7.100 libpostproc 56. 6.100 / 56. 6.100 DEAI.S flac FLAC (Free Lossless Audio Codec)

Screenshot_20240607_032653_Termius.png

from metube.

PikuZheng avatar PikuZheng commented on June 30, 2024

yes. with postprocesser, you can convert audio file to flac easyily. just set
YTDL_OPTIONS={"postprocessors":[{"key":"Exec","exec_cmd":"sh /downloads/execafterdownload.sh","when":"after_move"}]}

file execafterdownload.sh:
ffmpeg -i "$1" -c:a flac "$1.flac"

from metube.

jannme310103 avatar jannme310103 commented on June 30, 2024

I don't know how your description should work and what I have to do :(

Isn't there an easier way?
Maybe just like my question from the beginning, to bring an metube update?

This update then has the possibility to download the video respectively the video audio as a flac file directly?

If you want to explain me your idea to convert the audio file into a flac file, feel free :)
Or is it just me who finds as a first impression your solution is a little bit daunting and looks complicated.

from metube.

PikuZheng avatar PikuZheng commented on June 30, 2024

Maybe just like my question from the beginning, to bring an metube update?

This update then has the possibility to download the video respectively the video audio as a flac file directly?

yes. but it needs a little time

from metube.

jannme310103 avatar jannme310103 commented on June 30, 2024

No problem, I'll be happy to wait :)

Can you inform me in some way as soon as the update is available?

from metube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.