Is appsrc the only way to get media data embedded in a file?
Stirling Westrup
swestrup at gmail.com
Wed Apr 15 09:41:04 PDT 2015
On Tue, Feb 17, 2015 at 3:47 PM, Nikos Chantziaras <realnc at gmail.com> wrote:
> This:
>
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/
> manual/html/section-data-spoof.html
>
> seems to discourage the use of appsrc. Is there a recommended way for
> playing media embedded in a file?
>
> 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?
>
> * extracting the data into a new file, for example, is not practical.
>
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.
If you want something quick-and-dirty though, I would use appsrc.
--
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
http://sourceforge.net/users/stirlingwestrup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150415/04acc080/attachment.html>
More information about the gstreamer-devel
mailing list