-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video play becomes very lag when OSC shows up on OSX #903
Comments
very lag, such desync, wow Anyway, I think we need a bit more info. We recently discovered that very odd characters in the file title (which is displayed at the top of the OSC) may cause lag. Does this happen with all files or just specific ones? Anything odd in your config? |
To my surprise, after I manually defined OSD font, the issue disappears. I guess it may link to the default OSD font settings? sub-text-font = 'Myriad Pro' Instead I got following error in Terminal: [osd/libass] Error opening font: '/Library/Fonts/MyriadPro-Regular.otf', 1 As showed above, same font is used for sub-text, but no error for sub. |
Is this with libass-ct or vanilla libass? |
I don't know which one ChrisK used |
libass-ct |
So I guess libass-ct doesn't handle fallback to font families correctly? (Or whatever generic names like |
Well, because I prefer Helvetica to Arial, I disabled Arial on OSX so that websites would use Helvetica instead... So basically no Arial in my system would be found. Could this be the reason for the issue? (I think Helvetica or Lucida Sans should be the default font family on OSX) |
Potentially. @pigoz should know. |
Yeah it is known. It's one of the merge blockers of the fonts branch. Thanks for ping though. |
Duplicate of: libass/libass#186 |
I'm using ChrisK's latest build on OSX 10.9.3. I use Nvidia Web Driver instead of the vanilla OSX driver. Video play becomes really lag when OSC shows up. I got the following in Terminal:
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng () (dts)
[stream] Subs (+) --sid=1 --slang=eng () (subrip)
AO: [coreaudio] 48000Hz stereo 2ch float
AV: 00:00:00 / 00:57:36 (0%) A-V: 0.000
VO: [opengl] 1280x720 => 1280x720 yuv420p
AV: 00:00:05 / 00:57:36 (0%) A-V: 2.789 Late: 51
This means either the audio or the video is played too slowly.
Possible reasons, problems, workarounds:
Transcode it to a lower bitrate file with tools like HandBrake.
Experiment with different values for --autosync, 30 is a good start.
If you have PulseAudio, try --ao=alsa .
Try a different --vo driver (--vo=help for a list) or try --framedrop!
This is due to vsync limiting the framerate.
Download the file instead.
with --no-video, --no-audio, or --no-sub.
If none of this helps you, file a bug report.
The text was updated successfully, but these errors were encountered: