[MPlayer-users] MOV Dimensions Not Set Error

Larry Reznick lreznick at idistream.com
Thu Jun 7 18:52:08 CEST 2007


Hi, gang.

I'm trying to mux an H264-ES file with audio into an MOV file format. I 
get the following error:

$ ~/download/mplayer/mencoder -fps 30000:1001 gearsofwar_g264_2000.264 
-audiofile gearsofwar_g264_2000.wav -ofps 30000:1001 -o 
gow_g264_2000.mov -of lavf -lavfopts 
i_certify_that_my_video_stream_does_not_use_b_frames -oac mp3lame 
-lameopts abr:br=64 -ovc copy
MEncoder dev-SVN-r23491-4.1.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 6, Stepping: 5)
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 - 0xcdc7a7
H264-ES file format detected.
Audio file file format detected.
FPS seems to be: 14.985015
[V] filefmt:65536  fourcc:0x10000005  size:0x0  fps:14.99  ftime:=0.0667
Input fps will be interpreted as 29.97 instead.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
** MUXER_LAVF 
*****************************************************************
You have certified that your video stream does not contain B frames.
REMEMBER: MEncoder's libavformat muxing is presently broken and will 
generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit
videocodec: framecopy (0x0 24bpp fourcc=10000005)
MP3 audio selected.
VIDEO CODEC ID: 0
AUDIO CODEC ID: 15001, TAG: 0
Writing header...
[mov @ 0x874f988]dimensions not set
Floating point exception


For some reason, the H264-ES frames are interpreted with half their 
frame rate, so I imposed the -fps and -ofps options. Otherwise, I 
thought it should be straightforward. Apparently not. I have no idea 
what dimensions it wants set. The video frame size is 1280x720 and, 
mplayer plays the H264-ES file just fine except for the half frame rate 
problem.

Does anyone have an idea what's wrong or what I'm missing? I've included 
the -v output below if that helps.

--Larry

$ ~/download/mplayer/mencoder -v -fps 30000:1001 
gearsofwar_g264_2000.264 -audiofile gearsofwar_g264_2000.wav -ofps 
30000:1001 -o gow_g264_2000.mov -of lavf -lavfopts 
i_certify_that_my_video_stream_does_not_use_b_frames -oac mp3lame 
-lameopts abr:br=64 -ovc copy
MEncoder dev-SVN-r23491-4.1.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 6, Stepping: 5)
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

Configuration: --enable-largefiles --enable-gui
init_freetype
get_path('font/font.desc') -> '/home/lreznick/.mplayer/font/font.desc'
font: can't open file: /home/lreznick/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 13485991 bytes
STREAM: [file] gearsofwar_g264_2000.264
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0xcdc7a7
[file] File size is 10865708 bytes
STREAM: [file] gearsofwar_g264_2000.wav
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename gearsofwar_g264_2000.264 ext: .264
Trying demuxer 30 based on filename extension
H264-ES file format detected.
==> Found video stream: 0
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename gearsofwar_g264_2000.wav ext: .wav
Trying demuxer 17 based on filename extension
==> Found audio stream: 0
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 2
Samplerate: 44100
avg byte/sec: 176400
Block align: 4
bits/sample: 16
cbSize: 0
==========================================================================
demux_audio: audio data 0x2C - 0xA5CC2C 
Audio file file format detected.
Searching for sequence parameter set... OK!
Searching for picture parameter set... H264: 0x168
OK!
Searching for Slice... OK!
FPS seems to be: 14.985015
[V] filefmt:65536  fourcc:0x10000005  size:0x0  fps:14.99  ftime:=0.0667
Input fps will be interpreted as 29.97 instead.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
[file] File size is 0 bytes
STREAM: [file] gow_g264_2000.mov
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
** MUXER_LAVF 
*****************************************************************
You have certified that your video stream does not contain B frames.
REMEMBER: MEncoder's libavformat muxing is presently broken and will 
generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit
ALLOCATED STREAM N. 1, type=0
videocodec: framecopy (0x0 24bpp fourcc=10000005)
ALLOCATED STREAM N. 2, type=1
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[libaf] Adding filter format
[format] Changing sample format from little-endian 16-bit signed int to 
big-endian 8-bit signed int
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[format] Changing sample format from little-endian 16-bit signed int to 
big-endian 8-bit signed int
LAME 3.97 (beta 2, Jan 10 2007) 32bits (http://www.mp3dev.org/)
Using polyphase lowpass filter, transition band: 10847 Hz - 11381 Hz

misc:

        scaling: 0.95
        ch0 (left) scaling: 0
        ch1 (right) scaling: 0
        filter type: 0
        quantization: xr^3/4
        huffman search: normal
        experimental Y=0
        ...

stream format:

        MPEG-1 Layer 3
        2 channel - joint stereo
        padding: all
        variable bitrate - ABR
        ...

psychoacoustic:

        using psychoacoustic model: 1
        psychoacoustic model: NSPsytune
        tonality estimation limit: 8871.700195 Hz (not relevant)
        using short blocks: channel coupled
        subblock gain: 1
        adjust masking: 0 dB
        adjust masking short: 0 dB
        quantization comparison: 9
         ^ comparison short blocks: 9
        noise shaping: 2
         ^ amplification: 0
         ^ stopping: 0
        ATH: using
         ^ type: 4
         ^ shape: 11 (only for type 4)
         ^ level adjustement: 0.2
         ^ adjust type: 3
         ^ adjust sensitivity power: 1.000000
         ^ adapt threshold type: 2
        experimental psy tunings by Naoki Shibata
           adjust masking bass=0 dB, alto=0 dB, treble=0 dB, sfb21=0 dB
        using temporal masking effect: yes
        interchannel masking ratio: 0.0008
        ...

MP3 audio selected.
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[format] Changing sample format from little-endian 16-bit signed int to 
big-endian 8-bit signed int
[libaf] Removing filter format
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Muxer frame buffer sending 21 frame(s) to the muxer.
VIDEO CODEC ID: 0
AUDIO CODEC ID: 15001, TAG: 0
MUXER_LAVF(audio stream) frame_size: 1152, scale: 1152, sps: 44100, 
rate: 44100, ctx->block_align = stream->wf->nBlockAlign; 0=1152 
stream->wf->nAvgBytesPerSec:8676
Writing header...
[mov @ 0x874f988]dimensions not set
Floating point exception




More information about the MPlayer-users mailing list