Difference between revisions of "Edit On Box"

From hummy.tv Wiki
Jump to: navigation, search
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''THIS PAGE IS UNDER CONSTRUCTION'''
+
__NOTOC__
 
 
{{Note|At present the On Box Editing package can only handle Standard Definition programs, The Author is looking into the possibility of including High Definition content to the editor and if this is possible it will be added at a later date,  Hi-Def editing options are at present ‘Greyed Out’}}
 
 
 
 
==='''Background'''===
 
==='''Background'''===
  
One item missing from the feature packed FOX HDR T2 and FOX HD T2 is ‘On Box Editing’, This is strange as this feature was included in earlier Humax PVRs, However this has now been rectified with the addition of Nicesplice to the Custom Firmware Package  
+
One item missing from the feature packed HDR-FOX T2 and HD-FOX T2 is ‘On Box Editing’, This is strange as this feature was included in earlier Humax PVRs, However this has now been rectified with the addition of Nicesplice to the Custom Firmware Package, This package can edit encrypted and de-crypted content in both High definition and standard definition.
  
 +
Nicesplice also shrinks the files it is run on by running stripts, this utility removes portions of a recording (*.TS File) that aren't required and can account for up to 20% of its space, this process will remove freeview EIT packets from the recording, it also updates the associated .nts sidecar file on the fly so that the trick play functions still work on the resulting recording
  
 
==='''Editing Via Web-If'''===
 
==='''Editing Via Web-If'''===
Line 12: Line 10:
 
From the Web Interface of the Custom Firmware package, Install Nicesplice from the Package Management screen, When Nicesplice is installed the Opt+ button in the webif media browser will show a Crop option.
 
From the Web Interface of the Custom Firmware package, Install Nicesplice from the Package Management screen, When Nicesplice is installed the Opt+ button in the webif media browser will show a Crop option.
 
[[File:EOB2.png|600px|right]]
 
[[File:EOB2.png|600px|right]]
One problem that had to be overcome with the WebIf version of the Nicesplice is having a efficient way of selecting cut points, This has been elegantly achieved by using the Bookmark feature built into the Humax units, So the first step in the editing process is to select a recording with the remote ‘Media’ Button and then play, While playing, press the ‘add book mark’ button on the remote at the place where you want the first ‘keep’ to start
+
One problem that had to be overcome with the WebIf version of the Nicesplice is having an efficient way of selecting cut points, This has been elegantly achieved by using the Bookmark feature built into the Humax units, The first step in the editing process is to select a recording with the remote ‘Media’ Button and then play, While playing, press the ‘add book mark’ button on the remote at the place where you want the first ‘keep’ to start
  
  
Line 19: Line 17:
  
  
*1 bookmark = Keep content from BM1 to end
+
*1 bookmark = Keep content from BM1 to the end
 
*2 Bookmarks = Keep content between BM1 and BM2
 
*2 Bookmarks = Keep content between BM1 and BM2
*3 Bookmarks = Keep content between BM1 and BM2 and join to section BM3 to end
+
*3 Bookmarks = Keep content between BM1 and BM2 and join to section BM3 to the end
 
*4 Bookmarks = Keep content between BM1 and BM2 and join to section BM3 to BM4
 
*4 Bookmarks = Keep content between BM1 and BM2 and join to section BM3 to BM4
 
*32 Bookmarks = Maximum Bookmarks per file
 
*32 Bookmarks = Maximum Bookmarks per file
 +
* Maximum bookmark point = 4.5 Hours from start of recording
  
This becomes clearer if you view the Red and Green ‘Blocks’ in the example
+
Each section is shown by the Red and Green ‘Blocks’ in the example
  
  
Line 32: Line 31:
 
==='''Editing Via Remote Only'''===
 
==='''Editing Via Remote Only'''===
  
In addition to the Nicesplice package, there is a companion package called Nicesplice Magic Folders, If this package is installed a file can be copied using the using the Remote key Opt. – Copy / Move function to one of two newly created folders, Files moved into the ‘Cut’ folder that have been book marked will be automatically edited following the rules above
+
In addition to the Nicesplice package, there is a companion package called Nicesplice Magic Folders, If this package is installed a file can be copied using the Remote key Opt. – Copy / Move function into one of two newly created folders, Files moved into the ‘Cut’ folder that have been book marked will be automatically edited following the rules above
 +
 
 +
Two sections from different programs can be joined by moving them to *edit/*join/*section1 and *edit/*join/*section2 where they will be automatically worked on. Note :- there are some restrictions on joining files from different sources due to the structure of the files being incompatible e.g. different aspect ratio, bit rate etc.
  
Two or more files from different programs can be joined by moving them into the ‘Edit’ Nicesplice Magic Folder. Note :- there are some restrictions on joining files from different sources due to the structure of the files being incompatible e.g. different aspect ratio, bit rate etc.
+
After moving files into either Cut or Edit Nicesplice Magic Folders there will be sub folders created called Done and Original
  
After moving files into either Cut or Edit Edit Nicesplice Magic Folders there will be sub folders created called Done and Original
+
'''Note'''
  
 +
There is experimental support for turning the timeshift record buffer into a usable recording, via magic folders, Go to [edit]/[tsr] and remove the "?" from "GrabCurrentTimeShift?"
 +
After a little while (depending on timeshift size), the current timeshift should appear as a new recording in the [edit]/[tsr] folder.
  
 +
"GrabPreviousTimeShift?" works in a similar way, but attempts to grab what is left of the previous time shift (useful for when you accidentally change channels, and the time shift you wanted is lost). The caveat at the moment is you have to first switch back to the channel you wanted, and wait for at least as long as you were switched to the unwanted channel.
  
 
==='''Editing Via Command Line'''===
 
==='''Editing Via Command Line'''===
Line 44: Line 48:
 
It is possible to perform Nicesplice functions in a command line on a P.C. via Telnet [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html '''(PUTTY)'''] after the new package is installed, Samples of command lines sent via Telnet are detailed below
 
It is possible to perform Nicesplice functions in a command line on a P.C. via Telnet [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html '''(PUTTY)'''] after the new package is installed, Samples of command lines sent via Telnet are detailed below
  
<span style="background:#FFFF00"> nicesplice -in "my recording" -out "new trim recording" -cut 0 500 -cut 2500 3500 </span> <span style="color:#FFFFFF"> HIDE </span>See Note 1
+
<span style="background:#FFFF00"> nicesplice -in "my recording" -out "new trim recording" -cutframes 0 500 -cutframes 2500 3500 </span> <span style="color:#FFFFFF"> HIDE </span>See Note 1
  
<span style="background:#FFFF00"> nicesplice -in "recording 1" -in "recording 2"-out "new joined recording" </span> <span style="color:#FFFFFF"> HIDE </span> See Note 2
+
<span style="background:#FFFF00"> nicesplice -in "my recording" -out "new trim recording" -cut 0 70 -cut 1234 2345 </span> <span style="color:#FFFFFF"> HIDE </span>See Note 2
  
 
<span style="background:#FFFF00"> nicesplice -in "my recording" -out "new trimmed recording" -cutBookMarks </span> <span style="color:#FFFFFF"> HIDE </span> See Note 3
 
<span style="background:#FFFF00"> nicesplice -in "my recording" -out "new trimmed recording" -cutBookMarks </span> <span style="color:#FFFFFF"> HIDE </span> See Note 3
 +
 +
<span style="background:#FFFF00"> nicesplice -in "recording 1" -in "recording 2"-out "new joined recording" </span> <span style="color:#FFFFFF"> HIDE </span> See Note 4
 +
 +
<span style="background:#FFFF00"> nicesplice -noAlignCuts </span> <span style="color:#FFFFFF"> HIDE </span> See Note 5
 +
 +
<span style="background:#FFFF00"> nicesplice -noStripEPG </span> <span style="color:#FFFFFF"> HIDE </span> See Note 6
 +
 +
<span style="background:#FFFF00"> nicesplice -in /mnt/hd2/Tsr/0 -out outfile -tsr 1 </span> <span style="color:#FFFFFF"> HIDE </span> See Note 7
 +
 +
<span style="background:#FFFF00"> nicesplice -in /media/drive1/.tsr/0 -out outfile -tsr 0 </span> <span style="color:#FFFFFF"> HIDE </span> See Note 8
 +
 +
<span style="background:#FFFF00"> nicesplice -in "Shooting Stars_20130218_2330" -out "test" -addBookMark 800 </span> <span style="color:#FFFFFF"> HIDE </span> See Note 9
 +
 +
 +
  
 
'''Notes'''
 
'''Notes'''
# 2500 3500  are frame numbers, These can be obtained from various P.C. video editing packages
+
# The frame number ranges can be obtained from various P.C. video editing packages
# There are some restrictions on joining files from different sources due to the structure of the files being incompatible e.g. different aspect ratio, bit rate etc.
+
# The cut units are 10ths of a second e.g. 0 to 7 seconds and 123.4 to 234.5 seconds
 
# Book Mark Rules apply
 
# Book Mark Rules apply
 +
#A maximum of 10 sections can be joined, There are some restrictions on joining files from different sources due to the structure of the files being incompatible e.g. different aspect ratio, bit rate etc.
 +
# Option - Do Not snap to the nearest I-frame, for more accurate cutting, but can cause corrupt frames round the cut
 +
# Output files are reduced in size by using the stripts package (Shrink) to remove EIT packets, noStripEPG inhibits EIT removal
 +
# make a permanent copy of the previous program in the Time Shift Buffer (Humax HDR-Fox T2)
 +
# make a permanent copy of the currnet program in the Time Shift Buffer (Humax HD-Fox T2)
 +
# Manually add a bookmark to a recording

Latest revision as of 16:52, 15 June 2014

Background

One item missing from the feature packed HDR-FOX T2 and HD-FOX T2 is ‘On Box Editing’, This is strange as this feature was included in earlier Humax PVRs, However this has now been rectified with the addition of Nicesplice to the Custom Firmware Package, This package can edit encrypted and de-crypted content in both High definition and standard definition.

Nicesplice also shrinks the files it is run on by running stripts, this utility removes portions of a recording (*.TS File) that aren't required and can account for up to 20% of its space, this process will remove freeview EIT packets from the recording, it also updates the associated .nts sidecar file on the fly so that the trick play functions still work on the resulting recording

Editing Via Web-If

From the Web Interface of the Custom Firmware package, Install Nicesplice from the Package Management screen, When Nicesplice is installed the Opt+ button in the webif media browser will show a Crop option.

EOB2.png

One problem that had to be overcome with the WebIf version of the Nicesplice is having an efficient way of selecting cut points, This has been elegantly achieved by using the Bookmark feature built into the Humax units, The first step in the editing process is to select a recording with the remote ‘Media’ Button and then play, While playing, press the ‘add book mark’ button on the remote at the place where you want the first ‘keep’ to start


Bookmark.png

The bookmarks Rules are as follows :-


  • 1 bookmark = Keep content from BM1 to the end
  • 2 Bookmarks = Keep content between BM1 and BM2
  • 3 Bookmarks = Keep content between BM1 and BM2 and join to section BM3 to the end
  • 4 Bookmarks = Keep content between BM1 and BM2 and join to section BM3 to BM4
  • 32 Bookmarks = Maximum Bookmarks per file
  • Maximum bookmark point = 4.5 Hours from start of recording

Each section is shown by the Red and Green ‘Blocks’ in the example


Note that cut points are always placed on key frames, usually on a scene change, So it is not possible to edit to an individual frame. To view your edit prior to executing it, select the Opt+ ‘Crop’ option in the WebIf media browser. To correct any mistakes, Place another bookmark on top of an existing bookmark to erase it. Having checked that the crop screen is correct, Select the 'Perform Crop Operation' to create a new edit file, This moves the original recording to a new folder called _original and then replaces the original recording with the cropped version

Editing Via Remote Only

In addition to the Nicesplice package, there is a companion package called Nicesplice Magic Folders, If this package is installed a file can be copied using the Remote key Opt. – Copy / Move function into one of two newly created folders, Files moved into the ‘Cut’ folder that have been book marked will be automatically edited following the rules above

Two sections from different programs can be joined by moving them to *edit/*join/*section1 and *edit/*join/*section2 where they will be automatically worked on. Note :- there are some restrictions on joining files from different sources due to the structure of the files being incompatible e.g. different aspect ratio, bit rate etc.

After moving files into either Cut or Edit Nicesplice Magic Folders there will be sub folders created called Done and Original

Note

There is experimental support for turning the timeshift record buffer into a usable recording, via magic folders, Go to [edit]/[tsr] and remove the "?" from "GrabCurrentTimeShift?" After a little while (depending on timeshift size), the current timeshift should appear as a new recording in the [edit]/[tsr] folder.

"GrabPreviousTimeShift?" works in a similar way, but attempts to grab what is left of the previous time shift (useful for when you accidentally change channels, and the time shift you wanted is lost). The caveat at the moment is you have to first switch back to the channel you wanted, and wait for at least as long as you were switched to the unwanted channel.

Editing Via Command Line

It is possible to perform Nicesplice functions in a command line on a P.C. via Telnet (PUTTY) after the new package is installed, Samples of command lines sent via Telnet are detailed below

nicesplice -in "my recording" -out "new trim recording" -cutframes 0 500 -cutframes 2500 3500 HIDE See Note 1

nicesplice -in "my recording" -out "new trim recording" -cut 0 70 -cut 1234 2345 HIDE See Note 2

nicesplice -in "my recording" -out "new trimmed recording" -cutBookMarks HIDE See Note 3

nicesplice -in "recording 1" -in "recording 2"-out "new joined recording" HIDE See Note 4

nicesplice -noAlignCuts HIDE See Note 5

nicesplice -noStripEPG HIDE See Note 6

nicesplice -in /mnt/hd2/Tsr/0 -out outfile -tsr 1 HIDE See Note 7

nicesplice -in /media/drive1/.tsr/0 -out outfile -tsr 0 HIDE See Note 8

nicesplice -in "Shooting Stars_20130218_2330" -out "test" -addBookMark 800 HIDE See Note 9



Notes

  1. The frame number ranges can be obtained from various P.C. video editing packages
  2. The cut units are 10ths of a second e.g. 0 to 7 seconds and 123.4 to 234.5 seconds
  3. Book Mark Rules apply
  4. A maximum of 10 sections can be joined, There are some restrictions on joining files from different sources due to the structure of the files being incompatible e.g. different aspect ratio, bit rate etc.
  5. Option - Do Not snap to the nearest I-frame, for more accurate cutting, but can cause corrupt frames round the cut
  6. Output files are reduced in size by using the stripts package (Shrink) to remove EIT packets, noStripEPG inhibits EIT removal
  7. make a permanent copy of the previous program in the Time Shift Buffer (Humax HDR-Fox T2)
  8. make a permanent copy of the currnet program in the Time Shift Buffer (Humax HD-Fox T2)
  9. Manually add a bookmark to a recording