Grandissimo Plugin per tagliare direttamente la pubblicità nel DB.
Al momento il tutto si fa tramite Telnet.
Allego di seguito il 3D dell'autore... VIRGOLA
P.S. Io ho provato a tagliare "Dalla Cina con furore" e vi assicuro che è stato velocissimo (circa 10 minuti per avere il film senza pubblicità).
PSS
1)Il taglio prima e dopo il film l'ho fatto con cutlist del DB.
2) Poi con DCC ho copiato il titolo del film (occhio deve essere quello che c'è nel DB: quindi NON "Dalla Cina con furore" ma "20070712 2145 - SKY Max - Dalla Cina con furore" senza .ts in fondo.
3) In telenet basta scrivere:
cd /media/hdd/movie/ (invio)
mcut "20070712 2145 - SKY Max - Dalla Cina con furore" (invio)
aspettare 10 minuti e vi ritrovate nella stessa cartella movie con il film tagliato.
20070712 2145 - SKY Max - Dalla Cina con furore.cut.ts
4) Il bello è che l'originale non viene cancellato e il nuovo film mantiene tutte le caratteristiche di informazione dell'originale.
----README ORIGINALE----
I have written a C code hack to actually perform the cuts specified with the cut list editor of DM7025.
The hack was inspired and guided by the similar package "moviecutter" by Georges. However, you need not wait over the night but it can run in the background as you keep watching on your dreambox, and a typical movie takes about 15 minutes to process.
What is not yet done is to provide a menu alternative "Apply cuts" next to the "Cutlist editor" alternative in the movie menu. Python is not my language though, so I may need some help with this. Currently you have to log in to the dreambox and run the program from the shell.
Another drawback is that when a section is removed within a movie the picture freezes and breaks up briefly at the cut (just as it does when you look directly at a movie with cutlist editor cuts). I guess that this means that I fail to hit the GOP-boundaries (which confuses me because I really tried to). Cutting off the start and end of a movie works without such artifacts though.
There is actually a set of related programs that are provided:
mcut <filename>
Copies the sections that are not removed according the the cut list editor marks to a new file with " cut" appended to its name.
mcutarg <filename> <starttime 1> <endtime 1> [<starttime 2> <endtime 2> ...]
Copies the sections given as arguments to a new file with " cut" appended to its name. The times are given as <hour:min:sec> as counted from the beginning of the movie, and note that the section between a start time and an end time is *retained* and not removed (i.e. opposite to the cutlist editor semantics where the given sections are removed.)
lscut <filename>
Displays the mark times as set by the cutlist editor (if you by some reason don't want to start the cutlist editor to check on screen).
chcut <filename> <starttime 1> <endtime 1> [<starttime 2> <endtime 2> ...]
Sets the cut marks for the file without using the cutlist editor according to the specified start and end times. As above, the times are given as <hour:min:sec> as counted from the beginning of the movie, and note that the section between a start time and an end time is *retained* and not removed (i.e. opposite to the cutlist editor semantics where the given sections are removed.)
mrename <filename> <new filename>
Renames the movie by renaming all the files involved. Typically, after having cut a movie you may want to delete the original and rename the result to the original name. This can of course be performed as well by a number of "mv" commands at the shell, but the file names are long and there are many files involved for each movie...
All movie filenames can be given either with or without the ".ts" suffix, and all other suffixes are added by the programs where needed.
Below are only the binaries for DM7025 included. I guess that some of the programs could be useful even without the cutlist editor (which I understand is only provided on DM7025) although I have no access to other models so I have not been able to verify that it works. If
someone likes to try to compile them on another dreambox model, please contact me and I'll send you the source code. (Or if you like the source code for any reason at all, since it is under GPL.)
Best Regards
Anders Holst
Al momento il tutto si fa tramite Telnet.
Allego di seguito il 3D dell'autore... VIRGOLA
P.S. Io ho provato a tagliare "Dalla Cina con furore" e vi assicuro che è stato velocissimo (circa 10 minuti per avere il film senza pubblicità).
PSS
1)Il taglio prima e dopo il film l'ho fatto con cutlist del DB.
2) Poi con DCC ho copiato il titolo del film (occhio deve essere quello che c'è nel DB: quindi NON "Dalla Cina con furore" ma "20070712 2145 - SKY Max - Dalla Cina con furore" senza .ts in fondo.
3) In telenet basta scrivere:
cd /media/hdd/movie/ (invio)
mcut "20070712 2145 - SKY Max - Dalla Cina con furore" (invio)
aspettare 10 minuti e vi ritrovate nella stessa cartella movie con il film tagliato.
20070712 2145 - SKY Max - Dalla Cina con furore.cut.ts
4) Il bello è che l'originale non viene cancellato e il nuovo film mantiene tutte le caratteristiche di informazione dell'originale.
----README ORIGINALE----
I have written a C code hack to actually perform the cuts specified with the cut list editor of DM7025.
The hack was inspired and guided by the similar package "moviecutter" by Georges. However, you need not wait over the night but it can run in the background as you keep watching on your dreambox, and a typical movie takes about 15 minutes to process.
What is not yet done is to provide a menu alternative "Apply cuts" next to the "Cutlist editor" alternative in the movie menu. Python is not my language though, so I may need some help with this. Currently you have to log in to the dreambox and run the program from the shell.
Another drawback is that when a section is removed within a movie the picture freezes and breaks up briefly at the cut (just as it does when you look directly at a movie with cutlist editor cuts). I guess that this means that I fail to hit the GOP-boundaries (which confuses me because I really tried to). Cutting off the start and end of a movie works without such artifacts though.
There is actually a set of related programs that are provided:
mcut <filename>
Copies the sections that are not removed according the the cut list editor marks to a new file with " cut" appended to its name.
mcutarg <filename> <starttime 1> <endtime 1> [<starttime 2> <endtime 2> ...]
Copies the sections given as arguments to a new file with " cut" appended to its name. The times are given as <hour:min:sec> as counted from the beginning of the movie, and note that the section between a start time and an end time is *retained* and not removed (i.e. opposite to the cutlist editor semantics where the given sections are removed.)
lscut <filename>
Displays the mark times as set by the cutlist editor (if you by some reason don't want to start the cutlist editor to check on screen).
chcut <filename> <starttime 1> <endtime 1> [<starttime 2> <endtime 2> ...]
Sets the cut marks for the file without using the cutlist editor according to the specified start and end times. As above, the times are given as <hour:min:sec> as counted from the beginning of the movie, and note that the section between a start time and an end time is *retained* and not removed (i.e. opposite to the cutlist editor semantics where the given sections are removed.)
mrename <filename> <new filename>
Renames the movie by renaming all the files involved. Typically, after having cut a movie you may want to delete the original and rename the result to the original name. This can of course be performed as well by a number of "mv" commands at the shell, but the file names are long and there are many files involved for each movie...
All movie filenames can be given either with or without the ".ts" suffix, and all other suffixes are added by the programs where needed.
Below are only the binaries for DM7025 included. I guess that some of the programs could be useful even without the cutlist editor (which I understand is only provided on DM7025) although I have no access to other models so I have not been able to verify that it works. If
someone likes to try to compile them on another dreambox model, please contact me and I'll send you the source code. (Or if you like the source code for any reason at all, since it is under GPL.)
Best Regards
Anders Holst