-
Notifications
You must be signed in to change notification settings - Fork 43
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
Streaming was working before V5.0.0 #49
Comments
It is very likely you are true, I didn't say it wasn't possible to play remote streams. I'm saying it is not ready. Buffering was implemented but never tested and never included in builds. I never tested anything other than local files. |
Could you guide me where should I look in the code to make the streaming available again? |
I'm sorry but not at the moment. I was doing this but I had to stop. I'll probably release something on this topic. |
@Nightmare204 Can you please have a look at this build which includes streaming? |
Hi @carlonluca... streaming for mp4, mov and h264 video formats is working fine with the new build, but there are issues with some video extensions: We tried with this small.3gp video, and the streaming started but failed after a couple of frames. The big problem is that even restarting the program with another video (local, streaming and any extension) it failed without showing debug output (it just didn't show anything), and the only solution was to reboot the Raspberry (I guess the GPU gets blocked). I have an IP Camera here that offers two formats of streaming: MJPEG and h264. The last one works perfect on streaming with the new build. On the other hand MJPEG streaming seems to buffer a lot of frames before rendering them and therefore the image is kept still for a few seconds and then it changes fast to try to catch up the actual frame (eventually the streaming seems to get to a halt). Also as I have been changing a lot the image of the raspberry pi, now I'm unable to reproduce AVI video files (local and streaming), the fps of reproduction are very low and many frames seem to be dropped, but again without debug output. Am I lack of some library? |
That 3gp file seems to contain a h263 stream, so you won't be able to decode it with this GPU, I don't think there is a decoder for it. If other worked fine it probably means the others contained h264. 3gp can contain both encodings. I never tested mjpeg streams. It is probably buffering however. Can you provide one? Do you have a sample of avi video not working? |
Hi @carlonluca The video https://archive.org/download/test-mpeg/test-mpeg.mpg for streaming reproduce in a similar way to mjpeg stream. At moment I can't provide you a real mjpeg stream. |
That does not seem to be mjpeg but mpeg1. It is not the same. |
@Nightmare204, @davidpez1019 Are you currently using this build? Even for local files? |
Hi @carlonluca... We tested the build, but we are not using it permanently. This is because we have a lot of work donw in qt5.5.1 and we have to stay in stable comertial version of Qt, and the last one is that. |
@carlonluca About the mjpeg streamings you can try with any of the ones here, for example this http://80.38.183.149:2000/mjpg/video.mjpg |
I have tried the link that @Nightmare204 post. Also I have given it a try to an udp multicast signal. Both ended up with the same result: "Failed to open source .". |
Can you try to explain exactly what you are trying to achieve? What version of POT are you using? What stream are you trying to play? How are you trying to play it? Do you have a minimal sample to reproduce? |
Sure! Two years ago I brought this device: http://www.tbsdtv.com/products/tbs2923-moi-plus.html To reproduce the channels, I get all the streaming path inside a ListView and each time I press an up/down key, the media source change to the next/prev link. Then, the listview remain locked until the Video component returns success or failure. You could try it your self using VLC streaming by pressing Ctr+S an selecting a local mediasource + udp codification. Note that I use udp instead of http because it takes too long to connect each time I change a channel. Please, let me know if I can do anything to help you (logs, test, etc.). I really miss my homestation. PD: I have brought and MPGE2. I can purchase one for you if need it. |
Wow... I should read your blog before writting the above comment! I was testing the non-beta version. |
Luca, you recently mentioned in the blog that "At the moment the code is pretty close to be ready to play remote streams including https"
http://thebugfreeblog.blogspot.com/2015/11/fully-optimised-raspbian-jessie-with.html?showComment=1450740707138#c3733828862728817809
I remember that in older versions, maybe before V5.0.0, POT was able to handle streamings...
I even checked in some of my old test projects and found some url:
rtsp://192.168.2.27/live.sdp (A camera I have in my office and I checked with POT)
http://techslides.com/demos/sample-videos/small.3gp (A video file I found looking around)
I lost a lot of info with a Ubuntu reinstall I had to do recently, so I can't try an older version of POT right now, to prove me right
The text was updated successfully, but these errors were encountered: