我能夠通過使用rock player build script構建ffmpeg
庫。如何在Android中使用FFMPEG庫播放視頻?
現在我有這個.so
文件,我該如何播放視頻?我想在我的Activity
中的小型LinearLayout
中顯示此視頻。
可能嗎?
更新: 我知道使用VideoView
或MediaPlayer
或MediaPlayer
+ SurfaceView
很容易播放視頻。我只想了解更多關於ffmpeg
庫以及如何顯示Android內部框架Activity
。
http://stackoverflow.com/questions/8681550/android-2-2-mediaplayer-is-working-fine-with-one-shoutcast-url-but-not-with-the – 2012-02-15 06:10:23
謝謝Yaqub!你提供的鏈接是關於音頻流,但它使我得到正確的答案。 – Macchiato 2012-02-23 02:27:45
請+1我的問題然後 – 2012-02-23 04:56:49