[vlc-devel] Audio drop-outs Win2k & WinXP (long)
Raymond Lillard
ryl at prosysmeg.com
Wed Oct 29 04:26:10 CET 2003
Greetings,
Thanks to M. Bazin's earlier advice I have cross-compiled
(build RedHat9) the v0.6.2 sources and sources from a CVS
snapshot taken about two weeks ago (target win32).
Both resulting exe files and a binary (v0.6.2)I downloaded
from the web-site execute fairly-well, but have identical
symptoms.
I am playing with two AVI test files. Both are smallish
(details at end of this message) and show little CPU usage
and very reasonable memory usage during playback. I see no
indication of memory paging.
Test machines:
Laptop: Toshiba, Celeron 2.2 GHz (128k cache) WinXP Home
Desktop: Asus mobo, 2.4 Ghz Pentium 4 (512k cache) Win2K
(all Windows service packs have been applied)
Test files:
file1.avi
desktop: short (250ms) dropouts every 5 to 10 secs.
always at the same spots in the file.
laptop: untested (laptop temporarily unavailable)
file2.avi:
desktop: full quality (limited only by encoding)
laptop: short (250ms) dropouts every 5 to 10 secs.
always at the same spots in the file.
A final data point is that I have compiled the released
v0.6.2 and CVS snapshot sources (native Linux target) on
my Dell Inspiron 8100, RH9 and all files play at full
encoded quality. Both of these test files are presented
flawlessly when played by the MS MediaPlayer.
My hunch is that I'm seeing thread handling problems, since
there are no issues in Linux, but since I'm cross-compiling
and lack a good debugging environment, I'm just guessing.
Question 1:
I need advice on a debugging method along with a suggested
toolset. How was the binary of v0.6.2 for Windoze compiled?
Question 2:
Any thoughts regarding my concern about thread handling
being a problem.
Question 3:
Is there any design documentation on the internals of vlc?
I've spent a bit of time prowling about in the code, but
I could benefit from a description of the forest before
I focus too narrowly on any tree. I've never worked with
a video player before, consequently I lack a good set of
expectations as to what I should find.
Question 4:
I pulled down the latest CVS sources this morning and
encountered build failures. I am seeing lots of commits
and assume this is a temporary situation due to the
restructuring of the tree. Please confirm.
Thanks to all who can help.
Regards,
Ray
PS: Test file details follow.
showriff file1.avi
(0x00000000) ID:<RIFF> Size: 0x01201e04
Form Type = <AVI >
(0x0000000c) ID:<LIST> Size: 0x0000227e
List Type = <hdrl>
(0x00000018) ID:<avih> Size: 0x00000038
us_frame = 33367
max_bps = 0
pad_gran = 0
flags = 0x110
0x10: hasindex
0x100: interleaved
tot_frames = 12870
init_frames = 0
streams = 2
sug_bsize = 0
width = 352
height = 264
scale = 0
rate = 0
start = 0
length = 0
(0x00000058) ID:<LIST> Size: 0x00001094
List Type = <strl>
(0x00000064) ID:<strh> Size: 0x00000038
fcc_type = vids
fcc_handler = divx (0x78766964)
flags = 0x0
priority = 0
init_frames = 0
scale = 100
rate = 2997
start = 0
length = 12870
sug_bsize = 6288
quality = 10000
samp_size = 0
(0x000000a4) ID:<strf> Size: 0x00000028
size = 40
width = 352
height = 264
planes = 1
bit_cnt = 24
compression = DX50 (0x30355844)
image_size = 278784
xpels_meter = 0
ypels_meter = 0
num_colors = 0
imp_colors = 0
(0x000000d4) ID:<JUNK> Size: 0x00001018
(0x000010f4) ID:<LIST> Size: 0x0000108a
List Type = <strl>
(0x00001100) ID:<strh> Size: 0x00000038
fcc_type = auds
fcc_handler = unset (0)
flags = 0x0
priority = 0
init_frames = 1
scale = 1
rate = 4977
start = 0
length = 2137330
sug_bsize = 2306
quality = -1
samp_size = 1
(0x00001140) ID:<strf> Size: 0x0000001e
format = 85
channels = 2
rate = 22050
av_bps = 4977
blockalign = 1
size = 0
showriff file2.avi
(0x00000000) ID:<RIFF> Size: 0x009f4aee
Form Type = <AVI >
(0x0000000c) ID:<LIST> Size: 0x0000227e
List Type = <hdrl>
(0x00000018) ID:<avih> Size: 0x00000038
us_frame = 33367
max_bps = 0
pad_gran = 0
flags = 0x110
0x10: hasindex
0x100: interleaved
tot_frames = 2651
init_frames = 0
streams = 2
sug_bsize = 0
width = 640
height = 320
scale = 0
rate = 0
start = 0
length = 0
(0x00000058) ID:<LIST> Size: 0x00001094
List Type = <strl>
(0x00000064) ID:<strh> Size: 0x00000038
fcc_type = vids
fcc_handler = divx (0x78766964)
flags = 0x0
priority = 0
init_frames = 0
scale = 100
rate = 2997
start = 0
length = 2651
sug_bsize = 33125
quality = 10000
samp_size = 0
(0x000000a4) ID:<strf> Size: 0x00000028
size = 40
width = 640
height = 320
planes = 1
bit_cnt = 24
compression = DX50 (0x30355844)
image_size = 614400
xpels_meter = 0
ypels_meter = 0
num_colors = 0
imp_colors = 0
(0x000000d4) ID:<JUNK> Size: 0x00001018
(0x000010f4) ID:<LIST> Size: 0x0000108a
List Type = <strl>
(0x00001100) ID:<strh> Size: 0x00000038
fcc_type = auds
fcc_handler = unset (0)
flags = 0x0
priority = 0
init_frames = 1
scale = 1
rate = 4000
start = 0
length = 354240
sug_bsize = 1727
quality = 0
samp_size = 1
(0x00001140) ID:<strf> Size: 0x0000001e
format = 85
channels = 2
rate = 12000
av_bps = 4000
blockalign = 1
size = 0
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel
mailing list