Comments (35)
@darekpro yes this is the same for Windows. We might look at this in the future, in the meantime you can convert your srt to BD sup with easySUP which works very well.
from tsmuxer.
@darekpro Just to be sure... this is the build https://github.com/jcdr428/tsMuxer/suites/406472859/artifacts/1185098
from tsmuxer.
@darekpro new try... https://github.com/jcdr428/tsMuxer/suites/417185880/artifacts/1305874
from tsmuxer.
@darekpro what's the name of these fonts giving bad results ?
from tsmuxer.
@darekpro so it is not perfect but definitely looking better ;)
from tsmuxer.
@darekpro hopefully with this one, it will look even better https://github.com/jcdr428/tsMuxer/suites/417290642/artifacts/1307079
from tsmuxer.
Nice to see some progress!
from tsmuxer.
Is this an issue with the kerning or something? Can we try it out with a few different fonts to check it is an issue with the renderer?
from tsmuxer.
@justdan96 Windows version doesn't use freetype, but seems to me that in textSubtitlesRenderFT.cpp :
line 588 pen.x += face->glyph->advance.x >> 6;
line 593 mSize->cx = pen.x + face->glyph->bitmap_left;
the glyph left side bearing bitmap_left
is already included in advance.x
so is added twice.
Try change to mSize->cx = pen.x;
Same for line 540.
Edit: same for the underline thickness m_line_thickness
, I can't see why it would need to be added to the horizontal advance.
from tsmuxer.
@darekpro please try my latest build https://github.com/jcdr428/tsMuxer/actions and report.
I haven't tried it as I am on Windows.
from tsmuxer.
Hmm I don't see any difference still problem with space between letters, no shadow and bad looking edges
from tsmuxer.
from tsmuxer.
I wonder what happens if you use a fixed width font like GNU Freefont Mono?
from tsmuxer.
@darekpro thanks. Could you please try latest build (88b9561) https://github.com/jcdr428/tsMuxer/actions
from tsmuxer.
@jcdr428 one sec
from tsmuxer.
@darekpro this is the latest build 88b9561 ? It was created only 7 min. ago.
from tsmuxer.
No no this is screen with mono fonts :)
from tsmuxer.
@jcdr428 you know what.. I use pamac to rebuild tsmuxer and you change not main repo right? I dont know how to manual build .. ;/
from tsmuxer.
You could edit the PKGBUILD yourself and then run makepkg - or try the binary made in output of the GitHub Actions on @jcdr428's repo.
from tsmuxer.
from tsmuxer.
So all these pictures were not my build ?
Just go to https://github.com/jcdr428/tsMuxer/actions , click on the top "Build for linux", click on "Artifacts" at the top right, download "tsMuxer"
from tsmuxer.
Yes sorry... I downloaded pack from here https://bintray.com/justdan96/tsMuxer/tsMuxerGUI-Nightly/2020-01-17--01-10-08#files and replaced file from https://github.com/jcdr428/tsMuxer/actions
I hope I use now latest version :)
from tsmuxer.
Yes :)
from tsmuxer.
from tsmuxer.
from tsmuxer.
So one problem less but still no shadows and I noticed also problem with color change:
transparent wtf :)
from tsmuxer.
@darekpro what "Color" number have you entered in your example ? If you have entered e.g. #b1b2b3b4,
the first three digits b1 b2 b3
are the Red Green Blue values, and the last one b4
is the transparency -which should remain ff
if you want 100% opacity.
from tsmuxer.
I don't enter numbers i just use slide bar like on screen
I used this color:
from tsmuxer.
from tsmuxer.
It looks like to enable transparency for QColorDialog we need to use QColorDialog::ShowAlphaChannel.
So for that I believe we could change this line:
tsMuxer/tsMuxerGUI/tsmuxerwindow.cpp
Line 1884 in 0702a4b
To:
color = QColorDialog::getColor(color, this, QString("Select Color"), QColorDialog::ShowAlphaChannel);
from tsmuxer.
@justdan96 actually there is already transparency on the subtitles. But the transparency is applied on the whole subtitle instead of being applied on the outer border only.
from tsmuxer.
Oh I thought the alpha slider was missing from the dialog.
from tsmuxer.
Should we leave this one open to track remaining issues with subtitles or is this a "good enough" fix?
from tsmuxer.
@justdan96 The fix has solved the irregular spacing between letters. It hasn't solved the lack of border or transparency problem raised by darekpro.
Maybe we can close this issue and open a specific one for border/transparency.
from tsmuxer.
Will close this one, if anyone is still concerned they can create a new issue for the border and transparency visual.
from tsmuxer.
Related Issues (20)
- heap buffer "over-parse" is found in movDemuxer::mov_read_stsd
- heap buffer under-read is found in IOContextDemuxer::skip_bytes HOT 1
- heap buffer over-read is found in MovDemuxer::mov_read_esds
- negative size param is found in programStreamDemuxer::simpleDemuxBlock
- Maybe a TrueHD Atmos 7.1 bug
- stack buffer over-read is found in TS_program_map_section::extractPMTDescriptors
- stack buffer overflow is found in TSDemuxer::simpleDemuxBlock() HOT 1
- negative-size-param is found in TSDemuxer::getTrackList()
- Seems not shift the timeshift when specified in meta file
- Problem With Importing MP4 Files HOT 1
- Importing MTS Files WIth An Error
- MKV -> M2TS output out of sync HOT 2
- tsMuxer CLI lacks features of tsMuxer GUI HOT 1
- WARNING - MKV with DTS result in audio out of sync HOT 4
- Since when MP4 is not supported? HOT 2
- DVB subtitle stream not recognised and ignored HOT 3
- heap buffer overflow is found in movDemuxer.cpp
- heap buffer under-read is found in movDemuxer.cpp
- Cosmetic bug?
- 0x47 is NOT A SYNC BYTE when it very rarely occurs in TP_extra_header as a timecode
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 tsmuxer.