[FFmpeg-trac] #10148(undetermined:open): TS encoding of H.264 omits the SPS and PPS metadata

FFmpeg trac at avcodec.org
Mon Jan 30 17:17:06 EET 2023


#10148: TS encoding of H.264 omits the SPS and PPS metadata
-------------------------------------+-------------------------------------
             Reporter:  John Coiner  |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by John Coiner):

 Here's a simpler process to reproduce the bug with probably any input
 file:

 ffmpeg -i <any_input_media> -vf scale=320:-1 -c:v libx264 -x264-params
 aud=1 -c:a aac -f hls -method PUT
 'https://upload.youtube.com/http_upload_hls?cid=<your-stream-
 key>&copy=0&nightly=1&file=out.m3u8'

 ... where 'youtube.com' can be any HTTP server that accepts PUT, there's
 nothing specific to youtube here.

 Without the fix, that produces an unjoinable and noncompliant upload where
 all HLS media segments after the first are not independently decodable.
 With the proposed fix, all are independently decodable.

 I tested this with the input file already attached to this bug, as well as
 some others.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10148#comment:15>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list