Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg/encode.c doest not work with ffmpeg 4.1.3 and platform android, only the first frame is encoded correctly #8

Open
charliecha opened this issue Jun 10, 2019 · 2 comments

Comments

@charliecha
Copy link

Hi Ciro:
With ffmpeg 4.1.3 and platform android, method encode_example in encode.c seems to work wrong, it only encode first frame successfully.
Log of write frames as following:
image

@cirosantilli
Copy link
Owner

cirosantilli commented Jun 10, 2019

Hi Charlie,

Sorry but I don't know :-(

I have just tried it out on Ubuntu 19.04 adm64 which happens to have the exact same ffmpeg 4.1.3, and it sill worked on master 68fec32

But most likely I'm doing some undefined behaviour in my naive code.

I would try to first search for any official in-tree examples that might work, and then also try asking the mailing list / stack overflow.

Do let me know if you find something out.

@cirosantilli cirosantilli changed the title Why does encode.c not work with ffmpeg 4.1.3 and platform android? ffmpeg/encode.c not work with ffmpeg 4.1.3 and platform android, only the first frame is encoded correctly Jun 10, 2019
@cirosantilli cirosantilli changed the title ffmpeg/encode.c not work with ffmpeg 4.1.3 and platform android, only the first frame is encoded correctly ffmpeg/encode.c doest not work with ffmpeg 4.1.3 and platform android, only the first frame is encoded correctly Jun 10, 2019
@st235
Copy link

st235 commented Jan 1, 2020

@charliecha do u have any updates here? I have the same issues with ffmpeg.

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

No branches or pull requests

3 participants