mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-05 16:16:50 +08:00
Updated transcoding example encoder codec id
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user