맞을지 틀릴지 모르겠지만..

FFMPEG 옵션을 줘서 ARMv5 계열에서 득본게 MP3뿐인데..

IDCT 에서 영향을 받은건지 MPEGVIDEO에서 본건지 알수는 없어서 대충 기재 ㅠㅠ


ARMv5 

ARMv6 

ARMv7(NEON) 



mpegvideo/mp3






ac3


mpegaudio




vp7

vp8

ac3

h.264

mpegvideo

vc1

vorbis

vp6

vp7

vp8




# ARMv5 optimizations

# subsystems

ARMV5TE-OBJS-$(CONFIG_IDCTDSP)

ARMV5TE-OBJS-$(CONFIG_MPEGVIDEO)

ARMV5TE-OBJS-$(CONFIG_VIDEODSP)


# decoders/encoders

ARMV5TE-OBJS-$(CONFIG_MLP_DECODER)



# ARMv6 optimizations

# subsystems

ARMV6-OBJS-$(CONFIG_AC3DSP)

ARMV6-OBJS-$(CONFIG_HPELDSP)

ARMV6-OBJS-$(CONFIG_IDCTDSP)

ARMV6-OBJS-$(CONFIG_ME_CMP)

ARMV6-OBJS-$(CONFIG_MPEGAUDIODSP)

ARMV6-OBJS-$(CONFIG_MPEGVIDEOENC)

ARMV6-OBJS-$(CONFIG_PIXBLOCKDSP)


# decoders/encoders

ARMV6-OBJS-$(CONFIG_MLP_DECODER)

ARMV6-OBJS-$(CONFIG_STARTCODE)

ARMV6-OBJS-$(CONFIG_VP7_DECODER)

ARMV6-OBJS-$(CONFIG_VP8_DECODER)



# VFP optimizations

VFP-OBJS


# subsystems

VFP-OBJS-$(CONFIG_FFT)

VFP-OBJS-$(CONFIG_MDCT)

VFP-OBJS-$(HAVE_ARMV6)


# decoders/encoders

VFP-OBJS-$(CONFIG_DCA_DECODER)



# NEON optimizations

NEON-OBJS


# subsystems

NEON-OBJS-$(CONFIG_AC3DSP)

NEON-OBJS-$(CONFIG_AUDIODSP)

NEON-OBJS-$(CONFIG_BLOCKDSP)

NEON-OBJS-$(CONFIG_FFT)

NEON-OBJS-$(CONFIG_H264CHROMA)

NEON-OBJS-$(CONFIG_H264DSP)

NEON-OBJS-$(CONFIG_H264PRED)

NEON-OBJS-$(CONFIG_H264QPEL)

NEON-OBJS-$(CONFIG_HPELDSP)

NEON-OBJS-$(CONFIG_IDCTDSP)

NEON-OBJS-$(CONFIG_MDCT)

NEON-OBJS-$(CONFIG_MPEGVIDEO)

NEON-OBJS-$(CONFIG_RDFT)

NEON-OBJS-$(CONFIG_VP3DSP)


# decoders/encoders

NEON-OBJS-$(CONFIG_AAC_DECODER)

NEON-OBJS-$(CONFIG_LLAUDDSP)

NEON-OBJS-$(CONFIG_DCA_DECODER)

NEON-OBJS-$(CONFIG_RV30_DECODER)

NEON-OBJS-$(CONFIG_RV40_DECODER)

NEON-OBJS-$(CONFIG_VC1_DECODER)

NEON-OBJS-$(CONFIG_VORBIS_DECODER)

NEON-OBJS-$(CONFIG_VP6_DECODER)

NEON-OBJS-$(CONFIG_VP7_DECODER)

NEON-OBJS-$(CONFIG_VP8_DECODER)


