Problemas para abrir arquivos de vídeo (não é codec)

Iniciado por Nighto, 03 de Janeiro de 2008, 23:01

tópico anterior - próximo tópico

Nighto

Senhores, preciso de ajuda com o seguinte:

Quando tento abrir um vídeo qualquer, o totem (ou qualquer outro player, tentei com o mplayer) ele abre e fecha rapidamente. Não é problema de codecs, pois tenho instalado os pacotes do gstreamer através do ubuntu-restricted-extras, até mesmo instalei o w32codecs do medibuntu pensando que o problema viria da falta de codecs, mas continuou na mesma.

Rodando pelo terminal, o que temos é o seguinte:

$ totem MVI_0254.AVI
sh: jackd: not found
sh: jackd: not found
The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 48 error_code 11 request_code 140 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


dei um apt-cache search jackd e instalei-o, pensando que isto resolveria o problema, mas vimos que ele continua:

totem MVI_0253.AVIJACK tmpdir identified as [/dev/shm]
JACK tmpdir identified as [/dev/shm]
The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 51 error_code 11 request_code 140 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


por algum motivo esse tal de jack está como padrão e não deveria estar. que fazer?

[]

pinduvoz

Amigo, use o Synaptic para remover o Totem completamente (opção "marcar para remoção completa"). Depois
remova a pasta .gnome2/Totem da sua pasta home (use o comando "rm -rf ~/.gnome2/Totem" ou o modo gráfico, lembrando de mandar exibir as pastas ocultas com "Ctrl + h").

Reinstale, então, o Totem e veja se resolveu.

:: Linux Registered User nº 439378 ::

Nighto

#2
Depois de executar
sudo apt-get remove --purge totem ; rm -rf .gnome2/Totem ; sudo apt-get install totem
o problema persiste. Alguma outra sugestão?

Edit: Tentar abrir o vídeo com o VLC ou com o MPlayer também não funcionam, mas dão pistas adicionais:

VLC media player 0.8.6c Janus
[00000291] a52 decoder: A/52 channels:2 samplerate:48000 bitrate:192000
No accelerated IMDCT transform found
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  140 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  84
  Current serial number in output stream:  85


MPlayer 1.0rc2-4.1.3-DFSG-free (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     T5250  @ 1.50GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Creating config file: /home/rapousa/.mplayer/config
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.

Playing [Heijin] Love Hina 01 [DVDrip].mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3) "Dolby Digital 2.0", -aid 0, -alang jpn
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  720x544  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 544 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x544 => 726x544 Planar YV12
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
[...]


Alguma idéia?