[MEncoder-users] MEncoder Bug? (CVS)

Stephen Stocker lpar at par1.net
Tue Jan 11 15:42:46 CET 2005


  Hi,

  With the latest CVS of mplayer, and using "mencoder -v -forceidx -ovc lavc -lavcopts vcodec=msmpeg4:mbd=2 -vf scale=400:300 -sws 2 -mc 0 -oac toolame -toolameopts br=64 -srate 22050 some.rm", I'm getting the errors shown below.

  This happens with virtually any Realmedia file I've tried. I know the options are a bit weird, they're in a simple script, and almost necessary for some Real files. :) 

  Compiled on Slackware, with gcc 2.95.3 and latest ffmpeg CVS. BTW, the same thing happens using other libavcodec video codecs. I started out trying the usual mpeg4.

  Thanks for any help.
  Steve

---

MEncoder dev-CVS-050111-07:18-2.95.3 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium MMX P55C (Family: 5, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

80 audio & 188 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi

get_path('font/font.desc') -> '/home/lpar/.mplayer/font/font.desc'
Font /home/lpar/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX Optimized OnScreenDisplay
[file] File size is 2785280 bytes
STREAM: [file] ../../abc_news-011104.rm
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0x2a8000
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
REAL file format detected.
real: Header size: 18
real: Header object version: 0
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x0
First data chunk offset: 0x1e6
Flags (2): [perfect play (more buffers)] 
Chunk: CONT (544e4f43) (size: 0x4d, offset: 0x44)
Chunk: MDPR (5250444d) (size: 0xb8, offset: 0x91)
Found new stream (id: 0)
Stream description: audio/x-pn-multirate-realaudio logical stream
Stream mimetype: audio/x-pn-realaudio
==> Found audio stream: 0
Found audio stream!
version: 4
header size: 57
frame_size: 304
sub_packet_size: 0
samplerate: 8000, channels: 1
skip_str: 4 bytes skipped
read_str: 4 bytes read
======= WAVE Format =======
Format Tag: 26995 (0x6973)
Channels: 1
Samplerate: 8000
avg byte/sec: 8500
Block align: 304
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [0] [6] [0] [1] [0] [30] [1] [0] [0] 
===========================
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x93, offset: 0x149)
Found new stream (id: 1)
Stream description: video/x-pn-multirate-realvideo logical stream
Stream mimetype: video/x-pn-realvideo
==> Found video stream: 1
video fourcc: RV30 (30335652)
H.263 ID: 30203002
unknown id: 30203002
### skipping 0 bytes of codec info
Chunk: DATA (41544144) (size: 0x298032, offset: 0x1dc)
Packets in file: 5887
Auto-selected RM audio ID = 0
Auto-selected RM video ID = 1

TS: base=00000000

TS: 00000028 -> 00000000 (0028) 0 02 E0 14 00     0
VIDEO:  RV30 [30203002,00099030]  192x144  (aspect 0.00)  15.00 fps
VIDEO:  [RV30]  192x144  24bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:11  fourcc:0x30335652  size:192x144  fps:15.00  ftime:=0.0667
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/local/lib/codecs/sipr.so.6.0'
Audio codec: [1] 8.5 Kbps Voice
Audio bitrate: 8.500 kbit/s (1063 bps)  
dec_audio: Allocating 1824 bytes for input buffer.
dec_audio: Allocating 128000 + 65536 = 193536 bytes for output buffer.
AUDIO: 8000 Hz, 1 ch, 16 bit (0x9), ratio: 1063->16000 (8.5 kbit)
Selected audio codec: [rasipr] afm:realaud (RealAudio Sipro)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [scale w=400 h=300]
SwScale params: 400 x 300 (-1=no scaling)
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x30203002  sub-id: 0x00099030
opening shared obj '/usr/local/lib/codecs/drv3.so.6.0'
INFO: RealVideo codec init OK!
Selected video codec: [rv30] vfm:realvid (Linux RealPlayer 8 RV30 decoder)
==========================================================================
encode_init: using tablenum 4 with sblimit 30
Building audio filter chain for 8000Hz/1ch/16bit -> 22050Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=8000Hz, nch = 1, format = 0x00000009 and bps = 2
[libaf] Adding filter lavcresample 
[dummy] Was reinitialized, rate=22050Hz, nch = 1, format = 0x00000009 and bps = 2
[libaf] Adding filter channels 
[channels] Changing number of channels to 2
[dummy] Was reinitialized, rate=22050Hz, nch = 1, format = 0x00000009 and bps = 2
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

