[MPlayer-users] How to play MTV files?

Andrew Savchenko Bircoph at list.ru
Fri May 23 00:25:51 CEST 2008


Hi,

On Thursday 22 May 2008 11:38, Reimar Döffinger wrote:
> > [PP] Using external postprocessing filter, max q = 6.
> > Trying filter chain: pp unsharp pp screenshot vo
> > Could not find matching colorspace - retrying with -vf
> > scale... Opening video filter: [scale]
> > SwScale params: -1 x -1 (-1=no scaling)
> > Trying filter chain: scale pp unsharp pp screenshot vo
> > 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.
>
> Do as it says. Though I think you should not be using the pp and
> unsharp filters at all with these files, even more so since I
> think pp filter will not work properly with rgb video like
> these.

Perhaps my explanation in the previous mail was knotty.
I have done whatever is recommended by CLI message, but have 
obtained the same result as with my default options.

Well, there are output for two other cases. The first case is 
default mplayer options and mine config is disabled. The second  
case is the same as the first, but with -vo x11 -vf scale. Afaik, 
X11 video output is capable to convert between (almost) any 
colorspace and -vf scale is recommended way to do so.

Thus this is the output for default mplayer options (-noconfig 
all):
******************************************************************************
$ ./mplayer -v -noconfig all ~/Fun_Final.mtv
MPlayer dev-SVN-r26851-4.3.0 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) XP 3200+ (Family: 6, Model: 10, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
get_path('codecs.conf') -> '/home/andrew/.mplayer/codecs.conf'
Reading /home/andrew/.mplayer/codecs.conf: Can't open 
'/home/andrew/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --language=en --enable-menu --enable-xmms 
--enable-largefiles --enable-fbdev --disable-tv --disable-v4l2 
--disable-lirc --enable-xvmc
CommandLine: '-v' '-noconfig' 'all' '/home/andrew/Fun_Final.mtv'
init_freetype
get_path('font/font.desc') -> 
'/home/andrew/.mplayer/font/font.desc'
font: can't open file: /home/andrew/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/andrew/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/andrew/.mplayer/input.conf'
Parsing input config file /home/andrew/.mplayer/input.conf
Input config file /home/andrew/.mplayer/input.conf parsed: 70 binds
get_path('Fun_Final.mtv.conf') -> 
'/home/andrew/.mplayer/Fun_Final.mtv.conf'

Playing /home/andrew/Fun_Final.mtv.
get_path('sub/') -> '/home/andrew/.mplayer/sub/'
[file] File size is 34079232 bytes
STREAM: [file] /home/andrew/Fun_Final.mtv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: MTV format
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename /home/andrew/Fun_Final.mtv 
ext: .mtv
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 77
AVS: avs_check_file - attempting to open 
file /home/andrew/Fun_Final.mtv
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
THIS DOESN'T LOOK LIKE AN MPEG-TS FILE!
TRIED UP TO POSITION 0, FOUND 0, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=16717 size=-385482132
LMLM4 Stream Format not found
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 9  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 
0 c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 132, synced: 0
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 8  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 
0 c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 132, synced: 0
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
LAVF_check: MTV format
libavformat file format detected.
==> Found video stream: 0
[lavf] Video stream found, -vid 0
======= VIDEO Format ======
  biSize 40
  biWidth 96
  biHeight 64
  biPlanes 0
  biBitCount 16
  biCompression 272779090='RGB'
  biSizeImage 12288
===========================
==> Found audio stream: 1
[lavf] Audio stream found, -aid 1
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 0
==========================================================================
LAVF: 1 audio and 1 video streams found
LAVF: build 3411200
VIDEO:  [RGB]  96x64  16bpp  16.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:35  fourcc:0x10424752  size:96x64  fps:16.000  
ftime:=0.0625
get_path('sub/') -> '/home/andrew/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1440x900 with depth 24 and 32 bpp (":0.0" => 
local display)
[x11] Detected wm supports layers.
[x11] Using workaround for Metacity bugs.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports FULLSCREEN state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[VO_XV] Using Xv Adaptor #0 (NV17 Video Texture)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 96 x 64 (preferred colorspace: RGB 
16-bit)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
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 :(
Cannot find codec matching selected -vo and video format 
0x10424752.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 
16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, 
layer-3)
==========================================================================
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
ao2: 44100 Hz  2 chans  s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/s16le -> 
44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
Uninit audio filters....0 (35:29.9)  0.4%
[libaf] Removing filter dummy
Uninit audio: mp3lib
vo: uninit ...

