[FFmpeg-trac] #9040(ffmpeg:new): Changing HLS Segmented .TS PIDs

FFmpeg trac at avcodec.org
Tue Dec 22 00:20:23 EET 2020


#9040: Changing HLS Segmented .TS PIDs
-------------------------------------+-------------------------------------
             Reporter:  Naqros       |                     Type:
                                     |  enhancement
               Status:  new          |                 Priority:  wish
            Component:  ffmpeg       |                  Version:
             Keywords:  HLS PID TS   |  unspecified
  MPEGTS SEGMENT ID                  |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 In creating segmented .TS files and .m3u8 playlists for HLS I am finding
 that I am not able to alter the PID number for the video and audio
 streams.

 Segmented TS files and .m3u8 file are coming out perfect using -f hls,
 -hls_time, -hls_list_size, -hls_segment_filename -hls_playlist_type VOD,
 but I am unable to alter the PIDs for the video and audio streams such as
 when muxing an mpegts file.

 -streamid or even -mpegts_start_pid are the normal commands to change PID
 for mpegts files but these have no affect when creating segmented hls
 files with the above commands.

 I think it would be a great feature to be able to specify the PIDs for
 segmented TS files for HLS. Basically I am trying to offset the default
 PIDs by one so that video is 0x101 and audio is 0x102, the default is
 0x100 and 0x101.

 One workaround I tried is rewrapping all the .ts files recursively after
 encoding using -mpegts_start_pid and the result of that does not playback
 well in VLC though it plays fine before the remux.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9040>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list