mplayer 실행 시 문제인데요 ㅠ

sungeuns의 이미지

현재 ARM926코어 기반의 freescale imx21 이란 cpu사용하는 보드를 사용중인데요,

mplayer를 컴파일 한 후 nfs를 이용하여 실행시켜 보았습니다.

근데 이런에러가 나네요ㅠㅠ

# ./mplayer -vo fbdev -ac mad asd.wmv
MPlayer 1.0pre7try2-3.3.4 (C) 2000-2005 MPlayer Team
CPU: ARM

Failed to open /dev/rtc: No such file or directory (it should be readable by the
user.)
Playing asd.wmv.
ASF file format detected.
VIDEO: [WMV1] 320x240 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
name: 먎lp(01)
author:
copyright:
comments:
==========================================================================
Forced audio codec: mad
Cannot find codec for audio format 0x161.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffwmv1] vfm:ffmpeg (FFmpeg M$ WMV1/WMV7)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.

FATAL: Could not initialize video filters (-vf) or video output (-vo).

Can't reset original fb_var_screeninfo: Invalid argument
Can't restore text mode: Invalid argument

Exiting... (End of file)
#

------------------------------------------------------------------------------------------------------------------------------------
다른파일 재생 했을때 메세지

# ./mplayer -vo fbdev -ac mad test.mpg
MPlayer 1.0pre7try2-3.3.4 (C) 2000-2005 MPlayer Team
CPU: ARM
Failed to open /dev/rtc: No such file or directory (it should be readable by the user.)
Playing test.mpg.
MPEG-PS file format detected.
VIDEO: MPEG1 352x288 (aspect 8) 25.000 fps 1150.0 kbps (143.8 kbyte/s)
===================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)
===================================================================
===================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
===================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [oss] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 352 x 288 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.

FATAL: Could not initialize video filters (-vf) or video output (-vo).

Can't restore text mode: Invalid argument

Exiting... (End of file)

동영상을 4개를 재생해봤는데, 다 안되네요...

옆에 형이 2440보드를 사용하는데, 거기서는 잘되는 동영상을 mplayer로 재생시 제보드엔 저렇게 메세지가 뜨는데...뭐가 문제일까요....

cpu reference manual 에는 H.263과 MPEG4를 지원한다고 나와있는데.....

mplayer프로그램도 2440보드에서 되는거 받아다가 같은 동영상으로 재생해봐도 저렇게 나오네요 ㅠ

frame buffer 이용해서 그림 그려보니 그부분은 정상적인것 같구요, 사진도 그런대로 나오는데....

에러메세지만 보면 코덱이 문제인것은 같은데, 어찌 해결해야 할지 감이안잡히는군요 ㅠㅠ

참고로 조금 구형보드라서 제조사에서 커스터마이징한 2.4.20커널이 포팅되있으며, 240x320 TFT-LCD를 사용합니다.

----------------------------------------------------------------
./mplayer -vo null -ac mad test.mpg

이런방법으로 비디오 output죽이고 소리만 테스트해봤는데, 소리는 잘나네요

뭐 파일마다 다르긴하지만, 오디오쪽은 별문제 없는거같은데 비디오쪽이 문제네요 ㅠㅠ

그리고 ./mplayer -vo help쳐서 나온 옵션중 null, yuv4mpeg, tga, pnm, md5sum 은 소리는 잘나와요..영상이안나오지만...ㅠㅠㅠ

아무래도 프레임버퍼사용하니까 -vo fbdev 나 -vo fbdev2 옵션을 줘야할거같은데 왜안되는지...ㅠㅠㅠ

조언좀 부탁드립니다..ㅠㅠ

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.