Comments (17)
I also found this behavior really confusing: padding is only respected for single-line selection, but somehow not for multiple-line selection. I needed to spend some time debugging to figure out what was going on.
When you override timings set in the subtitles, mpvacious assumes that your subs are incorrectly timed, and disables the padding
I think this behavior is only expected when the user directly sets the timestamps without referencing the exact timing of the current subs. I only use shift+s
and shift+e
when the subs are already correctly timed, and I need to select a range of them. In this case, this behavior is definitely a surprise for me.
If you want to create a card with padding, you shouldn't use
shift+s
andshift+e
and instead use onlyc
andshift+l,shift+h
This is probably the best option. I didn't try it before because it seemed less intuitive than shift+s
and shift+e
.
Alternatively, just locally comment out these lines.
Lines 331 to 333 in 178674f
from mpvacious.
Motokare no Yuigonjou 2022 S01 1080p WEB-DL AAC H.264-MagicStar.zip
comparison, padding set to 1.0 (1 second)
from mpvacious.
difference is exactly 2 seconds
from mpvacious.
Padding is only applied when timings are chosen automatically. When you set them manually, no padding is applied.
from mpvacious.
c - Interactive subtitle selection. is automatic?
from mpvacious.
If you want to create a card with padding, you shouldn't use shift+s
and shift+e
and instead use only c
and shift+l
,shift+h
from mpvacious.
I see, difference is not obvious tbh, but ok, also do you know why it cuts audio, even if subtitle is still shown. I ended up with 1.0 padding, but thats quite big
from mpvacious.
When you override timings set in the subtitles, mpvacious assumes that your subs are incorrectly timed, and disables the padding since applying it would mean potentially grabbing extra parts of the dialogue that you don't want on your card.
from mpvacious.
I ended up with 1.0 padding
Could be your subtitle's timings, or the amount of padding you set in subs2srs.conf.
from mpvacious.
When you override timings set in the subtitles, mpvacious assumes that your subs are incorrectly timed, and disables the padding since applying it would mean potentially grabbing extra parts of the dialogue that you don't want on your card.
I understand that. I mean I check, timings are perfect, even without overriding mpvacious cuts before subtitle disappears.
from mpvacious.
that's why I'm using 1.0 padding to compensate it
from mpvacious.
but yeah, anyway "c" key works just fine.
from mpvacious.
Bandicam 2022-11-14 19-57-05-276-1.zip
Please watch, it cuts 4 seconds earlier, even with "c"
from mpvacious.
that's why I'm using 1.0 padding to compensate it
You're better off fixing the timings then.
Please watch, it cuts 4 seconds earlier, even with "c"
On the video you still set the timing manually.
from mpvacious.
that's why I'm using 1.0 padding to compensate it
You're better off fixing the timings then.
Please watch, it cuts 4 seconds earlier, even with "c"
On the video you still set the timing manually.
I mean, as you can see, automatically it sets end timing to 07m30s200ms, but when I fix it manually, I set it when the line ends, it ends around 07m34s186ms
from mpvacious.
I think there is something wrong with the subtitle file, do you know how to deal with cases like this? 2 exact same lines with different timings
[MagicStar] Motokare no Yuigonjou EP04 [WEBDL] [1080p].zip
from mpvacious.
This could help. You can also open the file in vim and remove the redundant lines.
from mpvacious.
Related Issues (20)
- Can't make cards while using Celluloid HOT 16
- Copying subtitles with diacritics unexpectedly strips spaces HOT 6
- [sound] audio tag doesn't get rendered in firefox if used with opus filetype HOT 2
- I'm trying to setup mpvacious with vocabsieve to learn English! HOT 2
- Hide subtitles but copy to clipboard HOT 1
- The Audio From mpvacious does not work when imported to anki on a specific scene. HOT 2
- Web view HOT 2
- MACOS Mulitple subs2srs errors (FFMPEG?) HOT 1
- subs2srs.lua module/file not found HOT 2
- ogg. file generated but no audio HOT 4
- Clipboard capture doesn't work HOT 14
- Can't make addon to work HOT 3
- Subtitle lines with only one double quote break when copying to clipboard on Windows HOT 4
- Failed to add card, loading external audio file to video HOT 1
- Problems with base64 encoding HOT 6
- Secondary subtitles problem: only accepts native language as primary HOT 3
- Add an option to create text-only cards HOT 3
- [Feature Request]audio_padding can set start time and end time independently HOT 4
- unexpected sentence trimming HOT 7
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 mpvacious.