# Drop first few seconds of input streams before transcoding/packaging

**URL:** <https://community.wowza.com/t/drop-first-few-seconds-of-input-streams-before-transcoding-packaging/93023>\
**Category:** Wowza Streaming Engine\
**Created:** [March 21, 2021, 4:12pm UTC](https://community.wowza.com/t/drop-first-few-seconds-of-input-streams-before-transcoding-packaging/93023 "2021-03-21T16:12:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laurent\_Bertrand](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@Laurent\_Bertrand](https://community.wowza.com/u/Laurent_Bertrand)\
**Post date:** [March 21, 2021, 4:12pm UTC](https://community.wowza.com/t/drop-first-few-seconds-of-input-streams-before-transcoding-packaging/93023/1 "2021-03-21T16:12:46Z")

</div>

Is it possible to ask Wowza to drop the incoming stream for a few seconds and only start transcoding/packaging from a key frame, e.g. start transcoding/packaging on the first Key Frame in input streams after x seconds?

Asking because sometimes, wowza receives a bit of garbage in the first few frames on the input stream (RTMp or MPEG-TS) which leads to negative segments being created or inaccurate timecode, timecode jumping from 0 to current date on next frame!

So would like to basically ignore the first few frames/seconds to be able to start on a clean input stream.

Happy to create a module for this if you have pointers to which class/methods to override.

---

<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:** [March 22, 2021, 3:29pm UTC](https://community.wowza.com/t/drop-first-few-seconds-of-input-streams-before-transcoding-packaging/93023/2 "2021-03-22T15:29:42Z")

</div>

Our engineers say the timecodes shouldn’t be jumping like that, so would you mind sending us a support ticket so we can take a closer look at this with you?

To answer the original question, it’s not possible with the original stream, You would need to duplicate it and drop the frames you don’t want. It would be much simpler to fix the underlying issue though so please send us a ticket so we may help. Thanks!

> **[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.
