codec

FFMPEG: Explain parameters of any codecs function pointers

假如想象 提交于 2019-12-13 02:48:54
问题 I'm going through the article, How to integrate a codec in FFMPEG multimedia framework. According to it, every codec needs to have 3 basic functions to be defined and these functions are assigned to function pointers of the structure AVCodec . The 3 function pointers specified in the above article are: .init -> takes care of allocations and other initializations .close -> freeing the allocated memory and de-initializations .decode -> frame by frame decoding. For the function pointer .decode ,

Open DivX/XVID videos in OpenCV Python

天大地大妈咪最大 提交于 2019-12-13 01:34:11
问题 I started working on a new computer a tried to set everything as it used to be on my old one. Unfortunately switching to 64bit Windows made everything quite difficult. With the current setup I can only open raw I420 videos converted with memcoder, but I can't open DivX/XVID videos, that I used to on my old PC. I tried ffdshow and K-Lite codec pack. Opening the videos in gspot shows that the codecs are indeed installed. I've searched for solution all over the Internet, but I couldn't find the

ffmpeg concat demuxer freezes my video frames while joining the videos

大憨熊 提交于 2019-12-12 23:16:08
问题 I am trying to concat 6 WebM video file same resolution and same codecs using this command ffmpeg -f concat -i mylist.txt -c copy finalvideo.webm but the resulted video freezes some part ,exactly where the each part concatenated and yes I am using the latest ffmpeg resulted video audio spectrum you easily see the video audio freezes https://i.stack.imgur.com/SX6WT.gif mylist.txt file '1.webm' file '2.webm' file '3.webm' file '4.webm' file '5.webm' file '6.webm' My log https://pastebin.com

QTextCodec subclass - how to register my codec

时光毁灭记忆、已成空白 提交于 2019-12-12 19:02:23
问题 I need to create my own codec, i.e. subclass of QTextCodec . And I'd like to use it via QTextCodec::codecForName("myname"); However, just subclass is not enough. QTextCodec::availableCodecs() does not contain my codec name. QTextCodec documentation does not cover the area of proper registration of a custom codec: Creating Your Own Codec Class Support for new text encodings can be added to Qt by creating QTextCodec subclasses. The pure virtual functions describe the encoder to the system and

How do I refresh the video codecs shown in the list presented by AviSaveOptions() to show a newly installed codec?

試著忘記壹切 提交于 2019-12-12 18:52:28
问题 I have a Delphi 6 application with a Wizard that helps people select an appropriate video codec. It uses AviSaveOptions() to show the user a list of video codecs so they can select one. The choice is saved to disk for later re-use. At one point in the Wizard, the user is directed to download and install one out of several popular video codecs using their browser in the event they don't have a suitable one. However, after they install the new video codec and return to my app, when I call

Disable showing subtitle file in QMediaPlayer

这一生的挚爱 提交于 2019-12-12 14:13:08
问题 How to disable QMediaPlayer autoload subtitles with DirectVobSub which is tools of K-Lite Codec Pack? i don't want to show subtitle in QMediaPlayer if the subtitle file be in same directory of the video file? 回答1: Answer As QMediaPlayer relies on external frameworks for rendering video, it has limited control over how those frameworks decide to render it. In this case, as George Y. mentioned, the subtitles are probably not possible to control without resorting to win32 API. Another option

Android MediaRecorder is not generating a streamable AAC-LC audio using AudioEncoder.AAC

十年热恋 提交于 2019-12-12 14:08:25
问题 I am using a Nexus 7 with Android version 4.2+. So according to the Android Supported Media Formats all listed encoders and container formats are supported. Now I want to record an audio using the AAC-LC encoder and the MPEG-4 container format (file type). In the generated file, when I open it in an HEX-Editor, I see that the file is an ISO Base Media file having the isom File Type Box (Section 4.3) with the following compatible brands: isom and 3gp4 . The remaining of the file is mostly an

How to choose Full Frames (Uncompressed) as codec for VideoWriter

*爱你&永不变心* 提交于 2019-12-12 09:43:49
问题 i want to store uncompressed frames from a device as a video, but i need to know how to choose " Full Frames (Uncompressed) " as a codec for the VideoWriter (in emgu aka openCV). Iam able to choose it from the dropdown menu when iam passing -1 like this VideoWriter myVideoWriter = new VideoWriter ("myVieoColor.avi", -1 , 15, videoSize, true); But i want to choose the Full Frames (Uncompressed) codec automatically. For example i know i can choose the Lagarith Lossless Video Codec by

Issue encoding and decoding an audio recording to G711 ( PCMU - uLaw) format

吃可爱长大的小学妹 提交于 2019-12-12 08:36:00
问题 There isn't too much info about apply this codec when we need to streaming audio. Without apply the codec, my code work like a charm establishing a communication between 2 devices but I need encode/decode in that format because I will need streaming with the server and not between two devices (I am testing this code using 2 devices). I am looking for the chance if anyone of your could see where is the key of my problem. I've tried different configurations of the input parameters. Maybe, the

3gpp and mp4 on android

人走茶凉 提交于 2019-12-12 04:55:17
问题 I uploaded some video file from Android phone which was shoot by the built in video recorder app. The video file format is shown as mp4 when it is played. When I uploaded to amazon s3, the result is a file of extention 3gpp. Why is that? What should I do to convert the file in s3 from 3gpp to mp4 format? 回答1: Firstly, the actual video file itself should not have changed unless you have used some conversion services also, or converted as part of your upload procedure - to test this you can