mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-06 16:19:38 +08:00
2023-11-03 18:49:52 CST W44D5
This commit is contained in:
@@ -302,7 +302,7 @@ func main() {
|
|||||||
|
|
||||||
if videoStream != nil {
|
if videoStream != nil {
|
||||||
fmt.Fprintf(os.Stdout, "Play the output video file with the command:\n"+
|
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()),
|
ffmpeg.AvGetPixFmtName(videoDecCtx.GetPixFmt()),
|
||||||
videoDecCtx.GetWidth(), videoDecCtx.GetHeight(), videoDstFilename)
|
videoDecCtx.GetWidth(), videoDecCtx.GetHeight(), videoDstFilename)
|
||||||
}
|
}
|
||||||
|
@@ -101,7 +101,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fmt.Fprintf(os.Stderr, "Scaling succeeded. Play the output file with the command:\n"+
|
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)
|
ffmpeg.AvGetPixFmtName(dstPixFmt), dstW, dstH, dstFilename)
|
||||||
|
|
||||||
end:
|
end:
|
||||||
|
Reference in New Issue
Block a user