problem with VLC media player - Frame freezes once an hour

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Mange

problem with VLC media player - Frame freezes once an hour

Postby Mange » 03 Dec 2003 14:08

Hi

I am having problems with my VLC player when I am watching movie files such as .avi. Sometimes the frame freezes and the application crashes. I have to force quit VLC and start again and FF to where I was watching once or twice during a movie. It is really annoying and I was wondering if anyone knows a simple solution to my problem.
Also when I have subtitles added when I watch a film the text is displaced to the bottom right instead of just the bottom, but is working.
I have no problem with the VLC media player on my other older computer what so ever and they have the exaclty same OS; they both have "win XP professional (5.1, build 2600)"
Differences between them is that the computer that runs VLC perfectly is a 1.0 GHz pentium 3 with 256 MB of ram and the computer wich I'm having a little trouble with is a 3.0 GHz pentium 4 with 1024 MB of ram.
They are both running DirectX 9.0b

How come my older computer works better with VLC?

Any help will be appriciated
Thanks

Mange

oops forgot

Postby Mange » 03 Dec 2003 14:11

I forgot to say I am using VLC 0.6.2 on both of my computers.

dispecers

same

Postby dispecers » 03 Dec 2003 20:49

I have the same problem with VLC

dispecers

test vlc 0.7.0

Postby dispecers » 04 Dec 2003 13:21

With vlc 0.7.0 is same problem.
Maybe vlc hate fast computers?

I have P4 with 2.4G and 512 RAM Geforce FX5600 DX 9.0b

Rache Klos

Postby Rache Klos » 04 Dec 2003 15:21

I have the same problem, with Overlay an without Overlay and only Streaming to Network.

Robbbert

Same prob.

Postby Robbbert » 05 Dec 2003 12:05

I have the same problem as all of you, i have an P4 3.8 Ghz -hyperthreading

ati radeon 9600Pro

VLC is great, but theese freezes is anoying.
I hope there soon is a patch or something to fix it.

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 05 Dec 2003 12:13

In Windows Task Manager it is possible to assign a single processor to a process.

Could you try that with VLC and check if the freezing issue still appears ?

Rache Klos

Postby Rache Klos » 06 Dec 2003 04:39

nothing brings

Mange

Postby Mange » 06 Dec 2003 09:39

I have the same problem with the 0.7.0 (beta?). But I have trouble Fast Forwarding with this version so I stick to the 0.6.2 until I need a reason to use the 0.7.0

I didnt understand that with the task manager though.

dispecers

1 CPU

Postby dispecers » 07 Dec 2003 23:15

I was try without Hyper Threading. The same problem, player crashes.

Rache Klos

Postby Rache Klos » 08 Dec 2003 17:02

I started the system with paramater /onecpu, has no positive effect

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 09 Dec 2003 14:19

Ok, I just found an immensely huge bug in the date calculation routine :)
This bug (win32 specific) only gets triggered on special hardware like multi-processor systems or P4 with hyperthreading and a few other cases.

The fix will be available in the build that will be generated this evening so it would be nice if you could try it when it is available.

(http://vthr.via.ecp.fr/~videolan/build/ ... 092225.zip)

Thanks

Mange

Postby Mange » 09 Dec 2003 15:47

just cant wait to try it =)
happy bug-fixing

damion

VLC Multicast on multiple PCs

Postby damion » 09 Dec 2003 16:42

