alex
alex
@webinone Looks like you don't have jpeg2000 codec, check it with `ffmpeg -codecs | grep -i jpeg`
@maurorappa Hi, your problem is different. `[jpeg2000 @ 0x7000000] The encoder timebase is not set.` The example is pretty old, now you have to set timebase for this encoder. Just...
Hi. Yes, you're right. I'll fix it.
Hi, @SpaceInvader61 As far as i understand - there are two options: - you can set threads count for codec context by `SetThreadCount` - it affects libav codec directly -...
@SpaceInvader61 Yes, you're right — i can reproduce this problem. Will check it out. Thanks.
@SpaceInvader61 Well, you can try to define count of thread vi `Options` After codec has been opened, initialize codec context like with options: ```go codec, err := gmf.FindEncoder(extention) if err...
Hm, that is strange. I checked it out and everything worked. I recheck it later. -------- Original Message -------- On Apr 3, 2020, 18:46, Space Invader wrote: > [@3d0c](https://github.com/3d0c) >...
Ok. you've got 4 (a least) contexts: - input codec - input codecContext - here is where you can apply `options` - output codec - output codecContext I've provided a...
Oops, sorry, looks like i've got another codebase I meant this one https://github.com/3d0c/gmf/blob/master/examples/video-to-image.go#L57-L62 let codec init as is, just add `options` into NewCodecCtx(codec, opotions) that's it.
Actually, no. You did (libav did) multy-hreadnig for decoding, not for encoding (you can see it by debugging ffmpeg) - it doesn't. So, setup threads for decoding and forget about...