codec

python: Convert input to upper case on screen as it is typed

Deadly 提交于 2019-12-12 02:11:55
问题 How can my Python program convert the user's keyboard input to upper case, as though the user has CAPS LOCK enabled? I want to emulate a program running on a computer which doesn't have any lower-case letters (i.e. a character set more limited than ASCII). The text input, typed interactively by the user at the keyboard, should be forced to upper case in real time as though that's what the user typed. The command line interface could use Python's standard cmd library, or something else. The

Workflow for creating animated hand-drawn videos - encoding difficulties

心已入冬 提交于 2019-12-11 15:43:58
问题 I want to create YouTube videos, kind of in the style of a white-board animation. Tldr question: How can I encode into a lossless rgb video format with ffmpeg, including alpha channel? More detailed: My current workflow looks like this: I draw the slides in Inkscape, I group all paths that are to be drawn in one go (one scene so to say) and store the slide as svg. Then I run a custom python script over that. It animates the slides as described here https://codepen.io/MyXoToD/post/howto-self

Converting a call center recording to something useful

牧云@^-^@ 提交于 2019-12-11 12:11:56
问题 I have a call center recording (when played it sounds gibberish) for which the mediainfo shows info as ion@aurora:~/Inbound$ mediainfo 48401-3405-48403--18042018170000.wav General Complete name : 48401-3405-48403--18042018170000.wav Format : Wave File size : 327 KiB Duration : 4mn 11s Overall bit rate : 10.7 Kbps Audio Format : G.723.1 Codec ID : A100 Duration : 4mn 11s Bit rate : 10.7 Kbps Channel(s) : 2 channels Sampling rate : 8 000 Hz Stream size : 327 KiB (100%) The ffmpeg info shows

Algorithm issue with TIFF CCITT Group 4 decompression (T.6)

巧了我就是萌 提交于 2019-12-11 11:35:12
问题 I work for an engineering design house and we store black and white design drawings in TIFF format compressed with CCITT Group 4 compression. I am working on a project to improve our software for working with these drawings. I need to be able to load the raw data into my program obviously, so I must decompress it. I tried using LibTiff but gave up on that rather quickly. It wouldn't build, generating over 2000 errors. I found many obvious syntax errors in the library and concluded it was junk

How to extract motion vectors and info on frame partition in HEVC HM 16.15

∥☆過路亽.° 提交于 2019-12-11 08:05:47
问题 I am using the HEVC reference software, HM Encoder Version [16.15] (including RExt) on a [Mac OS X][GCC 4.2.1][64 bit] and would like to extract at encoder side: 1) the motion vectors for each block 2) the frame partition information, i.e. the size and location of each block in the frame to which a motion vector refers. Does anybody have hints on what are the variables where this info is stored for each coding unit? Thanks! 回答1: All you need is available in the TComDataCU class. 1) For motion

Detecting codec used in RTP stream (for dynamic PTs)

余生长醉 提交于 2019-12-11 07:29:14
问题 Is it possible to detect the codec used in an RTP stream by analyzing the RTP stream alone? I know about the payload type (PT) field in the RTP header -- that can be used to identify codecs that have statically assigned PT numbers. What about the other codecs that use the dynamic PT number range? Are there any heuristics to detect the type of the payload? I'm interested in all kinds of solutions, even if the detection works for one codec only. 回答1: Sure, you can sniff around the packet to see

Easiest well-known video compression codec that can be coded from scratch

一个人想着一个人 提交于 2019-12-11 04:19:34
问题 I'm searching for a video format that would be compatible both with most media website like flickr and with Windows Phone 8. WP8 support: MP3, WMA, WMA, 3GP, 3G2, AMR, 3GP, 3G2, MP4, M4A, MPR, AAC, 3GP, 3G2, MP4, M4A, AAC, 3GP, 3G2, MP4, M4A, AAC I've read several documentation about media encoding on Windows Phone to find that nothing can turn images into video. Most WP apps are using online Azure services to encode medias, because of CPU concerns, I guess. I'm currently developing an

Force using just OPUS codec in Linphone Android

你说的曾经没有我的故事 提交于 2019-12-11 03:24:11
问题 How can I force to use just Opus Codec in linphone ? Is there a setting in LinphoneManager.java, or somewhere else (like in LinphoneCore) to change codec setting ? I found this code in LinphoneManager.java : enableDisableAudioCodec("speex", 32000, 1, false); enableDisableAudioCodec("speex", 16000, 1, false); enableDisableAudioCodec("speex", 8000, 1, true); enableDisableAudioCodec("iLBC", 8000, 1, false); enableDisableAudioCodec("G722", 8000, 1, false); enableDisableAudioCodec("G729", 8000, 1,

Editing/Decoding AVI files using system-installed proprietary codecs

狂风中的少年 提交于 2019-12-11 01:43:41
问题 I've been searching for this for a few days now, but nothing seems to quite answer or work for me, so please forgive me if I'm asking a stupid question or one that seems to have been answered elsewhere. I have an AVI file encoded using the GMP4 video codec, currently installed on my computer so I can PLAY the file in Windows Media Player for instance. What I'm trying to do is open/decode the file for editing purposes, in order to be able to stitch two video files together. I do not require it

SIP API media codecs

橙三吉。 提交于 2019-12-10 18:45:35
问题 I am trying to develop an android application with SIP API (provided in Android 2.3 or higher). I want to know which audio codecs and video codecs does this API supports ? does this API have any tools allowing to configure/choose codecs ? please help me. 回答1: I want to know which audio codecs and video codecs does this API supports? You can get supported codec list from docs itself, check AudioCodec. Those are: PCMU PCMA GSM_EFR GSM AMR does this API have any tools allowing to configure