I'm currently using a combination of VLC v7.0 beta and 6.2 on 20 client PCs streaming multicast from one VLC server. The PC's running vary greatly in resources and OS. All range between a 128MB PI and 256MB PIII running Win 2K, 2k Server, and XP Pro. (Yes, some people actually still have a few PI's kicking around that are good for nothing else but visual indicators :) )

The simplicity of the application is great, however, the stream often stops at varying times within about 12 hours. More than 50% of the time when the stream stops it is not responding and must be shut down through task manager which can be quite a hassle on this many machines. It sounds like there may be some type of memory leak which causes the app lock up periodically. Has anyone considered this possibility ???

NOTE: v6.2 often will not loop the playlist when the stream ends, but 7.0 will.

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 09 Dec 2003 21:22

I actually have seen this problem myself and tracked it down to the directx audio plugin.

I couldn't find what the exact problem was with the directx audio plugin though (it could also be just a buggy driver).

If you have time to do some other experiments, try to select the "waveOut" audio plugin in the preferences of VLC.

RacheKlos

Postby RacheKlos » 10 Dec 2003 04:52

Into the 03,12,09 version the HTTP server does not works?!

Rache Klos

Postby Rache Klos » 11 Dec 2003 01:01

Hm the last Version not Work on my P4 System, i have tested 12.09 and 11.09 Release.

main debug:
main debug: creating new input thread
main: playlist item `D:\Multimedia\Filme\Stargate\Stargate - SG-1 [3x16] -59- Urgo.avi'
main debug: waiting for thread completion
main warning: drive letter D: found in source string
main debug: thread 2840 (input) created at priority 15 (src/input/input.c:257)
main debug: access `', demux `', name `D:\Multimedia\Filme\Stargate\Stargate - SG-1 [3x16] -59- Urgo.avi'
main debug: looking for access module
main debug: probing 7 candidates
dvdplay debug: plugin discarded (not a valid source)
dvdread warning: dvdread module discarded (not a valid source)
vcd debug: trying .cue file: D:\Multimedia\Filme\Stargate\Stargate - SG-1 [3x16] -59- Urgo.cue
vcd warning: could not open D:\Multimedia\Filme\Stargate\Stargate - SG-1 [3x16] -59- Urgo.avi
cdda debug: trying .cue file: D:\Multimedia\Filme\Stargate\Stargate - SG-1 [3x16] -59- Urgo.cue
cdda warning: could not open D:\Multimedia\Filme\Stargate\Stargate - SG-1 [3x16] -59- Urgo.avi
access_file debug: opening file `D:\Multimedia\Filme\Stargate\Stargate - SG-1 [3x16] -59- Urgo.avi'
main debug: using access module "access_file"
main debug: looking for demux module
main debug: probing 21 candidates
mp4 warning: MP4 plugin discarded (not a valid file)
avi debug: Found Chunk fourcc:46464952 (RIFF) size:317238518 pos:0
avi debug: found LIST chunk: 'AVI '
avi debug: <list 'AVI '>
avi debug: Found Chunk fourcc:5453494c (LIST) size:8830 pos:12
avi debug: found LIST chunk: 'hdrl'
avi debug: <list 'hdrl'>
avi debug: Found Chunk fourcc:68697661 (avih) size:56 pos:24
avi debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 640x352
avi debug: Found Chunk fourcc:5453494c (LIST) size:4244 pos:88
avi debug: found LIST chunk: 'strl'
avi debug: <list 'strl'>
avi debug: Found Chunk fourcc:68727473 (strh) size:56 pos:100
avi debug: strh: type:vids handler:0x33766964 samplesize:0 25,00fps
avi debug: Found Chunk fourcc:66727473 (strf) size:40 pos:164
avi debug: strf: video:DIV3 640x352 planes:1 24bpp
avi debug: Found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:212
avi debug: </list 'strl'>
avi debug: Found Chunk fourcc:5453494c (LIST) size:4234 pos:4340
avi debug: found LIST chunk: 'strl'
avi debug: <list 'strl'>
avi debug: Found Chunk fourcc:68727473 (strh) size:56 pos:4352
avi debug: strh: type:auds handler:0x00000000 samplesize:0 41,67fps
avi debug: Found Chunk fourcc:66727473 (strf) size:30 pos:4416
avi debug: strf: audio:0x0055 channels:2 48000Hz 0bits/sample 126kb/s
avi debug: Found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:4454
avi debug: </list 'strl'>
avi debug: Found Chunk fourcc:5453494c (LIST) size:260 pos:8582
avi debug: found LIST chunk: 'odml'
avi debug: <list 'odml'>
avi debug: Found Chunk fourcc:686c6d64 (dmlh) size:248 pos:8594
avi warning: unknown chunk (not loaded)
avi debug: </list 'odml'>
avi debug: </list 'hdrl'>
avi debug: Found Chunk fourcc:5453494c (LIST) size:28 pos:8850
avi debug: found LIST chunk: 'INFO'
avi debug: <list 'INFO'>
avi debug: Found Chunk fourcc:54465349 (ISFT) size:15 pos:8862
avi debug: ISFT: software : Nandub v1.0rc2
avi debug: </list 'INFO'>
avi debug: Found Chunk fourcc:4b4e554a (JUNK) size:1346 pos:8886
avi debug: Found Chunk fourcc:5453494c (LIST) size:314512974 pos:10240
avi debug: Skipping movi chunk
avi debug: Found Chunk fourcc:31786469 (idx1) size:2715296 pos:314523222
avi debug: idx1: index entry:169706
avi debug: </list 'AVI '>
avi debug: Found Chunk fourcc:4b4e554a (JUNK) size:762 pos:317238526
avi debug: * LIST-root size:317239296 pos:0
avi debug: + RIFF-AVI size:317238518 pos:0
avi debug: | + LIST-hdrl size:8830 pos:12
avi debug: | | + avih size:56 pos:24
avi debug: | | + LIST-strl size:4244 pos:88
avi debug: | | | + strh size:56 pos:100
avi debug: | | | + strf size:40 pos:164
avi debug: | | | + JUNK size:4120 pos:212
avi debug: | | + LIST-strl size:4234 pos:4340
avi debug: | | | + strh size:56 pos:4352
avi debug: | | | + strf size:30 pos:4416
avi debug: | | | + JUNK size:4120 pos:4454
avi debug: | | + LIST-odml size:260 pos:8582
avi debug: | | | + dmlh size:248 pos:8594
avi debug: | + LIST-INFO size:28 pos:8850
avi debug: | | + ISFT size:15 pos:8862
avi debug: | + JUNK size:1346 pos:8886
avi debug: | + LIST-movi size:314512974 pos:10240
avi debug: | + idx1 size:2715296 pos:314523222
avi debug: + JUNK size:762 pos:317238526
avi debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED
avi debug: stream[0] rate:25 scale:1 samplesize:0
avi debug: stream[0] video(DIV3) 640x352 24bpp 25,000000fps
avi debug: stream[1] rate:48000 scale:1152 samplesize:0
avi debug: stream[1] audio(0x55) 2 channels 48000Hz 0bits
avi debug: stream[0] created 63640 index entries
avi debug: stream[1] created 106066 index entries
avi debug: stream[0] length:2545 (based on index)
avi debug: stream[1] length:2545 (based on index)
main debug: using demux module "avi"
main debug: selecting ES 0x1
main debug: looking for decoder module
main debug: probing 18 candidates
ffmpeg debug: libavcodec initialized (interface 4687 )
ffmpeg debug: postprocessing disabled
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (MS MPEG-4 v3) started
main debug: using decoder module "ffmpeg"
main debug: thread 2872 (decoder) created at priority 0 (src/input/input_dec.c:166)
main debug: selecting ES 0x2
main debug: looking for decoder module
main debug: probing 18 candidates
main debug: using decoder module "mpeg_audio"
main debug: thread 2896 (decoder) created at priority 2 (src/input/input_dec.c:166)
avi debug: old:0 < new 0
avi debug: old:0 < new 0
main debug: no usable vout present, spawning one
mpeg_audio: MPGA channels:2 samplerate:48000 bitrate:128
main debug: no aout present, spawning one
main debug: looking for audio output module
main debug: probing 4 candidates
aout_directx debug: OpenAudio
main debug: looking for video output module
main debug: probing 4 candidates
vout_directx debug: creating DirectXEventThread
main debug: waiting for thread completion
vout_directx debug: DirectXCreateWindow
vout_directx debug: screen dimensions 1024x768 colour depth 32
main debug: thread 3028 (DirectX Events Thread) created at priority 0 (directx.c:188)
vout_directx debug: DirectXEventThread running
vout_directx debug: DirectXInitDDraw
vout_directx debug:
vout_directx debug: DirectXEnumCallback: RADEON 9700 PRO, \\.\DISPLAY1
vout_directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1 can_deinterlace_overlay=0 colorkey=1 stretch=1 bltfourcc=1
vout_directx debug: End DirectXInitDDraw
vout_directx debug: DirectXCreateDisplay
vout_directx debug: DirectXCreateClipper
main debug: using video output module "vout_directx"
main debug: looking for text renderer module
main debug: probing 3 candidates
freetype debug: Using fontsize: 22
main debug: using text renderer module "freetype"
main debug: waiting for thread completion
vout_directx debug: NewPictureVec overlay:yes chroma:YV12
vout_directx debug: YUV overlay created successfully
vout_directx debug: End NewPictureVec (succeeded)
main debug: got 1 direct buffer(s)
main debug: picture in 640x352, chroma 0x30323449 (I420), aspect ratio 130909:72000
main debug: picture out 640x352, chroma 0x32315659 (YV12), aspect ratio 130909:72000
main debug: direct render, mapping render pictures 0-6 to system pictures 1-7
main debug: thread 3132 (video output) created at priority 1 (src/video_output/video_output.c:471)
ffmpeg error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
ffmpeg error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
ffmpeg error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
main warning: late picture skipped (584115552081000)
main warning: late picture skipped (588410519337000)
main warning: late picture skipped (592705486593000)
main warning: late picture skipped (597000453849000)
main warning: late picture skipped (601295421105000)
main warning: late picture skipped (605590388361000)
main warning: late picture skipped (609885355617000)
ffmpeg error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
ffmpeg error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
main warning: late picture skipped (738734374488000)
main warning: late picture skipped (743029341744000)
main warning: late picture skipped (747324309000000)
main warning: late picture skipped (751619276256000)
ffmpeg error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
ffmpeg error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
ffmpeg error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
ffmpeg error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
main warning: late picture skipped (811748818391000)
main warning: late picture skipped (816043785647000)

This is with all Files on my HDD, the Version 12.08 Works, except the known Freeze.

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 11 Dec 2003 11:42

Raahhaaa!!!

That will teach me to test my changes before committing them ;)

