|
SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
||||
|
||||
Quote:
Add this switch to "Auto Encode.bat" /verticalScale 512 I've updated the first post with this info too. |
#42
|
|||
|
|||
EP,
Thanks I think that should be /horizontalScale 512.... Everything is working ok. I did some Inplace etc... and they work well. I used both autoencode and menoder encode. Just one more thing is there a switch for bitrate? Found it /clibitrate
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 09-01-2008 at 04:57 PM. |
#43
|
||||
|
||||
Quote:
I see this in the log file: Code:
** Status Message** ThisisEmilyYeung-SwimmingWithDolphins-7890960-0.Auto Encode compress Error can't create batch file: R:\tv\ThisisEmilyYeung-SwimmingWithDolphins-7890960-0.mpg.Auto Encode.compress.WorkFolder\ThisisEmilyYeung-SwimmingWithDolphins-7890960-0.2_auto_encode.0.18.dumpVideo.bat + Zipping logFiles - R:\tv\ThisisEmilyYeung-SwimmingWithDolphins-7890960-0.mpg.Auto Encode.compress.WorkFolder + delete.me (0.03 kbs) + ThisisEmilyYeung-SwimmingWithDolphins-7890960-0.2_auto_encode.0.15.handbrake_1.bat (0.79 kbs) -> zipping + ThisisEmilyYeung-SwimmingWithDolphins-7890960-0.2_auto_encode.0.15.handbrake_1.bat.log (0.88 kbs) -> zipping + ThisisEmilyYeung-SwimmingWithDolphins-7890960-0.2_auto_encode.0.15.handbrake_1.done (0.01 kbs) + ThisisEmilyYeung-SwimmingWithDolphins-7890960-0.2_auto_encode.0.15.handbrake_1.log (108.88 kbs) -> zipping + ThisisEmilyYeung-SwimmingWithDolphins-7890960-0.2_auto_encode.0.15.handbrake_1.main.ffmpegInfo.txt (7.35 kbs) -> zipping + ThisisEmilyYeung-SwimmingWithDolphins-7890960-0.2_auto_encode.0.15.handbrake_1.main.mkv (60687.02 kbs) + ThisisEmilyYeung-SwimmingWithDolphins-7890960-0.clip_1.csv (109.69 kbs) + ThisisEmilyYeung-SwimmingWithDolphins-7890960-0.clip_1.logo.txt (20.79 kbs) -> zipping + ThisisEmilyYeung-SwimmingWithDolphins-7890960-0.ffmpegInfo.txt (0.81 kbs) -> zipping + ThisisEmilyYeung-SwimmingWithDolphins-7890960-0.originalMediaInfo.txt (1.33 kbs) -> zipping
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#44
|
||||
|
||||
Is R:\ a network drive?
|
#45
|
||||
|
||||
No, local. But I figured out what it was...and, it was pilot error.
I run COMODO firewall, and I must have missed some of the requests to allow this new application (perl2dvd) to create files. So it crapped out because it couldn't write, but it was due to the firewall not allowing it. I ran it again while paying more attention, and it seemed to run fine. thanks!! Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#46
|
|||
|
|||
Problem with Cutting Commercials.
EP,
There is a serious problem with cutting commercials I tested mencoder profile with a file and got bad results. Show 30 mins long VideoRedo Cut File 21:56 Final Avi 16:32 It appears to cut the Avi file again. See log attached.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#47
|
||||
|
||||
Quote:
But yeah, that's awful and I'll have a fix out tonight. Edit: Hmm, this is a strange issue. Right now, I determine if the commercials are actually cut by checking the edl file for the total length expected to be cut and comparing that to the new video length. I had to do that before because mencoder commercial cutting was so flacky sometimes it wouldn't cut anything and I needed to know if it failed. Your problem seems to be that there was no edl file so it didn't have a new time to check against. Now with VRD things actually work reliably so I guess I can start assuming that if I ask it to cut something, then it was cut. Last edited by evilpenguin; 09-04-2008 at 08:26 PM. |
#48
|
|||
|
|||
EP,
There was an EDL file along with a VPRJ file. This only happens when there is an "EDL" file. If i delete the EDL file before running it when using videoredo everything works fine. Also when there is no VPRJ and there is an EDL it does not work. See log Attached. PS. I use Show Analyzer.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 09-05-2008 at 08:37 AM. |
#49
|
||||
|
||||
I ironed out a few problems in the code and that should get it working as I intended, but i'm not really sure what I should be doing in the case where no edl or vprj file exists but the user requested to cut the commercials.
My two easiest options are to use VRD's ad detective or my included comskip. Between these two i'm leaning towards comskip as I think its default settings are a bit more accurate and I can run it hidden. Thoughts? Bear in mind that it'd be very difficult for me to determine the location of the commercial detecting software your using (SA or Comskip) and run it with your settings because there's no standard location for any of that stuff. |
#50
|
||||
|
||||
I just added a lot of bug fixes, just redownload from the link in the first post and overwrite the original files.
|
#51
|
|||
|
|||
EP,
I believe that there might be an error where you check for the regular video redo not the suite. Reg Path C:\Program Files\VideoReDoPlus\VideoReDo.exe Also if there is no VPRJ but there is a EDL it appears that it does not complete. The script errors out. See screenshot attached. Also when you do a no replace... where you put the cut file besides the original you should rename the edlcut file back to edl.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 09-06-2008 at 10:35 AM. |
#52
|
||||
|
||||
Quote:
|
#53
|
|||
|
|||
EP,
It appears that the batch file EDL2VPRJ is bad. It does not use the exe it uses the pl. see code below. Also in the regular videoredo search path you have "videoredo3" instead of "videoredo" Code:
c:\Development\Development\perl2dvd\edl2vprj.pl "C:\temp\PardontheInterruption-8814091-0.edl" "C:\temp\PardontheInterruption-8814091-0.mpg.mencoder.compress.WorkFolder\PardontheInterruption-8814091-0.2_mencoder.0.10.edl2vprj.vprj.VPrj" > "C:\temp\PardontheInterruption-8814091-0.mpg.mencoder.compress.WorkFolder\PardontheInterruption-8814091-0.2_mencoder.0.10.edl2vprj.log" 2>&1 echo Done > "C:\temp\PardontheInterruption-8814091-0.mpg.mencoder.compress.WorkFolder\PardontheInterruption-8814091-0.2_mencoder.0.10.edl2vprj.done"
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 09-07-2008 at 09:37 AM. |
#54
|
||||
|
||||
Quote:
Easiest fix ever. Just open up "encodingProfiles\Cut Commercials.profile" find where it says edl2vprj.pl and change it to edl2vprj.exe. I'll fix it in the build this afternoon. |
#55
|
||||
|
||||
EP,
Have you thought about using DVRMS Toolbox to control this rather than Dirmon2? I've been experimenting using DTb with HandBrake to handle the actual compressions with some decent luck. It took some tweaking since DTb wasn't aimed at mpg files originally, but babgvant has been great about adapting it. This allows me to automatically compress all manual and favorite recordings instead of just favorites. You could write the action in a .dll file and it would make the tool that much better. (Just a thought, but as you can tell I'm pretty sold on this right now.) |
#56
|
|||
|
|||
Quote:
With /cutComm 1. EDL no VPRJ worked. 2. VPRJ no EDL worked. I also tested the codec switches /divx /xvid and the default x264. They worked fine. The only oustanding thing is the videoredo path. As far as no EDL or VPRJ when cutComm switch is on maybe you can have a preference file for the path to comskip or showanalyzer.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 09-07-2008 at 03:53 PM. |
#57
|
||||
|
||||
Quote:
#1) I moved seraching for VRD from the .exe to the profile files (which I should have done in the first case) Cut Commercials.profile Code:
# Function: Cut Commercials # # Attempts to cut commercials from video # # Input = %%INPUT_MAIN%% # Ouput = %%OUTPUT_MAIN%%.%%INPUT_MAIN_EXT%% # Profile =Cut Commercials Encode CLI #1 =?>EXISTS:C:\Program Files\VideoReDoPlus\VideoReDo.exe<:>/VideoRedoPath<&>C:\Program Files\VideoReDoPlus\<=>EXISTS:C:\Program Files\VideoReDoTVSuite\VideoReDo3.exe<:>/VideoRedoPath<&>C:\Program Files\VideoReDoTVSuite\<? Encoder #1 =setOptions Encode CLI #1 =?>INPUT_MAIN:videoCodec=~mpeg2video&&VideoRedoPath<:>VRD_CutCommercials<=>EXT:edl<:>mencoder_CutCommercials<? Encoder #1 =insertFunction #2) I also added anther function for deciding what to do if an EDL or VPRJ file doesn't exist... Cut Commercials.profile Code:
# Function: Generate_ComCutFile_Comskip # # Geneate a EDL/VPRJ file # # INPUT : %%INPUT_MAIN%%.(mpg|ts) # OUTPUT: %%OUTPUT_MAIN%%.mpg # Profile =Generate_ComCutFile_Comskip Encode CLI #1 =--ini="%%SAGEDIR%%\perl2dvd\comskip_default.ini" %%ORIGINAL%% Encoder #1 =comskip.exe Code:
# Function: Generate_ComCutFile_Comskip # # Geneate a EDL/VPRJ file # # INPUT : %%INPUT_MAIN%%.(mpg|ts) # OUTPUT: %%OUTPUT_MAIN%%.mpg # Profile =Generate_ComCutFile_Comskip Encode CLI #1 ="%%ORIGINAL%%" Encoder #1 =ShowAnalyzer.exe Last edited by evilpenguin; 09-08-2008 at 06:58 PM. |
#58
|
||||
|
||||
Quote:
|
#59
|
||||
|
||||
It's actually really incredible what it can do. It should be able to take care of a lot of your autoencode configuration using just the processing conditions. I had it using HandBrake for the transcoding and it worked alright, but I'm currently trying to use his profile for ConvertToMatroska that uses FFDshow and Haali to do the conversion. It gives me more control over what I want without having to manipulate a command-line (I configure it using Graphedit). I'm sure you and Babgvant could have knocked out what I worked on for 2 weeks in a matter of a day or two, but it really made me understand how DTb works much more and I appreciate the learning curve. I've really learned some of the incredible things it can do and can certainly see a great deal more in it. The best part is that it could take some of the logic you're having to write and just implement it so you could focus on other things to improve your tool. I haven't figured out how to control it from Sage, but I'm not sure at this point I want to. Others probably would want this control. I'm also not burning DVDs (I only use HD100s so I wouldn't have a use for them), but I think that could be accomplished easily as well.
|
#60
|
|||
|
|||
Ep,
The Cut Commercials.profile works fine using it by itself and finds my videoredo... but when I run the mencoder profile it cannot find my videoredo. Instead it uses the the edl mencoder cut. logs attached I get the error below when using mencoder profile. Code:
- CLI #8/14 : ?>VideoRedoInstalled<:>VRD_Funcs<? + Processing conditional: VideoRedoInstalled<:>VRD_Funcs - Conditional List: VideoRedoInstalled + Checking: VideoRedoInstalled - Does custom conditional (VideoRedoInstalled) exist? + False = Overall: False, leaving blank!
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
Tags |
compress, encode, handbrake, mencoder, sagemc |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STV Import: SageMC Video Tools v3.0 | evilpenguin | SageMC Custom Interface | 799 | 08-28-2009 02:20 PM |
STV Import: SageMC Video Tools v2.0.1a (2/02/07) | evilpenguin | SageMC Custom Interface | 501 | 04-06-2009 05:13 PM |
anybody have SageMC Video Tools working on a Mac? | gveres | SageMC Custom Interface | 2 | 03-27-2008 06:42 PM |
SageMC Video Tools 2.5 Alpha (need testers) | evilpenguin | SageMC Custom Interface | 6 | 02-23-2007 07:59 PM |
SageMC Video Tools | vividweb | SageMC Custom Interface | 2 | 12-08-2006 06:34 PM |