Got it

Reading Metadata stream issue

Created: Mar 31, 2020 17:09:58Latest reply: Apr 1, 2020 00:41:15 1015 5 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

I have a Huawei IPC6125-WDL, and i'm trying to read the metadata stream from the ONVIF RTSP stream using FFmpeg but i'm getting the data in weird format instead of standrad xml.


Thanks in advance,


Sample received data:

»METS   Fç²7          METE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           Ý                                                                                                                                     ªMETS   `Sê²7          METEªMETS   ¤`í²7          METEªMETS   ãmð²7          METE»METS   "{ó²7          METE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           Ý                                                                                                                                     ªMETS   dˆö²7          METEªMETS   ¢•ù²7          METEªMETS   á¢ü²7          METEªMETS   (°ÿ²7          METEªMETS   l½³7          METE»



Featured Answers

Recommended answer

Hey,girl
Created Apr 1, 2020 00:41:15

Hello, WaseemS!

Welcome to our community!
Please refer to the post to obtain the RTSP stream.
https://forum.huawei.com/enterprise/en/rtsp-stream-issues-of-huawei-cameras/thread/588512-887
Best wishes!

View more
  • x
  • convention:

WaseemS
WaseemS Created Apr 2, 2020 09:45:51 (0) (0)
Hi thank you for the replay. I'm able to receive the metadata stream using the rtsp /LiveMedia/ch1/Media1, but the problem is with the result it is not the expected XML, it seems to be encoded.  
Ava
Ava Reply WaseemS  Created Apr 9, 2020 01:18:48 (0) (0)
Hello, this is because that you had selected "Replies visible to post author only".  
All Answers
Hello!

Troubleshooting guideline

Stop the HBase service, restore the table description information from another normal cluster and restart the HBase service.
Operation procedure
1. Stop the HBase service.
http://10.88.194.32:7088/idp-edit-service/editor/image/11108756775/A-1_1_en-us_image_0117892688.jpg
2. Run the following command to go to the installation directory on the client, for example, /opt/client:

cd /opt/client
3. Run the source bigdata_env command to configure environment variables.
4. If the cluster uses the security version, you need to perform security authentication.

kinit hbase
5. Enter the correct password as prompted.
[root@10-10-10-11 client]# source bigdata_env  #Configure environment variables.
[root@10-10-10-11 client]# kinit hbase         #Configure kinit authentication.
Password for hbase@HADOOP.COM:
6. Upload the .tableinfo.0000000001 table description information to /hbase/data/hbase/namespace/.tabledesc/.
[root@10-10-10-11 client] # hdfs dfs -put .tableinfo.0000000001 /hbase/data/hbase/namespace/.tabledesc/
7. Change the permission to hbase supergroup.
[root@10-10-10-11 client] # hdfs dfs -chown hbase:supergroup /hbase/data/hbase/namespace/.tableinfo.0000000001
8. Restart the HBase service to clear the table information cached in the HBase memory.
Verification

1. Perform the hbase hbck check:

hbase hbck hbase:namespace

[root@10-10-10-11 client]# hbase hbck hbase:namespace          #Check the status … …
  
Summary

Table hbase:meta is okay.
    Number of regions: 1
    Deployed on:  hadoop01,21302,1520492976636
Table hbase:namespace is okay.
    Number of regions: 1
    Deployed on:  hadoop02,21302,1520492979895
0 inconsistencies detected.
Status: OK

Check that the HBase service is normal.

http://10.88.194.32:7088/idp-edit-service/editor/image/11108756775/A-1_1_en-us_image_0117892690.jpg


Thanks

View more
  • x
  • convention:

WaseemS
WaseemS Created Apr 5, 2020 12:17:04 (0) (0)
Hi Wissal,

Thank you for the reply, i facing issues in receiving motion detection events from IP cameras directly using the ONVIF metadata stream. I feel your answer if for some other platform.

Thank you again  

Hello, WaseemS!

Welcome to our community!
Please refer to the post to obtain the RTSP stream.
https://forum.huawei.com/enterprise/en/rtsp-stream-issues-of-huawei-cameras/thread/588512-887
Best wishes!

View more
  • x
  • convention:

WaseemS
WaseemS Created Apr 2, 2020 09:45:51 (0) (0)
Hi thank you for the replay. I'm able to receive the metadata stream using the rtsp /LiveMedia/ch1/Media1, but the problem is with the result it is not the expected XML, it seems to be encoded.  
Ava
Ava Reply WaseemS  Created Apr 9, 2020 01:18:48 (0) (0)
Hello, this is because that you had selected "Replies visible to post author only".  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.