Exiting... (Quit)
******************************************************************************

And output for -vo x11 -vf scale follows:
******************************************************************************
$ ./mplayer -v -noconfig all -vo x11 -vf scale ~/Fun_Final.mtv
MPlayer dev-SVN-r26851-4.3.0 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) XP 3200+ (Family: 6, Model: 10, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
get_path('codecs.conf') -> '/home/andrew/.mplayer/codecs.conf'
Reading /home/andrew/.mplayer/codecs.conf: Can't open 
'/home/andrew/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --language=en --enable-menu --enable-xmms 
--enable-largefiles --enable-fbdev --disable-tv --disable-v4l2 
--disable-lirc --enable-xvmc
CommandLine: '-v' '-noconfig' 'all' '-vo' 'x11' '-vf' 'scale' 
'/home/andrew/Fun_Final.mtv'
init_freetype
get_path('font/font.desc') -> 
'/home/andrew/.mplayer/font/font.desc'
font: can't open file: /home/andrew/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/andrew/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/andrew/.mplayer/input.conf'
Parsing input config file /home/andrew/.mplayer/input.conf
Input config file /home/andrew/.mplayer/input.conf parsed: 70 binds
get_path('Fun_Final.mtv.conf') -> 
'/home/andrew/.mplayer/Fun_Final.mtv.conf'

Playing /home/andrew/Fun_Final.mtv.
get_path('sub/') -> '/home/andrew/.mplayer/sub/'
[file] File size is 34079232 bytes
STREAM: [file] /home/andrew/Fun_Final.mtv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: MTV format
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename /home/andrew/Fun_Final.mtv 
ext: .mtv
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 77
AVS: avs_check_file - attempting to open 
file /home/andrew/Fun_Final.mtv
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
THIS DOESN'T LOOK LIKE AN MPEG-TS FILE!
TRIED UP TO POSITION 0, FOUND 0, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=16717 size=-385482132
LMLM4 Stream Format not found
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 9  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 
0 c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 132, synced: 0
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 8  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 
0 c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 132, synced: 0
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
LAVF_check: MTV format
libavformat file format detected.
==> Found video stream: 0
[lavf] Video stream found, -vid 0
======= VIDEO Format ======
  biSize 40
  biWidth 96
  biHeight 64
  biPlanes 0
  biBitCount 16
  biCompression 272779090='RGB'
  biSizeImage 12288
===========================
==> Found audio stream: 1
[lavf] Audio stream found, -aid 1
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 0
==========================================================================
LAVF: 1 audio and 1 video streams found
LAVF: build 3411200
VIDEO:  [RGB]  96x64  16bpp  16.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:35  fourcc:0x10424752  size:96x64  fps:16.000  
ftime:=0.0625
get_path('sub/') -> '/home/andrew/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1440x900 with depth 24 and 32 bpp (":0.0" => 
local display)
[x11] Detected wm supports layers.
[x11] Using workaround for Metacity bugs.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports FULLSCREEN state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 96 x 64 (preferred colorspace: RGB 
16-bit)
Trying filter chain: scale vo
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 :(
Cannot find codec matching selected -vo and video format 
0x10424752.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 
16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, 
layer-3)
==========================================================================
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
ao2: 44100 Hz  2 chans  s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/s16le -> 
44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
Uninit audio filters....0 (35:29.9)  0.4%
[libaf] Removing filter dummy
Uninit audio: mp3lib
vo: uninit ...

Exiting... (Quit)
******************************************************************************

As you can see, "Cannot find codec matching selected -vo and video 
format 0x10424752" yet again. If I understand your correctly, you 
can play that file with mplayer rev >= 26846, so I can't 
understand what's wrong with my system. Or, maybe, you have some 
special options enabled or some uncommitted changes pending?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20080523/a0aa8d4a/attachment.pgp>


More information about the MPlayer-users mailing list