[MEncoder-users] MEncoder can't make ntsc-dv file?

Andy Civil andycivil at gmail.com
Fri Feb 22 15:47:20 CET 2008


If I issue this command, I can make a PAL sized DV:

\me\mencoder 20080213133737.m2t -vf dsize=16/9,scale=720:576:1 -oac copy -ovc 
lavc -lavcopts vcodec=dvvideo:ilme:ildct:aspect=16/9 -o test3.avi

But if I change the 576 to 480, I get an error "Muxer frame buffer cannot 
allocate memory!". Since this is the only change, it seems like a bug. Is there 
something I missed?

I will paste the output for completeness, please, please, please snip this 
before replying!


I:\Plan Sony ME>\me\mencoder 20080213133737.m2t -vf dsize=16/9,scale=720:480:1 -
oac copy -ovc lavc -lavcopts vcodec=dvvideo:ilme:ildct:aspect=16/9 -o test3.avi
MEncoder Sherpya-SVN-r25962-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 7)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0x41db004
TS file format detected.
VIDEO MPEG2(pid=2064) AUDIO MPA(pid=2068) NO SUBS (yet)!  PROGRAM N. 100
VIDEO:  MPEG2  1440x1080  (aspect 3)  29.970 fps  25000.0 kbps (3125.0 kbyte/s)
[V] filefmt:29  fourcc:0x10000002  size:1440x1080  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=720 h=480 interlaced=1]
Opening video filter: [dsize=16/9]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1440 x 1080 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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 :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
audiocodec: framecopy (format=50 chans=2 rate=48000 bits=16 B/s=48000 sample-1)
VDec: vo config request - 1440 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 10 -> 9
SwScaler: reducing / aligning filtersize 10 -> 9
[swscaler @ 00D532A0]SwScaler: BICUBIC scaler, from yuv420p to yuv420p using MMX
2
[swscaler @ 00D532A0]SwScaler: using 8-tap MMX scaler for horizontal luminance s
caling
[swscaler @ 00D532A0]SwScaler: using 8-tap MMX scaler for horizontal chrominance
  scaling
[swscaler @ 00D532A0]SwScaler: using n-tap MMX scaler for vertical scaling (YV12
  like)
[swscaler @ 00D532A0]SwScaler: 1440x540 -> 720x240
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 10 -> 9
SwScaler: reducing / aligning filtersize 10 -> 9
[swscaler @ 00D532A0]SwScaler: BICUBIC scaler, from yuv420p to yuv420p using MMX
2
[swscaler @ 00D532A0]SwScaler: using 8-tap MMX scaler for horizontal luminance s
caling
[swscaler @ 00D532A0]SwScaler: using 8-tap MMX scaler for horizontal chrominance
  scaling
[swscaler @ 00D532A0]SwScaler: using n-tap MMX scaler for vertical scaling (YV12
  like)
[swscaler @ 00D532A0]SwScaler: 1440x540 -> 720x240
videocodec: libavcodec (720x480 fourcc=64737664 [dvsd])
Muxer frame buffer cannot allocate memory! 0min   0mb  A-V:0.003 [0:0]

