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

Videos are black on TelgramX IOS - just hearing sound #631

Closed
omidraha opened this issue Mar 7, 2019 · 0 comments
Closed

Videos are black on TelgramX IOS - just hearing sound #631

omidraha opened this issue Mar 7, 2019 · 0 comments

Comments

@omidraha
Copy link

omidraha commented Mar 7, 2019

Hi,

I download a video from YouTube:

$ youtube-dl -f 18 https://www.youtube.com/watch?v=FL22h3Qka_c

The info about this format:

$ youtube-dl -F  https://www.youtube.com/watch?v=FL22h3Qka_c | grep 18
18           mp4        640x360    medium , avc1.42001E, mp4a.40.2@ 96k

And then sent it to channel with bot:

bot = telegram.Bot(token=token)
bot.sendVideo(chat_id=chat_id,
    video=video,
    caption=caption,
    duration=duration,
    thumb=thumb)

Video will play very well on Telegram of Android, but when playing on Telegram IOS it's a black screen with voice.

If I save the video to gallery from the channel, the video will be play very well with default video player of IOS.

Also I try to convert video (related issue here) but I have same problem.

Also I report this here.

Any idea?

Thanks.


  1. What version of pyTelegramBotAPI are you using?

python-telegram-bot==11.1.0

  1. What OS are you using?
    Ubuntu server 18.04

  2. What version of python are you using?
    Python 2.7.12

@Badiboy Badiboy closed this as completed Apr 26, 2020
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

2 participants