Play wav file with libvlc will lost the begining or end

This forum is about all development around libVLC.
smartvoice
New Cone
New Cone
Posts: 4
Joined: 11 Oct 2020 13:46

Play wav file with libvlc will lost the begining or end

Postby smartvoice » 11 Oct 2020 16:04

I use libvlc to play my simple wav file. i found that when i use libvlc 3.0.2-3.0.4, libvlc will lost the end of the wav. if i use libvlc 3.0.9-3.0.11, libvlc will lost the begining of the wav.

but if i use vlcplayer to play the same wav file. the player plays complete.

what's the difference between the vlcplayer and the libvlc?

i use libvlc and vlcplayer in windows 32bit.

i tried the official delphi sample and get the same result.

for the 3.0.9-3.0.11, it looks like more affacted to the shorter wav files less than 100k.

i provide a sample wav file for test:
https://mega.nz/#!TTYmBZLY!95Jv_6uAMNmF ... UlhguqE6n0

smartvoice
New Cone
New Cone
Posts: 4
Joined: 11 Oct 2020 13:46

Re: Play wav file with libvlc will lost the begining or end

Postby smartvoice » 14 Jan 2021 16:58

Any progress?
I wish libVLC 4.0 may fix this problem.

Lotesdelere
Cone Master
Cone Master
Posts: 9974
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Play wav file with libvlc will lost the begining or end

Postby Lotesdelere » 15 Jan 2021 11:40

You should create a new ticket on the VLC Trac with your above report, the link to your sample file and the link to this thread:
https://trac.videolan.org/vlc/

smartvoice
New Cone
New Cone
Posts: 4
Joined: 11 Oct 2020 13:46

Re: Play wav file with libvlc will lost the begining or end

Postby smartvoice » 19 Jan 2021 23:34

Ok, Thanks Lotesdelere.

This libVLC almost makes me crazy.
When i set the volume to 0, it raised a divide by zero error in windows 10.

Project ProjectAM.exe raised exception class $C000008E with message 'floating point divide by zero at 0x70981a8b'.

Is VLC always so unreliable?

smartvoice
New Cone
New Cone
Posts: 4
Joined: 11 Oct 2020 13:46

Re: Play wav file with libvlc will lost the begining or end

Postby smartvoice » 19 Jan 2021 23:35

:70981a8b ; C:\ProgramData\videolan\plugins\audio_output\libdirectsound_plugin.dll


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 23 guests