-
Output file has a not null size, but after conversion, when listening to silence |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments
-
Can u show ur code? Did u try run recorder example? |
Beta Was this translation helpful? Give feedback.
-
I`m use example - https://github.com/MarshalX/tgcalls/blob/main/examples/playout.py (with small edits) and my sound file mp3 (convert ffmpeg -i input.mp3 -f s16le -ac 2 -ar 48000 -acodec pcm_s16le input.raw) In telegram music play ok |
Beta Was this translation helpful? Give feedback.
-
What is the file size? Is the duration consistent (after converting) with reality? |
Beta Was this translation helpful? Give feedback.
-
Yes. Size and duration simile real. |
Beta Was this translation helpful? Give feedback.
-
Can you reproduce it with 100% probability? |
Beta Was this translation helpful? Give feedback.
-
yes, i tried different input files always 'output' file after convert have size and not null duration, but listen only silence. may be example have error? |
Beta Was this translation helpful? Give feedback.
-
the example implementation is correct. can you send a log file? |
Beta Was this translation helpful? Give feedback.
-
My implementation:
|
Beta Was this translation helpful? Give feedback.
-
U don’t pass output filename to group call constructor. If u want to record u should pass it) |
Beta Was this translation helpful? Give feedback.
-
Oh) i deleted 'OUTPUT_FILENAME' because file grow. I can send early get 'output' file |
Beta Was this translation helpful? Give feedback.
-
Are you sure that the other members of the voice chat said something? To get it on the record. the bot does not record itself ofc) |
Beta Was this translation helpful? Give feedback.
-
It explains everything :) Thx) |
Beta Was this translation helpful? Give feedback.
Are you sure that the other members of the voice chat said something? To get it on the record. the bot does not record itself ofc)