Closed mmomtchev closed 4 months ago
@mmomtchev , could you please check latest code? I updated today api2-remux.cpp sample sounds like now it works.
I will into it, but I am currently working on something else. As I may have seen from my profile, I am living on social welfare and I have to eat with a few bucks per day, far below the poverty level in France because of an extortion involving the French police and the French judiciary - both on the national and the EU level. Usually, when people start blocking my PRs, I switch to another project to force the people extorting me to tell the whole story once again. Before, they were always posting simultaneously on two different issues to show me that something was part of the extortion. Now, they ask the same person to do it, probably hoping that they will eventually find a way to stop me from talking.
Yes, with the latest modifications, now it works, I will see to include it in the Node.js bindings
Is it possible with the current API to copy a stream - audio or video - without re-encoding it?
In order to create a new stream in the output
FormatContext
I must callFormatContext::addStream
- which can be either with the codec context, either with nothing at all in order to create a bare-bones emptyStream
.However I don't see any method that allows me to setup this bare-bones empty
Stream
once I have created it.There is also
FormatContext::addStream
with aCodec
but this one seems to be deprecated as offfmpeg
5.0.