[GEM-dev] pix_movie reads incorrect number of frames with huffyuv AVI

B. Bogart ben at ekran.org
Tue Sep 1 08:28:16 CEST 2009


Hey all,

I've had the best HD results with huffyuv in an AVI container, but
something is going wrong with the number of frames.

ffmpeg and mplayer both see the proper ~5310 frames (~178 seconds), but
pix_movie reports only 750 frames.

Everything works fine with small files (640x480) but with these highres
files (1280x960) I am only able to play the first 750 frames.

Can someone take a look?

Otherwise I'm stuck with using mjpeg.

Thanks.
.b.

PD says:
<reader> : Checking:
/home/bbogart/tmp/step+repeat/step+repeat007-1280x960-huff-mencoder.avi
<AVI reader> : MainHeader: MicroSecPerFrame=33366 MaxBytesPerSec=0
 PaddingGranularity=0 Flags=[ HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE ]
TotalFrames=750
 InitialFrames=0 Streams=1 SuggestedBufferSize=0 WxH=1280x960
 Scale=0 Rate=0 Start=0 Length=0
<AVI reader> : StreamHeader: Type=vids Handler=HFYU Flags=[ ]
 InitialFrames=0 Scale=1001 Rate=30000 Start=0 Length=5332
 SuggestedBufferSize=1469368 Quality=0 SampleSize=0 Rect
l,r,t,b=0,1280,0,960
rs r:0 ds:36   t:1413894985  s:24
<AVI reader> : InfoChunk Software:  MEncoder dev-SVN-r26940
addd 0  24
rs r:24 ds:36   t:1263424842  s:3572
addd 24  3572
<AVI reader> : Reading index from offset: 1072970868
<AVI reader> : WARNING: stream header has incorrect dwLength (5332 != 750)
<AVI reader> : Stream 0 vids : HFYU (0x55594648) 750 chunks (2.93KB)
<reader> : Initialized video stream (chunk tblsz: 750, fmtsz: 116)
<codec keeper> : Found 5 plugins (/usr/lib/avifile-0.7,A:22,V:32)
<FFMPEG video decoder> : looking huffyuv
<ffhuffyuv> : if you have troubles - use Win32 codec instead
<codec keeper> : Created video decoder: FF Huffyuv
<ffhuffyuv> : doesn't support DR1

mplayer says:
AVI file format detected.
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
AVI: ODML: Building ODML index (1 superindexchunks).
AVI: No audio stream found -> no sound.
VIDEO:  [HFYU]  1280x960  16bpp  29.970 fps  342111.9 kbps (41761.7 kbyte/s)
Clip info:
 Software: MEncoder dev-SVN-r26940
ID_CLIP_INFO_NAME0=Software
ID_CLIP_INFO_VALUE0=MEncoder dev-SVN-r26940
ID_CLIP_INFO_N=1
ID_FILENAME=step+repeat007-1280x960-huff-mencoder.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=HFYU
ID_VIDEO_BITRATE=342111848
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=960
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_LENGTH=177.91
ID_SEEKABLE=1




More information about the GEM-dev mailing list