[FFmpeg-trac] #11198(avformat:closed): Specified MPEG-TS mpegts_pmt_start_pid is not written to HLS(-ssegment) segments

FFmpeg trac at avcodec.org
Fri Sep 20 17:52:27 EEST 2024


#11198: Specified MPEG-TS mpegts_pmt_start_pid is not written to HLS(-ssegment)
segments
-------------------------------------+-------------------------------------
             Reporter:  adamvaul     |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:  invalid
             Keywords:  hls          |               Blocked By:
  metadata segment                   |
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Description changed by adamvaul:

Old description:

> Summary of the bug:
>
> See a partial fix (12 years ago) here:
> https://trac.ffmpeg.org/ticket/2230
>
> This only provided a fix for metadata flags
> -service_name
> -service_provider
> to be passed on to the chained mpegts muxer
>
> but it did not pass on the flags for
> -mpegts_pmt_start_pid or
> -mpegts_start_pid
>
> You can obtain a copy of big buck bunny here:
> https://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4
>
> What I want:
>
> {{{
> -mpegts_pmt_start_pid and/or -mpegts_start_pid flags to be passed on to
> the mpegts muxer
>
> Then, if you use TSDuck tsanalyze tool (or another mpegts analyzyer) on
> .ts segment files you should see
> tsanalyze output of final file:
> |===========================================================================|
> |  PID: 0x01E0 (480)
> PMT|
>
> }}}
>
> What I get:
>
> {{{
> |===========================================================================|
> |  PID: 0x1000 (4096)
> PMT|
> }}}
>

>

>
> How to reproduce:
> {{{
> % ffmpeg -i BigBuckBunny_320x180.mp4 -t 24 -start_number 1 -hls_time 6
> -segment_time 6 -hls_list_size 0 -hls_segment_filename
> BigBuckBunny_%05d.ts -hls_playlist_type vod -sc_threshold 0
> -mpegts_pmt_start_pid 480 -mpegts_start_pid 481 -f hls BigBuckBunny.m3u8
> }}}
>
> See Report logs attached.

New description:

 Summary of the bug:

 See a partial fix (12 years ago) here: https://trac.ffmpeg.org/ticket/2230

 This only provided a fix for metadata flags
 -service_name
 -service_provider
 to be passed on to the chained mpegts muxer

 but it did not pass on the flags for
 -mpegts_pmt_start_pid or
 -mpegts_start_pid

 You can obtain a copy of big buck bunny here:
 https://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4

 What I want:

 {{{
 -mpegts_pmt_start_pid and/or -mpegts_start_pid flags to be passed on to
 the mpegts muxer

 Then, if you use TSDuck tsanalyze tool (or another mpegts analyzyer) on
 .ts segment files you should see
 tsanalyze output of final file:
 |===========================================================================|
 |  PID: 0x01E0 (480)
 PMT|

 }}}

 What I get:

 {{{
 |===========================================================================|
 |  PID: 0x1000 (4096)
 PMT|
 }}}





 How to reproduce:

 ffmpeg -i BigBuckBunny_320x180.mp4 -t 24 -hls_playlist_type vod
 -sc_threshold 0 -mpegts_pmt_start_pid 480 -mpegts_start_pid 481 -f hls
 BigBuckBunny.m3u8

 See Report logs attached.

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11198#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list