[MPlayer-users] Converting mkv to avi?

Anssi Saari as at sci.fi
Fri Feb 25 09:09:06 CET 2005


Is it supposed to be possible to convert mkv to avi? I tried with 

mencoder -v -oac copy -ovc copy test.mkv -of avi -o test.avi

but it seems to hang, CPU is at 100%, but nothing else seems to
happen. Output follows.  The file plays fine with mplayer.


MEncoder dev-CVS-041226-10:26-3.4.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

83 audio & 192 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
init_freetype
get_path('font/font.desc') -> '/home/as/.mplayer/font/font.desc'
Font /home/as/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 734697140 bytes
STREAM: [file] test.mkv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0x2bca96b4
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
[mkv] Found the head...
[mkv] + a segment...
[mkv] |+ segment information...
[mkv] | + duration: 3408.411s
[mkv] /---- [ parsing seek head ] ---------
[mkv] /---- [ parsing cues ] -----------
[mkv] \---- [ parsing cues ] -----------
[mkv] /---- [ parsing chapters ] ---------
[mkv] Chapter 1 from 00:00:00.000 to 00:03:54.400
[mkv] Chapter 2 from 00:03:54.400 to 00:07:55.080
[mkv] Chapter 3 from 00:07:55.080 to 00:11:19.160
[mkv] Chapter 4 from 00:11:19.160 to 00:14:31.000
[mkv] Chapter 5 from 00:14:31.000 to 00:18:01.560
[mkv] Chapter 6 from 00:18:01.560 to 00:21:04.960
[mkv] Chapter 7 from 00:21:04.960 to 00:23:15.880
[mkv] Chapter 8 from 00:23:15.880 to 00:24:47.280
[mkv] Chapter 9 from 00:24:47.280 to 00:29:21.480
[mkv] Chapter 10 from 00:29:21.480 to 00:32:38.360
[mkv] Chapter 11 from 00:32:38.360 to 00:36:12.200
[mkv] Chapter 12 from 00:36:12.200 to 00:40:28.640
[mkv] Chapter 13 from 00:40:28.640 to 00:44:53.880
[mkv] Chapter 14 from 00:44:53.880 to 00:47:12.560
[mkv] Chapter 15 from 00:47:12.560 to 00:49:45.360
[mkv] Chapter 16 from 00:49:45.360 to 00:53:11.720
[mkv] Chapter 17 from 00:53:11.720 to 00:56:09.320
[mkv] Chapter 18 from 00:56:09.320 to 00:56:48.411
[mkv] \---- [ parsing chapters ] ---------
[mkv] \---- [ parsing seek head ] ---------
[mkv] |+ segment tracks...
[mkv] | + a track...
[mkv] |  + Track number: 1
[mkv] |  + Track type: Video
[mkv] |  + Codec ID: V_MS/VFW/FOURCC
[mkv] |  + CodecPrivate, length 40
[mkv] |  + Default duration: 40.000ms ( = 25.000 fps)
[mkv] |  + Video track
[mkv] |   + Pixel width: 644
[mkv] |   + Pixel height: 268
[mkv] |   + Display width: 644
[mkv] |   + Display height: 268
[mkv] | + a track...
[mkv] |  + Track number: 2
[mkv] |  + Track type: Audio
[mkv] |  + Codec ID: A_VORBIS
[mkv] |  + CodecPrivate, length 4321
[mkv] |  + Audio track
[mkv] |   + Sampling frequency: 48000.000000
[mkv] |   + Channels: 2
[mkv] | + a track...
[mkv] |  + Track number: 3
[mkv] |  + Track type: Subtitle
[mkv] |  + Codec ID: S_TEXT/UTF8
[mkv] |  + Language: swe
[mkv] |+ found cluster, headers are parsed completely :)
[mkv] Track ID 1: video (V_MS/VFW/FOURCC), -vid 0
[mkv] Track ID 2: audio (A_VORBIS), -aid 0, -alang eng
[mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang swe
==> Found video stream: 1
[mkv] Aspect: 2.402985
[mkv] Will play video track 1
==> Found audio stream: 2
[mkv] Will play audio track 2
Matroska file format detected.
VIDEO:  [XVID]  644x268  12bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:31  fourcc:0x44495658  size:644x268  fps:25.00  ftime:=0.0400
videocodec: framecopy (644x268 12bpp fourcc=44495658)
audiocodec: framecopy (format=fffe chans=2 rate=48000 bits=16 bps=0 sample-0)
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Too many video packets in the buffer: (400 in 8396692 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)  
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Pos:   0.0s      1f ( 1%)   0fps Trem:   0min  21mb  A-V:  nan [0:0] A/Vms 0/0 D/B/S 0/0/0 




More information about the MPlayer-users mailing list