Comments (5)
Hey. Thanks for the report.
No, the test vectors weren't changed.
On my machine and on Travis the tests succeed. What version of ffmpeg are you using on what OS?
from stempeg.
Hi @faroit
I'm using version 2.8.11 on Ubuntu 16.04. Specifically, this is the output of ffmpeg -version
:
ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
from stempeg.
okay, I can now reproduce your issue on travis: https://travis-ci.org/faroit/stempeg/builds/326423503
Basically this means ffmpeg > 3 decode the file differently regarding the zeros padding. I don't know yet what would be the best solution. Either force users to upgrade ffmpeg extending zeros to the output from within python
from stempeg.
Okay, I figures out the difference.
it is because the older version ships with a different aac decoder which pads 2048 samples of silence in the beginning whereas the newer versions do only append 1024 samples:
https://travis-ci.org/faroit/stempeg/jobs/326442731#L511
from stempeg.
Okay I did not find a better solution than issue a UserWarning if the ffmpeg version < 3 and the duration in samples cannot be divided by 1024 when writing stems.
Sorry, but these codecs are a mess....
from stempeg.
Related Issues (20)
- Support seeking HOT 2
- check if ffmpeg and ffprobe is installed HOT 1
- Stems write - Format not recognised HOT 8
- Add a check for mono files HOT 1
- OSX quicklook support HOT 8
- Publishing conda package on conda-forge HOT 1
- Reading is too slow HOT 2
- add audio2stem cli HOT 1
- Evaluate dropping soundfile
- A loading error in Win System. HOT 6
- Native Instruments (Traktor) Format HOT 36
- add docs HOT 1
- ffmpeg -version contains letter in version string HOT 1
- switch from travis to github worflow HOT 1
- Support reading from file-like objects
- 16 bit flac output conversion? HOT 3
- stempeg.read_stems got an unexpected keyword argument 'sample_rate' 'ffmpeg_format' HOT 2
- warnings.warning() does not exist HOT 1
- Add ffmpeg 5 tests
- Ffprobe command returns non-zero exit status 3221225478 HOT 9
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 stempeg.