> On Dec 30, 2017, at 3:11 AM, Aaron Levinson <alevinsn_...@levland.net> wrote: > > On 12/29/2017 10:12 AM, Devin Heitmueller wrote: >> Make use of libklvanc to parse SCTE-104 packets and announce them >> as a new stream. Right now we just pass the payload straight >> through, but once this is hoooked into libklscte35 we'll be able > > "hoooked" -> “hooked"
Ok. >> + } >> + st->codecpar->codec_type = AVMEDIA_TYPE_DATA; >> + st->time_base.den = ctx->bmd_tb_den; >> + st->time_base.num = ctx->bmd_tb_num; > > I wonder if there is any reason to set time_base here. Aren't the triggers > relatively infrequent? The triggers are relatively infrequent, but we want them to be frame accurate and when they do occur they may happen in bursts over multiple frames, and we want the clock to be accurate enough to ensure they are inserted into the correct video frame. Putting them on the same clock as the video helps with that. Devin _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel