Open djpimp2010 opened 9 years ago
AFAIC this is not related to librtmp, try contacting tkinter support if that's what you are using.
Tkinter is just an example of a GUI framework. I will try any of them. The idea is, to parse the librtmp output into something meaningful - maybe to display FLV frame by frame as images?
I have not seen any package that can handle an "RTMPStream" object.
Thanks.
On 5 Nov 2015, at 01:58, Norwack notifications@github.com wrote:
AFAIC this is not related to librtmp, try contacting tkinter support if that's what you are using.
— Reply to this email directly or view it on GitHub.
You can write the stream data to disk or feed it into something able to play FLV data.
Just to clarify, this is not related to librtmp. The data you get from stream.read is FLV data, you can continue appending this to a file for as long as you'd like.
这个包好像读取数据有问题,并不能正确的去保存 flv 文件,读取出来的数据根本没办使用
This module is working excellently using the streaming example, to connect to a server, and print out the first 1024 bytes.
However, there is no explanation as to how this should be used in an application. The docs say a "file-like object" is available, but how do you use it?
My aim is to have a python application (probably using tkinter) and display an RTMP stream as a video, but the things I have tried haven't worked.
I am totally unsure how to use this - even though I can connect to an RTMP stream, and view the FLV headers.
Any examples or advice ?
Thanks