Gesture-alteration of media files
Gestures allow selection and alteration of media files. A video file is graphically illustrated on a touch sensitive display. A gesture input is received at a point of contact on the touch sensitive display and ends with disengagement of the touch sensitive display. A vector is determined from the point of contact to the disengagement of the touch sensitive display. The video file is then modified in response to the vector.
1. A method, comprising:
receiving, by a hardware processor, a single stream of input data representing a single contiguous gesture to a touch sensitive display, the single stream of input data describing an initial point of a contact with a linear representation of a video file displayed by the touch sensitive display, a final point of a disengagement from the touch sensitive display, and multiple vector components representing the single contiguous gesture from the initial point of the contact to the final point of the disengagement;
generating, by the hardware processor, a default selection having a midpoint along the linear representation of the video file in response to the single stream of input data describing the initial point of the contact;
receiving, by the hardware processor, a first vector component of the multiple vector components representing the single contiguous gesture, the first vector component associated with a first pre-defined command to temporally and equally expand boundaries of the default selection from the midpoint to generate an expanded default selection;
receiving, by the hardware processor, a second vector component of the multiple vector components representing the single contiguous gesture, the second vector component associated with a second pre-defined command to shift the midpoint and the expanded default selection forward in time along the linear representation of the video file;
receiving, by the hardware processor, the single stream of input data describing the disengagement from the touch sensitive display, the single stream of input data describing the disengagement associated with a third pre-defined command to trim an unselected portion of the linear representation of the video file.
2. The method of claim 1 , further comprising trimming the video frames that correspond to the unselected portion of the linear representation of the video file.
3. The method of claim 1 , further comprising associating a tag to the expanded default selection shifted forward in time after the third pre-defined command to trim.
4. The method of claim 1 , further comprising associating a default tag to the expanded default selection shifted forward in time after the third pre-defined command to trim.
5. The method of claim 1 , further comprising generating a prompt for a user input in response to the single stream of input data describing the final point of the disengagement.
6. The method of claim 1 , further comprising tagging a date and time to the expanded default selection shifted forward in time after the third pre-defined command to trim.
7. The method of claim 1 , further comprising comparing the multiple vector components to a library of gestures.
8. A system, comprising: a hardware processor; and a memory device, the memory device storing code, the code when executed causing the hardware processor to perform operations, the operations comprising:
receiving a single stream of input data representing a single contiguous gesture to a touch sensitive display, the single stream of input data describing an initial point of a contact with a linear representation of a video file displayed by the touch sensitive display, a final point of a disengagement from the touch sensitive display, and multiple vector components representing the single contiguous gesture from the initial point of the contact to the final point of the disengagement;
generating a default selection having a midpoint along the linear representation of the video file in response to the single stream of input data describing the initial point of the contact; receiving a first vector component of the multiple vector components representing the single contiguous gesture, the first vector component associated with a first pre-defined command to temporally and equally expand boundaries of the default selection from the midpoint to generate an expanded default selection; receiving a second vector component of the multiple vector components representing the single contiguous gesture, the second vector component associated with a second pre-defined command to shift the midpoint and the expanded default selection forward in time along the linear representation of the video file;
receiving the single stream of input data describing the disengagement from the touch sensitive display, the single stream of input data describing the disengagement associated with a third pre-defined command to trim an unselected portion of the linear representation of the video file.
9. The system of claim 8 , wherein the operations further comprise trimming video frames that correspond to the unselected portion of the linear representation of the video file.
10. The system of claim 8 , wherein the operations further comprise associating a tag to the expanded default selection shifted forward in time after the third pre-defined command to trim.
11. The system of claim 8 , wherein the operations further comprise generating a prompt for a user to input a description of the expanded default selection shifted forward in time after the third pre-defined command to trim.
12. The system of claim 8 , wherein the operations further comprise associating a default tag to the expanded default selection shifted forward in time after the third pre-defined command to trim.
13. The system of claim 8 , wherein the operations further comprise tagging a date and time to the expanded default selection shifted forward in time after the third pre-defined command to trim.
14. The system of claim 8 , wherein the operations further comprise comparing the multiple vector components to a library of gestures.
15. A non-transitory memory device storing instructions that when executed cause a hardware processor to perform operations, the operations comprising:
receiving a single stream of input data representing a single contiguous gesture to a touch sensitive display, the single stream of input data describing an initial point of a contact with a linear representation of a video file displayed by the touch sensitive display, a final point of a disengagement from the touch sensitive display, and multiple vector components representing the single contiguous gesture from the initial point of the contact to the final point of the disengagement; generating a default selection having a midpoint along the linear representation of the video file in response to the single stream of input data describing the initial point of the contact; receiving a first vector component of the multiple vector components representing the single contiguous gesture, the first vector component associated with a first pre-defined command to temporally and equally expand boundaries of the default selection from the midpoint to generate an expanded default selection; receiving a second vector component of the multiple vector components representing the single contiguous gesture, the second vector component associated with a second pre-defined command to shift the midpoint and the expanded default selection forward in time along the linear representation of the video file;
receiving the single stream of input data describing the disengagement from the touch sensitive display, the single stream of input data describing the disengagement associated with a third pre-defined command to trim an unselected portion of the linear representation of the video file.