From 3f2badc1178dedcd9ca691c9e73f1f810aa8b76c Mon Sep 17 00:00:00 2001 From: Quentin Renard Date: Sun, 17 Nov 2024 15:27:57 +0100 Subject: [PATCH] Updated transcoding example encoder codec id --- examples/transcoding/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/transcoding/main.go b/examples/transcoding/main.go index 3df0188..3bf897d 100644 --- a/examples/transcoding/main.go +++ b/examples/transcoding/main.go @@ -265,7 +265,7 @@ func openOutputFile() (err error) { } // Get codec id - codecID := astiav.CodecIDMpeg4 + codecID := astiav.CodecIDH264 if s.decCodecContext.MediaType() == astiav.MediaTypeAudio { codecID = astiav.CodecIDAac }