Comments (15)
Thanks for the fast implementation of avs+ properties, @myrsloik.
Can the same be done with drc_scale patch/arg?
I know you are aware of this doom9 post. StvG builds have reverted back commits and they are using the old way of how ffms2 works, and that's why his other patches cannot be incorporated, right? Cannot something be done to eliminate the regression of the upstream builds compared to StvG builds? From the seeking tests I saw in doom9 (I tested with few other samples too) between the StvG builds and the official one, StvG builds are at least good as the official one. It would be great if the upstream builds are at least good as those custom builds.
from ffms2.
Nope, drc would require breaking the ABI unless I think of something really clever and I don't think it's worth it. Are there any other formats with optional information in the bitstream that may or may not be applied and the standard says the user should be able to choose? I can't think of any.
from ffms2.
Thanks for your time.
from ffms2.
I am however experimenting with it in BestAudioSource so maybe try that once it's updated
from ffms2.
Tried BestAudioSource (50f514c, compiled with ffmpeg 4.4) but drc_scale does nothing - set it to 0/1/3 gives identical output.
from ffms2.
Try now, I got misled by the horribly broken d9 patches
from ffms2.
Implemented in ffms2 as well. No actual testing done yet.
from ffms2.
Tried 0461d80 but the output is still identical for drc_scale=0/1/3.
Btw drc_scale=0/1/3 is ok when using ffms2 ver from doom9.
from ffms2.
Are you sure you're testing with an appropriate file? I used comp.exe with bas and got different results. Also audibly different.
from ffms2.
Tested with this sample and used avs+.
https://imgbox.com/g/3um0zPkG1z - check these images with waveform. Also used ffmpeg to load the avs script and save the audio as wav - wav files from bestaudio drc_scale=x always have identical hash but these from ffms2 with different drc_scale values have different hashes.
Tried upstream ffms2 (0753759) - it's ok. Thanks.
Btw does ffms2 audio have lower precision when decoding compared to bestaudio/ffmpeg? Asking because you can see from the images in the above gallery (ffms2 drc_scale 0 and bestaudio drc_scale x) that there is a difference and ffms2 output looks like having rounding error? bestaudio drc_scale x matches the output of ffmpeg -drc_scale 0 -i ...
from ffms2.
Now I know why, I forgot to pass on the new options to BAS when using it from Avisynth but not VS. Try again and be amazed... maybe.
from ffms2.
Btw, the decode precision is the same and any differences are more likely to be cause by seeking or something similar in FFMS2. I guess...
from ffms2.
BAS is ok now too. Thanks.
Btw, the decode precision is the same and any differences are more likely to be cause by seeking or something similar in FFMS2. I guess...
LWLibavAudioSource gives identical output to FFAudioSource for this frame. Should BAS/ffmpeg result be considered as more precise result than LSMASHSource/FFMS2 in this case?
from ffms2.
Yes, BAS and FFmpeg are definitely the reference here since both do simple linear decoding of the whole file. It's still odd that LSMASHSource/FFMS2 has exactly the same deviation. If anything I'd expect them to be slightly different.
from ffms2.
The LSMASHSource/FFMS2 output is not only visibly identical (with waveform) but the hashes match too.
Anyway, thanks for the info.
from ffms2.
Related Issues (20)
- New release ? HOT 2
- Reading Dolby Vision RPU from m2ts HOT 3
- Seeking failures when a B frame depends on a future I frame HOT 7
- Latest FFMS2 locks up HOT 1
- Framerate guessing code may be obsolete
- VC-1 decoding not frame-accurate unless decoding from beginning. HOT 1
- video is unseekable HOT 1
- FFMS2 can't be build because of relocation error HOT 3
- Set up permissions for Github Workflows
- Problem if the file path has some special character HOT 2
- cross-compile ffms2 not quite working, need advice HOT 10
- Create a Security Policy HOT 1
- ffmpeg support > 4.x HOT 1
- Infinite Loop in GetAudio for certain files HOT 4
- Hash pin GitHub actions HOT 1
- FFVideoSource: No video track found HOT 4
- Bad field order when using rffmode=1 HOT 6
- Wrong function definition of DestroyIndex in ffms2-api.md
- Fails to index FLAC audio file HOT 7
- Expose `log2_chroma_h` and `log2_chroma_w` in `FFMS_Frame` HOT 4
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 ffms2.