Closed akochkarev closed 2 months ago
Will look today
@akochkarev , could you please check latest master code?
@h4tr3d , thanks for response!
I've tested api2-remux.cpp example from latest master sources today. And now it works good.
But I see that there some new methods like Stream::codecParameters() was added and this breaks compatibility with v2.2.1 which I use from vcpkg currently.
Waiting for a new release :) Thanks for a cool project!
Oops... vcpkg... I forgot about them.
vcpkg PR: https://github.com/microsoft/vcpkg/pull/37366
Note, I rework the decode/encode functionality for now that breaks back compatibility. It will be released as v3.0.0. New functionality are required for more flexible using of the avcodec_send_XXX/avcode_receive_XXX approach.
vcpkg PR: microsoft/vcpkg#37366
Note, I rework the decode/encode functionality for now that breaks back compatibility. It will be released as v3.0.0. New functionality are required for more flexible using of the avcodec_send_XXX/avcode_receive_XXX approach.
Great, does the new version support hardware encoding/decoding such as CUDA?
does the new version support hardware encoding/decoding such as CUDA?
There is no any changes in this direction. But, it is still usable via direct FFmpeg usage (raw()
method).
I tested version 6.1, and it seems that it is not supported either, for example avcodec_register_all
More details are needed.
Hello!
I am trying to adapt this sample (api2-remux.cpp) for truncating audio files to needed duration without reencoding.
But facing next issue: When coping streams
exception arises: "Codec context invalid" and log says: [NULL @ 0x562aaeddb780] copyContextFrom: Invalid target context
Log:
Any ideas, what can be wrong here? Thanks!