1 duplicate frame(s)!
Writing header...
ODML: vprp aspect is 16:9.
Writing header...
ODML: vprp aspect is 16:9.
Pos:   0.0s      3f ( 3%)  2.75fps Trem:   0min   0mb  A-V:0.007 [0:0]
1 duplicate frame(s)!
Pos:   0.1s      4f ( 5%)  3.38fps Trem:   0min   0mb  A-V:0.010 [0:0]
1 duplicate frame(s)!
Pos:   0.2s      5f ( 5%)  3.89fps Trem:   0min   0mb  A-V:0.013 [0:0]
1 duplicate frame(s)!
Pos:   0.2s      6f ( 5%)  4.38fps Trem:   0min   0mb  A-V:0.017 [0:0]
1 duplicate frame(s)!
Pos:   0.3s      7f ( 5%)  4.82fps Trem:   0min   0mb  A-V:0.020 [0:0]
1 duplicate frame(s)!
Pos:   0.4s      8f ( 5%)  5.20fps Trem:   0min   0mb  A-V:0.023 [0:0]
1 duplicate frame(s)!
Pos:   0.4s      9f ( 5%)  5.57fps Trem:   0min   0mb  A-V:0.027 [0:0]
1 duplicate frame(s)!
Pos:   0.5s     10f ( 5%)  5.89fps Trem:   0min   0mb  A-V:0.030 [0:0]
1 duplicate frame(s)!
Pos:   0.6s     11f ( 8%)  6.15fps Trem:   0min   0mb  A-V:0.033 [0:384]
1 duplicate frame(s)!
Pos:   0.7s     13f ( 8%)  6.62fps Trem:   0min   0mb  A-V:0.007 [0:384]
1 duplicate frame(s)!
Pos:   0.7s     14f ( 8%)  6.85fps Trem:   0min   0mb  A-V:0.010 [0:384]
1 duplicate frame(s)!
Pos:   0.8s     15f ( 8%)  7.07fps Trem:   0min   0mb  A-V:0.013 [0:384]
1 duplicate frame(s)!
Pos:   0.9s     16f ( 8%)  7.26fps Trem:   0min   0mb  A-V:0.017 [0:384]
1 duplicate frame(s)!
Pos:   0.9s     17f ( 8%)  7.39fps Trem:   0min   0mb  A-V:0.020 [0:384]
1 duplicate frame(s)!
Pos:   1.0s     18f ( 8%)  7.56fps Trem:   0min   0mb  A-V:0.023 [514881194:384]

1 duplicate frame(s)!
Pos:   1.1s     19f (10%)  7.60fps Trem:   0min   0mb  A-V:0.027 [514881194:384]

1 duplicate frame(s)!
Pos:   1.1s     20f (10%)  7.67fps Trem:   0min   0mb  A-V:0.030 [514881194:384]

1 duplicate frame(s)!
Pos:   1.2s     21f (10%)  7.74fps Trem:   0min   0mb  A-V:0.033 [514881194:384]

1 duplicate frame(s)!
Pos:   1.3s     22f (10%)  7.80fps Trem:   0min   0mb  A-V:0.037 [514881194:384]
Pos:   1.3s     23f (10%)  7.98fps Trem:   0min   0mb  A-V:0.007 [528083276:384]

1 duplicate frame(s)!
Pos:   1.4s     24f (10%)  8.03fps Trem:   0min   0mb  A-V:0.010 [527439272:384]

1 duplicate frame(s)!
Pos:   1.4s     25f (10%)  8.06fps Trem:   0min   0mb  A-V:0.013 [526855175:384]

1 duplicate frame(s)!
Pos:   1.5s     26f (10%)  8.10fps Trem:   0min   0mb  A-V:0.017 [526322998:384]

1 duplicate frame(s)!
Pos:   1.6s     27f (13%)  8.11fps Trem:   0min   0mb  A-V:0.020 [525836113:384]

1 duplicate frame(s)!
Pos:   1.6s     28f (13%)  8.14fps Trem:   0min   0mb  A-V:0.023 [525388973:384]

1 duplicate frame(s)!
Pos:   1.7s     29f (13%)  8.16fps Trem:   0min   0mb  A-V:0.027 [524976903:384]

1 duplicate frame(s)!
Pos:   1.8s     30f (13%)  8.20fps Trem:   0min   0mb  A-V:0.030 [524595933:384]

1 duplicate frame(s)!
Pos:   1.8s     31f (13%)  8.24fps Trem:   0min   0mb  A-V:0.033 [524242670:384]

1 duplicate frame(s)!
Pos:   1.9s     32f (13%)  8.26fps Trem:   0min   0mb  A-V:0.037 [523914197:384]
Pos:   1.9s     33f (13%)  8.40fps Trem:   0min   0mb  A-V:0.007 [532635718:384]

1 duplicate frame(s)!
Pos:   2.0s     34f (13%)  8.43fps Trem:   0min   0mb  A-V:0.010 [532043900:384]

1 duplicate frame(s)!
Pos:   2.1s     35f (15%)  8.37fps Trem:   0min   0mb  A-V:0.013 [531490264:384]

Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 16:9.

Video stream: 531490264.987 kbit/s  (-2147483648 B/s)  size: 137438953440 bytes
  2.069 secs  35 frames

Audio stream:  384.000 kbit/s  (48000 B/s)  size: 144000 bytes  3.000 secs

etc...

-- 
Andy



More information about the MEncoder-users mailing list