Hi all. I am developing an application which would capture according to the user defined schedule the mpeg-2 transport stream from a DVB-S card and save its programs to disk in files, playable in video player.
I have already developed a parser for the system information carried in the stream, so, I can determine which elementary PIDs carry needed video and audio streams. Now I would like to capture those packes and use FFmpeg's libraries to save them to disk. However, I am rather new to FFmpeg and almost lost in tons of its functions and data structures. Suppose I have two data buffers, containing audio and video data, extracted from the stream (I mean payload of transport packets). Could someone be so kind to provide me with samples of code, using libav* functions needed to store these buffers to a disk file, which would be playable with, say, Windows' MediaPlayer? Thanks a lot. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
