From 6fdcf1622666d65a0958ee89e29f61e642543fc6 Mon Sep 17 00:00:00 2001 From: aggresss Date: Fri, 3 Nov 2023 18:49:52 +0800 Subject: [PATCH] 2023-11-03 18:49:52 CST W44D5 --- examples/demuxing-decoding/main.go | 2 +- examples/scaling-video/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/demuxing-decoding/main.go b/examples/demuxing-decoding/main.go index 296ed92..afdac64 100644 --- a/examples/demuxing-decoding/main.go +++ b/examples/demuxing-decoding/main.go @@ -302,7 +302,7 @@ func main() { if videoStream != nil { fmt.Fprintf(os.Stdout, "Play the output video file with the command:\n"+ - "ffplay -f rawvideo -pix_fmt %s -video_size %dx%d %s\n", + "ffplay -f rawvideo -pixel_format %s -video_size %dx%d %s\n", ffmpeg.AvGetPixFmtName(videoDecCtx.GetPixFmt()), videoDecCtx.GetWidth(), videoDecCtx.GetHeight(), videoDstFilename) } diff --git a/examples/scaling-video/main.go b/examples/scaling-video/main.go index 7f5c756..5434810 100644 --- a/examples/scaling-video/main.go +++ b/examples/scaling-video/main.go @@ -101,7 +101,7 @@ func main() { } fmt.Fprintf(os.Stderr, "Scaling succeeded. Play the output file with the command:\n"+ - "ffplay -f rawvideo -pix_fmt %s -video_size %dx%d %s\n", + "ffplay -f rawvideo -pixel_format %s -video_size %dx%d %s\n", ffmpeg.AvGetPixFmtName(dstPixFmt), dstW, dstH, dstFilename) end: