<br><div class="gmail_quote">2011/6/22 Nicolas George <span dir="ltr"><<a href="mailto:nicolas.george@normalesup.org">nicolas.george@normalesup.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Le quartidi 4 messidor, an CCXIX, JunHorng a écrit :<br>
<div class="im">> I used the cross-compiler of Android NDK (r5b) to rebuild the SDL source.<br>
<br>
</div>No one can help you if you do not provide all the required information. You<br>
did not say what version of SDL you compiled, although it was specifically<br>
asked.<br>
<br>
> 2011/6/22 Nicolas George <<a href="mailto:nicolas.george-t%2B5nXNeJE7o5viHyz3%2BzKA@public.gmane.org">nicolas.george-t+5nXNeJE7o5viHyz3+zKA@public.gmane.org</a>><br>
<br>
Please read the guidelines and rules for this mailing-list and comply to<br>
them. Top-posting is forbidden.<br>
<br>
Regards,<br>
<br>
--<br>
<font color="#888888">  Nicolas George<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br><div>Nicolas,</div><div><br></div><div>Thank you for your reminding about the guidelines.</div><div><br></div><div>What I want to do is to write an Android apk to decode and play the H.264 encoded video file or video stream by FFmpeg and SDL libraries. I firstly learned how to write an executable linux program on Ubuntu by FFmpeg and SDL libraries and I succeeded. The version of FFmpeg is 0.6.3. But, I don't know the version of SDL I used because the SDL libraries seem to be installed by default. </div>
<div><br></div><div>Then, I used the cross-compiler of Android NDK r5b to compile the source files of FFmpeg-0.6.3 and SDL-1.2.14 to get libffmpeg.so and libSDL.a. It was assumed that these two libraries can be used to make the Android apk I want. However, the program was stopped at <span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">SDL_init() and the error message </span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">"No available video device"</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "> was shown. Does anybody know how to solve this problem?</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></span></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Thank you</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Jun-Horng</span></font></div>