MPEG-4 Decode 관련....
글쓴이: kingofkobong / 작성시간: 화, 2008/12/09 - 2:02오후
안녕하세요. 몇가지 개념을 좀 여쭙고자 이렇게 글을 올립니다.
현제 코덱쪽에 관련하여 스터디를 하고 있는데요.
제가 맡은 부분은 일반적인 MPEG4 포맷의 영상에서 audio와 video를
분리(?) 다시 말하면 audio 레코드를 추출해서 데이터를 audio decoder로
보내주는 부분을 보고 있습니다. 그러면 그림이 아래와 같이 그려 지는데 이게 맞는 건가요?
**동영상 파일-----> Video data -> Video decoder -> 출력.
|
+-> Audio data -> audio decoder -> 출력.
위와 같은 그림이 그려지는데 이게 맞는 건가요?
위의 그림이 맞는 거라면, 오디오와 비디오의 데이터 분리는 어떻게 이루어 지나요?
audio / video filter 라는 것들이 있는데 여기서 필터가 오디오와 비디오를
분리 시켜 주는 필터를 말하는 건가요?
혹시 example source를 구할수 있을까요?
질문이 좀 많아서 죄송합니다. ^^ 좀 도와 주셔요. ㅠ.ㅠ
Forums:
깊게는 모르지만 참고하세요
일반적인 MPEG4 라고 하셨는데 video codec은 MPEG4라도 어떤 형식의 파일이냐가 중요합니다.
많이 쓰이는 AVI, ASF가 있고 MPEG4에서 정의한 파일형식도 있습니다. MP4 던가..
이 저장형식에 따라 audio, video를 구분하는 방법이 결정됩니다.
적당한 스펙만 잘 찾아보면 평범한 avi, asf 파일에서 audio, video demux하는 것은 쉽게 구현할 수 있습니다.
완벽하게 구현할 필요 없이 스터디용으로 하는것이라면 다른 source 참고하는 것보다
스펙보고 구현하는게 더 나을 것 같습니다.
참고할 만한 source는 AVI parser 검색해보면 무지 많이 나올테지만
실제 필요한 부분보다 봐야할 부분이 훨씬 많아질 수도 있습니다.
댓글 달기