FFmpeg-based open-glasses 3D player

Source: Internet
Author: User

The entire naked eye 3D display is a very large project and the player is just one of the tools. As for the title of the naked eye, not a gimmick. Need 3D chip source +3d player +3d display, come out of the effect is still great. In this article, first talk about the player ~ as to write a summary, if you can encounter Daniel to give some communication, is also very good ~

Talk not much, first:


This is the framework of the entire player and can be seen using a lot of different modules.  
1. The top floor uses QT, because the QT signal slot mechanism is particularly convenient to use and faster to get started.  
2. The bottom of the use of the ffmpeg, this has nothing to say, do the players know that the beginning of nothing, are looking at the Rai Teacher's blog learned. In fact, to do a common player is not difficult, with QT Multimedia class or OPENCV, very little code can be a player. But they encapsulate the decoding process too well, if you want to know a little more about the bottom, or want to add some of their own operations, or to use FFmpeg to decode the better ~ 
3. The decoded audio data is presented to SDL for playback. This you can also choose other modules, like DirectSound what ~ 
4. As for the video data, because the 3D chip source is different from the common video source, we need to process each frame of the decoded image. We chose D3D, don't ask me why is not OpenGL, because before D3D have written interface, it is useless OpenGL re-write. (If you do not need to do the processing, the decoded frame directly packaged into a qimage to the QT display is good, two or three code things.) However, QT display capacity is limited, in the test process we found that on the normal display can be normal. But on large or high-resolution displays, such as 4K displays, it is difficult to use QT directly. So try to show it with D3D or OpenGL)

The overall frame of the player and the main module is probably the case, as for the player kernel, multi-threading, audio and video synchronization, image processing module, etc., summed up and then write it ~

FFmpeg-based open-glasses 3D player

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.