cpp-cheat
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
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:
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.
@charliecha do u have any updates here? I have the same issues with ffmpeg.