Page 1 of 1

FLAC skips

Posted: 02 May 2009 19:55
by martini161
Hello, i am using VLC on Fedora core 10, and whenever i try to play FLAC flies i get un bearable skiping. its like its skipping every other half second of audio. Amarok and rythmbox can play the same files fine, as can my Rockboxed ipod. this is what the log says:

Code: Select all

main info: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. main warning: output date isn't PTS date, requesting resampling (91490) main warning: audio drift is too big (159476), dropping buffer main warning: output date isn't PTS date, requesting resampling (91501) main warning: audio drift is too big (158074), dropping buffer main warning: output date isn't PTS date, requesting resampling (91593) main warning: audio drift is too big (156787), dropping buffer main warning: output date isn't PTS date, requesting resampling (114008) main warning: audio drift is too big (177893), dropping buffer main warning: output date isn't PTS date, requesting resampling (91532) main warning: audio drift is too big (176522), dropping buffer main warning: output date isn't PTS date, requesting resampling (91266) main warning: audio drift is too big (174863), dropping buffer main warning: output date isn't PTS date, requesting resampling (91406) main warning: audio drift is too big (173366), dropping buffer main warning: output date isn't PTS date, requesting resampling (91219) main warning: audio drift is too big (171660), dropping buffer main warning: output date isn't PTS date, requesting resampling (91005) main warning: audio drift is too big (169740), dropping buffer main warning: output date isn't PTS date, requesting resampling (113485) main warning: audio drift is too big (190300), dropping buffer main warning: output date isn't PTS date, requesting resampling (90923) main warning: audio drift is too big (188297), dropping buffer main warning: output date isn't PTS date, requesting resampling (90994) main warning: audio drift is too big (186367), dropping buffer
and so on whenever i play a FLAC file. VLC also seems to have lots of trouble streaming them as well.

Re: FLAC skips

Posted: 02 May 2009 21:18
by Jean-Baptiste Kempf
Decoding with libflac or libavcodec?

Re: FLAC skips

Posted: 09 May 2009 19:54
by martini161
what ever the default is.

Re: FLAC skips

Posted: 11 May 2009 02:01
by Jean-Baptiste Kempf
Default doesn't mean anything... It depends on the pacakgers... Which can be a lot different depending on the OS.

Re: FLAC skips

Posted: 08 Aug 2009 01:15
by dye
Is there an easy way to tell which library that "version X" of VLC is using, universally?

I have an FLAC file that bombs out at the same place on both Windows (latest download from videolan.org) as well as on Debian i386 Linux versions of VLC.

I'm guessing the Debian version is using libflac, because inside the vlc process's /proc directory:

Code: Select all

dye@TRANSAM: 279% grep -i flac maps b50d2000-b50d4000 r-xp 00000000 03:05 209487 /usr/lib/vlc/demux/libflac_plugin.so b50d4000-b50d5000 rw-p 00001000 03:05 209487 /usr/lib/vlc/demux/libflac_plugin.so b57e7000-b5827000 r-xp 00000000 03:05 515940 /usr/lib/libFLAC.so.7.0.0 b5827000-b5828000 rw-p 00040000 03:05 515940 /usr/lib/libFLAC.so.7.0.0 b5828000-b582d000 r-xp 00000000 03:05 177133 /usr/lib/vlc/codec/libflacdec_plugin.so b582d000-b582e000 rw-p 00004000 03:05 177133 /usr/lib/vlc/codec/libflacdec_plugin.so dye@TRANSAM: 280% grep -i acodec maps dye@TRANSAM: 281%
Strangely, flac123 (command line version of libflac) plays the file just fine...

Code: Select all

dye@TRANSAM: 282% grep -i flac maps 08048000-0804b000 r-xp 00000000 03:05 130481 /usr/bin/flac123 0804b000-0804d000 rw-p 00003000 03:05 130481 /usr/bin/flac123 b7f0b000-b7f4b000 r-xp 00000000 03:05 515940 /usr/lib/libFLAC.so.7.0.0 b7f4b000-b7f4c000 rw-p 00040000 03:05 515940 /usr/lib/libFLAC.so.7.0.0
Anything else I can do to narrow down the problem? Could it be a plugin issue?

--Ken

Re: FLAC skips

Posted: 08 Aug 2009 18:59
by Jean-Baptiste Kempf
Can you share the file?

Re: FLAC skips

Posted: 09 Aug 2009 22:51
by dye
Can you share the file?
Sure, I should have done that the first place...

http://fredsanford.dynalias.net/~dye/Mars-debug.flac

stops playing around 4:12

--Ken

Re: FLAC skips

Posted: 17 Aug 2009 18:47
by dye
Did you get a chance to grab the file and test it?

It is pretty funky that flac123 plays the file OK and VLC croaks, using the same libFLAC.so library.

--Ken