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 - just hearing sound #50

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

Videos are black - just hearing sound #50

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.

Any idea?

Thanks.

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