Vlc android screenshot and recording video (vlc0.9.9), androidvlc0.9.9

Source: Internet
Author: User

Vlc android and recording video (vlc0.9.9), androidvlc0.9.9

1. Download and compile vlc 0.9.9

Reference https://wiki.videolan.org/AndroidCompile/

My system is Ubuntu 14.04 64-bit

2. In the project root directory ../android, install the patch git apply *. patch.
3. Install a patch in ../android/vlc. 4. recompile the patch.


When recording a video, you only need to use the following interface in LibVLC. java.
    public boolean takeSnapShot(String file, int width, int height) {        return takeSnapShot(0, file, width, height);    }    public boolean isRecordable() {        return videoIsRecordable();    }    public boolean isRecording() {        return videoIsRecording();    }    public boolean startRecord(String path) {        return videoRecordStart(path);    }    public boolean stopRecord() {        return videoRecordStop();    }


Is it easy?

Using VLC to play mms/udp stream media on android compiled the android vlc running Code. However, the following code and some debug

This is to start VideoPlayerActivity and pass the streaming media address "mms: // 192.168.2.11/cnn" to the activity.
Are you also engaged in VLC? Are you free to communicate?
 
[Android Development] source code for playing streaming media videos using VLC

Video Decoder QuickTime developed by Apple
Rj.baidu.com/soft/detail/15252.html? Ald
Please adopt it if you are satisfied.
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.