video-streaming

Trying to stream telegram media and playing it in a web page

安稳与你 提交于 2020-12-05 11:52:07
问题 I am trying to stream Telegram video files and play them on a web page. I am using this script to stream Telegram videos to a web server. It uses Telethon and AIOhttp to stream the file. The streaming part can be seen here. I am currently serving it on a server to serve media files. The videos can be downloaded using the link the script provides and can be streamed on any media player. But when I try to stream them on a web page, it has problems. For mp4 videos, Chrome does not play them

FFMPEG: Transmux mpegts to mp4 gives error: muxer does not support non seekable output

大城市里の小女人 提交于 2020-12-02 05:56:59
问题 When piping mpegts to ffmpeg, which should convert it to mp4 and pipe to stdout, ffmpeg says: "muxer does not support non seekable output". After a lot of research I came to the conclusion that mp4 is a bad choice for doing those kinds of on-the-fly transcoding due to seeking. So in essence: MP4 cannot be piped through ffmpeg, which kind of makes sense. But I do not have a contiguous mpegts stream, I have chunks of 5 seconds. So it's really just like: Here is my 1 mb *.ts file Please read it

FFMPEG: Transmux mpegts to mp4 gives error: muxer does not support non seekable output

喜你入骨 提交于 2020-12-02 05:56:39
问题 When piping mpegts to ffmpeg, which should convert it to mp4 and pipe to stdout, ffmpeg says: "muxer does not support non seekable output". After a lot of research I came to the conclusion that mp4 is a bad choice for doing those kinds of on-the-fly transcoding due to seeking. So in essence: MP4 cannot be piped through ffmpeg, which kind of makes sense. But I do not have a contiguous mpegts stream, I have chunks of 5 seconds. So it's really just like: Here is my 1 mb *.ts file Please read it

FFMPEG: Transmux mpegts to mp4 gives error: muxer does not support non seekable output

人盡茶涼 提交于 2020-12-02 05:55:59
问题 When piping mpegts to ffmpeg, which should convert it to mp4 and pipe to stdout, ffmpeg says: "muxer does not support non seekable output". After a lot of research I came to the conclusion that mp4 is a bad choice for doing those kinds of on-the-fly transcoding due to seeking. So in essence: MP4 cannot be piped through ffmpeg, which kind of makes sense. But I do not have a contiguous mpegts stream, I have chunks of 5 seconds. So it's really just like: Here is my 1 mb *.ts file Please read it