Ok I fixed it and tested it this time so the 2003/12/11 snapshot should be working fine.

Rache Klos

Postby Rache Klos » 12 Dec 2003 15:32

I have already 6 hours tested, up to now go it.

Thank you

torch

Postby torch » 24 Dec 2003 17:56

same problem here, i'm running a dual amd mp and a dual pIII, both of them with freezings, the third computer, a single pII, is running with no problems.
win2k, directx 9.0b, gforce2 mx

is there any solution yet?

merry christmas!

Guest

Postby Guest » 24 Dec 2003 22:31

oh.. version 0.7.0 seems to work fine.

Mange

Postby Mange » 25 Dec 2003 10:48

Version 0.7.0-test2 seems to work fine. all previous versions crash on my computer. The only problem with 0.7.0-test2 is that I cant get the subtitles to work.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 25 Dec 2003 13:23

Define "cannot get subtitles to work"

What isn't working, what kind of subs, what kind of video, what steps did you take, what is it reporting in the messages window. etc. etc. etc.
Don't use PMs for support questions.

Mange

Postby Mange » 25 Dec 2003 14:26

Ok, I use a .avi file and a .sub file. I'm not sure if this is what you meant by messages window, but here it comes:

main warning: resampling stopped after 4328000 usec
avi warning: failled reading data
avi warning: failled reading data
main debug: 4090 loops
main debug: dumping stream ID 0x0 [OK:0/D:0]
main debug: seekable stream, position: 9450678/730796032 (0:01:05/1:23:49)
main debug: dumping program 0x0, version 0 (partial)
main debug: ES 0x1, stream 0x1, fourcc `XVID', selected [OK:0/ERR:0]
main debug: ES 0x2, stream 0x2, fourcc `mpga', selected [OK:0/ERR:0]
main debug: ES 0x3, stream 0x3, fourcc `subt', not selected [OK:0/ERR:0]
avi debug: free chunk avih
avi debug: free chunk strh
avi debug: free chunk strf
avi debug: free chunk JUNK
avi debug: free chunk LIST
avi debug: free chunk strh
avi debug: free chunk strf
avi debug: free chunk JUNK
avi debug: free chunk LIST
avi warning: unknown chunk (not unloaded)
avi debug: free chunk LIST
avi debug: free chunk LIST
avi debug: free chunk ISFT
avi debug: free chunk LIST
avi debug: free chunk JUNK
avi debug: free chunk LIST
avi debug: free chunk idx1
avi debug: free chunk RIFF
avi debug: free chunk JUNK
avi debug: free chunk LIST
main debug: unlocking module "avi"
main debug: unselecting ES 0x1
main debug: unlocking module "ffmpeg"
main debug: thread 3064 joined (src/input/input_dec.c:210)
main debug: killing decoder fourcc `XVID', 10 PES in FIFO
main debug: unselecting ES 0x2
mpeg_audio debug: emulated startcode (no startcode on following frame)
main debug: unlocking module "mpeg_audio"
main debug: thread 3520 joined (src/input/input_dec.c:210)
main debug: killing decoder fourcc `mpga', 9 PES in FIFO
main debug: unlocking module "mpgatofixed32"
main debug: unlocking module "bandlimited_resampler"
aout_directx debug: CloseAudio
aout_directx debug: DirectSoundThread exiting
main debug: thread 3664 joined (directx.c:576)
main debug: unlocking module "aout_directx"
main debug: unlocking module "float32_mixer"
main debug: no more selected ES
main: subtitle stopped
main debug: unlocking module "demuxsub"
access_file:
main debug: unlocking module "access_file"
main debug: pes: 0 packets
main debug: data: 1 packets
main debug: buffers: 2 packets
main debug: freeing info structures...
main debug: thread 3456 joined (src/input/input.c:291)
main debug: vout garbage collector destroying 1 vout
main debug: unlocking module "freetype"
vout_directx debug: DirectXCloseSurface
vout_directx debug: DirectXCloseDisplay
vout_directx debug: DirectXCloseDisplay clipper
vout_directx debug: DirectXCloseDisplay display
vout_directx debug: DirectXCloseDDraw
vout_directx debug: CloseVideo
vout_directx debug: DirectXEventThread terminating
vout_directx debug: DirectXCloseWindow
vout_directx debug: WinProc WM_DESTROY
main debug: thread 3492 joined (directx.c:412)
main debug: unlocking module "vout_directx"
main debug: thread 3496 joined (src/video_output/video_output.c:496)

I then tried with another .avi file and another .txt file and the following messages appeared:

ffmpeg error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
avi warning: failled reading data
avi warning: failled reading data
main debug: 2308 loops
main debug: dumping stream ID 0x0 [OK:0/D:0]
main debug: seekable stream, position: 9921132/733151232 (0:01:20/1:39:30)
main debug: dumping program 0x0, version 0 (partial)
main debug: ES 0x1, stream 0x1, fourcc `DIV3', selected [OK:0/ERR:0]
main debug: ES 0x2, stream 0x2, fourcc `mpga', selected [OK:0/ERR:0]
main debug: ES 0x3, stream 0x3, fourcc `subt', not selected [OK:0/ERR:0]
main debug: ES 0x4, stream 0x4, fourcc `subt', not selected [OK:0/ERR:0]
avi debug: free chunk avih
avi debug: free chunk strh
avi debug: free chunk strf
avi debug: free chunk JUNK
avi debug: free chunk LIST
avi debug: free chunk strh
avi debug: free chunk strf
avi debug: free chunk JUNK
avi debug: free chunk LIST
avi warning: unknown chunk (not unloaded)
avi debug: free chunk LIST
avi debug: free chunk LIST
avi debug: free chunk ISFT
avi debug: free chunk INAM
avi debug: free chunk ISBJ
avi debug: free chunk IART
avi debug: free chunk ICOP
avi debug: free chunk ICMT
avi debug: free chunk LIST
avi debug: free chunk JUNK
avi debug: free chunk LIST
avi debug: free chunk idx1
avi debug: free chunk RIFF
avi debug: free chunk JUNK
avi debug: free chunk LIST
main debug: unlocking module "avi"
main debug: unselecting ES 0x1
main debug: unlocking module "ffmpeg"
main debug: thread 2896 joined (src/input/input_dec.c:210)
main debug: killing decoder fourcc `DIV3', 10 PES in FIFO
main debug: unselecting ES 0x2
mpeg_audio debug: emulated startcode (no startcode on following frame)
mpeg_audio debug: emulated start code
main debug: unlocking module "mpeg_audio"
main debug: thread 2868 joined (src/input/input_dec.c:210)
main debug: killing decoder fourcc `mpga', 9 PES in FIFO
main debug: unlocking module "mpgatofixed32"
main debug: unlocking module "bandlimited_resampler"
aout_directx debug: CloseAudio
aout_directx debug: DirectSoundThread exiting
main debug: thread 3096 joined (directx.c:576)
main debug: unlocking module "aout_directx"
main debug: unlocking module "trivial_mixer"
main debug: no more selected ES
main: subtitle stopped
main debug: unlocking module "demuxsub"
main: subtitle stopped
main debug: unlocking module "demuxsub"
access_file:
main debug: unlocking module "access_file"
main debug: pes: 0 packets
main debug: data: 1 packets
main debug: buffers: 2 packets
main debug: freeing info structures...
main debug: thread 3020 joined (src/input/input.c:291)
main debug: vout garbage collector destroying 1 vout
main debug: unlocking module "freetype"
vout_directx debug: DirectXCloseSurface
vout_directx debug: DirectXCloseDisplay
vout_directx debug: DirectXCloseDisplay clipper
vout_directx debug: DirectXCloseDisplay display
vout_directx debug: DirectXCloseDDraw
vout_directx debug: CloseVideo
vout_directx debug: DirectXEventThread terminating
vout_directx debug: DirectXCloseWindow
vout_directx debug: WinProc WM_DESTROY
main debug: thread 3504 joined (directx.c:412)
main debug: unlocking module "vout_directx"
main debug: thread 3476 joined (src/video_output/video_output.c:496)


I'm not sure I did this message thing right, because most of the messages appeared when I pressed the stop button. The same .avi .sub and .txt files work very well with previous versions of vlc (0.6.2 and 0.7.0-test1) without having to change any settings. Is there some default subrirle setting that has been changed?

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 26 Dec 2003 04:49

This is information related to the closing of the file. Information related to the opening of the file might be more useful. :D
Don't use PMs for support questions.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 9 guests