<div dir="ltr">Addition of the pic_timing as an SEI message as per h264 ISO-IEC14496-10. It can be embedded as an additional NAL unit before any NAL coded slice. Extracting the H264 bitstream to a file I can write my own parser for it to extract SPS/PPS etc and add a NAL unit. I know x264 adds SEI User messages as it adds system encoder information, I was wondering if there was anyway to access the same units using the avcodec parsing routines?<div><br></div><div>I haven't looked at the SMPTE 12M - might work. Is there a way to add it?</div><div><br></div><div>Lance<br><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 25, 2021 at 11:23 AM Brad Hards <<a href="mailto:bradh@frogmouth.net">bradh@frogmouth.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div><p style="margin:0px">On Friday, 25 June 2021 8:18:22 PM AEST you wrote:</p>
<p style="margin:0px">> On Friday, 25 June 2021 6:00:24 PM AEST Alan Johnson wrote:</p>
<p style="margin:0px">> > Is there anyway to add a h264 NAL (SEI Timecode) unit to an existing</p>
<p style="margin:0px">>>stream</p>
<p style="margin:0px">> </p>
<p style="margin:0px">> > without access libavcodec source (i.e. only linking against the DLL)?</p>
<p style="margin:0px">> </p>
<p style="margin:0px">> I don't think so.</p>
<p style="margin:0px">> </p>
<p style="margin:0px">> AFAICT, the H.264 encoders don't support SEI writing in any released</p>
<p style="margin:0px">> version. It should work in nvenc as of the next release. Others are a work</p>
<p style="margin:0px">> in progress.</p>
<p style="margin:0px">Ah, maybe I was too fast. What timecode do you want? SMPTE 12M should work in at least nvenc and x264. </p>
<br><p style="margin:0px">What have you tried?</p>
<br><p style="margin:0px">Brad</p>
<br></div>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".<br>
</blockquote></div>