Claude JOSEPH-ANGELIQUE wrote: > > I want to play a mpeg2 ts video containing 6 streams (4 videos and 2 > audios). Each stream has a specific PID number. I know I can get the > stream index (from 0 to 5) via AVPacket.stream_index but how to get the > exact PID number ? >
If your input format context is AVFormatContext *input; then elementary pids are input->streams[ AVPacket.stream_index ]->id -- View this message in context: http://www.nabble.com/How-to-get-stream-PID-in-MPEG2-TS-video---tp20795124p20812091.html Sent from the libav-users mailing list archive at Nabble.com. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
