Nautilus sound preview doesn't work with OGG files.

Bug #13090 reported by Trouilliez vincent
38
Affects Status Importance Assigned to Milestone
Nautilus
Invalid
Medium
nautilus (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

I installed "sox" so as to get sound preview in Nautilus, for mp3, wav, flac and
ogg files.
It works fine with mp3 and wav files, but it won't preview ogg files... :-/

The problem is there both on Warty and Hoary.

http://bugzilla.gnome.org/show_bug.cgi?id=167946: http://bugzilla.gnome.org/show_bug.cgi?id=167946

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

I've opened a bug upstream about this:
http://bugzilla.gnome.org/show_bug.cgi?id=167946

Revision history for this message
comeon (comeon2424) wrote :

(In reply to comment #1)
> I've opened a bug upstream about this:
> http://bugzilla.gnome.org/show_bug.cgi?id=167946

I'm having this problem in breezy, but here
sound preview doesn't work at all (mp3, ogg).

Revision history for this message
Dennis Laumen (dennislaumen) wrote :

Sound preview does not work at all here. I can play MP3's/WAV's/OGG's (In
Rythbox for instance) etc. and got the sox package installed. It does not does
anything (although it does show the icon change when hovering above it).

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

do you have mpg123 or mpg321 installed?

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

*** Bug 23536 has been marked as a duplicate of this bug. ***

Revision history for this message
Daniel Holbach (dholbach) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :

Upstream says:

"Missed feature freeze, milestoning to 2.16.

Created an attachment (id=60086) [edit]
Proposed patch

Proposed prelimitary proof-of-concept patch for GStreamer. It does not launch
an app but directly use the API, since GStreamer got more and more stable." - this will be Dapper+1 then.

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

Couldn't we anticipate upstream and put it in Dapper right now ? If it doesn't work we can just remove it.

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

No, dapper will be stable and that's the kind of patch that brings you new crashers and hangs for no real win. The sound preview is a detail, it's not worth destabilizing nautilus for now

Revision history for this message
Jeremy Austin-Bardo (ausimage) wrote :

Seen the stream of comments for this bug. I have been able to preview MP3s since Breezy. Some OGGs work in Dapper. Could some of the problem be the MIME type set and having vorbis and theora use the same extension???

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

Feel free to describe the differences between .ogg working on those having an issue. That will be fixed next cycle using gstreamer0.10 probably

lexual (lexhider)
Changed in nautilus:
status: Unconfirmed → Confirmed
Changed in nautilus:
status: Unconfirmed → Confirmed
Revision history for this message
Adriano Varoli Piazza (adrianovaroli) wrote :

This behaviour is still present in Edgy. The worst thing is that, installing mpg321 I get sound preview for .mp3 files, but ogg123 is missing in Edgy. And Nautilus let me apply (offers me) a change that won't work for most files. At least supporting free codecs as ogg in the install disc should be possible...

Revision history for this message
Adriano Varoli Piazza (adrianovaroli) wrote :

It still doesn't work with "proper" (tested with timidity and totem) .mid and .wav files in Edgy.

Revision history for this message
Jib (moramarth-deactivatedaccount) wrote : Re: [Bug 13090] Re: Nautilus sound preview doesn't work with OGG files.

It's a KDE feature since a while, so far. Why Gnome project is unable to
provide it ?

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

no need of such non-constructive comment about what other desktops do or not on the bug tracker

Revision history for this message
Jib (moramarth-deactivatedaccount) wrote :

Sorry, if someone felt insulted. It was a mere remark to point out that it
has already done somewhere. Hence, it could teach the answer to get all work
fine. Furthermore, I wondered how Gnome project is handled inside and
outside the bounds of the projects, and generally how the project coped the
issue.

That's all I meant. You look slightly touchy. But I didn't want to fuel a
flame war KDE/Gnome (Previously, I thought it was mostly the fans of each
desktop environment and not the developers themselves who are sensitive to
such facts… ). So : I apologize to be maladroit and let you adress this bug
the way you prefer…

Changed in nautilus:
assignee: seb128 → desktop-bugs
Revision history for this message
Sebastien Bacher (seb128) wrote : Re: [Bug 13090] Re: Nautilus sound preview doesn't work with OGG files.

Le mercredi 01 novembre 2006 à 10:56 +0000, Jib a écrit :
> Sorry, if someone felt insulted. It was a mere remark to point out that it
> has already done somewhere. Hence, it could teach the answer to get all work
> fine. Furthermore, I wondered how Gnome project is handled inside and
> outside the bounds of the projects, and generally how the project coped the
> issue.

I didn't felt insulted, no worry. I just want to avoid bug comments
turning to a desktop war, better to keep focused on the topic. GNOME has
that feature too, it uses ogg123 though and that's not optimal. There is
some patches upstream for some time to use gstreamer for that, they have
not been used previously because it would make nautilus sensible to
gstreamer bugs. Now gstreamer is probably good enough that it should be
reconsidered maybe.

> That's all I meant. You look slightly touchy.

Not really, I just prefer to keep the bug on tracker before getting
people starting to comment on what other desktop does. The information
on how they do it could be useful though

> flame war KDE/Gnome (Previously, I thought it was mostly the fans of each
> desktop environment and not the developers themselves who are sensitive to
> such facts… ). So : I apologize to be maladroit and let you adress this bug
> the way you prefer…

No need to apologize, I'm fine with other desktops doing things better,
the comment was just to make clear we have no interest to discuss what
other desktops do better on that bug, the focus is rather how to fix the
bug

To come back to the bug discussion, the way to "adress" it is to
convince upstream to land the gstreamer patch, I'll talk with nautilus
hackers about that during the GNOME 2.17 cycle

Revision history for this message
Adriano Varoli Piazza (adrianovaroli) wrote :

Installing sox reenables support for .wav files, but not .ogg or .mid

Revision history for this message
Adriano Varoli Piazza (adrianovaroli) wrote :

I don't understand, an audio preview of an .ogg file copied to my desktop works, the same file in another partition (the relevant options for /etc/fstab are the same: defaults) doesn't. The other partition is named "/music", my user has permission to read and write there, and it's the Rhythmbox library's base dir).

