<p>Isnt merging is same as muxing two elementry stream means audio n video in ur cases</p>
<div class="gmail_quote">On Jun 17, 2013 12:32 PM, "jona" <<a href="mailto:jona@visualblasters.com">jona@visualblasters.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello!<br>
<br>
I'm looking to merge various audio and video sources into one. The sources<br>
need to start at different time offsets. My guess is to use avfilter lib.<br>
Would that do the trick? Is that the right direction?<br>
<br>
If avfilter lib is the correct direction I would greatly appreciate if<br>
someone could provide some pseudo code on how I could be done? I'm having a<br>
hard time finding some documentation or examples about using filters.<br>
<br>
I have looked into the filtering_video.c example but I'm not 100% sure how<br>
to go about setting it up and all.<br>
<br>
How do I feed the various audio and video frames to the different input<br>
filter buffers? I'm not sure how the offsets are set or handled or if the<br>
avfilter lib handles that side of things.<br>
<br>
Thanks for any help or direction about this.<br>
- Jona<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://libav-users.943685.n4.nabble.com/Merging-various-audio-and-video-sources-into-one-using-avfilter-lib-tp4657898.html" target="_blank">http://libav-users.943685.n4.nabble.com/Merging-various-audio-and-video-sources-into-one-using-avfilter-lib-tp4657898.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>