Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

ffmpeg command line working but down stream application does not #44

Open
ywangwxd opened this issue Dec 29, 2023 · 1 comment
Open

Comments

@ywangwxd
Copy link

Hi,

I have got ffmpeg-mpp running successfully with ffmpeg command line, decoding, transcoding, it is working.
Now I am trying to use a c++ wrapper on ffmpeg to develop my own application. It is not working even for
the basic decoding test.

I have tried to compile a vanilla ffmpeg based on this repo, i,e, just remove dependency on rockchp-mpp on configure.
The c++ wrapper is working well on this vanilla version. The c++ wrapper I used is this repo:

avcpp-a c++ wrapper for ffmpeg

Take the decode test an example, it will get return value -11 when decode a package after several frames. Some other guys
suggest me to do a while loop on -11 return value, but it is not working neither. If a -11 retuen is got, the return value will
always be -11 on calling decoding interface.

The wrapper code is not complicated and easy to compile.

@ywangwxd
Copy link
Author

By the way, I have also tried other down stream application based on ffmpeg-mpp, none of them is successful at the moment.
It is often to see error happen after several frames. But I would like to focus on this avcpp to discuss the issues, since this code
is well maintained and tested, and easy to get compiled.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant