Comments (4)
This isn't a bug. The subtitle timestamps are just slightly wrong.
Extracted sub is like this:
1
00:00:00,001 --> 00:00:01,001
1...
2
00:00:01,001 --> 00:00:02,001
2...
The video is just 1 fps. So first frame has timestamp 0.000, second 1.000, etcetera. Subtitles start one milisecond later, which in this case means a frame later (1 second). You can fix it by letting the subs start at exactly 0.000. The weird end times might be due to a rounding error in MkvToolNix.
from mpc-hc.
Thanks for reply. Correcting the start ms in SRT to .000
had solved the problem. However I wonder would it be more logical to round the time of the subtitle frame (and not ceil it)?
Also excuses for offtopic, I would be also interested about how to generate 25 FPS video from images using ffmpeg
? Perhaps you can give a hint. I've tried ffmpeg -framerate 1 -i image_%d.png -r 25 -vcodec libx264 demo.mkv
but that produces 1 FPS video.
from mpc-hc.
For rounding issue you need to go to MkvToolNix.
Try -framerate 25
instead of -framerate 1 -r 25
from mpc-hc.
I have created mkvmerge issue #2394.
Also thanks for the hint with ffmeg
. Now video is 25 fps:
Input #0, image2, from 'image_%d.png':
Duration: 00:00:00.40, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgb48be(pc), 400x400, 25 fps, 25 tbr, 25 tbn, 25 tbc
but the 10 input images are now played with 25 fps, thus all video is played in 10/25 seconds, while I need 10 seconds video. In other words, there is no image "duplication" (see this post).
from mpc-hc.
Related Issues (20)
- Jumping leads to disconnection video frames on VP9 Online stream HOT 2
- Bad blur performance with ASS subtitle at high resolution HOT 1
- Is it possible to add a saveimage option without the _snapshot name?
- Volume % cannot be seen on the video window HOT 2
- Bad window size on control window when laucnhing in separate fullscreen window HOT 1
- Hide Windowed Controls related issues HOT 33
- ToDo: move FullScreenSeparateControls option to fullscreen options page HOT 1
- Submenus/folders for Favorites HOT 1
- MediaInfo Save As is not following the corresponding file location HOT 2
- ConfirmFileDelete setting not remembered correctly [Fixed][Workaround] HOT 1
- incorrect loading of subtitles in several films at once
- 倍速播放时人声变了 HOT 1
- Add .avs filetype to Open Dialog Media Types Filter HOT 1
- Online stream failed
- Impossible to playback the official streams of bein sport youtube live channel HOT 2
- Issues with 144hz monitor HOT 1
- PQ to SDR post-processing not getting enabled/disabled when switching to fullscreen and back HOT 2
- Add support of cookies arguments commands of yt-dlp "--cookies-from-browser firefox" to play restircted videos of twitter HOT 1
- Audio output using Soft OpenAL HOT 1
- (Cosmetic) LAV Filters show as internal where is not 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 mpc-hc.