TS: base=00000000

TS: 0000006A -> 00000028 (006A) 0 02 E0 35 00    40

TS: 000000AC -> 0000006A (00AC) 2 13 00 56 00    66

TS: base=00000000

TS: 000000F0 -> 000000AC (00F0) 0 03 60 78 00    66

TS: base=00000000

TS: 00000132 -> 000000F0 (0132) 0 03 60 99 00    68

TS: 00000174 -> 00000132 (0174) 2 13 80 BA 00    66

TS: 000001B8 -> 00000174 (01B8) 2 13 A0 DC 00    66

TS: 00000208 -> 000001B8 (0208) 2 13 A1 04 00    68

TS: 00000258 -> 00000208 (0258) 2 13 A1 2C 00    80

TS: 000002A8 -> 00000258 (02A8) 2 13 A1 54 00    80

TS: 000002F8 -> 000002A8 (02F8) 2 13 A1 7C 00    80

TS: 00000348 -> 000002F8 (0348) 2 13 A1 A4 00    80

TS: 00000398 -> 00000348 (0398) 2 13 A1 CC 00    80

TS: 000003E8 -> 00000398 (03E8) 2 13 A1 F4 00    80

TS: 00000438 -> 000003E8 (0438) 2 13 A2 1C 00    80

TS: 00000488 -> 00000438 (0488) 2 13 A2 44 00    80

TS: 000004D8 -> 00000488 (04D8) 2 13 A2 6C 00    80

TS: 00000528 -> 000004D8 (0528) 2 13 A2 94 00    80
[libaf] Reallocating memory in module lavcresample, old len = 0, new len = 2306
[libaf] Reallocating memory in module channels, old len = 0, new len = 4526
[libaf] Reallocating memory in module channels, old len = 4526, new len = 4610
[libaf] Reallocating memory in module channels, old len = 4610, new len = 4614
VDec: vo config request - 192 x 144 (preferred csp: Planar I420)
Trying filter chain: scale expand lavc
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (192x144->192x144,flags=0,'MPlayer',0x30323449)
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
SwScaler: 192x144 -> 400x300
REQ: flags=0x401  req=0x0  
REQ: flags=0x401  req=0x0  
videocodec: libavcodec (400x300 fourcc=33766964 [div3])
High quality encoding selected (non real time)!
*** [scale] Allocating mp_image_t, 192x144x12bpp YUV planar, 41472 bytes
*** [lavc] Allocating mp_image_t, 400x300x12bpp YUV planar, 180000 bytes
*** [expand] Direct Rendering mp_image_t, 400x300x12bpp YUV planar, 180000 bytes
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Pos:   0.1s      1f ( 0%)   0fps Trem:   1min   2mb  A-V:0.000 [0:0] A/Vms 24/134 D/B/S 0/0/0 
Pos:   0.1s      2f ( 0%)   0fps Trem:   2min   2mb  A-V:0.000 [0:0] A/Vms 24/146 D/B/S 0/0/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   0.2s      3f ( 0%)   0fps Trem:   2min   2mb  A-V:0.000 [0:0] A/Vms 24/117 D/B/S 0/1/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   0.3s      4f ( 0%)   0fps Trem:   3min   2mb  A-V:0.000 [0:0] A/Vms 24/100 D/B/S 0/2/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   0.5s      5f ( 0%)   0fps Trem:   3min   2mb  A-V:0.000 [0:0] A/Vms 24/89 D/B/S 2/3/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   0.5s      6f ( 0%)   6fps Trem:   3min   2mb  A-V:0.000 [0:0] A/Vms 24/81 D/B/S 2/4/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   0.7s      7f ( 0%)   6fps Trem:   3min   2mb  A-V:0.000 [0:63] A/Vms 24/74 D/B/S 3/5/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   0.9s      8f ( 0%)   7fps Trem:   4min   3mb  A-V:0.000 [0:63] A/Vms 24/70 D/B/S 5/6/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   1.0s      9f ( 0%)   7fps Trem:   4min   3mb  A-V:0.000 [0:63] A/Vms 24/66 D/B/S 6/7/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   1.1s     10f ( 0%)   7fps Trem:   5min   3mb  A-V:0.000 [242539344:63] A/Vms 24/62 D/B/S 7/8/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   1.3s     11f ( 0%)   7fps Trem:   5min   4mb  A-V:0.000 [244134996:63] A/Vms 24/60 D/B/S 8/9/0 
TS: 00000578 -> 00000528 (0578) 2 13 A2 BC 00    80

