[FFmpeg-trac] #10148(undetermined:new): TS encoding of H.264 omits the SPS and PPS medata
FFmpeg
trac at avcodec.org
Thu Jan 26 18:49:18 EET 2023
#10148: TS encoding of H.264 omits the SPS and PPS medata
-------------------------------------+-------------------------------------
Reporter: John Coiner | Owner: (none)
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by John Coiner):
To reproduce, use the attached file and run:
{{{
$ ffmpeg -re -i sample_input_ffmpeg_bug_10148.ts -codec copy -f hls
-method PUT
'https://upload.youtube.com/http_upload_hls?cid=<<YOUR_STREAM_KEY>>©=0&file=out.m3u8'
}}}
(Is there an option to capture HLS output to local files? That'd work too;
certainly uploading to YouTube should not really be necessary to check
this. Just upload to any webserver that accepts PUT/POST.)
This upload a few HLS chunks. Only the first chunk is independently-
decodable, all others are missing their SPS/PPS due to the bug. With the
suggested fix, all chunks include SPS/PPS.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10148#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list