AliReza Khoshgoftar wrote: > I wanted to see whether there is a function in any of FFMPEG libraries that > can receive an MPEG video file(or a video stream equivalently), and > packetize them for transport (i.e. create 188 TS packets), or do the reverse > thing (receive an array or a linked list of packets and removes headers to > create a video stream)
Yes, ffmpeg supports MPEG-2 TS. http://ffmpeg.mplayerhq.hu/general.html#SEC3 (somewhat outdated) http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/mpegts_8h.html http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/mpegts_8c.html http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/mpegtsenc_8c.html AFAIR, the MPEG-2 TS muxer generates incorrect PCRs. http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-December/thread.html#58141 -- Regards. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
