Opened 3 years ago
Last modified 3 years ago
#9040 new enhancement
Changing HLS Segmented .TS PIDs
Reported by: | Naqros | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avformat |
Version: | git-master | Keywords: | HLS |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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.
Change History (1)
comment:1 by , 3 years ago
Component: | ffmpeg → avformat |
---|---|
Keywords: | PID TS MPEGTS SEGMENT ID removed |
Version: | unspecified → git-master |