Comments (10)
From kalle.blomster on February 01, 2010 14:20:03
Converting to v1 will lead to rounding inaccuracies and is pointless. MKV doesn't
have a fixed framerate so claiming that ffms sees two different framerates is
likewise pointless.
I don't know what you mean by "WRONG" either since you didn't specify (pastebin both
the generated v2 timecodes files if you want me to provide more details) but most
likely what you're seeing is the result of mkvmerge converting timestamps to
millisecond precision. Use a higher precision in mkvmerge if you want more accurate
timestamps.
Status: Invalid
from ffms2.
From hammered999 on February 02, 2010 13:10:37
Sure I'll provide more info. The video contained in the avi is as reported by ffdshow
23.976fps. So the timecode files I get from ffms are:
plain avi--> http://pastebin.com/f1b531500 plain avi-->mmg(mkvtoolnix)-->mkv--> http://pastebin.com/m44f296a9
from ffms2.
From hammered999 on February 02, 2010 13:14:26
To add to my previous post.
Sure mkv doesn't have fixed framerate but when the actual framerate of the stream is
constant shouldn't the duration of each frame in MKV be the same?
from ffms2.
From kalle.blomster on February 02, 2010 14:50:43
1000/(24000/1001) = 41.708333... milliseconds per frame. With the default timestamp
precision MKV stores timestamps that are accurate to one millisecond. Do you know
what "rounding" means?
In any case you're getting exactly what is stored in the container, no more, no less.
It's not a bug in ffms. If you want to file a bug against anyone, do it against the
MKV spec designers, but they are unlikely to listen to you. I don't really see what
you'd complain about anyway since the maximum error is +/- 0.5ms, and your monitor
most likely only redraws the image once every 16.333 milliseconds anyway.
from ffms2.
From hammered999 on February 03, 2010 12:43:22
Ok. I finally got it. FFMS works as it should, it just is a limitation(?) of the
matroska spec. Of course, I am not able to see the difference between 23.976 and
23.809. The thing is that I just want it to reported "correctly". What I mean is this:
plain avi(23.976fps)-->mmg-->remuxed to mkv-->open through a simple avs-->x264-->raw
h264 file-->mmg(using the raw file and the timecodes from ffms)-->reencoded mkv
When I play/examine the "reencoded mkv" every player/tool reports the fps as 23.809.
So is there any chance to "fix" this in ffms, to make the timecode as 23.976 in this
cases(I ask it as a feature request obviously)
Or would I have better luck asking the mkvtoolnix guy to handle this kind of timecode
files as "23.976"?
from ffms2.
From hammered999 on February 03, 2010 12:44:53
@my previous post
-->open through a simple avs-->
should be:
-->open through a simple avs using ffms-->
from ffms2.
From kalle.blomster on February 05, 2010 11:22:49
It's already been fixed in SVN. If you want it right now use assumefps() in Avisynth.
from ffms2.
From hammered999 on February 06, 2010 02:51:20
I've built r279 . Yes it reports to Avisynth that the stream is "23.976" but I was
refering to the timecode file. The timecode file still has "23.809" and "24.390" and
that's now ideal when I mux the raw stream. Every tool/player recognises the new-mkv
file as "23.809" fps.(the video part)
from ffms2.
From hammered999 on February 06, 2010 04:49:38
"that's now ideal when I" --> "that's not ideal when I"
from ffms2.
From kalle.blomster on February 08, 2010 15:12:26
You can't get precision that isn't there. If you know the file is supposed to be
exactly 23.976, mux it as that with a v1 timecodes file (or no timecodes file at
all). Then demux a v2 timecodes file using mkvextract, take a good hard look at it
and consider the meaning of life for a while.
(hint: there is a mkvmerge parameter that can change the timestamp precision if that
is what you really want)
from ffms2.
Related Issues (20)
- 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
- why you require such the most latest version? HOT 1
- Desynchronized sound in the FB clip
- `Colorspace` field in `FFMS_Frame` HOT 1
- Outdated version on crates.io HOT 3
- Probably obsolete y4m hack
- package dependencies HOT 1
- fpsden-fpsnum don't work properly on RC4 HOT 3
- Issue in linking process on systems with multiple ffmpeg versions installed HOT 3
- Output incorrect `PictType` HOT 2
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.