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)
- Enhance File Delete to include external subtitle and audio files HOT 8
- Strange new gap on the Control Bar in the recent 2.3.5 update HOT 3
- Non-default settings for right mouse button are not saved after player restart HOT 1
- VirusScan - FileRepMalware and Artemis HOT 1
- Timeout when closing filter graph in 2.3.5.6
- problem with switch picture mode automatically HOT 2
- Avast Antivirus treats MPC-HC.2.3.5.x64.exe as malware. HOT 1
- Jump Forward/Backward (Short) in wheel's menu HOT 1
- "Store setting in .ini file" issue HOT 1
- Frame step for Wheel Left/Right HOT 2
- ToDo: switch to IMFVideoMixerBitmap OSD mode in fullscreen when using MPCVR HOT 6
- Remove number 2 from [OpenSubtitles2] in Subtitle menu
- After version 2.3.0, when the progress bar is pulled manually, the video has no sound! HOT 1
- Keys section doesn't include Override Default/All Styles
- 2.3.5 Fullscreen switch no longer possible with single mouse click
- ToDo: change hover type dropdown into a checkbox "video preview" HOT 4
- MPC 2.3.5 sometimes hangs with MP4 files (MPC Video Renderer) HOT 2
- Support for arm64? HOT 1
- Feature Request: Shuffle Option HOT 3
- Skip forward/back button ignores chapter markers when playing MKV HOT 3
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.