GNOME Bugzilla – Bug 654243
wavenc: Go EOS and report an error if larger than 2GB
Last modified: 2018-11-03 14:44:20 UTC
encoding files longer than 1h40m with this pipeline: gst-launch-0.10 pulsesrc ! queue ! audio/x-raw-int,rate=44100,channels=2 ! wavenc ! filesink location=/tmp/test.wav creates a corrupt wav files. its opened in totem/audacity but only the first 2GB of data are played. Ot is possible to open the file in audacity as raw samples, skipping the header(first 20bytes). So data gets written to disk but the wav headers are wrong.
Then don't use formats with 32-bit limits. :) wavenc could be helpful and generate an error after pushing 4 GB of data.
Still valid
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/47.