[Libav-user] Trouble with afade filter on Android x86 Device

Coulter, Sam samcoult at amazon.com
Thu Nov 7 03:08:25 EET 2019


Of course, I forgot the attachments.

________________________________
From: Libav-user <libav-user-bounces at ffmpeg.org> on behalf of Coulter, Sam via Libav-user <libav-user at ffmpeg.org>
Sent: Wednesday, November 6, 2019 5:07 PM
To: libav-user at ffmpeg.org
Cc: Coulter, Sam
Subject: [Libav-user] Trouble with afade filter on Android x86 Device



Hello All,


I am having some trouble getting an af_afade filter to work on in a native (c++) android program. Swapping out the afade filter for a "volume" filter allows me to change the frame volume as expected, but no configuration of the afade filter seems to modify the frame at all.


I am cross compiling ffmpeg from linux with the configure options shown in ffmpeg_configure.sh, setting up the filter graph as shown in ffmpeg_filterSetup.c, and passing the frame in as shown in ffmpeg_useFilter.c (After having received it from an AVCodecContext object, and before resampling it with "swr_convert_frame").


Would really appreciate any help anyone can provide!

Thanks,

Sam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20191107/6a14e002/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_useFilter.c
Type: text/x-csrc
Size: 290 bytes
Desc: ffmpeg_useFilter.c
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20191107/6a14e002/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_filterSetup.c
Type: text/x-csrc
Size: 2929 bytes
Desc: ffmpeg_filterSetup.c
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20191107/6a14e002/attachment-0001.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_configure.sh
Type: application/x-shellscript
Size: 931 bytes
Desc: ffmpeg_configure.sh
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20191107/6a14e002/attachment.bin>


More information about the Libav-user mailing list