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

Playing Formats other than FLV,AVI,WMV,MP4 #51

Open
khushank opened this issue Dec 5, 2011 · 9 comments
Open

Playing Formats other than FLV,AVI,WMV,MP4 #51

khushank opened this issue Dec 5, 2011 · 9 comments

Comments

@khushank
Copy link

khushank commented Dec 5, 2011

Hi,
Thanks Havlena for this wonderful work.I have successfully ported latest FFMPeg on android using your project and successfully tested FLV,WMV,AVI,MP4 files.
But since FFMPEG support amny other file formats too.. its not able to play video for MKV,DIVX, RM ,MPG,VOB,MOV. files but audio is played perfectly.
Can you please guide me on this. I have made a small change in FFMPeg.java to support these extensions. But somehow only audio play back is coming not the video playback.

@havlenapetr
Copy link
Owner

sorry i don't have much time(i am porting ics on sgs now), for other formats you need to compile other libs into ffmpeg, like libxvid and others

@khushank
Copy link
Author

khushank commented Dec 6, 2011

if possible can u tell some more detail please... like which more libs we need and from where we will get those libs.
Does libxvid comes wid ffmpeg

@havlenapetr
Copy link
Owner

just use google, I don't know every external lib which you need for other formats, libxvid isn't included in ffmpeg, you must download it and compile it into ffmpeg(you must enable every lib by define in ffmpeg's config.h)

@sparklets
Copy link

@khushank , @havlenapetr
my Os is win7
I compiled the project using ndk and it compiled successfully , I then imported the project in my eclipse , it gave the error that the gen older is not present, if i create the gen folder and place the R.jva file in it then what should be the contents?
@khushank will you please tell all the steps you did after downloading to get this project running ?
Please answer it I am pretty sure it will help many people to benefit form this great source , thanks

@sparklets
Copy link

@khushank even if you did it on linex , please do post all the steps ,thanks again

@sparklets
Copy link

I just got able to played it :) awesome project
however I changed the frame rates of video from ffmpegConfig but still its not affecting the actual playing rate
and other thing is that it plays some videos fast and some slow ... any hints ?

@khushank
Copy link
Author

Hey @sparklets im sorry i cudnt reply!!... nice to hear that the project worked for u.... bt r u still able to run all types of formats ... and did u manage to synch the audio and video

@sparklets
Copy link

hello @khushank ,I don't need extra formats other then the given, but I still have problem with sync of audio video frames , plus I needed to get the video frames in bitmap array as well as also need to get individual sound frames .

@sparklets
Copy link

@havlenapetr you did good job,thanks again , I am hopeful you will get some time to resolve audio video sync issue plus giving opportunity of getting audio video frames

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

No branches or pull requests

3 participants