Bug 132828 - rotate video file does not work
Summary: rotate video file does not work
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Video (show other bugs)
Version: 0.9.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-22 23:10 UTC by m.wege
Modified: 2017-08-15 05:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2006-08-22 23:10:52 UTC
Version:            (using KDE 3.5.4, Debian Package 4:3.5.4-3 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.17.8-slh-up-1

rotating avi-files, which are created with my camera does not work, even though it is offered by the menu. So either this has to be removed from the menu, when clicking on an avi or this has to be made possible :-)
Comment 1 Andi Clemens 2008-10-19 10:54:25 UTC
In general I think this is right, we might need to display most of the actions in the "Image" menu as well as in tools, context menu etc.
I don't know if this is so easy right now.

Marcel, Gilles,

does the selected item provide MIME information? Since quickfilter and movie player are working I would say yes. Maybe digikamapp could have a slot to toggle all those actions if incompatible formats are chosen?
But I think we will have problems with context menu, since they seem to be hard coded in most of the cases.

Andi
Comment 2 Andi Clemens 2008-10-19 10:55:18 UTC
typo in #1: replace the first "display" with "hide"
Comment 3 caulier.gilles 2008-12-05 12:38:44 UTC
Andi,

It do not work like this. Rotate menu action is provided by a kipi-plugin (JPEGLoosLess). This is want mean that plugin is in charge to enable or disable action against the context (for ex, if selection is done or not)

Something must be done in JPEGLoosLess to check mimetype, if one file from selection can be rotated.

Gilles Caulier
Comment 4 Andi Clemens 2009-10-20 16:51:58 UTC
SVN commit 1038048 by aclemens:

If images are selected and they are not all image files, remove the rotate
action from the context menu.

 M  +2 -1      NEWS  
 M  +25 -4     digikam/contextmenuhelper.cpp  
 M  +6 -1      digikam/contextmenuhelper.h  
 M  +1 -1      digikam/digikamimageview.cpp  
 M  +1 -1      digikam/imagepreviewview.cpp
Comment 5 Tomasz Czapiewski 2010-09-30 23:43:49 UTC
What about adding such feature to rotate videos?
It should be quite simple in general as execute command: "mencoder -vf rotate=1 -o OUTPUT.AVI -oac copy -ovc lavc INPUT.AVI". The parameter for "rotate=X" describes where to rotate. For example "1" rotates to the right (clockwise) and "3" rotates to the left side.

IMO most users will even accept the fact there will be a new file (it's name should be configurable and based on the original file) with rotated video and maybe different codec but such option would be very usefull.

Digikam could check if mencoder is available and when it could be used give such option and in Preferences there could be option to bring default or customize mencoder command for video rotate.