Hello,
I'm using the current cvs version (just updated it this morning) and I'm
having some problems with aviplay.
The widget which should show the video (I just tried some different divx
files) is showing a flat green color while sounds works ok. Seeking works
too (the video continues being just green, but the audio changes
correctly).
I'm using divx4linux 20020418, lame 3.91 and the windows dll package 011002
I also tried others divx4linux versions and there was the same problem.
My only solution was reverting back to aviplay 0.7.6 which I downloaded
some weeks ago and still had in my hd (and leaving everything else as it
was). That version of avifile worked without problems on all of my files.
Btw, I had a lot of problems compiling the plugin/libmad directory (I've
always had problems with that directory). Today, I've had to run manually
automake/autoheader/autoconf/configure/make in that directory and then
make displayed the output as if it was compiling but gcc didn't give any
output (no .lo files generated, but there were .o symlinks to "unexistant"
.lo files). I just had to copy manually the compiler line from make and
run it exactly as make was supposed to be running them and voil� ! the .lo
files were generated !
The output of running aviplay and closing it is :
<Init> : Avifile CVS-020623-11:15-2.95.3
<Init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr
pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
<Init> : 807.21 MHz AMD Athlon(tm) Processor processor detected
/home/antonio/kdeCVS/qt-copy/plugins/imageformats/libqjpeg.so: Feature JPEG
already defined in /usr/lib/qt-3.0.3/plugins/imageformats/libqjpeg.so!
/home/antonio/kdeCVS/qt-copy/plugins/imageformats/libqmng.so: Feature MNG
already defined in /usr/lib/qt-3.0.3/plugins/imageformats/libqmng.so!
/usr/lib/qt3-head/plugins/imageformats/libqjpeg.so: Feature JPEG already
defined in /usr/lib/qt-3.0.3/plugins/imageformats/libqjpeg.so!
/usr/lib/qt3-head/plugins/imageformats/libqmng.so: Feature MNG already
defined in /usr/lib/qt-3.0.3/plugins/imageformats/libqmng.so!
<aviplay> : Debug is on 0
<AVI reader> : Checking: /scratch/antonio/videos/Star Trek TOS - 28 - The
City On The Edge Of Forever.avi
<AVI reader> : AVIMainHeader: MicroSecPerFrame=41708 MaxBytesPerSec=0
PaddingGranularity=0 Flags=[ HAS_INDEX IS_INTERLEAVED ] TotalFrames=72605
InitialFrames=0 Streams=2 SuggestedBufferSize=0 WxH=512x384
Scale=0 Rate=0 Start=0 Length=0
<AVI reader> : AVIStreamHeader: FccType=vids FccHandler=div3 Flags=[ ]
InitialFrames=0 Scale=1000 Rate=23976 Start=0 Length=72605
SuggestedBufferSize=52074 Quality=10000 SampleSize=0 Rect
l,r,t,b=0,512,0,384
<AVI reader> : AVIStreamHeader: FccType=auds FccHandler=0x0 Flags=[ ]
InitialFrames=1 Scale=1152 Rate=48000 Start=0 Length=126175
SuggestedBufferSize=672 Quality=-1 SampleSize=0 Rect l,r,t,b=0,0,0,0
<AVI reader> : InfoChunk Software: Nandub v1.0rc2
<AVI reader> : Reading index from 364906298
<AVI reader> : Stream 0 vids : 0x33766964 (div3) 72605 chunks (1134.45KB)
<AVI reader> : Stream 1 auds : 0x55 (MPEG Layer-3) 126175 chunks
(1971.48KB)
<StreamCache> : Creating cache for file descriptor: 8
<ReadStream> : Initialized video stream (chunk tblsz: 72605, fmtsz: 40)
<ReadStream> : Initialized audio stream (chunk tblsz: 126175, fmtsz: 30)
<AVI reader> : Stream MPEG header VBR:1 Layer:3 SampleRate:48000
Bitrate:0 SamplesPerFrame:1152 NumChannels:2 StereoMode:1 Offset:428
<AVI reader> : WARNING: fixing bad MP3 block size 324 -> 384
<AVI reader> : Successfully opened /scratch/antonio/videos/Star Trek TOS -
28 - The City On The Edge Of Forever.avi
<Codec keeper> : /usr/local/lib/avifile0.7/mpeg_audiodec.so: A/V 1/0
<Codec keeper> : /usr/local/lib/avifile0.7/mp3lamebin_audioenc.so: A/V 1/0
<Codec keeper> : /usr/local/lib/avifile0.7/divx4.so: A/V 0/3
<Codec keeper> : /usr/local/lib/avifile0.7/ffmpeg.so: A/V 2/9
<Codec keeper> : /usr/local/lib/avifile0.7/win32.so: A/V 13/48
<LDT_Keeper> : Installed fs segment: 0x426cb000
<Codec keeper> : /usr/local/lib/avifile0.7/mad_audiodec.so: A/V 1/0
<Codec keeper> : /usr/local/lib/avifile0.7/audiodec.so: A/V 5/0
<Codec keeper> : /usr/local/lib/avifile0.7/mjpeg.so: A/V 0/1
<Codec keeper> : /usr/local/lib/avifile0.7/ac3pass.so: A/V 1/0
<Codec keeper> : /usr/local/lib/avifile0.7/vorbis_audio.so: A/V 1/0
<Codec keeper> : OpenDivX 3.11 compatible decoder video decoder created
pp 0
<renderer> : SDL Video driver: x11
<DPMS module> : Disabling DPMS
<renderer> : Created surface: 512 x 384 16 bits
<renderer> : Creating YUV overlay 512x384, fourcc 0x32595559 (YUY2)
<renderer> : XV port: 67
<renderer> : XV attribute: XV_COLORKEY GS <0, 16777215> = 2110
<renderer> : XV attribute: XV_BRIGHTNESS GS <-128, 127> = 0
<renderer> : XV attribute: XV_CONTRAST GS <0, 255> = 128
<renderer> : XV attribute: XV_DOUBLE_BUFFER GS <0, 1> = 1
dct: 0.000000 ms (0 calls)
pp 0
dct: 0.000000 ms (0 calls)
pp 0
<renderer> : Loading subfont:
"-adobe-helvetica-medium-r-normal--*-160-100-100-p-*-iso8859-*"
<renderer> : Failed to open X11 font
<aviplay> : Will try audio renderers in this order: OSS,SDL,noaudio
<Codec keeper> : MPEG Layer-1,2,3 audio decoder created
<audio renderer> : src fmt=0x55 2ch 48000Hz 0b 13510B/s balign=1 cbsz=12
<audio renderer> : dst fmt=0x01 2ch 48000Hz 16b 192000B/s balign=4 cbsz=0
<audio renderer> : OSS audio renderer: frags: 8 size:4096 buffer: 32768
<Player> : Player started
<ReadStreamV> : w:512 h:-384 bpp:16 0x32595559 - 1:4 (0x80fe670)
<ReadStreamV> : w:512 h:-384 bpp:16 0x32595559 - 2:4 (0x80fbae0)
<ReadStreamV> : w:512 h:-384 bpp:16 0x32595559 - 3:4 (0x81fc5b0)
<ReadStreamV> : w:512 h:-384 bpp:16 0x32595559 - 4:4 (0x80ee7a0)
pp 10
pp 20
pp 30
pp 40
pp 0
pp 10
pp 20
pp 30
pp 40
dct: 0.000000 ms (0 calls)
<DPMS module> : Enabling DPMS
<aviplay> : Closing clip
<StreamCache> : Destroy... (Total accesses 1247, hits 99.44%, misses 0.56%,
errors 0.00%)
<aviplay> : Played 428 video frames ( 0.467290% drop )
Note that if I disable YUV overlay, then the widget is black instead of
green.
Also, in the documentation it is stated that some video decoders are faster
than others, is it possible to select the decoder to use ? I saw the list,
but it nothing seems to happen when I select any decoder on the list.
Now to finish this long mail, I'd like to send you a small patch to make
the sync tab in the config dialog more useful. I've attached it. The
difference is that this way, the slider gets larger when the dialog is
resized so that users wanting more fine control can have it as expected (I
sometimes needed it)
Btw, this is on SuSE 8.0 with autoconf 2.52, automake 1.5 and gcc 2.95.3
with a Matrox G400 and XFree 4.2 .
Please tell me if you need any more information.
Greetings
--
Antonio Larrosa Jimenez
Student of Mathematics - [EMAIL PROTECTED]
http://devel-home.kde.org/~larrosa/
Why waste time learning when ignorance is instantaneous ? -- Hobbes
diff -u -p -r1.13 configdialog.cpp
--- configdialog.cpp 6 May 2002 18:04:01 -0000 1.13
+++ configdialog.cpp 23 Jun 2002 15:29:29 -0000
@@ -333,7 +333,7 @@ QWidget* ConfigDialog::createSync(QWidge
{
QWidget* w = new QWidget(parent);
- QGridLayout* gl = new QGridLayout( w, 1, 1 );
+ QVBoxLayout* gl = new QVBoxLayout( w, 1, 1 );
gl->setMargin(5);
gl->setSpacing(5);
@@ -380,8 +380,6 @@ QWidget* ConfigDialog::createSync(QWidge
l->setAlignment( QLabel::AlignCenter );
hl2->addWidget( l );
- gl->setRowStretch(2, 1);
- gl->setColStretch(1, 1);
return w;
}