Location>code7788 >text

FFmpeg development notes (forty-four) graduation design can do a few pull full face value of the audio and video APP

Popularity:115 ℃/2024-08-04 11:45:15
The annual graduation season is coming, graduation design is considered to be the last big assignment for college students before graduation, especially the graduation design of computer-related majors, which usually involves developing a software through programming, such as developing a library management system, developing an e-commerce APP and so on.

A good graduation design can give the author extra points, can be evaluated for honors, and can also gain real-world experience in programming and development, so it is very necessary to do the graduation design seriously. So what is considered a good graduation design as far as computer-related majors are concerned?

Take cell phone APP for example, graduation design to do APP should be combined with the industry development trend. Now that 5G technology has become very popular, many commercial APPs are deeply rooted in audio and video, there are short video APPs such as Jitterbug, fast hand, etc., chat APPs such as WeChat, Smooth Link, etc., there are broadcasting APPs such as Kudou, Himalayas, etc., and there are video editing APPs such as editing and so on. Then graduation design to do an audio and video related APP is undoubtedly a popular direction, not only comes with high technology, but also pull full face value.

There are three categories of audio and video related apps suitable for graduation design:

I. Instant messaging apps that include video calling features

Instant messaging APP is a chat APP, including the common WeChat and QQ, chat form including private chat (one-to-one) and group chat (many-to-many), chat content including text and pictures. Applicable to the graduation design of instant messaging technology includes SocketIO and WebSocket, the relevant APP programming technology, see "Android Studio Development: from zero to App online (3rd Edition)" chapter 13 of "13.4 Instant Messaging", the book chapter 13 at the same time Chapter 13 of the book at the same time gives an imitation of the WeChat project, that is, "13.5 Practical project: imitation of the WeChat private chat and group chat".

Of course, only the graphic form of instant messaging is not high-tech enough, it is best to add video calls to appear far ahead. Then the video call to the WebRTC technology, WebRTC APP programming see "Android Studio Development Practice: From Zero Basis to App online (3rd Edition)" of the "Chapter 20 Online Live", the specific practical project see the book chapter 20 of the "20.3 Practical project: imitation of WeChat's video call".

For the graduation design, the highlight of this instant messaging app is that WebRTC technology is used and the function of video call is realized through WebRTC.

Second, the short video sharing APP that includes online live broadcast function

The use of short video sharing APP is very high, whether it is recording short videos or playing short videos, are used in audio and video related technologies, the audio and video technology, see "Android Studio Development Practice: From Zero Basis to App on the line (3rd Edition)" of the "Chapter 14 Multimedia", the specific practical projects See the book chapter 14 of the "14.4 Practical Project: Imitation Shake video sharing".

Of course, just record a short video or play a short video, itself is not too difficult technology, it is best to add a real-time live broadcast function only to appear to be far ahead. Then the live broadcast technology is a huge knowledge system, the back-end streaming media server description see the previous article "Linux environment to install ZLMediaKit to achieve the video push stream" and "Linux environment to install SRS to achieve the live video push stream", the streaming media transmission protocol description see the previous article "RTMP protocol to build a computer and cell phone live Demo" and "the use of SRT protocol to build a cell phone APP live Demo", more detailed live broadcast technology. SRT protocol to build a cell phone APP live Demo ", more detailed live technical articles can refer to the" FFmpeg development notes full catalog (FFmpeg development of combat details, including the process of building a live system) ".

For the graduation design, the highlight of this short video sharing APP is the use of live streaming technology and the realization of the function of live video streaming through RTMP/SRT protocol.

Third, the video editing APP that includes animation special effects function

Video editing APP is often used with short video sharing, such as clipping has become a necessary tool for self-media practitioners, and the related clipping tutorial is a big seller. The video editing function is based on FFmpeg, detailed FFmpeg programming see "FFmpeg development practice: from zero to short video on the line" book, which explains the theoretical foundations of audio and video from shallow to deep and the development of the practice, which chapter 12 of the "12.4 Practical Project: Imitation of the video editing of clipping screen". More through the FFmpeg integrated into the APP project to achieve a faux video editing APP.

Don't underestimate this video editing, because the major video editing software has all kinds of limitations, not always as good as expected. For example, the foreign Adobe Premiere Pro, it only supports the SRT subtitles into the video, does not support the ASS subtitles into the video, also can not realize the dynamic lyrics of karaoke effect. For example, the domestic Cutscene, although it provides a rich variety of transitions, but some advanced transitions need to be paid for (only for VIP users). So if you can build a video editing software without functional limitations, no doubt can make the crowds bright, then mastering video editing technology recommended to learn "FFmpeg development in action: from zero base to short videos on the line" book.

For the graduation design, the highlight of this video editing APP is the ability to add karaoke lyrics subtitles to the video and the function of customizing the transition animation through the transition technology.