ffmpeg command line working but down stream application does not
ywangwxd opened this issue · 1 comments
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.
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.