[MEncoder-users] Bug: floating point exception when converting to DV
Levente Novák
lnovak at dragon.unideb.hu
Tue May 1 21:42:41 CEST 2007
On Tue, 2007-05-01 at 11:40 -0700, Corey Hickey wrote:
> [cut]
>
> > Writing header...
> > [dv @ 0x862fe48]Can't initialize DV format!
> > Make sure that you supply exactly two streams:
> > video: 25fps or 29.97fps, audio: 2ch/48Khz/PCM
> > (50Mbps allows an optional second audio stream)
>
>
> I didn't reply earlier because I don't know what I'm talking about in
> this case, but...
>
> Did you notice the above error? mencoder shouldn't SIGFPE, of course,
> but following those particular instructions may fix your problem.
>
Of course, I provided exactly two streams and yes, these were 25 fps PAL
resolution 28800 kbps video and 2ch/48kHz PCM s16le format audio. At
least this is what I intended to provide, and it seems it was indeed OK,
see these lines:
> [dummy] Was reinitialized: 48000Hz/2ch/s16le
> VDec: vo config request - 720 x 576 (preferred colorspace: Planar
> YV12)
> Trying filter chain: expand lavc
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
> REQ: flags=0x401 req=0x0
> videocodec: libavcodec (720x576 fourcc=69767664 [dvvi])
>
and
> *** [lavc] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080
> bytes
> *** [expand] Direct Rendering mp_image_t, 720x576x12bpp YUV planar,
> 622080 bytes
> *** [lavc] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080
> bytesms 18/45 D/B/S 0/1/0
> *** [expand] Direct Rendering mp_image_t, 720x576x12bpp YUV planar,
> 622080 bytes
> Muxer frame buffer sending 2 frame(s) to the muxer. A-V:0.004 [0:0]
> A/Vms 18/33 D/B/S 0/2/0
> VIDEO CODEC ID: 0
> AUDIO CODEC ID: 10000, TAG: 0
> MUXER_LAVF(audio stream) frame_size: 1, scale: 1, sps: 48000, rate:
> 48000, ctx->block_align = stream->wf->nBlockAlign; 0=4
> stream->wf->nAvgBytesPerSec:192000
The only thing which makes me dubious is the following:
> > Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> > VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
AFAIK nothing in my command line told it to rescale to 768x576.
If you can provide me a sample command line which produces compliant Raw
DV files, I would be very grateful. Up to now, nothing I tried was
successful.
Levente
More information about the MEncoder-users
mailing list