Bug 56138

Summary: Can't add media files to impress and writer documents
Product: LibreOffice Reporter: Rob Snelders <programming>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: major CC: michael.meeks
Priority: medium Keywords: regression
Version: 4.0.0.0.alpha0+ Master   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: The logs of the 2nd command Michael suggested

Description Rob Snelders 2012-10-18 12:59:50 UTC
When I try to add media (mp3/ogg) files to impress or writer then I get the notification:

"The format of the selected file is not supported."

In 3.5.4 on Ubuntu 12.04 x86_64 it works and on 3.7Master on Ubuntu 12.04 x86_64 it doesn't wok.
Comment 1 Michael Meeks 2012-11-01 14:49:40 UTC
Can you play such mp3 files with gstreamer-launch ?

gst-launch playbin2 uri=file:///demo/media/file.mp3

Does that show a window for the file and play the audio ? how about gst-launch-0.10 ?

Quite possibly I busted the packaging of this with the gst 1.0 support. Can you do:

strace -e file -f ./soffice 2>&1 | grep gst # and add the video

Hopefully that'll show what libraries get loaded.

Thanks for the report !
Comment 2 Rob Snelders 2012-11-04 13:30:33 UTC
Created attachment 69519 [details]
The logs of the 2nd command Michael suggested

> gst-launch playbin2 uri=file:///demo/media/file.mp3

I had to install the package "Gstreamer-tools" for this but then I could hear the music from the mp3. I saw no window of it. The version I have installed is 0.10.36.

strace -e file -f ./soffice 2>&1 | grep gst # and add the video

I have attached a log with the output of this command. I was trying to add the OpenBSD5.1 song to a new presentation. But then it gives the error-message as told earlier.

My build was from 17 oktober (commit: cf16c324c98e597517eff73b24234d78567b9db1). I'll try again after updating
Comment 3 Rob Snelders 2012-11-04 18:34:09 UTC
even with a updated build (commit 198a18b246ac8105cd868138e0ba172f8e83c0d5) the problem still exists
Comment 4 Rob Snelders 2012-11-11 21:15:33 UTC
forgot to change the status. So did it now.
Comment 5 Rob Snelders 2012-12-02 14:30:26 UTC
works now. I don't know what was wrong.