Page 1 of 1

Ticket #3152

Posted: 02 Nov 2010 16:22
by fishstyc
I just wanted to let you know that I am really hoping for a rapid solution for Ticket #3152, that is about VLC not playing the beginning of any file, video, or audio. A very annoying bug.

I can't use a previous version of LibVLC to resolve this (1.1.3 or so), because it contains the same bug...

Re: Ticket #3152

Posted: 02 Nov 2010 17:51
by Lotesdelere
It's a work in progress:
http://git.videolan.org/?p=vlc.git;a=co ... fc2af926a0
The end of video was already fixed.
There is still an issue at the beginning (around 30/50 ms sometimes lost).
Patience...

Re: Ticket #3152

Posted: 04 Nov 2010 01:35
by Jean-Baptiste Kempf
Testing files and testing 1.2.0 NB would be very welcome.

Re: Ticket #3152

Posted: 05 Nov 2010 12:27
by fishstyc
A short file with four clicks, and framenumbers from 0 to 37 I think. You will see that VLC only plays the 2nd and the 3d click, sometimes the last also. The first click is never played.

https://www.wetransfer.com/dl.php?code= ... ff942b1371

Re: Ticket #3152

Posted: 05 Nov 2010 13:33
by fishstyc
BTW vlc-1.2.0-git-20101105-0002 did play this file until the end (beginning still not plyed as expected), but when playing the 2nd time crashed with some assertion failure.

Re: Ticket #3152

Posted: 05 Nov 2010 13:51
by ivoire
Which assertion ? and which file ?

Re: Ticket #3152

Posted: 21 Jan 2011 15:34
by fishstyc
Hello,

I am experiencing another problem which might be related to this ticket, which is why I add it here.

I experienced this using LibVLC, where I implemented a very simple way to loop video's, namely when the video had a status of ended, I would stop and start the mediaplayer in order to repeat the file. When the playing speed was very low, I noticed that it skipped the second frame.

Then I tried to check if this behaviour was the same in VLC player, and since it forgets the playing speed, it was impossible to tell. But, when I added 2 loop points, one at the first frame, and one at the tenth frame or something, I could adjust the playing speed, and I saw the same behaviour.

What I saw was, that after seeking (I thought it would jump to frame 0 but actually it jumped to frame 1, that's the first strange thing, but not what this post is about), it would skip the second frame. So actually it was displaying frames 1, 3, 4, 5, 6, 7, 8 ,9, 10, 1, 3, ...
I would have expected 0, 1, 2, 3, 4, ..., 10, 0, 1, 2, 3, 4, ..., 10

Since I don't know how to post files here, here is the avisynth script I used to generate a very short test-file (same length as the audio I added).

Code: Select all

videolength = 37 videocolor = $0000FF a = directshowsource("click.wav").loop(99) v = BlankClip(width = 80, height = 60, color=videocolor, fps=25, length=videolength).audiodub( a ) v.showframenumber() last.Trim(0,-0) return last

Re: Ticket #3152

Posted: 21 Jan 2011 16:45
by fishstyc
And when I try the same thing in today's nightly build I get
2, 3, 4, 5, 6, 7, 8, 9, 9, 2, 3, 4 ...

Different, but still wrong. Don't know if the same thing happens at speed 1.0.