Emwin video player with two versions of UCOS-III and FreeRTOS

Source: Internet
Author: User

10th issue: Video player
Supporting examples:
V6-918_stemwin Improve the experiment _ Video player (RTX version, only supports MDK4.74)

Routines:

http://forum.armfly.com/forum.php?mod=viewthread&tid=23687

Engineering Introduction:
1. Important Notes:
(1) This example only supports MDK4.74 compilation, and the file name only supports ASCII characters due to the limitations of the filesystem RL-FLASHFS.
(2) Before testing This example, be sure to copy and paste the two folders in the folder "two test folders stored in the SD card root directory" into the SD root directory.
(3) First click on the video list, the video name will be recorded in the ListView control, and then you can do anything. If there is more video in the folder, first hit
meetings are slightly slower, mainly because you want to get the playback time for each video. Later open is faster, mainly to the Video List dialog box has been hidden and display processing,
instead of repeating the creation and deletion.
(4) Create two tasks, a GUI task, to brush Emwin natively supported EMF format video, and the other is the audio playback task, used to play the sound in the video,
The audio files are extracted from the original video, using the MP3 format. Since both tasks operate the file system, read the EMF video file and the MP3 grid separately
file system requires mutually exclusive access, which is to support re-entry.
(5) Optimization: Re-add uCGUI3.98 inside the JPEG decoding file, overwrite Emwin original decoding, and do dma2d optimization, Emwin comes with the card dead, basic 300ms
left and right a frame 480*272 picture, and optimized, almost 80ms about a frame. The disadvantage is that there are some problems with the original mechanism of Emwin, but the program design has
to avoid it. The three buffers supported by Emwin can continue to be used.
2. Function Description:
(1) Support for the previous, next, fast forward and rewind.
(2) The Emwin task is a low-priority task, and the audio decoding task is a high-priority task that communicates between two tasks through message mailboxes and event flags.
(3) The Video list dialog has been modal processed so that the user can only operate the dialog box after opening this dialog box, and cannot manipulate the main interface.

Effect:

Emwin video player with two versions of UCOS-III and FreeRTOS

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.