Comments (2)
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:
-
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). -
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.
Closing issue as the err issue has been described elsewhere.
from node-fluent-ffmpeg.
Related Issues (20)
- FFmpeg Error: Error: Output format wav is not available HOT 3
- Is it possible to write multiple output files from a complex filter? HOT 1
- How to record screen on Mac?
- How to add cover image to audio on the "fly" (stream) ?
- pass text file to complexFilter
- ffmpeg : ffmpeg error :Output format xxx is not available HOT 1
- Error: Cannot find ffmpeg on Azure Function HOT 1
- Take url as input HOT 2
- How do I use transitions in fluent-ffmpeg
- When I install v2.1.3 package is really large and contains coverage directory
- Error: Input format lavfi is not available
- ReferenceError: `__dirname` is not defined
- Property 'on' does not exist on type 'FfmpegCommand'. Did you mean to access the static member 'FfmpegCommand.on' instead? HOT 4
- Crash when setting ffmpeg path after successfully converting
- vstack passthrough stream of buffered images HOT 1
- Crush on second instance of ffmpeg HOT 1
- Input format v4l2 is not available
- Can someone help me use fetch to transcode and return a response object that is a stream? HOT 1
- Input Format dshow is not avaiable
- ReferenceError: setImmediate is not defined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-fluent-ffmpeg.