[MPlayer-users] How to play MTV files?
Andrew Savchenko
Bircoph at list.ru
Thu May 22 04:09:19 CEST 2008
Hi,
On Wednesday 21 May 2008 20:39, Reimar Döffinger wrote:
> On Wed, May 21, 2008 at 04:59:47AM +0400, Andrew Savchenko wrote:
> > Also I found some MTV samples on
> > http://samples.mplayerhq.hu/mtv/, but I got sound playback
> > only with them.
>
> Nobody bothered to add a few lines of code (actually not even
> code, just codecs.conf entries) missing to support them.
> Should work from SVN r26846 on.
This is strange, but I still can't play
http://samples.mplayerhq.hu/mtv/Fun_Final.mtv with r26850.
Here is my output. I tried with different video output, but neither
this or -vf scale helps. I double checked
that /usr/local/etc/mplayer/codecs.conf is the same as in r26846.
=======================================================
$ ./mplayer -v ~/Fun_Final.mtv
MPlayer dev-SVN-r26850-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 & 253 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/Fun_Final.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('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
SUB: opened iconv descriptor.
SUB: closed iconv descriptor.
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/'
[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
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 96 x 64 (preferred colorspace: RGB
16-bit)
[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.
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
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....0 (35:29.9) 1.3%
[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/20080522/644f2d7a/attachment.pgp>
More information about the MPlayer-users
mailing list