Skip to content

Commit

Permalink
Issue #70: Document streamable file types
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekmo committed Nov 11, 2020
1 parent 63fea00 commit 3b62c7f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ Contents
installation
readme
usage
troubleshooting
contributing
authors
history


..
_ modules
12 changes: 12 additions & 0 deletions docs/troubleshooting.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Troubleshooting
===============

Videos are not streameable in Telegram app
-------------------------------------------
Only mp4 videos can be played on Telegram without downloading them first. To stream your video in Telegram you must
convert it before uploading it. For example you can use ffmpeg to convert your video::

$ ffmpeg -i input.mov -preset slow -codec:a libfdk_aac -b:a 128k \
-codec:v libx264 -pix_fmt yuv420p -b:v 2500k -minrate 1500k \
-maxrate 4000k -bufsize 5000k -vf scale=-1:720 output.mp4

0 comments on commit 3b62c7f

Please sign in to comment.