cpp-cheat icon indicating copy to clipboard operation
cpp-cheat copied to clipboard

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

Open charliecha opened this issue 5 years ago • 2 comments

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

charliecha avatar Jun 10 '19 05:06 charliecha

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 68fec32d96766cbe589629f224e6cb7deae7207d

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 avatar Jun 10 '19 08:06 cirosantilli

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

st235 avatar Jan 01 '20 19:01 st235