[Mplayer-felhasznalok] mkv kódolása avi-ba audio buffer probléma

T waldsoft at freemail.hu
Sat Oct 20 08:13:15 CEST 2007


Sziasztok!

Gyakran találkozok olyan filmekkel, melyek .mkv kiterjesztésu" 
formátumba vannak kódolva.
Ezt az asztali DVD lejátszók 90%-a nem ismeri, továbbá az 500MHz-es vagy 
annál lassabb gépeken akadozik, talán a túl nagy számításigényu" hang 
miatt. (128MB RAMmal)
Érdekelne olyan megoldás is, mely lejátszásnál lecsökkenti a gépigényt, 
ugyanis nincs többcsatornás hangkártyám, csak stereo.

Ezzel a parancssorral próbáltam aviba kódolni:
mencoder -ovc copy -oac mp3lame bemenet.mkv -o kimenet.avi

Eeredmény:
MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 1.80GHz (Family: 15, Model: 1, Stepping: 3)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 0  data: 0x0 - 0xa9d1d8f
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_VORBIS), -aid 0, -alang jpn
[mkv] Will play video track 1
Matroska file format detected.
VIDEO:  [avc1]  1024x576  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:31  fourcc:0x31637661  size:1024x576  fps:23.98  ftime:=0.0417
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis decoder)
==========================================================================
videocodec: framecopy (1024x576 24bpp fourcc=31637661)
MP3 audio selected.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not 
writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not 
writing vprp header.
Pos:   0.9s     21f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.083 [0:131]
Skipping frame!
Pos:   1.3s     31f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.083 [579:140]
Skipping frame!
Pos:   1.6s     41f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.083 [562:145]
Skipping frame!
Pos:   2.0s     51f ( 0%)  0.00fps Trem:   6min 163mb  A-V:0.083 [563:149]
Skipping frame!

...stb

Skipping frame!
Pos: 593.2s  15801f (45%) 126.51fps Trem:   2min 166mb  A-V:0.083 [887:172]
Skipping frame!
Pos: 593.5s  15808f (45%) 126.51fps Trem:   2min 166mb  A-V:0.071 [887:172]
Too many audio packets in the buffer: (4099 in 622752 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.
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not 
writing vprp header.

Video stream:  887.004 kbit/s  (110875 B/s)  size: 65801146 bytes  
593.468 secs  15808 frames

Audio stream:  172.826 kbit/s  (21603 B/s)  size: 12831792 bytes  
593.976 secs


-ni opcióval:
MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 1.80GHz (Family: 15, Model: 1, Stepping: 3)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 0  data: 0x0 - 0xa9d1d8f
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_VORBIS), -aid 0, -alang jpn
[mkv] Will play video track 1
Matroska file format detected.
VIDEO:  [avc1]  1024x576  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:31  fourcc:0x31637661  size:1024x576  fps:23.98  ftime:=0.0417
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis decoder)
==========================================================================
videocodec: framecopy (1024x576 24bpp fourcc=31637661)
MP3 audio selected.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not 
writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not 
writing vprp header.
Pos:   0.9s     21f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.083 [0:131]
Skipping frame!
Pos:   1.3s     31f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.083 [579:140]
Skipping frame!
Pos:   1.6s     41f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.083 [562:145]
Skipping frame!
Pos:   2.0s     51f ( 0%)  0.00fps Trem:   7min 163mb  A-V:0.083 [563:149]
Skipping frame!
Pos:   2.4s     61f ( 0%)  0.00fps Trem:   6min 151mb  A-V:0.083 [560:150]

...stb

Skipping frame!
Pos: 593.2s  15801f (45%) 120.34fps Trem:   2min 166mb  A-V:0.083 [887:172]
Skipping frame!
Pos: 593.5s  15808f (45%) 120.35fps Trem:   2min 166mb  A-V:0.071 [887:172]
Too many audio packets in the buffer: (4099 in 622752 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.
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not 
writing vprp header.

Video stream:  887.004 kbit/s  (110875 B/s)  size: 65801146 bytes  
593.468 secs  15808 frames

Audio stream:  172.826 kbit/s  (21603 B/s)  size: 12831792 bytes  
593.976 secs



Hang->pcm wav -> -oac mp3lame eredménye rettento" durva hangcsúszás.

Üdv Tomi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-felhasznalok/attachments/20071020/de373f86/attachment.htm>


More information about the MPlayer-felhasznalok mailing list