Playback error: Playing FLAC encoded file over DAAP gives error

Bug #42689 reported by Joel Stanley
26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GStreamer
Fix Released
Wishlist
banshee (Ubuntu)
Invalid
Medium
Sebastian Dröge
gst-plugins-good0.10 (Ubuntu)
Fix Released
Medium
Sebastian Dröge

Bug Description

Trying to play a FLAC encoded file over DAAP gives error dialouge as follows:

"Playback Error
GstFlacDec cannont work in push mode. The operation is not supported with this source element or protocol"

Music library shared from Banshee 0.10.10-0ubuntu2 over DAAP, using 0.10.10-0ubuntu2 to play back.

$ gst-inspect-0.10 | grep flac
typefindfunctions: audio/x-flac: flac
typefindfunctions: application/x-id3v2: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: application/x-id3v1: mp3, mp2, mp1, mpga, ogg, flac, tta
flac: flacenc: FLAC encoder
flac: flacdec: FLAC decoder
ffmpeg: ffdec_flac: FFMPEG FLAC lossless audio decoder

Revision history for this message
Joel Stanley (shenki) wrote :

possibly related to of 40023: "totem & rhythmbox will not play Ogg Vorbis, Ogg Theora or Ogg FLAC on fresh Dapper install"?

https://launchpad.net/distros/ubuntu/+source/gstreamer0.10/+bug/40023

Although, after doing as suggested by Sebastian Dröge, paying back http://ff123.net/samples/1.flac (FLAC sample file) using "$ gst-launch-0.10 filesrc location="./1.flac" ! decodebin ! {fake, oss, alsa}sink", all three sinks functioned correctly - sound was played back.

Revision history for this message
Joel Stanley (shenki) wrote :

(should I be editing my comments, or adding more?)

GstFlacDec lives in gst-plugins-good0.10

I couldn't find any relevant bugs in upstream.

Revision history for this message
Sebastian Dröge (slomo) wrote :

not a banshee bug

Changed in banshee:
assignee: nobody → slomo
status: Unconfirmed → Rejected
Revision history for this message
Sebastian Dröge (slomo) wrote :

I can confirm this. This is because a) the http source (i.e. gnomevfssrc) doesn't support seeking, i.e. only push mode and b) the flac decoder/demuxer only supports pull mode.

a) should probably be fixed by neonhttpsrc once it is moved from plugins-bad to good

Changed in gst-plugins-good0.10:
assignee: nobody → slomo
status: Unconfirmed → Confirmed
Revision history for this message
Sebastian Dröge (slomo) wrote :

but neonhttpsrc needs a newer neon anyway so a) won't be fixeable for dapper probably...

Revision history for this message
Sebastian Dröge (slomo) wrote :

Oh neon was updated and is new enough for neonhttpsrc... I'll enable it in gstreamer0.10-plugins-bad later... should be in 0.10.1+cvs20060428-0ubuntu2 but I don't know whether it will be chosen for http over gnomevfssrc by default... we'll see :)
please report back after installing that version of plugins-bad

Revision history for this message
Joel Stanley (shenki) wrote :

Installed the new version of gstreamer0.10-plugins-bad, and playback still does not work. Same error message as before.

(I'm 100% sure I have the ubuntu2 version installed, but if I wasn't, what is the easiest way to tell the version of a currently installed package?)

Revision history for this message
Sebastian Dröge (slomo) wrote :

Yep the gnomevfssrc has a higher priority currently and is used instead of neonhttpsrc :/
So we have to wait for neonhttpsrc to be moved to plugins-base or plugins-good and have gnomevfssrc disabled for http...

Revision history for this message
Joel Stanley (shenki) wrote :

*sigh* any eta?

Thanks very much for your help, it's been good to have such prompt help on my first ubuntu bug :)

Revision history for this message
Sebastian Dröge (slomo) wrote :

Not really... and I would expect it only for edgy. for dapper it would be pure luck to get this done

Revision history for this message
Andrew Conkling (andrewski) wrote :

This has been fixed upstream; will 0.10.4 be making it into Dapper?

Revision history for this message
Sebastien Bacher (seb128) wrote :

The patch doesn't look trivial and that's a minor issue we are no likely to backport it

Changed in gst-plugins-good0.10:
status: Confirmed → Fix Committed
Changed in gstreamer:
status: Confirmed → Fix Released
Revision history for this message
Sebastian Dröge (slomo) wrote :

This is fixed with 0.10.4-0ubuntu1 which was uploaded to edgy some hours ago

Changed in gst-plugins-good0.10:
status: Fix Committed → Fix Released
Changed in gstreamer:
importance: Unknown → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.