Страница 1 из 1

Проблема кодека g2m под mplayer.

Добавлено: 20 июл 2013, 14:46
xruss
Добрый день!
Помогите, пожалуйста, посмотреть видео с расширением *.wmv под mplayer.
Похоже mplayer не поддерживает кодек g2m или g2m3 (видео GoToMeeting). Звук идет, а видео нет:(

Код: Выделить всё

[root@pavel-dell pavel]# uname -a
Linux pavel-dell.localdomain 3.8.12-nrj-desktop-2rosa #1 SMP PREEMPT Thu May 16 21:53:13 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux

Код: Выделить всё

[root@pavel-dell pavel]# file "1.wmv"
1.wmv: Microsoft ASF

Код: Выделить всё

[root@pavel-dell pavel]# mplayer -v 1.wmv
MPlayer 1.1-4.7.2 (C) 2000-2012 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 13
CPU: Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz (Family: 6, Model: 58, Stepping: 9)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading optional codecs config file /root/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /etc/mplayer/codecs.conf: No such file or directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/root/.mplayer/fonts'
Configuration: --prefix=/usr --datadir=/usr/share/mplayer --confdir=/etc/mplayer --libdir=/usr/lib64 --enable-runtime-cpudetection --enable-freetype --enable-nas --disable-sighandler --enable-gui --disable-ffmpeg_a --language=all --disable-libdvdcss-internal --enable-dvdnav --disable-dvdread-internal --enable-dvdread --enable-lirc --enable-tv --enable-joystick --enable-gl --disable-svga --enable-directfb --enable-mencoder --disable-vesa --enable-theora --enable-menu --disable-ggi --codecsdir=/usr/lib64/codecs --disable-arts --enable-pulse --disable-openal --disable-zr --enable-xvmc --disable-ivtv
CommandLine: '-v' '1.wmv'
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Reading optional input config file /root/.mplayer/input.conf: No such file or directory
Reading optional input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
get_path('1.wmv.conf') -> '/root/.mplayer/1.wmv.conf'

Playing 1.wmv.
get_path('sub/') -> '/root/.mplayer/sub/'
[file] File size is 399603301 bytes
STREAM: [file] 1.wmv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 54.29.104 (external)
Configuration: --prefix=/usr --enable-shared --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include --disable-stripping --enable-postproc --enable-gpl --enable-pthreads --enable-libtheora --enable-libvorbis --disable-encoder=vorbis --enable-libvpx --enable-x11grab --enable-runtime-cpudetect --enable-libdc1394 --enable-libschroedinger --enable-librtmp --enable-libspeex --enable-libfreetype --enable-libnut --enable-libgsm --enable-libcelt --enable-libopencv --enable-libopenjpeg --enable-libxavs --enable-libmodplug --enable-libass --enable-gnutls --enable-libcdio --enable-libpulse --enable-libv4l2 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libx264 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libxvid
LAVF_check: ASF (Advanced / Active Streaming Format)
Checking for YUV4MPEG2
ASF file format detected.
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes,  stream: 8 bytes  ID: 1
unk1: 0  unk2: 159F388
FILEPOS=0x9C4
==> Found audio stream: 1
[asfheader] Audio stream found, -aid 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 1
Samplerate: 44100
avg byte/sec: 6003
Block align: 2230
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [88] [0] [0] [f] [0] [d9] [22] [0] [0] 
==========================================================================
ASF: audio scrambling: 1 x 1 x 2230
stream type: unknown guid c0cfda59-e659-d011-a3ac00a0c90348f6
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 0 bytes,  stream: 0 bytes  ID: 2
unk1: 0  unk2: 0
FILEPOS=0xA36
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 51 bytes,  stream: 0 bytes  ID: 3
unk1: 0  unk2: 0
FILEPOS=0xA84
==> Found video stream: 3
[asfheader] Video stream found, -vid 3
======= VIDEO Format ======
  biSize 40
  biWidth 1280
  biHeight 1024
  biPlanes 1
  biBitCount 24
  biCompression 860697159='G2M3'
  biSizeImage 0
===========================
ASF: packets: 49938  flags: 2  max_packet_size: 8000  min_packet_size: 8000  max_bitrate: 329856  preroll: 3000
============ ASF Stream group == START ===
 stream count=[0x3][3]
   stream id=[0x1][1]
   max bitrate=[0x15f8f][89999]
   stream id=[0x2][2]
   max bitrate=[0xafa9][44969]
   stream id=[0x3][3]
   max bitrate=[0x2f948][194888]
============ ASF Stream group == END ===
Found movie at 0xB15 - 0x17CFFD95
ASF: 1 audio and 1 video streams found
Auto-selected ASF video ID = 3
ASF: Searching for audio stream (id:-1).
Auto-selected ASF audio ID = 1
VIDEO:  [G2M3]  1280x1024  24bpp  1000.000 fps  148.5 kbps (18.1 kbyte/s)
[V] filefmt:6  fourcc:0x334D3247  size:1280x1024  fps:1000.000  ftime:=0.0010
Load subtitles in ./
get_path('sub/') -> '/root/.mplayer/sub/'
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1366x768 with depth 24 and 32 bpp (":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] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (Intel(R) Textured Video)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2048x2048
==========================================================================
Requested video codec family [gotomeeting] (vfm=dmo) not available.
Enable it at compilation.
Cannot find codec matching selected -vo and video format 0x334D3247.
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 1536000 + 131072 = 1667072 bytes for output buffer.
FFmpeg's libavcodec audio codec
libavcodec version 54.59.100 (external)
Configuration: --prefix=/usr --enable-shared --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include --disable-stripping --enable-postproc --enable-gpl --enable-pthreads --enable-libtheora --enable-libvorbis --disable-encoder=vorbis --enable-libvpx --enable-x11grab --enable-runtime-cpudetect --enable-libdc1394 --enable-libschroedinger --enable-librtmp --enable-libspeex --enable-libfreetype --enable-libnut --enable-libgsm --enable-libcelt --enable-libopencv --enable-libopenjpeg --enable-libxavs --enable-libmodplug --enable-libass --enable-gnutls --enable-libcdio --enable-libpulse --enable-libv4l2 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libx264 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libxvid
INFO: libavcodec "wmav2" init OK!
AUDIO: 44100 Hz, 1 ch, s16le, 48.0 kbit/6.81% (ratio: 6003->88200)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
Building audio filter chain for 44100Hz/1ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy 
[dummy] Was reinitialized: 44100Hz/1ch/s16le
[dummy] Was reinitialized: 44100Hz/1ch/s16le
Trying preferred audio driver 'pulse', options '[none]'
AO: [pulse] 44100Hz 1ch s16le (2 bytes per sample)
AO: Description: PulseAudio audio output
AO: Author: Lennart Poettering
Building audio filter chain for 44100Hz/1ch/s16le -> 44100Hz/1ch/s16le...
[dummy] Was reinitialized: 44100Hz/1ch/s16le
[dummy] Was reinitialized: 44100Hz/1ch/s16le
Video: no video
Freeing 37 unused video chunks.
Starting playback...
Increasing filtered audio buffer size from 0 to 23072
A:  71.2 (01:11.1) of 16063.6 ( 4:27:43.6)  0.1% 
  =====  PAUSE  =====

Re: Проблема кодека g2m под mplayer.

Добавлено: 20 июл 2013, 15:35
VictorR2007
А вы установите пакет "task-codecs-minimal ".
Он лежит в restricted-updates,
Пакет "task-codecs" ставить не обязательно,
он добавляет немного кодеков для totem в Gnome 3.
Ну и отпишитесь, помогло или нет.
З.Ы.
Если после установки кодеков mplayer не будет показывать, то
попробуйте выделить файл и нажмите пробел для просмотра в Klook.
Проверите смогут ли его воспроизвести кодеки gstreamer0.10.

Re: Проблема кодека g2m под mplayer.

Добавлено: 21 июл 2013, 11:54
xruss
А вы установите пакет "task-codecs-minimal ".
Он лежит в restricted-updates,
Пакет "task-codecs" ставить не обязательно,
он добавляет немного кодеков для totem в Gnome 3.
Ну и отпишитесь, помогло или нет.
нет, все равно не воспроизводит :( у меня kde, может в этом дело?
Если после установки кодеков mplayer не будет показывать, то
попробуйте выделить файл и нажмите пробел для просмотра в Klook.
Проверите смогут ли его воспроизвести кодеки gstreamer0.10.
и этим плейером не воспроизводит :(
а кодеки gstreamer0.10 устанавливать с ключом "-a"?

Код: Выделить всё

[root@pavel-dell pavel]# urpmi gstreamer0.10
Нет пакета с названием gstreamer0.10
Следующие пакеты содержат gstreamer0.10: gstreamer0.10-a52dec, gstreamer0.10-aalib, gstreamer0.10-amrnb, gstreamer0.10-amrwb, ...
Чтобы выбрать все, используйте параметр «-a»

Re: Проблема кодека g2m под mplayer.

Добавлено: 21 июл 2013, 12:11
PastorDi
1.
If you want to watch a GoToMeeting video on Linux (g2m3 codec)
You'll need to install mplayer, win32 codecs, wine, the gotomeeting codec (copy the G2M.dll codec to /usr/lib/codecs). Then run the video with WMV. You also might want to see this post on downloading the g2m3 codec.
http://onlinemeeting.lefora.com/2009/12 ... -on-linux/

2. Либо пробуйте установить из реп win32-codecs-1.9-5-plf2012.1.i586.rpm и запустить mplayer потом.

Re: Проблема кодека g2m под mplayer.

Добавлено: 21 июл 2013, 13:12
VictorR2007
xruss писал(а):а кодеки gstreamer0.10 устанавливать с ключом "-a"?
Они устанавливаются пакетом "task-codecs-minimal ".
Только пакет "gstreamer0.10-pitfdll" для воспроизведения кодеков
win32-codecs через gstreamer и которые устанавливаются вместе с ним по зависимостям,
идет в task-codecs-minimal архитектуры i586.