ANDROID-VLC for RTSP build OK

Source: Internet
Author: User

Recent research on RTSP HTTP stream fetching method

VLC over live555 is a very good choice, of course, Andorid framework AV is also supporting RTSP http, the same good choice

1. Compiling

Https://wiki.videolan.org/AndroidCompile

I am Ubuntu 12.04 may be the environment to install some of the things better because, uh, there seems to be a necessary condition, the network. If you don't have this, you'll meet

Inexplicable wonder of the matter. I've compiled this before and it doesn't support RTSP, it's confusing.

Directly follow the above steps can be perfectly compiled, and some download the TAR package can be downloaded into the vlc/contrib/tarballs/, the next time to start

./compile it's no longer downloaded.

2. Testing

LIVE555 has a mediaserver that directly supports a lot of packet flow of RTSP services,

"." = + a H. Video Elementary Stream File
". 265" = a h.265 Video elementary Stream file
". AAC" +-an AAC Audio (ADTS format) file
". AC3" = = an AC-3 Audio file
". Amr" = "an amr Audio file"
". DV" + a DV Video file
". m4e" = a MPEG-4 Video elementary Stream file
". mkv" = a Matroska audio+video+ (optional) subtitles file
". mp3" = a MPEG-1 or 2 Audio file
". mpg" = a MPEG-1 or 2 program Stream (audio+video) file
". ogg" or ". Ogv" or ". Opus" = "an ogg audio and/or video file
". ts" = + a MPEG Transport Stream file
(a ". TSX" index FILE-IF present-provides server ' trick play ' support)
". VOB" = a VOB (MPEG-2 video with AC-3 audio) file
". wav" = = a wav Audio file
". WebM" = a WEBM Audio (Vorbis) +video (VP8) file

If you are not able to use FFmpeg or Avconv to convert one, very simple

Avconv-i your files to your output file. extension

Install vlc-debug.apk on the phone

Using Wireshark capture packet analysis, MediaServer is really going to go to RTSP over TCP

3.VLC-DEBUG.APK, we have a few points to forgive.

http://download.csdn.net/detail/green369258/7504483

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.