# need timecode for video frame in overlay

**URL:** https://community.wowza.com/t/need-timecode-for-video-frame-in-overlay/47072
**Category:** Wowza Developer Dojo
**Tags:** wowza-streaming-server-java-api
**Created:** [May 19, 2016, 9:23pm UTC](https://community.wowza.com/t/need-timecode-for-video-frame-in-overlay/47072 "2016-05-19T21:23:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Steve\_Roeder](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@Steve\_Roeder](https://community.wowza.com/u/Steve_Roeder)
#### Post date: [May 19, 2016, 9:23pm UTC](https://community.wowza.com/t/need-timecode-for-video-frame-in-overlay/47072/1 "2016-05-19T21:23:37Z")

</div>

I’m writing an transcoder overlay. In the TranscoderVideoDecoderNotifyBase::onBeforeScaleFrame() I need to get a timecode for the current video frame (or audio frame) to synchronize some events with what I’m drawing on the frame. I found a few functions that seem to provide this timecode, but all of them returned null:

TranscoderSessionVideo.peekPacket().packet.getAbsTimecode()

TranscoderSessionVideo.peekPacket().packet.getTimecode()

TranscoderSessionVideo.popScalerDecodedFrame().timecode

TranscoderStreamSourceVideo.getFrameInfo(frameCount).getExtraData()

What do I need to do to get the timecode for a frame? Not the frame count.

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [June 9, 2016, 5:05am UTC](https://community.wowza.com/t/need-timecode-for-video-frame-in-overlay/47072/2 "2016-06-09T05:05:36Z")

</div>

Hello there and welcome to the Wowza support forum.

If you are still looking for a solution, consider opening a [ticket with support](https://www.wowza.com/support/open-ticket) (although they may suggest you) post a request to the[find a consultant forum](http://community.wowza.com/c/-/7).

Regards,

Salvadore