TS: 000005C8 -> 00000578 (05C8) 2 13 A2 E4 00    80

TS: 00000618 -> 000005C8 (0618) 2 13 A3 0C 00    80

TS: 00000668 -> 00000618 (0668) 2 13 A3 34 00    80

TS: 000006B8 -> 00000668 (06B8) 2 13 A3 5C 00    80

TS: 00000708 -> 000006B8 (0708) 2 13 A3 84 00    80

TS: 00000758 -> 00000708 (0758) 2 13 A3 AC 00    80

TS: 000007A8 -> 00000758 (07A8) 2 13 A3 D4 00    80

TS: 000007F8 -> 000007A8 (07F8) 2 13 A3 FC 00    80

TS: 00000848 -> 000007F8 (0848) 2 13 A4 24 00    80

TS: 00000898 -> 00000848 (0898) 2 13 A4 4C 00    80

TS: 000008E8 -> 00000898 (08E8) 2 13 A4 74 00    80

TS: 00000938 -> 000008E8 (0938) 2 13 A4 9C 00    80

TS: 000009B0 -> 00000938 (09B0) 2 13 A4 D8 00    80

TS: 00000A28 -> 000009B0 (0A28) 2 13 C5 14 00   120

TS: 00000AA0 -> 00000A28 (0AA0) 2 13 C5 50 00   120

TS: 00000B40 -> 00000AA0 (0B40) 2 13 C5 A0 00   120
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   1.4s     12f ( 0%)   7fps Trem:   2min   2mb  A-V:0.000 [245426714:63] A/Vms 24/57 D/B/S 9/10/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   1.6s     13f ( 0%)   8fps Trem:   3min   2mb  A-V:0.000 [236223211:63] A/Vms 24/56 D/B/S 11/11/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   1.7s     14f ( 0%)   8fps Trem:   3min   2mb  A-V:0.000 [237875121:63] A/Vms 24/54 D/B/S 12/12/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   1.9s     15f ( 0%)   8fps Trem:   3min   2mb  A-V:0.000 [239291044:63] A/Vms 24/52 D/B/S 13/13/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   2.0s     16f ( 0%)   8fps Trem:   3min   2mb  A-V:0.000 [240518177:63] A/Vms 24/51 D/B/S 14/14/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   2.1s     17f ( 0%)   8fps Trem:   3min   2mb  A-V:0.000 [241591918:63] A/Vms 24/50 D/B/S 15/15/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   2.3s     18f ( 0%)   8fps Trem:   3min   2mb  A-V:0.000 [235609641:63] A/Vms 24/49 D/B/S 17/16/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   2.5s     19f ( 0%)   8fps Trem:   4min   3mb  A-V:0.000 [236803609:63] A/Vms 24/48 D/B/S 18/17/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   2.6s     20f ( 0%)   8fps Trem:   4min   3mb  A-V:0.000 [237875118:63] A/Vms 24/47 D/B/S 19/18/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   2.7s     21f ( 0%)   8fps Trem:   4min   3mb  A-V:0.000 [238842089:63] A/Vms 24/46 D/B/S 20/19/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   2.9s     22f ( 0%)   8fps Trem:   4min   3mb  A-V:0.000 [239719110:63] A/Vms 24/45 D/B/S 21/20/0 
[msmpeg4 @ 0x85dc530]Error, Invalid timestamp=0, last=0
Pos:   3.1s     23f ( 0%)   8fps Trem:   4min   3mb  A-V:0.000 [235289518:63] A/Vms 24/45 D/B/S 23/21/0 

  And so on, ending with an unplayable avi.




More information about the MEncoder-users mailing list