Skip to content
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

sub #11

Open
ghost opened this issue Jul 12, 2021 · 8 comments
Open

sub #11

ghost opened this issue Jul 12, 2021 · 8 comments

Comments

@ghost
Copy link

ghost commented Jul 12, 2021

how to make sub burn in?

-vf subtitles=video.mkv that ffmeg code

for python how to make, it try make -vf subtitles=filepath but failed

@xgrons
Copy link

xgrons commented Jul 27, 2021

-vf subtitles='+filepath+'

@ghost
Copy link
Author

ghost commented Jul 27, 2021

do that gonna works?

@xgrons
Copy link

xgrons commented Jul 28, 2021

yes working for me

@ghost
Copy link
Author

ghost commented Jul 29, 2021

yes working for me

not working for me maybe I added wrong?

@ghost
Copy link
Author

ghost commented Jul 29, 2021

video_opts = '-c:v libx265 -crf 28 -tag:v hvc1 -preset fast -threads 8'

@xgrons
Copy link

xgrons commented Jul 29, 2021

the video file must contain sub

@xgrons
Copy link

xgrons commented Jul 29, 2021

video_opts = '-c:v libx265 -vf subtitles='+filepath+' -sn -crf 28 -tag:v hvc1 -preset fast -threads 8'

@ghost
Copy link
Author

ghost commented Jul 30, 2021

can you give your fork? because I do that and got error unable to open file '+filepath+'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant