Quantcast
Channel: NVorbis
Viewing all articles
Browse latest Browse all 299

New Post: OGG playback problem

$
0
0
Hello!
Today I faced some problem with your NVorbis lib. I tried to play some OGG file and got following error msg...

System.IO.InvalidDataException: Found invalid data to decode.
at NVorbis.Ogg.PacketReader.AddPacket(Packet packet)
at NVorbis.Ogg.ContainerReader.AddPage(PageHeader hdr)
at NVorbis.Ogg.ContainerReader.GatherNextPage()
at NVorbis.Ogg.ContainerReader.GatherNextPage(Int32 streamSerial)
at NVorbis.Ogg.PacketReader.PeekNextPacketInternal()
at NVorbis.Ogg.PacketReader.GetNextPacket()
at NVorbis.VorbisStreamDecoder.TryInit()
at NVorbis.VorbisReader.NewStream(Object sender, NewStreamEventArgs ea)
at NVorbis.Ogg.ContainerReader.GatherNextPage()
at NVorbis.Ogg.ContainerReader.Init()
at NVorbis.VorbisReader.LoadContainer(IContainerReader containerReader)
at NVorbis.VorbisReader..ctor(Stream stream, Boolean closeStreamOnDispose)
at NVorbis.VorbisReader..ctor(String fileName)
at NVorbis.NAudioSupport.VorbisFileReader..ctor(String fileName)
at MultiWave.FormMain.PlaySoundInDevice(Int32 deviceNumber, String fileName)
at MultiWave.FormMain.PlayInAllSelectedDevices(String fileName)
at MultiWave.FormMain.BtnPlay_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.PerformClick()
at MultiWave.FormMain.BtnBrowse_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Working audio:

Audio
ID : 28286 (0x6E7E)
Format : Vorbis
Format settings for Floor : 1
Lenght : 3min 41s
Bitrate mode : variable
Bitrate : 500 Kbps
Channels : 2 Channels
Sampling rate : 44,1 KHz
Stream size : 13,2 MiB
Used Encoding lib : libVorbis (Omnipresent) (20120203 (Omnipresent))

Not working audio:

ID : 28763 (0x705B)
Format : Vorbis
Format settings for Floor : 1
Lenght : 3min 47s
Bitrate mode : variable
Bitrate : 500 Kbps
Channels : 2 Channels
Sampling rate : 44,1 KHz
Stream size : 13,6 MiB
Used Encoding lib : libVorbis (Omnipresent) (20120203 (Omnipresent))

Example audio files (working and not working audio files):
http://www56.zippyshare.com/v/18425783/file.html

Thanks for helping (and fixing the problem)! :)

Best regards
NoRush

Viewing all articles
Browse latest Browse all 299

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>