Transcoder
Transcoder copied to clipboard
Failed to stop the muxer
May be fix this issue by #159.
try adding TrackType to your DataSource
what's mean trackType to yout dataSource? i got same issue from andorid os 9 device. i used below code.
val mTranscodeVideoStrategy = DefaultVideoStrategy.exact(1080, 720).build()
val transcodingFile = createTempOutputFile(context, MP4_SUFFIX)
val builder = Transcoder.into(transcodingFile.absolutePath)
val source = UriDataSource(context, uploadVideo.url.toUri())
builder.addDataSource(source)
...
.setVideoTrackStrategy(mTranscodeVideoStrategy).transcode()