Issue with wavenc and format setting

Dr. Peter G. Baum peter at dr-baum.net
Wed Oct 1 09:21:20 PDT 2014


I don't understand what's going on.
See https://bugzilla.gnome.org/show_bug.cgi?id=737735

Peter


On 09/30/2014 08:50 AM, Sebastian Dröge wrote:
> On Mo, 2014-09-29 at 21:09 +0200, Dr. Peter G. Baum wrote:
>> 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?
>
> Check the debug logs, especially what happens when wavenc sends the
> SEGMENT event for rewriting the headers at the beginning. Something
> seems to go wrong there, and wavenc doesn't notice that something goes
> wrong and just writes to the end.
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>


More information about the gstreamer-devel mailing list