Jump to content
  • 0

Ant Media - Webrtc needed frame time from rtmp request


Vivek Gupta
 Share

Question

We have a continuous playback, which is pushing data to AntMedia using FFMPEG, does where is any way to get frame information from AntMedia API / WebRTC OR We can use ffprobe to integrate any webhook to push data for getting current frame time info to our frontend.

 

Link to comment
Share on other sites

  • Answers 16
  • Created
  • Last Reply

Top Posters For This Question

16 answers to this question

Recommended Posts

  • 0

Hi Vivek,

Have a good day.

We have some APIs for frame timestamps statistics. Why you need these details? Frame timestamps data are changeable that's why I'm asking. How do you want to get these data? Could you please give us more details about your requirements? It would great to understand your issue.

Best Regards,
Selim

Link to comment
Share on other sites

  • 0
Hi Selim

I needed these features to show value on timeline as have a playback like feature which will play videos according to the time which he have selected and now we needed to show the exact position of time through frame through we can update our timeline according to video played

spraxa_animated_signature.gif
Vivek Gupta
-----------  Spraxa Solutions Pvt. Ltd.
 
p: +91-120-4167004 m: +91-9990606479 us: 571-766-6072, 571-612-5506, 517-266-8995 
a: 201, (Second Floor), Kaushambi, NCR – 201010, Uttar Pradesh, India 
em: +1-571-346-7306 w: https://www.spraxa.com s: vivek_dcpl



This message contains information that may be privileged or confidential and is the property of the Spraxa Solutions Pvt. Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. Spraxa Solutions Pvt. Ltd. does not accept any liability for virus infected mails.
Link to comment
Share on other sites

  • 0

Hi Vivek,

Sorry, It's my bad. Could you please tell me exactly what you want to do? Real-time timestamps are updated 30 times per second. Do you want to use the frame timestamp 30 times per second? If you do not want to get it like this, you can get timestamps of past frames by streaming to the HLS side with FFprobe.

Best Regards,
Selim

Link to comment
Share on other sites

  • 0
Hi Selim

Can we tell me both the methods

spraxa_animated_signature.gif
Vivek Gupta
-----------  Spraxa Solutions Pvt. Ltd.
 
p: +91-120-4167004 m: +91-9990606479 us: 571-766-6072, 571-612-5506, 517-266-8995 
a: 201, (Second Floor), Kaushambi, NCR – 201010, Uttar Pradesh, India 
em: +1-571-346-7306 w: https://www.spraxa.com s: vivek_dcpl



This message contains information that may be privileged or confidential and is the property of the Spraxa Solutions Pvt. Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. Spraxa Solutions Pvt. Ltd. does not accept any liability for virus infected mails.
Link to comment
Share on other sites

  • 0

Hi Vivek,

Have a good day.

Here are the details.
1- Frame timestamps with HLS:
You can get timestamps as below command:
ffprobe streamId.m3u8 -select_streams v -show_entries frame=coded_picture_number,pkt_pts_time -of csv=p=0:nk=1 -v 0

Please check below guides:

2- Frame timestamps with Ant Media Server plugin architecture:
This feature is in the test phase currently. I will share the SNAPSHOT version with you.

I hope, I could help you.

Best Regards,
Selim

 

Link to comment
Share on other sites

  • 0
Hi Selim

It is great to hear from you.


spraxa_animated_signature.gif
Vivek Gupta
-----------  Spraxa Solutions Pvt. Ltd.
 
p: +91-120-4167004 m: +91-9990606479 us: 571-766-6072, 571-612-5506, 517-266-8995 
a: 201, (Second Floor), Kaushambi, NCR – 201010, Uttar Pradesh, India 
em: +1-571-346-7306 w: https://www.spraxa.com s: vivek_dcpl



This message contains information that may be privileged or confidential and is the property of the Spraxa Solutions Pvt. Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. Spraxa Solutions Pvt. Ltd. does not accept any liability for virus infected mails.
Link to comment
Share on other sites

  • 0
Hi Selim

I have gone through the example on build getting this error

spraxa_animated_signature.gif
Vivek Gupta
-----------  Spraxa Solutions Pvt. Ltd.
 
p: +91-120-4167004 m: +91-9990606479 us: 571-766-6072, 571-612-5506, 517-266-8995 
a: 201, (Second Floor), Kaushambi, NCR – 201010, Uttar Pradesh, India 
em: +1-571-346-7306 w: https://www.spraxa.com s: vivek_dcpl



This message contains information that may be privileged or confidential and is the property of the Spraxa Solutions Pvt. Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. Spraxa Solutions Pvt. Ltd. does not accept any liability for virus infected mails.


Image20210513115901.png.8d9fb700eb60d3053226ba606d52078d.png

Link to comment
Share on other sites

 Share

×
×
  • Create New...