Hi, I have started to write a small mediaplayer for a DVB hardware. I would like to use ffmpeg to have access to certain mediafiles, mainly MKV. The DVB hardware either accepts PES or TS. It has a H.264, VC-1 and MPEG-2 video decoder in hardware and also the various DVB audio standards.
My focus is to have player that plays MKV-Files which have been generated from DVDs. So my test MKV-File contains an MPEG2 video stream and one DD AC3 (2.0) audio stream. My testplayer reads the MKV file and is able to output the packets of the two different elementary streams(ES). Now my question: Since I would like to use the repacker/remuxing capabilities of ffmpeg, I would like to know how to produce PES instead of ES in memory using ffmpeg/libav? I know that it is possible to specify for example "dvd" as an output format to get MPEG-PS which contains PES (or MPEG-TS for TS), but how do I get the remuxed output from memory instead of writing to file (using av_interleaved_write_frame)? To clarify again: no decoding/encoding is to be done. Only demuxing and muxing. Any suggestions are welcome. Best regards, Christian _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
