]> git.sesse.net Git - ffmpeg/commit
examples/encode_video: only add sequence end code for mpeg1/2 video
authorJun Zhao <barryjzhao@tencent.com>
Mon, 5 Aug 2019 04:53:55 +0000 (12:53 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Thu, 8 Aug 2019 09:58:50 +0000 (17:58 +0800)
commite512d893bfcf6eb0fb60a7601ba1b02d8b44452a
tree22e93892e359cf7e5630733a9727583ec14fe950
parente282b7ed7bf8d70135c03ec5555c994f2707009e
examples/encode_video: only add sequence end code for mpeg1/2 video

Only add sequence end code for mpeg1/mpeg2 video, or else use the encoder
libx264 or libx265 in this sample, decoding the output file will get
unknow NALU type error.

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
doc/examples/encode_video.c