mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-06 00:26:52 +08:00
Updated transcoding example encoder codec id
This commit is contained in:
@@ -265,7 +265,7 @@ func openOutputFile() (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get codec id
|
// Get codec id
|
||||||
codecID := astiav.CodecIDMpeg4
|
codecID := astiav.CodecIDH264
|
||||||
if s.decCodecContext.MediaType() == astiav.MediaTypeAudio {
|
if s.decCodecContext.MediaType() == astiav.MediaTypeAudio {
|
||||||
codecID = astiav.CodecIDAac
|
codecID = astiav.CodecIDAac
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user