|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#81
|
||||
|
||||
EP -
Can you take a quick peek at this log file? Mediashrink is cutting out commercials and converting to MP4/divx. This works fine sometimes, but other times, I get a file with only the first ~ 300kb of the converted file. I'm not sure what's happening. The VPRJ file has the usual amount of cuts (i.e., the whole show isn't marked as a commercial) Code:
<Filename>R:\tv\TheDailyShowWithJonStewart-9738772-0.mpg <Cut>3982979000:5944271667 <Cut>12834154667:14035021000 <Cut>15436087333:17749398333 edit: I also get this "No Audio or Video" error sometimes, even though the source file seems fine. Code:
- Remaining Commands (6): (/setOptions) + Command : /setOptions - Adding to command parameter hash + Key: setOptions - Replacing: %%hardwareDevice%% with () + Processing conditional: (>!inputMain:videoContainer&&!=~videoOnly<)||(>!inputMain:videoInfo&&!=~audioOnly<)<:>/ERROR "No Audio or Video" - Conditional List: !inputMain:videoInfo&&!=~audioOnly + Checking: !inputMain:videoInfo - Does video info property (inputMain:videoInfo) exist? + !False (True) + Checking: !=~audioOnly - Does () =~ (audioonly)? + !False (True) - Conditional List: !inputMain:videoContainer&&!=~videoOnly + Checking: !inputMain:videoContainer - Does video info property (inputMain:videoContainer) exist? + !False (True) + Checking: !=~videoOnly - Does () =~ (videoonly)? + !False (True) - Conditional List: 1||1 + Checking: 1 - Previously Resolved Condition: 1 + True + Checking: 1 - Previously Resolved Condition: 1 + True = Overall: True, using: /ERROR "No Audio or Video" + Parsing switches - optionsString: /ERROR "No Audio or Video" - Replacing quote0: No Audio or Video ! Error reported from profile file: No Audio or Video ! Moving onto next file + Deleting temp files (C:\temp\TheDailyShowWithJonStewart-9738772-0.workFolder) - Deleting File: C:\temp\TheDailyShowWithJonStewart-9738772-0.workFolder ! Skipping!
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 Last edited by matt91; 03-14-2009 at 11:43 AM. |
#82
|
|||
|
|||
perl58.dll not found error message
Evilpenguin,
I downloaded and extracted the zip and ran mediaShrink.exe and I get perl58.dll not found error message. Where do I obtain this dll from? I installed ActiveState Perl and that did not resolve the issue. TIA! toby |
#83
|
||||
|
||||
It looks like VRD cuts the video correctly but then Handbrake fails. Can you try it with just the default options?
I've never seen that before, you shouldn't need any extra .dll's. I'm not sure what's going on. |
#84
|
|||
|
|||
EP,
The no video audio problem has to do with Videoredo when it processes some files. I completetly stopped cutting commercials with videoredo because I too was getting incomplete encodes. see this post.. I was working with Edonkey and i found out that some files I was using videoredo on showed no video or audio. http://forums.sagetv.com/forums/show...&postcount=278 http://forums.sagetv.com/forums/show...=35467&page=15 Code:
- Remaining Commands (2): (/insertFunction) + Command : /insertFunction + Command Empty, Skipping: "" - Remaining Commands (1): (/insertFunction) + Command : /insertFunction + Command Empty, Skipping: "" - Remaining Commands (0): (/insertFunction) + Command : /insertFunction + Target : outputModes - Remaining Commands (6): (/setOptions) + Command : /setOptions + Target : /ERROR "No Audio or Video" + Parsing switches - optionsString: /ERROR "No Audio or Video" ! Error reported from profile file: No Audio or Video ! Moving onto next file... + Deleting temp files (J:\sageuncj\DeathBecomesHer-1191307-0.workFolder) - Deleting File: J:\sageuncj\DeathBecomesHer-1191307-0.workFolder + Deleting Folder: rmdir /S /Q "J:\sageuncj\DeathBecomesHer-1191307-0.workFolder"
__________________
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; 03-17-2009 at 08:34 AM. |
#85
|
|||
|
|||
Thanks for the tool EP - I'm gonna try it out on some of my DVD's.
I have a question though - what type of video files does this work on? I have TV shows (720p & 1080i OTA recordings) that were compressed using SageTV's built in tool. Can we re-run those avi files through this? Would there be any benefits?
__________________
Server: Intel P4 2.8GHz, 2GB RAM, 5TB Storage, 1gb NIC, SageTV Beta v7.0.23 (Windows XP - 32bit) Tuners: 2 x Hauppauge WinTV-HVR-1600 / 1 x Hauppauge WinTV-HVR-1250 Extenders: 1 x HD300, 2 x HD100 |
#86
|
||||
|
||||
Quote:
It seems that I'm having good luck with mediashrink if I use video redo to cut the commercials first, and then process the file for other purposes. If I try to do it all at once, it's more likely to fail.
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#87
|
|||
|
|||
Quote:
Unfortunately I have not found a way to cut MP4 or MKV. What I would like to do is keep using Videoredo to cut commercials... but maybe have Penguin check the Duration of the file and if it is too small. Do not replace it and maybe create an error file along side the original file so that I can key on it and fix it.
__________________
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; 03-17-2009 at 09:17 AM. |
#88
|
||||
|
||||
Quote:
Quote:
Last edited by evilpenguin; 03-17-2009 at 12:02 PM. |
#89
|
||||
|
||||
When I use the default options, I agree that things work pretty well (cutting commercials and converting to mkv).
My primary purpose in using this is to convert specific shows to MP4 so I can watch them on the way to work. This only seems to work 20% of the time. I either get a 300kb file or an Audio/Video error. I'm still testing this, so I don't have much else to report. I've tried running ffmpeg, and that seems to work well to covert the cut file to MP4 (een when mediashrink choked). I'll try handbrake soon and see how it does by itself. Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#90
|
||||
|
||||
Quote:
|
#91
|
||||
|
||||
BB curve. I know it likes MP4s, but I'm not sure what else.
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#92
|
||||
|
||||
Handbrake has custom profiles for hardware devices, I imagine one of them would give you much better reliability in that area. I've got some code specifically for hardware devices, but I still need to take the time to finish it and hook it up.
|
#93
|
||||
|
||||
OK, thanks. I'll see how handbrake does when I run it independent of mediashrink. I'll also see what I can dig up on the device-specific profiles.
Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#94
|
|||
|
|||
EP,
I tried forcing mencoder without cutting any commercials and I get the audio video error. Perhaps there is something missing on the way your autoencode profile is getting the audio?
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#95
|
||||
|
||||
That's a simple bug, I'm not setting the number of threads which is causing mencoder to fail instantly.
Code:
...:precmp=0:vqcomp=0.6:turbo:threads= Code:
/CPUs 2 Last edited by evilpenguin; 03-17-2009 at 03:21 PM. |
#96
|
|||
|
|||
u know i've been a feen of the video tools 3.0 since i started using sage, so i cant wait for the update using this version.
but anyhow i've been playing around with this and just using the autoencode which converts to H264 it's taking quite a long time. using my old X2 3800+ it's about 15fps and the worst part is, that it uses 100% cpu and sage is pretty much dead during this whole time, if it's open it takes about 30 second to go from one selection to the next and if i put it to sleep i cant wake it back up lol i even tried it on my friends brand new E8400 C2D (which i was going to upgrade to next), but even there it looks like it is very time consuming. mind u the fps went up to 30fps, but it was still around 100% cpu usage. so im just wondering any way to bring it down on the cpu scale, so that sage works normally. cuz i do love the quality of autoencode and xvid is not acceptable anymore lol |
#97
|
||||
|
||||
Quote:
Code:
@ECHO OFF set DIRECTORY="C:\mediaScraper\" :LOOP IF (%1)==() GOTO NEXT set COMMAND=%COMMAND% "%~f1" shift GOTO LOOP :NEXT cd /D "%DIRECTORY%" start /BELOWNORMAL /WAIT /B mediaShrink.exe %COMMAND% Last edited by evilpenguin; 03-19-2009 at 04:40 PM. |
#98
|
|||
|
|||
ok, not seeing it yet lol
what has to be in the folder C:\mediaScraper? i use E:\Shrink i guess that would be that folder, wouldnt it.... and do i still just copy and drop the files onto mediashrink.exe or on this batch file Quote:
|
#99
|
||||
|
||||
You can modify C:\mediaScraper to be whatever your path is.
|
#100
|
|||
|
|||
the batch file... the batch file will start mediashrink. I use this method... works great
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Utility: MediaShrink v3.0 - An HTPC focused encoder | evilpenguin | SageTV Customizations | 228 | 10-05-2016 07:05 PM |
Bring focused item to front and call fanart | PLUCKYHD | SageTV Studio | 0 | 04-08-2009 07:38 AM |
Encoder number graphic shows wrong encoder being used | jpaddock3000 | SageMC Custom Interface | 11 | 02-05-2009 02:29 PM |
Get currently focused widget? | cncb | SageTV Studio | 3 | 05-01-2008 12:22 PM |
God does not want me to have HTPC, more problems - network encoder | stryker | SageTV Software | 2 | 02-03-2008 08:54 AM |