Hi,<br><br>I am looking for this too. Any leads?<br><br>Regards,<br>Deepika<br><br><div class="gmail_quote">On Wed, Apr 4, 2012 at 5:23 AM, jettoblack <span dir="ltr"><<a href="mailto:jettoblack@gmail.com" target="_blank">jettoblack@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
I'm imagining a program that will accept an incoming MPEG-2 transport<br>
stream, demux, add some metadata to the video packets, then remux and<br>
write/stream back out.  There will be no decompression or recompression of<br>
the a/v codec data.<br>
<br>
For MPEG-2 video, the data would be added as MPEG-2 user data packets<br>
(appended to each video frame, in frame encoded order).  H.264 in MPEG-2 TS<br>
would use SEI RBSP packets.  Audio or other packets would be passed through<br>
to the remuxed stream without any changes.<br>
<br>
I can generate the bytes for the actual metadata content, but I'm not sure<br>
how to get this appended within a user data packet or SEI packet to the<br>
video frames while remuxing.<br>
<br>
Does anyone have some ideas, example code or maybe some pointers on where to<br>
look to get started?  Thanks!<br>
<br>
<br>
--<br>
View this message in context: <a href="http://libav-users.943685.n4.nabble.com/Add-MPEG-2-user-data-or-H-264-SEI-metadata-while-remuxing-tp4530217p4530217.html" target="_blank">http://libav-users.943685.n4.nabble.com/Add-MPEG-2-user-data-or-H-264-SEI-metadata-while-remuxing-tp4530217p4530217.html</a><br>

Sent from the libav-users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</blockquote></div><br>