GNOME Bugzilla – Bug 670623
[0.11] flacenc not working
Last modified: 2012-03-28 15:11:51 UTC
FLAC muxing seems completely broken in 0.11, even this simple pipeline just hangs: gst-launch-0.11 uridecodebin uri=file:///home/cschalle/Music/tok.mp3 ! audioconvert ! flacenc ! oggmux ! filesink location=testflac.ogg
Not even gst-launch-0.11 audiotestsrc ! flacenc ! fakesink works...
Seem to work now for me: commit 15eb385412fb7e894a786442969b525eb4155ae0 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Mon Feb 27 12:49:52 2012 +0100 audioencoder: use default event function Implement a default event function so that subclasses can call it without having to return FALSE (and make it impossible to report errors). commit a51ce46d907d960c0dfc011cbdfb47eb9606fee5 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Mon Feb 27 13:05:33 2012 +0100 flacenc: fix event handling Fix dodgy segment event handling Chain up to parent event handler
plus negotiation patches from a few days ago ;)
ok, it still doesn't work, but now I get an error: 0:00:27.297919163 30050 0xae4631b0 ERROR flacparse gstflacparse.c:872:gst_flac_parse_handle_streaminfo:<flacparse0> Invalid sample rate 0 0:00:27.297985471 30050 0xae4631b0 ERROR flacparse gstflacparse.c:872:gst_flac_parse_handle_streaminfo:<flacparse0> Invalid sample rate 0 0:00:27.298100499 30050 0xae4631b0 ERROR flacparse gstflacparse.c:872:gst_flac_parse_handle_streaminfo:<flacparse0> Invalid sample rate 0 we got an error, life is shit Internal data stream error. gstoggdemux.c(4433): gst_ogg_demux_loop (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecoder/GstDecodeBin:decodebin2/GstOggDemux:oggdemux2: stream stopped, reason error
this one too: commit 89105970f0594e518505c8896a5dbe4f48380bd1 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Tue Mar 13 12:40:37 2012 +0100 flacenc: fix streamheaders Fix the caps of flacenc, the reference encoder only support 24 bits in 32 bits. Set streamheader on output caps.
works now?
Sorry, I thought I had closed this. Yes it works perfectly, thanks for the fix.