Bug 154995 - mime-type application/ogg starts audio-player instead of video-player
Summary: mime-type application/ogg starts audio-player instead of video-player
Status: RESOLVED WONTFIX
: 157468 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: KDE (show other bugs)
Version: Beta 6
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-03 14:08 UTC by Juergen Weigert
Modified: 2006-03-13 13:03 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Weigert 2006-03-03 14:08:10 UTC
ogg is a general container. It may contain both audio and video. 
# application/ogg is the official mime type.
# Unfortunatly, we cannot use it, as KDE (as of SL10.0) does the wrong thing.
# With application/ogg, konqueror asks the user if it should start amarok or download the file.
# The alternative choice 'start with ...' is missing here. Amarok is an audio-only player.
# When it sees an ogg video-stream, it silently starts to busy-loop and plays nothing.
#
# If we use video/ogg, konqueror offers the 'start with ...' dialog.
# Type in 'kaffeine' and it will play the video as a streaming client.
# (Do not select kaffeine from the multimedia video players menue. 
# It will only download the file and then fail to start.)
#
application/ogg                 ogg     
# video/ogg                     ogg

Please consider if it is possible to get a video-player for ogg video-streams.

Please also fix the kaffeine entry in the 'open with ... ' dialog to start 'kaffeine' rather than 'kaffeine %U'.

Please also allow the 'open with...' button to select alternatives unconditionly.
Comment 1 Stephan Kulow 2006-03-03 15:06:50 UTC
way too complex. a "general container format" is just broken - especially if the extension is the only way to find it. And as a matter of fact .oggs are 99% of all cases audio.

File magic knows the difference (and so should web servers).

0       string          OggS            application/ogg
>28     string          \x01vorbis      audio/vorbis
>28     string          fLaC            audio/x-oggflac
>28     string          \x80theora      video/x-theora
>87     string          \x80theora      video/x-theora
>28     string          Speex\ \        audio/x-speex
>29     string          video           video/x-ogm
>29     string          FLAC            audio/x-oggflac


And your kaffeine point I don't get, perhaps you want to file a real bug report about that?
Comment 2 Stephan Kulow 2006-03-12 10:09:37 UTC
*** Bug 157468 has been marked as a duplicate of this bug. ***
Comment 3 Juergen Weigert 2006-03-13 12:53:52 UTC
for the kaffeine issue: 
I found that 'kaffeine' causes the video to start playing right away as a streaming video. 'kaffeine %U' causes the video to get downloaded first, then played. 
I haven't figured out yet how streaming vs. download-play really is decided.
We should prefer streaming if there is any choice.
Comment 4 Stephan Kulow 2006-03-13 13:03:07 UTC
there might still be a bug. I wonder how 'kaffeine' can pass any kind of URL though