mediainfo

How to read Bit rate of .wav file in C#

喜你入骨 提交于 2019-12-30 09:44:07
问题 given that I have a .wav file, what would be best way to read its Bit rate property in C#. I have tried Shell, and asked a question Is "Bit rate" property fixed in index 28? with no asnwers so for. Also I now believe Shell is not the best way to read audio file properties. I have researched on different open source media libraries, cant find much. TagLib#: This one works alright but have two issues. it does not reflect actual bit rate in some cases where bit rate is very low (like less than

Android - Recorded audio file differs size when changing device

限于喜欢 提交于 2019-12-25 02:28:20
问题 I am trying to record an audio file in Android, I'm setting the output file bit rate and sampling rate, everything is working right but whenever i record anything in a different device the file size differs a lot. I have made some tests with a Z2 and a Moto G changing bit rate and sampling rate, obtaining very different file sizes on same recording time. I have noticed that the file depends the most on bit rate rather than sampling rate. The problem is that i would expect and actually need

python popen special characters not parsing file

女生的网名这么多〃 提交于 2019-12-25 02:01:36
问题 I am having issues with non ASCII characters. I am using python 2.7.3 python -V Python 2.7.3 I installed http://pymediainfo.readthedocs.org/en/latest/ via easy_install pymediainfo imported as below from pymediainfo import MediaInfo media_info = MediaInfo.parse(os.path.join(path, to, file)) using this with ascii characters is fine for debugging I printed the 'command' from: /usr/local/lib/python2.7/dist-packages/pymediainfo-1.3.5-py2.7.egg/pymediainfo/__init__.py the class that 'runs' the

Get Image File Information using MediaInfo library in Inno Setup Pascal Script

陌路散爱 提交于 2019-12-21 21:33:40
问题 I have been trying for more than two days to get JPEG Image and MP4 Video File Information using MediaInfo.DLL in my Pascal Script. But I keep getting error Runtime Error (at 6:366) - Access Violation at address 0042FD23. Read of address 8065241E.' The error mostly points to (at 6:366). I can't think what problem is causing this exception when trying to get Media Information using MediaInfo.DLL. The code I added to my Script: [Files] Source: Lamborghini_Aventador.jpg; DestDir: {tmp}; Flags:

Getting metadata for MOV video

眉间皱痕 提交于 2019-12-19 04:09:48
问题 I' ve a .MOV video sent by a phone messanger app. Can I retrieve the real creation data of the file and the author? I tried with ffprobe, mediainfo and similar tool but give me only the date when I download it. 回答1: I wrote a quick Python script that can obtain the creation and modification timestamps, since those are easy to find. Finding the author is a bit harder because it can be stored in several different ways. Example usage: $ ./mov-timestamps.py file.mov creation date: 2013-03-29 16

What is the difference between these 2 wav files?

旧城冷巷雨未停 提交于 2019-12-08 06:41:02
问题 I am trying to use a program called arss to create a spectrogram from a wav file. I have 2 wav files, one works and the other does not (it was converted to wav from mp3). The error that arss throws at me is This WAVE file is not currently supported . Which is fine, but I have no idea what parts of my wav file to change so that it will be supported. The docs don't help here (as far as I can tell) When I run mediainfo on both wav files, I can the following specs: working wav: General Complete

FFmpeg check audio channels for silence

会有一股神秘感。 提交于 2019-12-05 02:27:56
问题 I have two .mp4 files, both having 8 (7.1) audio channels. But in fact, I've been told that one has a stereo audio channel + 2 SAP (secondary audio on channels 7-8), and the other one has 6 (5.1) audio channels + 2 SAP (on channels 7-8). So basically the later one has some [real] audio channels such as Center channel where that doesn't exist in the former stereo one (although it has those channels, but apparently they are silent/mute). I've been trying to see some differentiating metadata to

Get Image File Information using MediaInfo library in Inno Setup Pascal Script

你离开我真会死。 提交于 2019-12-04 16:39:21
I have been trying for more than two days to get JPEG Image and MP4 Video File Information using MediaInfo.DLL in my Pascal Script. But I keep getting error Runtime Error (at 6:366) - Access Violation at address 0042FD23. Read of address 8065241E.' The error mostly points to (at 6:366). I can't think what problem is causing this exception when trying to get Media Information using MediaInfo.DLL. The code I added to my Script: [Files] Source: Lamborghini_Aventador.jpg; DestDir: {tmp}; Flags: dontcopy Source: MediaInfo.dll; DestDir: {tmp}; Flags: dontcopy [Code] #ifdef UNICODE type PWideChar =

iOS音频格式之AMR和WAV互转(更新支持64位)

天涯浪子 提交于 2019-12-03 03:58:52
---------------------------2016.6.15---------------------------------- ------- 有些小伙伴遇到想把采样率调高到16kHZ,关于arm-wb,请戳这里: 编译vo-armwbenc iOS (16kHZ wav文件转amr文件) 支持BitCode,这里: 编译opencore-amr for iOS8并支持bitcode ---------------------------2015.8.25---------------------------------- ------- 安卓录制的amr转换出现问题的,请百度下载mediainfo,比对demo录制转换的amr参数是否一致。 也有人找我说安卓出问题,但是最后确实是安卓端录制参数问题造成的。 这demo我使用过网上下载的amr文件,转换wav,是正常的。所以出问题,极可能是安卓录制不对。 //----------------------------2015.6.6----------------------------------------- 重制了个简洁很多的demo。支持电脑模拟器录音转换,iOS7 至 iPhone 6p iOS8。 下载地址 //-----------------2015.3.20-----------------------

Getting metadata for MOV video

梦想与她 提交于 2019-11-30 23:30:43
I' ve a .MOV video sent by a phone messanger app. Can I retrieve the real creation data of the file and the author? I tried with ffprobe, mediainfo and similar tool but give me only the date when I download it. I wrote a quick Python script that can obtain the creation and modification timestamps, since those are easy to find. Finding the author is a bit harder because it can be stored in several different ways. Example usage: $ ./mov-timestamps.py file.mov creation date: 2013-03-29 16:14:01 modification date: 2013-03-29 16:14:13 Sometimes you might see a date of 1/1/1904. That means the