Quantcast
Channel: naudio Work Item Rss Feed
Viewing all articles
Browse latest Browse all 738

Edited Unassigned: WaveFileReader reads data to ExtraChunks only [16457]

$
0
0
Hi,

a wave file extracted from a video with ffmpeg seems not to be read correctly by WaveFileReader.

The wave file can be played in any standard player (MS, VLC, ...) but when opened with WaveFileReader sample count is 0 and all data goes into the ExtraChunks.

I am not very familiar with the wave file format, so maybe I do something wrong and it isn't a bug in WaveFileReader.

It would be nice if someone could have a look and confirm this.

command line for FFMPEG:
```
ffmpeg -i myvideo.mp4 -vn -acodec pcm_f32le -ar 44100 -f wav -ac 1 myaudiofromvideo.wav
```

Call in my source code to open the file:
```
WaveFileReader rd = new WaveFileReader(myaudiofromvideo.wav);
```

If anything else is needed from my side, please ask.

Regards,
T.

Edit:
Oh by the way:
OS: Windows 7 x64 (compiling for x86)
IDE: Visual Studio 2013 Desktop Express
NAudio Runtime Version: v2.0.50727
NAudio Version: 1.7.1.17

Viewing all articles
Browse latest Browse all 738

Trending Articles



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