[링크 : http://git.videolan.org/?p=ffmpeg.git...;hb=HEAD]

'프로그램 사용 > ffmpeg & ffserver' 카테고리의 다른 글

ffmpeg 으로 파일 재생하기  (0) 2015.02.10
Mplayer/ffmpeg 크로스 컴파일 하기  (0) 2015.01.27
mplayer status line  (0) 2015.01.26
FAAD / FAAC  (0) 2015.01.23
pulseaudio / ffmpeg esd protocol  (0) 2014.11.18
Posted by 구차니

Mplayer를 콘솔에서 실행하면

A: 2.1 47% 이런게 떠서 조사


오홍 니가 status line이냐?

--quiet Make console output less verbose; in particular, prevents the status line (i.e. A: 0.7 V: 0.6 A-V: 0.068 ...) from being displayed. Particularly useful on slow terminals or broken ones which do not properly handle carriage return (i.e. \r).


[링크 : http://www.mplayer2.org/docs/mplayer/] 


Q: What is the meaning of the numbers on the status line?

A: Example:

A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57/57 41% 0% 2.6% 0 4 49% 1.00x

A: 2.1

audio position in seconds


V: 2.2

video position in seconds


A-V: -0.167

audio-video difference in seconds (delay)


ct: 0.042

total A-V sync correction done


57/57

frames played/decoded (counting from last seek)


41%

video codec CPU usage in percent (for slice rendering and direct rendering this includes video_out)


0%

video_out CPU usage


2.6%

audio codec CPU usage in percent


0

frames dropped to maintain A-V sync


4

current level of image postprocessing (when using -autoq)


49%

current cache size used (around 50% is normal)


1.00x

playback speed as a factor of original speed


Most of them are for debug purposes, use the -quiet option to make them disappear. You might notice that video_out CPU usage is zero (0%) for some files. This is because it is called directly from the codec and thus cannot be measured separately. If you wish to know the video_out speed, compare the difference when playing the file with -vo null and your usual video output driver. 


[링크 : http://www.mplayerhq.hu/DOCS/HTML/en/faq.html#idp61939360]


암튼.. 끊어지는 경우 audio cpu 항목이 100%를 넘어서는데

단위 시간(프레임이라던가)을 디코딩하는데 걸리는 시간을 기준으로 측정하는것 같기도 하고..

'프로그램 사용 > ffmpeg & ffserver' 카테고리의 다른 글

Mplayer/ffmpeg 크로스 컴파일 하기  (0) 2015.01.27
ffmpeg arm 아키텍쳐별 최적화 코덱  (0) 2015.01.26
FAAD / FAAC  (0) 2015.01.23
pulseaudio / ffmpeg esd protocol  (0) 2014.11.18
ffserver.conf 설정법  (0) 2014.11.06
Posted by 구차니
embeded/ARM2015. 1. 26. 17:06

리눅스에서 arm 아키텍쳐를 지칭하는 말인데

armhf는 arm Hard Float의 약자인건 확인이 되는데 반해

armel은 약자가 확인이 되지 않는다.


개인적인 추측으로는..

arm emulated 이 아닐까 싶지만..

이렇게 약자를 만드는건 극히 드물테니.. 멀려나?


The armel architecture supports the ARMv4 instruction set.

The armhf architecture supports ARMv7 platform, and more, it adds direct hardware floating-point support.

[링크 : http://www.xappsoftware.com/wordpress/2013/01/31/armhf-versus-armel/]


In Debian Linux and derivatives armhf (ARM hard float) refers to the ARMv7 architecture including the additional VFP3-D16 floating-point hardware extension (and Thumb-2) above.

Software packages and cross-compiler tools use the armhf vs. arm/armel suffixes to differentiate.

[링크 : http://en.wikipedia.org/wiki/ARM_architecture#cite_ref-60]

[링크 :https://blogs.oracle.com/jtc/entry/is_it_armhf_or_armel]



두둥! arm endian little / big 인 듯?

---

Name of the port

The table below recaps which port names Debian/dpkg saw so far.

name

endianess

status

arm

little-endian

Original Debian arm port using original ABI ('OABI'), last release in Debian lenny; being retired in favor of armel

armel

little-endian

introduced in Debian lenny; EABI, actively maintained; targets armv4t; doesn't require an FPU

armeb

big-endian

unofficial OABI port; inactive and dead

[링크 : https://wiki.debian.org/ArmHardFloatPort]

'embeded > ARM' 카테고리의 다른 글

armv7 errata / kernel  (0) 2015.01.28
NEON enabled?  (0) 2015.01.28
ltib on ubuntu  (0) 2015.01.12
i.mx283 부팅모드  (0) 2015.01.09
freescale imx283 boot error code  (0) 2015.01.07
Posted by 구차니
Programming/C++ STL2015. 1. 26. 10:19

static_cast

dynamic_cast

reinterpret_cast

const_cast


c++에서 추가된 형변환 연산자로

c의 명시적 형변환은 유사성이 없는 자료간에도 형변환이 되어 논리오류가 발생할 수 있기 때문에

이러한 문제를 최소화/억제하기 위해 사용을 하지 않도록 권장하고

새로운 형 변환 연산자를 사용하도록 강조한다.


[링크 : http://warmz.tistory.com/881]

'Programming > C++ STL' 카테고리의 다른 글

const 멤버 변수 초기화(member variable initializer)  (0) 2016.06.22
std::endl  (0) 2015.06.24
functor / 펑터  (0) 2014.04.16
cpp static 변수 및 메소드  (0) 2014.03.18
cpp scope 연산자  (0) 2014.03.18
Posted by 구차니
분류가 모호한 글2015. 1. 26. 09:05

ffmpeg에 포함되어 있어도

상용으로 판매하기 위해서는 디코더 별로 구매를 해야 하는 녀석들이 존재한다.

가장 많이 쓸녀석(?)으로

mp3 / wma / aac 정도일거 같은데..


[링크 : http://djhan.ddanzimovie.com/1051]

[링크 : http://semix2.tistory.com/532] <<<



관련사건(?)

MX플레이어 AC3 코덱 사라진 사연

[링크 : http://www.bloter.net/archives/214454]

AVplayer FFMPEG 라이센스 위반

[링크 : https://kldp.org/node/119469]



관련이 있을지도 모르는... 내용?

mp3 디코더별 음질

[링크 : http://goldenears.tistory.com/14]


안드로이드 오디오 플레이어 구조

[링크 : http://helloworld.naver.com/helloworld/textyle/8794]



[링크 : https://www.ffmpeg.org/general.html]


mp3licnese

[링크 : http://mp3licensing.com/royalty/hardware.html]


MS 라이센스

10000$ 환불안되는 비용 + per unit and/or 년별 요금

[링크 : http://windows.microsoft.com/en-us/windows/windowsmedia-components-licensing]


AAC 0.98~0.10$ (판매 댓수 별로)

[링크 : http://www.vialicensing.com/licensing/aac-fees.aspx]


AAC+

AAC+는 MPEG4 HE-AAC의 SBR을 사용하니까.. 이게 맞는거 같긴한데.. 비용은 모르겠다.

consumer인가.. Professional인가..

[링크 : http://www.vialicensing.com/licensing/sls-fees.aspx]

'분류가 모호한 글' 카테고리의 다른 글

입식 책상  (0) 2015.09.01
acoustic phased array speaker  (0) 2015.08.20
img 와 iso  (0) 2014.08.29
kdiff3 / winmerge / meld UI 비교  (0) 2014.04.30
경위대식 / 적도의식  (4) 2012.10.17
Posted by 구차니

FFMPEG에 내장된건진 모르겠지만..

mplayer에 컴파일 옵션중

ffac ffad 라는 녀석이 있는데

Freeware 이긴 하나 상업적으로 이용하려면 구매해야 할 것으로 보인다.


[링크 : http://en.wikipedia.org/wiki/FAAC]


No binary distributions are available here, because they require a patent license. You might find binaries at RareWares.

[링크 : http://www.audiocoding.com/faac.html]


For commercial licensing of the FAAD2 AAC decoder library, please contact: Mpeg4AAClicense@nero.com

[링크 : http://www.audiocoding.com/faad2.html]

'프로그램 사용 > ffmpeg & ffserver' 카테고리의 다른 글

ffmpeg arm 아키텍쳐별 최적화 코덱  (0) 2015.01.26
mplayer status line  (0) 2015.01.26
pulseaudio / ffmpeg esd protocol  (0) 2014.11.18
ffserver.conf 설정법  (0) 2014.11.06
Mplayer 캐시 설정  (0) 2014.11.06
Posted by 구차니
이론 관련/전기 전자2015. 1. 23. 13:32

봐도 모르겠다 -_-a


디지털 필터로 데이터를 필터링 하는데 있어

유한 갯수로 데이터를 가공할지

입력과 출력을 피드백 하여 반복시켜 무한 길이로 가공할지(?)에 대한 건데


FIR는 하드웨어 구성 비용이 높으나 파형의 유지가 안정적이고

IIR은 하드웨어 구성 비용은 낮으나 파형이 달라질수도 있는 차이가 있고


FIR을 각이 지게 설계(이게 무슨 의미인지.. ) 설계하려면 계수가 높아져서 더 많은 하드웨어 구성 비용을 필요로 하기에

IIR이 유리할 수도 있으니 적당히 골라서 선택적으로 쓰라는 결론?


[링크 : http://www.mcublog.co.kr/649]

[링크 : http://en.wikipedia.org/wiki/Finite_impulse_response]

[링크 : http://en.wikipedia.org/wiki/Infinite_impulse_response]

'이론 관련 > 전기 전자' 카테고리의 다른 글

디지털 서보(?)  (0) 2015.11.24
DMOS?  (0) 2015.10.20
PID 제어 (Proportional Integral Differential)  (0) 2015.10.13
전류제어  (0) 2015.09.11
역률이 모야?  (2) 2011.08.04
Posted by 구차니
모종의 음모/CAN2015. 1. 23. 08:48

dominant - logical 0 / actively driven to a voltage

recessive - logical 1/ passively return


왜이리 어려운 단어를 썼나 했더니

전기적으로 신호를 설계해서

0과 1이 충돌되면 0이 우세(우성)하게 판결되어 1을 씹어먹는다.

그래서 0 이 우선권을 가지고 데이터를 전송하여 "실시간 전송" 성격에 적합하다는 말씀(?)


CAN data transmission uses a lossless bit-wise arbitration method of contention resolution. This arbitration method requires all nodes on the CAN network to be synchronized to sample every bit on the CAN network at the same time. This is why some call CAN synchronous. Unfortunately the term synchronous is imprecise since the data is transmitted without a clock signal in an asynchronous format.
The CAN specifications use the terms "dominant" bits and "recessive" bits where dominant is a logical 0 (actively driven to a voltage by the transmitter) and recessive is a logical 1 (passively returned to a voltage by a resistor). The idle state is represented by the recessive level (Logical 1). If one node transmits a dominant bit and another node transmits a recessive bit then there is a collision and the dominant bit "wins". The means there is no delay to the higher priority message, and the node transmitting the lower priority message automatically attempts to re-transmit six bit clocks after the end of the dominant message. This makes CAN very suitable as a real time prioritized communications system.

[링크 : http://en.wikipedia.org/wiki/CAN_bus#Data_transmission]


dominant / 우성의

[링크 : http://endic.naver.com/enkrEntry.nhn?sLn=kr&entryId=7371ab1c34a84fab8bc699af491763d4&query=dominant]


recessive / 열성의

[링크 : http://endic.naver.com/enkrEntry.nhn?sLn=kr&entryId=087f00309f264a60ab6d787e5792a02a&query=recessive]

'모종의 음모 > CAN' 카테고리의 다른 글

linux can 테스트(가상 CAN IF)  (0) 2025.02.18
can-utils(cansend, candump)  (0) 2025.02.18
can invader  (0) 2024.01.09
CAN(controller area network)  (0) 2023.10.31
mcp2515 can  (0) 2023.10.30
Posted by 구차니

SBR은 aacPlus/aacp/aac+ 를 위한 코덱이다.

mpeg-2 aac 에서 aacplus가 나오고

mpeg-4 HE-AAC는 그럼.. 어디서 나온 놈이지? -_-


 A Swedish company Coding Technologies (acquired by Dolby in 2007) developed and pioneered the use of SBR in its MPEG-2 AAC derived codec called aacPlus, which first appeared in 2001. This codec was submitted to MPEG and formed the basis of MPEG-4 High-Efficiency AAC (HE-AAC), standardized in 2003. Coding Technologies' SBR method has been used with WMA 10 Professional to create WMA 10 Pro LBR, and with MP3 to create mp3PRO.


[링크 : http://en.wikipedia.org/wiki/Spectral_band_replication]


2003년 이후부터 SBR이 MPEG-4 HE-AAC에 포함 되었다 라고 해야하려나?


[링크 : http://en.wikipedia.org/wiki/High-Efficiency_Advanced_Audio_Coding]

[링크 : https://software.intel.com/en-us/node/503067]


라이센스 문제가 있는거 같은데..

[링크 : https://code.google.com/p/aacplayer-android/]


일단 규모에 따라 다르지만 $1000 이나 $15000 달러 정도는 필요할 것으로 보인다.

[링크 : http://www.vialicensing.kr/licensing/aac-faq.aspx]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

IrDA  (0) 2015.04.01
MPEG4 HE-AAC 관련  (0) 2015.01.29
ntp / ptp  (0) 2014.11.26
네트워크 지연시간 설정 및 측정  (0) 2014.11.26
동기 비동기  (0) 2014.11.26
Posted by 구차니

예전에 본거 같긴한데..

한 기억은 없네? ㅋㅋ



Posted by 구차니