Transcoder icon indicating copy to clipboard operation
Transcoder copied to clipboard

Failed to stop the muxer

Open maunishWisdomlogix opened this issue 4 years ago • 3 comments

maunishWisdomlogix avatar Jul 07 '21 12:07 maunishWisdomlogix

May be fix this issue by #159.

jumperson avatar Jan 31 '22 00:01 jumperson

try adding TrackType to your DataSource

mycohbasilan avatar Feb 16 '22 09:02 mycohbasilan

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()

junghoon-luckyhuni avatar Feb 14 '23 00:02 junghoon-luckyhuni