Hi,
 
I'm trying to make high quality streaming using avifile libraries / ffmpeg.
I use a hq capture card with SDI input, and want to make full use of 2-pass compression provided by Divx/XviD.
For the case I first capture into uncompressed YUY2 or losless HFYU avi file. - works great, but
when I try to recompress it using avirecompress, it won't read the video stream, and processes only the audio. From a compressed avi it works fine - is this a bug, or I'm doing it wrong?
Also the uncompressed YUY2 or HFYU files play fine with aviplay.
Is there a better tool to use for recompression?
Is there any place avilable describing how to tune any of DivX5/Xvid/FFMpeg Divx5 for best results,
"avirec -l" seems to show only few of the attributes that can be set up.
Also is there any .conf or .ini file whre theese settings are stored?
 
I'll appreciate any help on any  of the above questions
 
 
 
here is what avirecompress says:
 
root@streaming root]# avirecompress
<init> : Avifile RELEASE-0.7.25-030121-19:15-2.96
<init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
<init> : 1666.78 MHz AMD Athlon(TM) MP 2000+ processor detected
<reader> : checking: /root/dd5.avi
<AVI reader> : MainHeader: MicroSecPerFrame=40000 MaxBytesPerSec=0
 PaddingGranularity=0 Flags=[ HAS_INDEX TRUST_CKTYPE ] TotalFrames=258
 InitialFrames=0 Streams=2 SuggestedBufferSize=0 WxH=720x576
 Scale=40000 Rate=1000000 Start=0 Length=0
<AVI reader> : StreamHeader: Type=vids Handler=HFYU Flags=[ ]
 InitialFrames=0 Scale=40000 Rate=1000000 Start=0 Length=258
 SuggestedBufferSize=0 Quality=0 SampleSize=0 Rect l,r,t,b=0,720,0,576
<AVI reader> : StreamHeader: Type=auds Handler=0x1 Flags=[ ]
 InitialFrames=0 Scale=4 Rate=176400 Start=0 Length=450560
 SuggestedBufferSize=0 Quality=0 SampleSize=4 Rect l,r,t,b=0,0,0,0
<AVI reader> : Reading index from offset: 75098804
<AVI reader> : Stream 0 vids : HFYU (0x55594648) 258 chunks (1.01KB)
<AVI reader> : Stream 1 auds : PCM (0x1) 440 chunks (3.44KB)
<StreamCache> : Creating cache for file descriptor: 7
<reader> : Initialized video stream (chunk tblsz: 258, fmtsz: 232)
<reader> : Initialized audio stream (chunk tblsz: 1802240, fmtsz: 18)
<LDT keeper> : Installed fs segment: 0x40d91000
<codec keeper> : Found 11 plugins (/usr/local/lib/avifile0.7,A:35,V:80)
<ffhufyuv> : if you have troubles - use Win32 codec instead
<codec keeper> : FFMPEG Huffyuv video decoder created
RecompressFilter: Create: 0x55594648  "HFYU" name:
<ffhufyuv> : doesn't support DR1
CodecDialog returns: 30355844, DivX5.0
RecompressFilter: Create: 0x30355844  "DX50" name: DivX5.0
<codec keeper> : PCM audio decoder created
<ffhufyuv> : if you have troubles - use Win32 codec instead
<codec keeper> : FFMPEG Huffyuv video decoder created
Compresor start fourcc: DX50
<exception> : WriteFile: FATAL: No known video codecs for this VideoEncoderInfo
<exception> : WriteFile: FATAL: No known audio codecs for this fourcc at AviWrite.cpp: 351
 
 
Please help,
 
 
Andon
 

Reply via email to