Wednesday, December 3, 2008

struct ipv6_mreq has no member named ipv6mr_interface

When I am porting ffmpeg to Google Android, I got an error: 'struct ipv6_mreq' has no member named 'ipv6mr_interface'. I dont understand what happened. When I google the related information, I got this article: Linux kernel headers violate RFC2553. The corresponding header file is bionic/libc/kernel/common/linux/in6.h. I have to correct the usage of ipv6_mreq.ipv6mr_interface into ipv6_mreq.ipv6mr_ifindex.
What I am concern is does Bionic libc use the ipv6_mreq structure in a correct way?


Sam Joseph said...

I'm afraid I can't help with your issue, but I wonder, did you succeed in porting ffmpeg to android? I'd really love to be able to convert 3gpp/amr files to mp3 on the fly.

Many thanks in advance

rtm said...

Yes, I did. I can play .flv on android with ffmpeg.

Sam Joseph said...

so you ported ffmpeg to android? Is the code or a binary available somewhere? I would love to be able to use it myself.

Many thanks in advance

rtm said...

I dont have space to upload.
To make ffmpeg available is simple.
1. create a static build without depending on any libc, that is the simplist way to have it run on android
2. create a android build script, and fix build errors. it is long time ago, but I rememebered there is not too much errors to fix.
Hope you lucky.

Sam Joseph said...

Any chance you could upload here:

You just need to validate your email address and then mark the recipient as "srjoseph" or even just email the build to

otherwise I will try what you suggest.

I also see what seems like an android branch on ffmpeg here:

but it is not clear to me whether it is functional.

Many thanks in advance

Jb said...

I'm very interested too in using FFMpeg on Android.

Could you share how you managed to do that with us ??

Maybe could you share FFMpeg libs on MegaUpload (free and easy) ?

Thank you a lot.

nayan said...

hi rtm,

I am also very much interested to play live stream or file using ffplay. and letter on want to use ffmpeg on android.

Please share information to me how I can play using ffplay on android?


Gary said...

I would like to know what is a proxy used for. I also would like to know what is Generic Viagra
used for too.
There are some very complex topics to understand over the net

Android app developers said...

I am so happy to get this Information.Android is one of the good mobile application.Its providing good and advance features.This is one of the Intelligent post.Android app developers