|
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 |
#181
|
|||
|
|||
EP,
There appears to be a problem when doing MP4 if the video has subtitles. It does mp4box etc... but then it fails on no audio or video. The VRD and handbrake steps run fine. See Attached log.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#182
|
||||
|
||||
Everything I throw at it.
|
#183
|
|||
|
|||
Are you using a batch file to run it through SJQ or are you calling mediashrink directly in SJQ? If using a batch file post it... not all batch files work with mediashrink Penguin had posted a batch file that works great with SJQ.
This is how I run MediaShrink in SJQ. Code:
PENG512MP4 { :CPU BELOWNORMAL :MAX 1 "S:\\vrdnbencode\\penguin\\mediaShrink.exe \"%c%\" /inPlace /divx /cutComm /cliBitrate 1000 /onePass /horizontalScale 512 /mp4 /savelog" }
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#184
|
||||
|
||||
Here are some other errors from the log.
Code:
2009/06/04 15:36:57.873 Encoding Paused by user command, 'r' to resume 2009/06/04 15:36:57.873 2009/06/04 15:36:57.873 Encoding Quit by user command Then I think mediascraper is trying to run Handbrake against the .mkv file, which is only .02% of the original video which then gives the error. Code:
! Error reported from profile file: No Audio or Video Anyone seen this before? |
#185
|
||||
|
||||
Hi Evil,
I am having a problem with the timebar of some recordings being messed up after conversion. It happened to me with your Video Tools 3.0 plugin, and now with mediashrink - which I looks like maybe they both use the same logic and underlying utilities. Basically, after conversion the timebar is all red, and I can play the video, but if I try to skip ahead it starts over. It's as if Sage cannot correctly read the length of the movie. Anyone else have this problem? |
#186
|
||||
|
||||
That's a SageTV bug where they are still trying to use the file timestamp to determine the duration of the recording. I haven't seen it in a while, are you on the latest beta?
|
#187
|
||||
|
||||
Yes. I was on 6.5.14 and I just upgraded to .17 to see if it would fix the problem, but it didn't.
|
#188
|
||||
|
||||
Upgrading won't fix the issue, as the files are only scanned right when they're in-place swapped with the original. I've been bugging Sage about this for *years* and while they've certainly gotten much better (this used to happen all the time) they clearly haven't completely fixed the problem yet.
I've been doing a lot of compression lately but I haven't been checking to make sure they all are getting imported properly. Can you do me a favor and submit this as a bug and i'll do the same if I find any in my collection? |
#189
|
||||
|
||||
Well there are two different bugs that pretty much look the same...
a) Sage things the duration is 00:00 - This comes from Sage trying to determine the duration of the file but failing for some reason. b) Sage thinks the duration of the show is giant (100+ hours) - This comes from Sage trying to use the timestamp to determine the duration of the recording which it shouldn't be doing once a file has been converted. |
#190
|
||||
|
||||
Actually NPlayer, it is an mp4. I created it using the command-line switches that you provided as part of helping me with the other problem.
The only thing I did was take out /cutComm. Code:
/inPlace /divx /cutComm /cliBitrate 1000 /onePass /horizontalScale 512 /mp4 /savelog |
#191
|
|||
|
|||
Yeah I deleted my post. The reason why I am not seeing the problem is because I encode to mp4 using mediashrink and then move to my NAS using the Sage built in transcoder using a profile that just copies the video and audio along with SJQ. So doing this causes Sage to recognize the new location and the timeline is fixed.
I did see the problem in some that have not moved over to my NAS yet though. My Copy Profiles Code:
transcoder/formats/Copy-MP4\ Move\ Play=f\=mp4;[bf\=vid;f\=copy;][bf\=aud;f\=copy;] transcoder/formats/Copy-MPG\ Move\ Play=f\=dvd;MCompressionDetails\=-target dvd;[bf\=vid;f\=copy;][bf\=aud;f\=copy;] transcoder/formats/Copy-avi\ Move\ Play=f\=avi;[bf\=vid;f\=copy;][bf\=aud;f\=copy;]
__________________
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; 06-16-2009 at 01:18 PM. |
#192
|
||||
|
||||
Now you tell me!
Pretty cool though, might be a good workaround to the problem. I don't really understand the syntax of the command, but is there a way to use the Transcode to just rename the file without moving it - and still get Sage to recreate the timeline? I was actually thinking of creating a SJQ job that would rename my movies recorded by Sage to the title of the show (rather than title+numbers) so I could process them with mediascraper. |
#193
|
||||
|
||||
Quote:
|
#194
|
|||
|
|||
Make sure you have the correct path where mediashrink is.
You have to change this part S:\\vrdnbencode\\penguin. Where do you have your mediashrink? Post your full job in your client you can copy and paste it. It always uses handbrake
__________________
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; 06-18-2009 at 09:36 AM. |
#195
|
||||
|
||||
Code:
SHRINK { :MAX 1 :CPU "BELOWNORMAL" "C:/sjqc/shrink/mediashrink.exe \"%c%\" /defaultProfile autoEncode /forceMencoder /onePass /inPlace savelog" } |
#196
|
|||
|
|||
First you should double // the path. Also you are forcing to use mencoder. I believe there is a bug in mediashrink using mencoder that you have to include the number of cpu's in yor command line. I believe something like this /CPUs 1
"C://sjqc//shrink//mediashrink.exe \"%c%\" /defaultProfile autoEncode /forceMencoder /onePass /inPlace /CPUs 1" see thread http://forums.sagetv.com/forums/show...8&postcount=94
__________________
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; 06-18-2009 at 10:06 AM. |
#197
|
||||
|
||||
Quote:
When I got the error however, it was without the /forceMencoder switch. I have tried all kinds of switches, including the ones you gave, but I always get the errors I described when it transcodes with Handbrake. |
#198
|
|||
|
|||
Your example has a wrong switch (savelog should be /savelog) and your path should be double slashed. If you do not want the log .. remove the savelog totally.
Code:
SHRINK { :MAX 1 :CPU "BELOWNORMAL" "C:/sjqc/shrink/mediashrink.exe \"%c%\" /defaultProfile autoEncode /forceMencoder /onePass /inPlace savelog" } Code:
SHRINK { :MAX 1 :CPU "BELOWNORMAL" "C:\\sjqc\\shrink\\mediashrink.exe \"%c%\" /onePass /inPlace /savelog" }
__________________
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; 06-18-2009 at 10:48 AM. |
#199
|
||||
|
||||
And I don't think I am having the issue you listed in the thread you linked, since I get mencoder was able to detect my CPU. Also, mencoder does not quit instanly, the way the OP describes.
Code:
2009/06/18 08:22:23.880 ################# mencoder.exe Output EncodePass_1 ############### 2009/06/18 08:22:23.880 MEncoder Sherpya-SVN-r28311-4.2.5 (C) 2000-2009 MPlayer Team 2009/06/18 08:22:23.880 CPU: AMD Sempron(tm) Processor 3400+ (Family: 15, Model: 47, Stepping: 2) 2009/06/18 08:22:23.880 CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 2009/06/18 08:22:23.880 Compiled with runtime CPU detection. |
#200
|
||||
|
||||
Quote:
I'll try your command-line to see if it makes a diff, but according to the SJQ doc, \\ and / are the same thing. Also, I'm pretty sure I tried it with \\ and it still got the error. |
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 |