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)
- Output video is not seekable if I am saving the video using writestream() or pipe() in s3. HOT 2
- How to replace audio from existing video with audio using command??
- Update the npm package? HOT 2
- stream upload to s3
- spawn parameter is not defined causing an error
- Is possible to input a media stream / media stream tracks?
- No such file or directory for rtsp url
- Need help converting a video file to MP3 and uploading to AWS S3 HOT 1
- Error: Output format mp4 is not available HOT 14
- videotomp3 conversion issue HOT 2
- Output format dash is not available HOT 3
- Fix to Output format [***] is not available HOT 10
- fmpeg.getAvailableFormats returns no records HOT 2
- 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
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.