Deleting the file on my Desktop and copying it again resulted in the preview stopping working, but then worked on the _other_ dir (/music). Now some of the files play on my Desktop after I copy them, some don't, and they do play in their /music subfolder.

Changes: sox installed, permission to treat files as executables removed, fiddled with the "allow preview of audio files" setting a bit but left it as it was, on "Only for local files".

Revision history for this message
Adriano Varoli Piazza (adrianovaroli) wrote :

Fiddling with the file permissions works, even when I left them back to what they were previously.

Revision history for this message
Bruno Santos (bsantos) wrote :

I've noticed that nautilus blocks consuming a lot of CPU even after the window with the oggs is closed, and even with sound file preview disabled. If I copy files to an SD card, and close the window, sync the data, nautilus keeps doing something in background that "locks" the files in the card, so I can't remove it unless I explicitly HUP nautilus...

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

 Adriano Varoli Piazza at 2006-11-01 wrote:

>This behaviour is still present in Edgy. The worst thing is that, installing
> mpg321 I get sound preview for .mp3 files, but ogg123 is missing in Edgy.

I installed mpg321 in Edgy but still no joy, actually Nautilus doesn't even change the icon when hover over them, not very engaging...
however, in Feisty, it works ! :-)

Adriano, ogg123 is still there in Edgy, don't worry. It's just that it's not provided as a standalone package, but rather packaged with other ogg tools, in the "vorbis-tools" package. So just install that ;-)

Thanks Seb for talking with Nautilus upstream about integrating that Gstreamer patch ! gst0.10 has been around for some time now, hopefully it's now good enough for the Nautilus boys to include it. Please come back to us to repoert what they say about it ! :-)

Revision history for this message
Loe Spee (lgespee) wrote :

I think it's a waste of time trying to get it to work with ogg123 and mpg321, we should just wait for Nautilus to use GStreamer, then a lot of problems will be solved. And using GStreamer is definitely the way to go.

This just popped up a thought, what does Nautilus use to render previews of video files?

Revision history for this message
Dennis Kaarsemaker (dennis) wrote :

Totem

Changed in nautilus:
importance: Medium → Low
Revision history for this message
Joe Pentland (jpentland) wrote :

This feature did not work for me until I installed vorbis-tools and mpg123.

The fix should be provide vorbis-tools out of the box and mpg123 when you ask for mp3 codecs (in Feisty)

Revision history for this message
Bruno Santos (bsantos) wrote :

Seems to be working in Gutsy up-to-date.

I marked as fixed, can anyone someone else confirm it as working on their machine? :-)

Changed in nautilus:
status: Confirmed → Fix Released
Revision history for this message
flynn (flynn) wrote :

Still problems with playing OGG files on mouse over. When i opened an OGG file. e.g. with audacious, after that this OGG file will be played on mouse over.

Changed in nautilus:
status: Confirmed → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

That is fixed in hardy now which use gstreamer

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

I have just updated Hardy to see for myself, but Nautilus still doesn't preview OGG files...

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

Did you try using several ogg examples? Could you attach your .xsession-errors to the bug?

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

> Did you try using several ogg examples?

Yes, none of them can be previewed. That said, all my OGG files are identical technically: they are all my audio CD's that I ripped using Rhythmbox/sound-juicer (using the default settings for encoding, as far as I remember).
Totem (gstreamer) or RB can play the files just fine, as they have always done.

> Could you attach your .xsession-errors to the bug?

Attached... hope it helps.

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :
Changed in nautilus:
importance: Unknown → Medium
status: Invalid → Unknown
Changed in nautilus:
status: Unknown → Invalid
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.