You are not logged in.

#1 2009-02-21 10:59:47

kagashe
Member
From: Delhi India
Registered: 2008-09-21
Posts: 13
Website

[SOLVED] Mplayer no video.

$ mplayer /media/disk/VIDEO_TS/VTS_01_1.VOB
MPlayer dev-SVN-rUNKNOWN-4.3.2 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
137 audio & 292 video codecs

Playing /media/disk/VIDEO_TS/VTS_01_1.VOB.
MPEG-PS file format detected.
VIDEO:  MPEG2  352x288  (aspect 2)  25.000 fps  500.0 kbps (62.5 kbyte/s)
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred colorspace: 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.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed sad
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 112.0 kbit/7.29% (ratio: 14000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 352 x 288 (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] 352x288 => 384x288 Planar YV12
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
A:   8.0 V:   8.2 A-V: -0.142 ct:  0.202 200/200  7%  0%  0.9% 6 0

MPlayer interrupted by signal 2 in module: sleep_timer
A:   8.1 V:   8.2 A-V: -0.138 ct:  0.198 201/201  7%  0%  0.9% 6 0

The file runs but there is no video. I can hear the sound of audio only.

kagashe

Last edited by kagashe (2009-02-22 04:39:19)

Offline

#2 2009-02-21 12:07:32

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Mplayer no video.

Everything you need to start debugging this is included in the output above. Here's some clarification to get you started:

The selected video_out device (i.e. xv) is incompatible with this codec (i.e. mpegpes)

Offline

#3 2009-02-21 12:45:09

kagashe
Member
From: Delhi India
Registered: 2008-09-21
Posts: 13
Website

Re: [SOLVED] Mplayer no video.

tomk wrote:

Everything you need to start debugging this is included in the output above. Here's some clarification to get you started:

The selected video_out device (i.e. xv) is incompatible with this codec (i.e. mpegpes)

Sorry. If I run the mplayer on other Linux distribution I get the same message but there is no problem with the video:

$ mplayer /mnt/sda4/VIDEO_TS/VTS_01_1.VOB
MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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 /mnt/sda4/VIDEO_TS/VTS_01_1.VOB.
MPEG-PS file format detected.
VIDEO:  MPEG2  352x288  (aspect 2)  25.000 fps  500.0 kbps (62.5 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] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo 5.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred colorspace: 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.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed sad
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 112.0 kbit/7.29% (ratio: 14000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 352 x 288 (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] 352x288 => 384x288 Planar YV12
A:   7.9 V:   8.1 A-V: -0.151 ct:  0.211 198/198  3%  0%  1.1% 1 0

MPlayer interrupted by signal 2 in module: sleep_timer

However, this mplayer is using libmepg2 and Arch Linux mplayer is trying ffmpeg and fails.

kagashe

Offline

#4 2009-02-22 04:38:25

kagashe
Member
From: Delhi India
Registered: 2008-09-21
Posts: 13
Website

Re: [SOLVED] Mplayer no video.

After setting the Preference/Video to x11 X11(XImage/Shm) in GUI, it works.

I don't know why it selects xv (may be because I am running without any xorg.conf).

I am marking the thread as solved.

kagashe

Last edited by kagashe (2009-02-22 04:47:15)

Offline

#5 2009-02-23 15:54:52

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: [SOLVED] Mplayer no video.

I think that it happens because xv it's the default setting of mplayer

Offline

Board footer

Powered by FluxBB