# How do I inject binary timed EMSG metadata into Fragmented MP4 (CMAF) HLS Streams?

**URL:** <https://community.wowza.com/t/how-do-i-inject-binary-timed-emsg-metadata-into-fragmented-mp4-cmaf-hls-streams/93967>\
**Category:** Wowza Streaming Engine\
**Created:** [October 14, 2021, 2:40pm UTC](https://community.wowza.com/t/how-do-i-inject-binary-timed-emsg-metadata-into-fragmented-mp4-cmaf-hls-streams/93967 "2021-10-14T14:40:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan\_Farrow](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Dan\_Farrow](https://community.wowza.com/u/Dan_Farrow)\
**Post date:** [October 14, 2021, 2:40pm UTC](https://community.wowza.com/t/how-do-i-inject-binary-timed-emsg-metadata-into-fragmented-mp4-cmaf-hls-streams/93967/1 "2021-10-14T14:40:54Z")

</div>

Hello, I am trying to inject metadata into a CMAF (fragmented mp4) HLS stream. I am following the example here:

[https://www.wowza.com/docs/convert-timed-metadata-from-amf-to-emsg-using-the-wowza-streaming-engine-java-api](https://www.wowza.com/docs/convert-timed-metadata-from-amf-to-emsg-using-the-wowza-streaming-engine-java-api)

I see how to inject **text** data using the EmsgFrames object, but how do I inject **binary** metadata like I can do with ID3 in standard HLS?

There seems to be no documentation on this: EmsgFrames class or the EmsgBuilder() used in the example.

Also, what players support extracting this EMSG metadata?

Thanks

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 14, 2021, 4:38pm UTC](https://community.wowza.com/t/how-do-i-inject-binary-timed-emsg-metadata-into-fragmented-mp4-cmaf-hls-streams/93967/2 "2021-10-14T16:38:48Z")

</div>

Hi @Dan_Farrow, we can do this with Dash, but we haven’t done much testing as far as HLS. We do have a potential workflow for you to try, but an engineer would like to test it with you in a support ticket please.

> **[Open a Support Ticket](https://www.wowza.com/support/open-ticket)**
>
> Open a Wowza suppor ticket so our technical support engineers worldwide can help you succeed with your Wowza software and services.

---

<div class="post-metadata">

**Author:** ![Dan\_Farrow](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Dan\_Farrow](https://community.wowza.com/u/Dan_Farrow)\
**Post date:** [October 14, 2021, 6:18pm UTC](https://community.wowza.com/t/how-do-i-inject-binary-timed-emsg-metadata-into-fragmented-mp4-cmaf-hls-streams/93967/3 "2021-10-14T18:18:27Z")

</div>

Thank you, I opened a support ticket.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 14, 2021, 7:40pm UTC](https://community.wowza.com/t/how-do-i-inject-binary-timed-emsg-metadata-into-fragmented-mp4-cmaf-hls-streams/93967/4 "2021-10-14T19:40:14Z")

</div>

Sorry I couldn’t have been of more help to you here in the forums, but glad you asked and hopefully we can work on this together with you in your ticket.
