Page 1 of 1

Problem playing Files with Wrong audio sampling frequence

Posted: 02 Aug 2012 08:37
by Pikapikapi1
Files have wrong (audio sampling frequence) in the track info (8000 hz), should be 48000. and I see no way to adjust VLC to manually change it's playback frequency, So the file plays with no sound even though it's the same file size as the other files that played before it, so it has sound just VLC does not play it.

Re: Problem playing Files with Wrong audio sampling frequenc

Posted: 02 Aug 2012 08:47
by Lotesdelere
Please open Tools -> Messages (set Verbosity to 2) before you start the playback and then paste the full resulting log here or on Pastebin.com if it's too long.

Also upload a short sample of a problematic file to either http://streams.videolan.org/upload/ or to MirrorCreator.com or to EmbedUpload.com, so it will upload the file for you to several other hosts, and then post the link to the file here.

Re: Problem playing Files with Wrong audio sampling frequenc

Posted: 02 Aug 2012 09:06
by Pikapikapi1
main warning: PTS is out of range (-9899), dropping buffer
main warning: buffer way too early (-160417), clearing queue
main warning: buffer way too early (-160000), clearing queue
main warning: buffer way too early (-160000), clearing queue
main warning: buffer way too early (-160000), clearing queue
main warning: buffer way too early (-160000), clearing queue
main warning: buffer way too early (-160000), clearing queue
main warning: buffer way too late (1120000), dropping buffer
main warning: buffer way too late (928000), dropping buffer
main warning: buffer way too late (736000), dropping buffer
main warning: buffer way too late (544000), dropping buffer
main warning: buffer way too late (352000), dropping buffer
main warning: buffer too late (160000), up-sampling
main warning: buffer way too early (-160000), clearing queue
main warning: timing screwed, stopping resampling
main warning: buffer way too late (1120000), dropping buffer
main warning: buffer way too late (928000), dropping buffer
main warning: buffer way too late (736000), dropping buffer
main warning: buffer way too late (544000), dropping buffer
main warning: buffer way too late (352000), dropping buffer
main warning: buffer too late (160000), up-sampling
main warning: buffer way too early (-160000), clearing queue
main warning: timing screwed, stopping resampling

I copyed and pasted the section of the log that seemed to be the error message display? the rest seemed ordinary Info at the top and that info pasted from there down just kept repeating.

Re: Problem playing Files with Wrong audio sampling frequenc

Posted: 02 Aug 2012 09:14
by Rémi Denis-Courmont
8 kHz is upsampled to 48 kHz without problems here?!

Re: Problem playing Files with Wrong audio sampling frequenc

Posted: 02 Aug 2012 09:18
by Pikapikapi1
(Link removed as the file been analyzed) (550 MB) is the file in question. (Link aviliable for a limited time) I can get the file to play Correctly in CyberLink PowerDVD but Windows Media player has the same issue VLC has video but no sound and no other video player can run it.

Re: Problem playing Files with Wrong audio sampling frequenc

Posted: 02 Aug 2012 10:29
by Rémi Denis-Courmont
Might be broken timestamps in the file then.

Re: Problem playing Files with Wrong audio sampling frequenc

Posted: 02 Aug 2012 12:00
by Pikapikapi1
Okie so no way for VLC to play it normally then?

Re: Problem playing Files with Wrong audio sampling frequenc

Posted: 02 Aug 2012 13:23
by Rémi Denis-Courmont
TBH, I don't know.

Re: Problem playing Files with Wrong audio sampling frequenc

Posted: 02 Aug 2012 13:51
by JeffG
Does the file load into avidemux, tsmuxer or other de/remuxer? If none of them report valid streams the file is probably a lost cause. If one of them can load it (if avidemux offers a B-mode when you open the file, use it) try recreating an index and resaving it.

Re: Problem playing Files with Wrong audio sampling frequenc

Posted: 02 Aug 2012 14:34
by Pikapikapi1
and yes it does although duno how to use that I can save it in avidemux somehow and vlc can play it then but then I lose the subtitle tract because duno how the controls work on it or how to recreating an index.

Re: Problem playing Files with Wrong audio sampling frequenc

Posted: 02 Aug 2012 16:32
by Lotesdelere
Sliders.s04e05.World.Killer.mkv is the file in question.
This file smells fishy:

Code: Select all

[matroska,webm @ 0267CB20] max_analyze_duration 5000000 reached at 5002000 [matroska @ 02330050]Codec for stream 2 does not use global headers but container format requires global headers [matroska @ 02330050]st:0 error, non monotone timestamps 21 >= 0
So with MKVToolnix I extracted all of the streams and then remuxed the raw streams, and the new file is playing fine.

Re: Problem playing Files with Wrong audio sampling frequenc

Posted: 02 Aug 2012 17:14
by Pikapikapi1
k thanks Lotesdelere learned something about editing while trying to get vlc to play the file as I know very lil about video or audio editing. Usually just use VLC as my universal player outside of stuff I know like real player copyrighted codac's and such but this is the first file I have played in years of using VLC it did not like so was saddend but eps 5 - 22 of that series had the same issue 1-4 was okie. But VLC is a awesome player keep up the good work and addition's!