You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to copy frames from an input to an output without re-encoding them for the purposes of datamoshing. I don't see anything obviously wrong with my code so I think it's either a bug or there's something I'm missing. I've tried this on Ubuntu 18.04. 20.04, and Windows 10 and it happens with all of them.
writeFrame() with a packet does work but working with frames instead of packets is much better for what I want to do and I don't see a way of getting frames back into a packet without re-encoding them, though I might be wrong about that.
This minimal example gives me the following error:
Using FFmpeg version 4.3.2-0york0~18.04
node:internal/process/promises:227
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: In file ../src/mux.cc on line 588, found error: Error writing frame: Function not implemented] {
code: '5016'
}
The error message seems to come from line 575 in mux.cc so I think the error is coming from ret = av_write_uncoded_frame(c->format, c->streamIndex, c->frame); on line 567. I haven't opened it in a debugger to confirm this though. I found this thread that mentions av_write_uncoded_frame throwing not implemented despite being implemented so it could be related but it's over my head at this point.
If I'm missing something or there's an alternative, I'd like to know. If it's a bug it'd be nice to fix since this functionality is shown in the examples.
The text was updated successfully, but these errors were encountered:
I'm trying to copy frames from an input to an output without re-encoding them for the purposes of datamoshing. I don't see anything obviously wrong with my code so I think it's either a bug or there's something I'm missing. I've tried this on Ubuntu 18.04. 20.04, and Windows 10 and it happens with all of them.
writeFrame() with a packet does work but working with frames instead of packets is much better for what I want to do and I don't see a way of getting frames back into a packet without re-encoding them, though I might be wrong about that.
This minimal example gives me the following error:
I've uploaded a test video but I've tried several videos that's probably not the problem.
The error message seems to come from line 575 in mux.cc so I think the error is coming from
ret = av_write_uncoded_frame(c->format, c->streamIndex, c->frame);
on line 567. I haven't opened it in a debugger to confirm this though. I found this thread that mentions av_write_uncoded_frame throwing not implemented despite being implemented so it could be related but it's over my head at this point.If I'm missing something or there's an alternative, I'd like to know. If it's a bug it'd be nice to fix since this functionality is shown in the examples.
The text was updated successfully, but these errors were encountered: