Issue with wavenc and format setting

Dr. Peter G. Baum peter at dr-baum.net
Mon Sep 29 12:09:33 PDT 2014


Hi,

if I do

gst-launch-1.0 filesrc location=stereol.wav ! wavparse ! wavenc ! 
filesink location=q1.wav

soxi tells me
Duration       : 00:00:01.32 = 29016 samples ~ 98.6939 CDDA sectors

if I do the same but a forced caps

gst-launch-1.0 filesrc location=~/gst/master/tests/files/stereol.wav ! 
wavparse ! wavenc ! audio/x-wav ! filesink location=q2.wav

soxi tells me
Duration       : 06:45:47.14 = 536854528 samples ~ 1.82604e+06 CDDA sectors

q2.wav is 44 bytes longer than q1.wav.
Obviously instead of rewriting the wav header at offset 0 it is appended 
to the file.

Any idea, where the problem could be?


Many thanks,

Peter


More information about the gstreamer-devel mailing list