Unsolved How to show streamed video?
-
Hi,
First of all, I am completely new in the QML world and C++ (I usually use python with QT).
I would like to display a ".ts" file in the video component of QtQuick. I tried a long time but didn't found why it doesn't work. At the beginning, I thought it was the user agent. I finally found a stream file that I can display in VLC without any problem of http-user-agent: http://93.104.214.141:8000/live/asdasd1/asdasd1/11711.ts
The issue now is that I can't display it inside of a QML Video item. There is the error returned by QtCreator:[14:42:46.569] HTTPRequest figHttpRequestDidReceiveResponseCallback: no content Length received - errCode is 200 [14:42:46.569] HTTPRequest figHTTPDumpFinalURLAndRemoteAddress: address 51.15.201.30 final url http://51.15.201.30:25461/live/asdasd1/asdasd1/11711.ts?token=GkFbA0BYFglDB1ZdAwcLUA4CUAMHBgFQXFECUwBUAANYAlcHUQlRB1hATxtCREpXVg46WAEXDlVVVlUBGEEQQgQRbAtXEg4RUFRTDAESFBBDCghURw8FUVVTVAQNUFIDTUFDC1cSDhFQUlEMCBIUEFIbEVQXW1UIOwUBRl0AABNbDUYOXxwWXA89B1xcUVZWFVlHAUcZFg0XEUYKFiUXUA8AVkJnVVhWAg0OGWIeeRwVT0dTDEFGBRAERgoWUlAHUkEfQFBfQV0VEBobCxJ+YBVPR1QdQVEKFwgLXhZZR0USQR9AWkNrQQQRF0tUUVVXRUFfE1UXGEYJABxvVwwLXwQARwtcXkcRW0BSGx0SVV1ZChFeF2pEDQBDXhIFVVEFU0FO [14:42:46.569] figHttpRequestDidReceiveResponseCallback signalled err=-12939 (kFigHTTPRequestError_ServerDoesNotSupportByteRanges) (no content length/range with byterange request) at /SourceCache/CoreMedia/CoreMedia-1562.240/Prototypes/FigHTTP/FigHTTPRequestCFURLConnection.c line 2178 [14:42:46.569] HTTPRequest figHTTPRequestCreateErrorComment: encountered an error: byte range and no content length - error code is 200 qml: Failed to load media
I need your help, I hope that what I ask is clear. Thanks a lot for your help.
-
Hi and welcome to devnet,
What version of Qt are you using ?
On what platform ?
With what compiler ? -
Hi,
I am using Qt 5.9.2 on OSX with Clang as compiler.
-
Did you consider using the VLC-Qt project ?