<div dir="ltr">On Tue, Feb 17, 2015 at 3:47 PM, Nikos Chantziaras <span dir="ltr"><<a href="mailto:realnc@gmail.com" target="_blank">realnc@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This:<br>
<br>
<br>
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-data-spoof.html" target="_blank">http://gstreamer.freedesktop.<u></u>org/data/doc/gstreamer/head/<u></u>manual/html/section-data-<u></u>spoof.html</a><br>
<br>
seems to discourage the use of appsrc. Is there a recommended way for playing media embedded in a file?<br>
<br>
For example, there's a video in a file, and the video data begins at byte offset 100000 and ends at 500000. Is appsrc the only practical* way to play that?<br>
<br>
* extracting the data into a new file, for example, is not practical.<br clear="all"></blockquote></div><br></div><div class="gmail_extra">The "right" way to do this is to write a custom demuxer which knows how to find the video data in your files. Something like multipartdemux, I would guess.<br><br></div><div class="gmail_extra">If you want something quick-and-dirty though, I would use appsrc.<br><br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">Stirling Westrup<br>Programmer, Entrepreneur.<br><a href="https://www.linkedin.com/e/fpf/77228" target="_blank">https://www.linkedin.com/e/fpf/77228</a><br><a href="http://www.linkedin.com/in/swestrup" target="_blank">http://www.linkedin.com/in/swestrup</a><br><a href="http://technaut.livejournal.com" target="_blank">http://technaut.livejournal.com</a><br><a href="http://sourceforge.net/users/stirlingwestrup" target="_blank">http://sourceforge.net/users/stirlingwestrup</a></div>
</div></div>