8000 Audio not compatible with mobile devices (At least IOS devices) · Issue #9 · unconv/captacity · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Audio not compatible with mobile devices (At least IOS devices) #9

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

Open
5en5e1 opened this issue Apr 26, 2025 · 0 comments
Open

Audio not compatible with mobile devices (At least IOS devices) #9

5en5e1 opened this issue Apr 26, 2025 · 0 comments

Comments

@5en5e1
Copy link
5en5e1 commented Apr 26, 2025

What I noticed is that if you shared the video directly to my mobile, it would not play the sound because the audio_codec needs to be set on aac ( audio_codec="aac" ) in your init.py file, this can cause confusion and would be great practice to implement that little line over there :

"video_with_text.write_videofile(
filename=output_file,
codec="libx264",
audio_codec="aac", # Ensure phone-compatible audio
fps=video.fps,
logger="bar" if print_info else None,
)
"

Other than that the code is pure gold. Congrats!

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
0