Setting up DVR Server with AVstream commands & HTML5 players

About encoding, codec settings, muxers and filter usage
EuroNiceguy
New Cone
New Cone
Posts: 2
Joined: 07 Feb 2020 10:31

Setting up DVR Server with AVstream commands & HTML5 players

Postby EuroNiceguy » 07 Feb 2020 10:46

Hello Everyone,

Can you advise wether VLC server can be used for the purposes of being the gateway between the Vehicle mounted Mobile DVR (Digital Video Recorders) and HTML5 players?

The Mobile DVR units require AVStream commands (such as $VIDEO, $PLAYVIDEO, $SEARCHFILE, $UPLOAD, $PLAYFILE or $LIVESTART) to operate the system.

An extract of the protocol information is as follows;

If video audio stream is required, the server can send an avstream command (such as $VIDEO, $PLAYVIDEO, $SEARCHFILE, $UPLOAD, $PLAYFILE or $LIVESTART) to the DVR to request the stream. On receipt of these commands the DVR will open another TCP connection to a IP address and port number, configured by $SRV2! command, and pass the requested stream as packets. The packet has an 32 bytes packet head(refer to struct gSvr_packet_head) and a packet metadata and binary data(if have). Once the packets have been passed the DVR will close the connection

An example of a command is:

$VIDEO; 85000; all; 0; 20181127-091000; 86400

$VIDEO - Message Identifier
85000 - Device ID
all - Specifies the file type, the value can be “log”, “normal”, “alarm”, “all”
0 - Specifies which camera the video is required from. 1 is the first camera, 0 means all camears
20181127-091000 - The start time of the video required, in the format yyyyMMdd-HHmmss
86400 - The time length of the video required, in seconds

Can you please advise wether VLC Server has the capabilities to accept and send such commands to the devices.

We will also request APIs for Media players and playlists so we can create HTML pages for media players. If you have pre-made HTML5 pages of this kind, that would be even better.

If the Playlists can have thumbnails. then that would be excellent.

We will also request that the server software stores alarm files (vehicle collision & emergency button). The Mobile DVR is already configured to feed 45 seconds of video to the server.

Thank you in advance,
Michael

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 37 guests