Summary: | rotate video file does not work | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | m.wege |
Component: | Thumbs-Video | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, xeros |
Priority: | NOR | ||
Version: | 0.9.3 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.0.0 | |
Sentry Crash Report: |
Description
m.wege
2006-08-22 23:10:52 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 typo in #1: replace the first "display" with "hide" 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 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 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. |