Menu

GF_ISOFile from Memory Buffer

Help
2015-06-04
2015-06-11
  • Ahmed Hamza

    Ahmed Hamza - 2015-06-04

    Thanks for the great framework. It seems that most of functions in libgpac operate on GF_ISOFile objects. I have the MP4 data in a memory buffer. Would it be possible to obtain a GF_ISOFile object from a memory buffer? If so, where can I find the necessary API functions. If not, what needs to be done to achieve this?

    Thanks.

     
  • Romain Bouqueau

    Romain Bouqueau - 2015-06-04

    What operations do you plan to do? Demux? Mux? Split? ...

     
  • Ahmed Hamza

    Ahmed Hamza - 2015-06-04

    I need to perform two operations. I need to read samples from an MP4 container to extract the elementary stream NALUs. I'm able to do that on ordinary files but I would rather avoid any disk I/O operations if possible since the data is already in-memory after being downloaded. And I also want to perform re-muxing of scalable video streams (i.e., generate a single decodable file from two files, each containing one layer).

     
  • Ahmed Hamza

    Ahmed Hamza - 2015-06-11

    Thank you very much! That is exactly what I was looking for.

     

    Last edit: Ahmed Hamza 2015-06-11