mux mpegts stream

  1. Remmaping of PIDs can be done in ffmpeg.
    fmpeg -i input -c copy -f mpegts \
    -mpegts_original_network_id 0x1122 \
    -mpegts_transport_stream_id 0x3344 \
    -mpegts_service_id 0x5566 \
    -mpegts_service_type 0x1 \
    -mpegts_pmt_start_pid 0x1500 \
    -mpegts_start_pid 0x150 \
    -metadata service_provider="Some provider" \
    -metadata service_name="Some Channel" \
    -tables_version 5 \
    sample.ts
  2. Remuxing can be done via ffmpeg using [muxrate] parameter
  3. Changing RTP to UDP and to RTP can be done using multicat tool https://www.videolan.org/projects/multicat.html

你可能感兴趣的:(audio,video,codec)