NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 2 3 4 5 6 … 19 Next »
Removing commericals - tools to cut segments form h.264 files

 
  • 0 Vote(s) - 0 Average
Removing commericals - tools to cut segments form h.264 files
psycik
Offline

Posting Freak

Posts: 5,206
Threads: 422
Joined: Sep 2005
#1
2015-04-01, 08:52 PM
Planning on revisiting my use of comskip. I've got the donator version so that's all good. But the cutting part of the equation seems to be the too hard basket for a lot of people.

There's talk of using videoredo - but as far as I can tell that doesn't have a command line interface and may require using a batch project file.

AVIDemux can do commercial cutting, but seems to need to do it graphically, and ffmpeg, the other logical choice looks like it needs to split each segment up then combine them back together.

Does anyone have something automated, that will chop up a video - doesn't necessarily need to convert it removing the ads based on some sort of cut file?

I know a lot of us moved on from doing this as skipping go so easy to use. I'm finding now using nextpvrweb on samsung, my own plex channel, and it's safer to not attempt any skipping at all as you get really unpredictable results. So would like to look at physically removing ads.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#2
2015-04-02, 02:03 AM
Quote:There's talk of using videoredo - but as far as I can tell that doesn't have a command line interface and may require using a batch project file.

VideoRedo does have a batch mode, however it does need a project file and cut file, both of which ComSkip generates with the proper flags. In postprocessing, I mark all the commercials and create the VideoRedo files (via Comskip), then place the filename in a queue file.

Once a day (or every couple days), I run a batch cmd script that runs thru the queue, allows me to visually edit the commercial cuts via VideoRedo UI, then runs thru the queue again to removes all the commercials. It takes maybe 1-3 minutes to visually inspect each file to verify the cuts are in the right place (depends on how good Comskip marked the commercials), then approx 1 minute per file for VideoRedo to remove the commercials (in batch mode via a vbscript call) and clean up the residual files.

Attached is the script that processes the queue file and runs VideoRedo (among other things).
psycik
Offline

Posting Freak

Posts: 5,206
Threads: 422
Joined: Sep 2005
#3
2015-04-02, 02:33 AM
JavaWiz Wrote:VideoRedo does have a batch mode, however it does need a project file and cut file, both of which ComSkip generates with the proper flags. In postprocessing, I mark all the commercials and create the VideoRedo files (via Comskip), then place the filename in a queue file.

Once a day (or every couple days), I run a batch cmd script that runs thru the queue, allows me to visually edit the commercial cuts via VideoRedo UI, then runs thru the queue again to removes all the commercials. It takes maybe 1-3 minutes to visually inspect each file to verify the cuts are in the right place (depends on how good Comskip marked the commercials), then approx 1 minute per file for VideoRedo to remove the commercials (in batch mode via a vbscript call) and clean up the residual files.

Attached is the script that processes the queue file and runs VideoRedo (among other things).

Does it run with no interaction? I run virtualised, and so connect to machines via rdp - and running a trial of videoredo it complained bitterly at me about not being able to run the video.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#4
2015-04-02, 03:43 AM
Quote:Does it run with no interaction? I run virtualised, and so connect to machines via rdp - and running a trial of videoredo it complained bitterly at me about not being able to run the video.
Yes, if you are comfortable with Comskip's mark points, you can run Video Redo in batch mode with the following command:

Code:
SET videoRedoVBS="C:/Program Files/VideoReDoPlus/vp.vbs"  
cscript //nologo %videoRedoVBS% "%~dpn1.VPrj" "%~dpn1_clean%~x1" /t4 /q
Where
"%~dpn1.VPrj - is the project file that Comskip generated
"%~dpn1_clean%~x1" is the resulting file that has the commercials removed.

Per the VideoRedo vbs instructions:
:: cscript vb.vps <source file/project> <destination file/project> [/t#] [/d] [/q]" )
:: /t1 = Output program stream. /t2 = Elementary stream, /t3 = VOB with blank NAV" /t4 - transport stream)
:: /d = Delete batch project file after processing (only if file is *.bprj).")
:: /na = Disable audio alert, overrides default.")
:: /q = Run in Quiet mode.")


I should note, I've recently found a minor inconvienince between Comskip and VideoRedo. Any file with an '&' in the file name, needs a manual edit to the.vprj file to replace with &amp;. The authors of the two programs disagree as to who needs to make a change to resolve the conflict Smile . Luckily, this has happened very rarely in the programs I record, and I could write a routine in the cmd script I have to do it automatically if it becomes a 'real' problem for me.
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#5
2015-04-02, 07:27 AM
Mcebuddy can monitor folders use it for my sons cartoons to go on his portable dvd player.
Apparently its not the best but for me its simple
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#6
2017-08-23, 08:25 AM
old thread, but same problem. trying to setup automatic commercial removal,l would like comskip to execute in parallelprocessing to speed things up, then once the recordings are done for them to automatically be cut. i dont care if the file is reencoded into a different format. this is for 1 or 2 shows i still watch, if the commericals get messed up ill just watch it on demand or something, so dont care if comskip stuffs up a little (but its been good to me in the past).

need to do h264 files, wanting something free, dont want to spend $40-50 on this if i could just watch it by other means for free.

anyone know of a tool to do it?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NextImport and side-by-side .ts and .mp4 files BrettB 36 3,438 2021-12-29, 04:30 AM
Last Post: samwiliams33
  Comclean options or a way to automatically remove commericals ottoguy 3 1,355 2020-06-30, 05:18 PM
Last Post: mvallevand
  IRSS and channel-changing batch files Len_Lekx 5 2,662 2018-07-18, 08:12 PM
Last Post: Len_Lekx
  imageGrabLite problems with "bad" series.xml files? BrettB 7 3,260 2015-02-21, 11:15 PM
Last Post: BrettB
  Files Plugin crashes when there is an ' in the file name. cbgifford 89 20,913 2015-01-28, 05:19 AM
Last Post: mvallevand
  comskip not running on certain files tron999 5 2,519 2014-10-11, 01:50 AM
Last Post: tron999
  movies plugin and video_ts files jam_zhou 6 2,642 2014-06-06, 12:55 AM
Last Post: jam_zhou
  imageGrabLite.exe with --nfo option: does it ONLY creat nfo files (or xml AND nfo)? jksmurf 8 2,518 2014-06-03, 09:25 PM
Last Post: mvallevand
  problem with how IGL is naming files tron999 6 2,307 2014-03-23, 02:36 PM
Last Post: mvallevand
  Imagegrablite move files dinki 1 1,459 2014-01-31, 11:03 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode