Difference between revisions of "Cutting Music Videos"
m (→USAGE: - can edit/queue a new job once previous has started to transcode)
(Add to User_Job_Scripts category)
|Line 119:||Line 119:|
Revision as of 01:17, 11 April 2010
Editing a long recording to cut out (multiple) shorter sections can be tedious and usually involves the use of external editing tools such as avidemux. Presented below is a crude method for performing this task from the frontend using a custom user job.
Copy the script to somewhere in the $PATH on the backend (eg. /usr/local/bin/), and make it executable. Stop the backend, and using mythtv-setup, create a user job called "Cut to Music" with:
cut_music.sh "%CHANID%" "%STARTTIME%" "%TITLE%"
and ensure that the backend is allowed to run this user job.
Let's say you've recorded a show called "Hot Video Clips" (in mpeg2). Edit the show, and insert cut-points for the first song. Exit, and by selecting "Recording Options", then "Change Recording Title" proceed to change the name of the show to that of the song in the format "BAND NAME - SONG NAME". The recordings list will reload and then the recording can be processed by the user job by selecting "Job Options", "Cut to Music". The resulting mpeg2 video will be placed in
where a hyphen ("-") is used to delimit the band and song.
When the transcode has started, you can then proceed to cut the next song. Simply rename the recording, insert new cut points and run "Cut to Music" again.
CRUDENESS and WORKAROUNDS
Only one job per recording can be processed at a time.
As the cutlist needs to be present for the transcode job, editing the recording for the next song is not possible until the previous job has started.
Using a simple remote control is a little tedious for renaming titles. A real keyboard makes this a lot easier.
Simultaneous editing and transcoding
By using a multirec-enabled version of mythtv ( >= 0.21, or 0.20-multirec) multiple overlapping recordings can be made thus enabling you to edit+cut one recording while another is being processed.