Repository navigation
Conversation
|
Some preliminary testing on Windows:
|
|
Nice! Thanks for all the testing. I think I have that particular sample you see the odd rendering with (I recognize that desert scene 😉 ) I'm seeing broken timing of the subtitles with that sample, will look into that. The rendering is almost the same with the player I use (mpv) so the font size difference must be your player making an odd choice. The the position is too close to the bottom and subtitles are being cropped when burned in. |
|
It's VLC and yes, it's the Doctor who sample :) |
|
I get identical results between burned, mpv, and vlc. Could be a difference in font selection on windows. On linux CC font is "monospace" which resolves to "DejaVuSansMono" on my system. And on windows CC uses "Lucida Console". We chose that a while back for windows because monospace resulted in selection of "Courier New" which looked awful. Maybe Lucida Console has limited range of font sizes? The definition of this is in handbrake/internal.h HB_FONT_MONO if you want to try other fonts. |
|
20 is better. Maybe something we can make configurable down the line. |
Currently using it for pgs, srt, and ssa subtitles.
passthrough will hopefully come later ;)
simplifies code, eliminates deccc608sub.c
Simplifies code, removes encvobsub.c (was never used) and decvobsub.c.
This seems to be what ffmpeg expects. This way we also mux it correctly into mkv, i.e. without the trailing 0xff stuffing byte.
The "clear" subtitle packets were not making it through to the muxer
The larger font size was causing rendering outside the frame boundaries
|
Shall we push this and let folks have a play? |
|
Be sure to |
|
FYI, the features this adds are
|
|
Please send your patches upstream for review. |
|
And while there, please look at FFmpeg tickets 7377, 7389, 7572, 8070 and 8502 |


Currently using it for pgs, srt, and ssa subtitles.
Fixes srt font face parsing.
It's fairly easy to add more or convert our current decoders to libav. I'll look into converting our vobsub and cc608 subtitle decoders to use libav as well. And adding dvbsubs should be relatively easy.
Test on: