[MPlayer-users] How to play MTV files?

Andrew Savchenko Bircoph at list.ru
Wed May 21 02:59:47 CEST 2008


Hi,

I want to play MTV video files with mplayer, but r26841 fails to do 
so. This files may be found on Acorp mp3 multimedia player 
MP619iCF-T41 and I created some MTV samples with some damn stupid, 
binary, m$-only utility which comes with this player.

Also I found some MTV samples on http://samples.mplayerhq.hu/mtv/, 
but I got sound playback only with them.

Am I missing some (binary?) codec or there is no way to play MTV at 
all? And what the hell is going with an audio stream from my 
sample? "Could not find codec parameters (Audio: mp3, 128 kb/s)" 
seems to be strange for me. I can upload this or some similar 
samples if needed.

Mplayer's output follows...
Here is output for my MTV sample:
===================================================
$ ./mplayer -v /home/andrew/media/video/mtv/mashines.mtv
MPlayer dev-SVN-r26841-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: 120 audio & 250 video 
codecs
Configuration: --language=en --enable-menu --enable-xmms 
--enable-largefiles --enable-fbdev --disable-tv --disable-v4l2 
--disable-lirc --enable-xvmc
CommandLine: '-v' '/home/andrew/media/video/mtv/mashines.mtv'
init_freetype
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('mashines.mtv.conf') -> 
'/home/andrew/.mplayer/mashines.mtv.conf'

Playing /home/andrew/media/video/mtv/mashines.mtv.
get_path('sub/') -> '/home/andrew/.mplayer/sub/'
[file] File size is 12434768 bytes
STREAM: [file] /home/andrew/media/video/mtv/mashines.mtv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: MPEG audio
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
SUB: opened iconv descriptor.
SUB: closed iconv descriptor.
Searching demuxer type for 
filename /home/andrew/media/video/mtv/mashines.mtv ext: .mtv
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 76
AVS: avs_check_file - attempting to open 
file /home/andrew/media/video/mtv/mashines.mtv
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 68671, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=16716 size=1447624696
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: 3  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 2 b: 
0 c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 825, 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: 2  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 2 b: 
0 c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 825, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
stream_seek: WARNING! Can't seek to 0x0 !
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
LAVF_check: MPEG audio
libavformat file format detected.
[mp3 @ 0x8969b68]Could not find codec parameters (Audio: mp3, 128 
kb/s)
LAVF_header: av_find_stream_info() failed
Checking for DV
demux_aac_probe, failed to detect an AAC stream
Found plugin: libcdaudio.so (CD Audio Player 1.2.10).
Found plugin: libuade.so (UADE 1.00).
Found plugin: libtonegen.so (Tone Generator 1.2.10).
Found plugin: libwav.so (Wave Player 1.2.10).
Found plugin: libmikmod.so (MikMod Player 1.2.10).
Found plugin: libxmms-flac.so (Reference FLAC Player v1.1.2).
Closing plugin: /usr/lib/xmms/Input/libxmms-flac.so.
Closing plugin: /usr/lib/xmms/Input/libmikmod.so.
Closing plugin: /usr/lib/xmms/Input/libwav.so.
Closing plugin: /usr/lib/xmms/Input/libtonegen.so.
Closing plugin: /usr/lib/xmms/Input/libuade.so.
uade: removing tempfile /tmp/500.uade/mmap.28661.byh7IU (used for 
shared mem)
Closing plugin: /usr/lib/xmms/Input/libcdaudio.so.

vo: x11 uninit called but X11 not initialized..

Exiting... (End of file)
===================================================

And this is the output for the sample from mphq:
===================================================
$ ./mplayer -v ~/comedian_auto.mtv
MPlayer dev-SVN-r26841-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: 120 audio & 250 video 
codecs
Configuration: --language=en --enable-menu --enable-xmms 
--enable-largefiles --enable-fbdev --disable-tv --disable-v4l2 
--disable-lirc --enable-xvmc
CommandLine: '-v' '/home/andrew/comedian_auto.mtv'
init_freetype
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('comedian_auto.mtv.conf') -> 
'/home/andrew/.mplayer/comedian_auto.mtv.conf'

Playing /home/andrew/comedian_auto.mtv.
get_path('sub/') -> '/home/andrew/.mplayer/sub/'
[file] File size is 19808768 bytes
STREAM: [file] /home/andrew/comedian_auto.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
SUB: opened iconv descriptor.
SUB: closed iconv descriptor.
Searching demuxer type for filename /home/andrew/comedian_auto.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/comedian_auto.mtv
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 72029, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=16717 size=-1842544191
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: 0  p101: 0 p1B6: 0 p12x: 1 sli: 1 a: 0 b: 
1 c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 840, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
stream_seek: WARNING! Can't seek to 0x0 !
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 
1 c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 840, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
stream_seek: WARNING! Can't seek to 0x0 !
==> 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/'
[gl] using extended formats. Use -vo gl:nomanyfmts if playback 
fails.
[gl] Using 0 as slice height (0 means image height).
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: [screenshot]
Opening video filter: [pp=dr:a]
[screenshot] query(Planar YV12) -> 3
Opening video filter: [unsharp=l7x7:0.8:c7x7:0.8]
[pp] query(Planar YV12) -> 3
Opening video filter: [pp=ha:a/va:a]
[unsharp] query(Planar YV12) -> 3
==========================================================================
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
alsa-init: requested format: 44100 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.10
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit 
Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 44100Hz/2ch/s16le -> 
48000Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[libaf] Adding filter lavcresample
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
[libaf] Reallocating memory in module lavcresample, old len = 0, 
new len = 65676
Increasing filtered audio buffer size from 0 to 65636
Uninit audio filters....1 (20:38.0)  1.4%
[libaf] Removing filter lavcresample
[libaf] Removing filter dummy
Uninit audio: mp3lib
alsa-uninit: pcm closed
vo: uninit ...

Exiting... (Quit)
===================================================
-------------- 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/20080521/5811226d/attachment.pgp>


More information about the MPlayer-users mailing list