Giter Club home page Giter Club logo

Comments (2)

tommedema avatar tommedema commented on July 17, 2024

Wow, after installing libogg and libvorbis, then configuring with --disable-encoder=vorbis --enable-libvorbis and reinstalling ffmpeg as well as using .withAudioCodec('libvorbis'), audio quality is super-great and the file size went from 5MB to... 1.9MB. Insane. From 28MB to 2MB by using a different codec library, with exactly the same settings (44100Hz, 128Kbit/sec etc.).

Two slight worries though, maybe you can help here:

  1. I'm getting [mp3 @ 0x1993400] max_analyze_duration 5000000 reached at 5015510 as part of the err output, yet conversion seems to go fine. The output file is complete as well (duration is the same).

  2. There err parameter always seems to be filled with a complete log, even if there is no error (the one of the writeToStream callback. Output looks like this:

    ffmpeg version git-N-30727-gd127d26, Copyright (c) 2000-2011 the FFmpeg developers built on Jun 12 2011 14:49:21 with gcc 4.4.5 configuration: --disable-encoder=vorbis --enable-libvorbis libavutil 51. 8. 0 / 51. 8. 0 libavcodec 53. 7. 0 / 53. 7. 0 libavformat 53. 3. 1 / 53. 3. 1 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 15. 1 / 2. 15. 1 libswscale 0. 14. 1 / 0. 14. 1 [mp3 @ 0x1993400] max_analyze_duration 5000000 reached at 5015510 Input #0, mp3, from 'pipe:': Metadata: title : Karma Police album : The Best Of Radiohead track : 05/17 encoded_by : Exact Audio Copy (Secure mode) publisher : Capitol artist : Radiohead album_artist : Radiohead genre : Alternative composer : Radiohead date : 2008 Duration: 00:04:20.64, start: 0.000000, bitrate: N/A Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 186 kb/s Output #0, ogg, to 'pipe:1': Metadata: title : Karma Police album : The Best Of Radiohead TRACKNUMBER : 05/17 encoded_by : Exact Audio Copy (Secure mode) publisher : Capitol artist : Radiohead ALBUMARTIST : Radiohead genre : Alternative composer : Radiohead date : 2008 encoder : Lavf53.3.1 Stream #0.0: Audio: libvorbis, 44100 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 size= 1904kB time=00:04:20.62 bitrate= 59.8kbits/s video:0kB audio:1882kB global headers:4kB muxing overhead 0.948059%

Could this be a bug?

from node-fluent-ffmpeg.

tommedema avatar tommedema commented on July 17, 2024

Closing issue as the err issue has been described elsewhere.

from node-fluent-ffmpeg.

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.