[vine-users:080992] Re: mplayerで音声のみの再生となります。

toraneko @ f8.dion.ne.jp toraneko @ f8.dion.ne.jp
2011年 5月 5日 (木) 14:42:33 JST


とらねこです。
お返事ありがとうございます。

悸村さん、入ってるパッケージは以下の通りです。
$ rpm -qa | grep -i mplayer | sort
mplayer-1.0-41.rc4vl5
mplayer-codecs-20071007-5vl5
self-build-mplayer-1.0-41.rc4vl5
self-build-mplayer-codecs-20071007-5vl5

野宮さん、mplayer -v のログは以下の通りです。
$ mplayer -v neko-oeoeoeoe.flv 
MPlayer 1.0rc4-4.1.2 (C) 2000-2010 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: AMD Turion(tm) 64 Mobile Technology MT-30 (Family: 15, Model: 36, Stepping: 2)
extended cpuid-level: 24
extended cache-info: 67141952
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
コンパイル時にRuntime CPU Detectionが試用されています、これは最適ではありません
最適なパフォーマスを得るには、--disable-runtime-cpudetectionを有効にしてMPLayerを再コンパイルして下さい
get_path('codecs.conf') -> '/home/toraneko/.mplayer/codecs.conf'
Reading /home/toraneko/.mplayer/codecs.conf: Can't open '/home/toraneko/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 158 audio & 340 video codecs
Configuration: --prefix=/usr --confdir=/etc/mplayer --enable-runtime-cpudetection --extra-cflags=-O2 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -fno-schedule-insns2 --disable-libdvdcss-internal --disable-dvdread-internal --enable-dvdread --enable-dvdnav --disable-faac-lavc --disable-mp3lame-lavc --disable-x264-lavc --disable-faad-internal --disable-libopenjpeg --enable-vdpau --disable-bitmap-font --disable-termcap --enable-xvmc --with-xvmclib=XvMCW --enable-largefiles --enable-menu --enable-gui --language=ja,en
CommandLine: '-v' 'neko-oeoeoeoe.flv'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/toraneko/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/toraneko/.mplayer/input.conf'
Can't open input config file /home/toraneko/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 91 binds
LIRC サポートをセッティング中...
mplayer: could not connect to socket
mplayer: No such file or directory
LIRC サポートを開く事に失敗.
get_path('neko-oeoeoeoe.flv.conf') -> '/home/toraneko/.mplayer/neko-oeoeoeoe.flv.conf'
neko-oeoeoeoe.flv を再生中
get_path('sub/') -> '/home/toraneko/.mplayer/sub/'
[file] File size is 2889632 bytes
STREAM: [file] neko-oeoeoeoe.flv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: FLV format
libavformat ファイルフォーマットと判断.
[flv @ 0x8ec06f0]Estimating duration from bitrate, this may be inaccurate
==> 映像ストリームが見付かりました: 0
======= VIDEO Format ======
  biSize 78
  biWidth 320
  biHeight 240
  biPlanes 0
  biBitCount 0
  biCompression 875967048='H264'
  biSizeImage 0
Unknown extra header dump: [1] [4d] [40] [d] [ff] [e1] [0] [17] [67] [4d] [40] [d] [bb] [20] [28] [3f] [60] [22] [0] [0] [3] [0] [fa] [0] [0] [1d] [45] [1e] [28] [54] [90] [1] [0] [4] [68] [ee] [32] [c8] 
===========================
[lavf] stream 0: video (h264), -vid 0
==> 音声ストリームが見付かりました: 1
======= WAVE Format =======
Format Tag: 20557 (0x504D)
Channels: 2
Samplerate: 44100
avg byte/sec: 6786
Block align: 1
bits/sample: 16
cbSize: 2
Unknown extra header dump: [12] [10] 
==========================================================================
[lavf] stream 1: audio (aac), -aid 0
LAVF: 1 audio and 1 video streams found
LAVF: build 3424258
VIDEO:  [H264]  320x240  0bpp  14.985 fps  326.8 kbps (39.9 kbyte/s)
[V] filefmt:44  fourcc:0x34363248  size:320x240  fps:14.985  ftime:=0.0667
クリップ情報:
 duration: 61
 starttime: 0
 totalduration: 61
 width: 320
 height: 240
 videodatarate: 319
 audiodatarate: 53
 totaldatarate: 376
 framerate: 15
 bytelength: 2889632
 canseekontime: true
 sourcedata: B4A7DAF06HH1296135520486175
 purl: 
 pmsg: 
get_path('sub/') -> '/home/toraneko/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
[VO_XV] Using Xv Adapter #0 (XV_SWOV)
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x000821).
[xv common] Maximum source image dimensions: 1920x1200
==========================================================================
映像コーデックを開いています: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
音声コーデックを開いています: [faad] AAC (MPEG2/4 Advanced Audio Coding)
dec_audio: 入力バッファを 6144 bytes 確保しました
dec_audio: 出力バッファを 65536 + 65536 = 131072 bytes 確保しました
FAAD: Decoder init done (0Bytes)!
FAAD: Negotiated samplerate: 44100Hz  channels: 2
FAAD: got 54kbit/s bitrate from MP4 header!
AUDIO: 44100 Hz, 2 ch, s16le, 54.3 kbit/3.85% (ratio: 6786->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy 
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying preferred audio driver 'pulse', options '[none]'
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: PulseAudio audio output
AO: Author: Lennart Poettering
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
再生開始...
Increasing filtered audio buffer size from 0 to 46144
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659)
VO: [xv] 320x240 => 320x240 Planar YV12 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel @ goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x434d5658 (XVMC) planar
Xvideo image format: 0x35315652 (RV15) packed
Xvideo image format: 0x36315652 (RV16) packed
Xvideo image format: 0x32335652 (RV32) packed
using Xvideo port 56 for hw scaling
*** [vo] Exporting mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
Unicode font: 15133 glyphs.
Unicode font: 15133 glyphs.
ds_fill_buffer: EOF reached (stream: video)    0  7%  0%  2.3% 2 0              
EOF code: 1  60.9 A-V: -0.000 ct:  0.023   0/  0  7%  0%  2.3% 2 0              

Uninit audio filters...
[libaf] Removing filter dummy 
uninit audio: faad
FAAD: Closing decoder!
uninit video: ffmpeg
vo: uninit ...

終了しています... (ファイルの末端です)

以上です。
コマンドラインでは問題なく再生できました。
ファイルブラウザのアイコン上で「右クリック→MplayerMediaMplayerで開く」とすると一瞬で映像ウィンドウが閉じ音声のみの再生となります。
 ※そういえば、x86-64のVine5.2にインストールしたBeepMediaPlayerでも
  アイコン上で「右クリック→BeepMediaPlayerで開く」としても再生でき  なかったです。
どうも video driver の問題ではないようですね。	





vine-users メーリングリストの案内