Bug 133473

Summary: cannot provide backend player options for specific files
Product: [Unmaintained] kmplayer Reporter: usnay12345
Component: generalAssignee: Koos Vriezen <koos.vriezen>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description usnay12345 2006-09-03 05:38:31 UTC
Version:           0.9.2a (using KDE KDE 3.5.4)
Installed from:    Fedora RPMs
OS:                Linux

I would like the ability to specify options to the backend in the playlist file.  This addresses the problem that a few files require unusual player options.  E.G. I have a few files where the camera was apparently turned on its side, when the video was shot, so to play them correctly with mplayer requires the options "-vop rotate=0".  They should not be set on the "Additional command line options" of the Preferences dialog, be cause they only work for 5 or 6 out of a hundred or more files.

In the default playlist format, this might take the form of additional attributes on the <url> element.  E.G.  mplayeroptions="-options -for -mplayer" xineoptions="-opts -if -using -xine" gstoptions="-gstreamer -opts -for -this -file" and perhaps preferredbackend=mplayer|xine|gstreamer .

Or perhaps like this:

<document>
   <options mplayer="-options -for -mplayer"
            xine="-opts -fi -using -xine"
            gstreamer="-gstreamer -opts"
            preferredbackend="mplayer"> <!-- or xine or gstreamer -->
      <url src="file:///some/url">
      <url src="http://another/usr">
   </options>
</document>

That would take up more space, but would allow options on groups of files as well as individual files.
Comment 1 Koos Vriezen 2006-09-03 13:06:43 UTC
That sounds very much doable. The player options, at least for mplayer, is the easyist. Changing the backend doesn't fit in right now, but no doubt that's solveable.
I'll do the first part right away for mplayer as (playlists are in SVN version now 'playlist' nodes), thinking out loud:
 <playlist>
    <group title="mygroup" mplayeropts="-turn-up-the-bass">
      <item url="foo.mp3/>
      <item url="bar.mp3 mplayeropts=""/>
      <group title="mysubgroup" ..
    ..
etc.
Anyhow, mplayer will then search up until it finds a mplayeropts argument and use that.
Comment 2 Koos Vriezen 2006-09-05 00:22:52 UTC
SVN commit 580972 by vriezen:

Update

CCBUG: 133473
BUG: 133214


 M  +14 -1     ChangeLog  


--- trunk/extragear/multimedia/kmplayer/ChangeLog #580971:580972
@@ -1,4 +1,17 @@
-Changes since version 0.9.2a
+Changes since version 0.9.3-pre2
+- Patch from bero, add more output audio and video drivers
+- Frequencies for Xv TV watching should now be in MHz (like with MPlayer)
+- Add more help in the handbook about the backends and the playlist format
+- Support MPLAYEROPTS argument for group/item nodes to add extra settings
+- Add option to set path/application name for mplayer backend
+- Fix possible crash when updating the playlist tree from QListView click events
+- Add 'Delete item' for persistent playlists context menu
+- Delay loading of recent XML file to first item played or category opened
+- Defaults to not show progress slider instead of having a disabled slider,
+  this greatly improves channel switching with Xv and the bttv driver
+- Properly stop kmplayer when 'hanging' in the resolving state, also add
+  'Connecting' when starting resolving
+Changes since version 0.9.3-pre1
 - Support for audio cdrom
 - Fixes for 'Persistent Playlists' tree; drop position didn't account for
   scrollbar position, painting fixes, popup menu position and dropping an item
Comment 3 Christoph Cullmann 2025-06-09 21:05:00 UTC
This project is unfortunately no longer maintained.

If a new maintainer wants to step up and take care, the project is archived here:

https://invent.kde.org/multimedia/kmplayer

You can just clone it in your private namespace on invent.kde.org and if you have started to work on it and fixed/implemented something get it reviewed and the project unarchived.

Sorry for the inconveniences.