SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 09-05-2014, 05:23 PM
jmv jmv is offline
Sage Advanced User
 
Join Date: Jan 2007
Posts: 193
Well the test worked the unplayable became playable.

Currently I use Dirmon2 to run comskip and I'd like to integrate this step into that flow. How can I modify the batch file so that it uses my U: drive for all the recoding instead of C:?
Reply With Quote
  #22  
Old 09-06-2014, 07:57 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jmv View Post
Well the test worked the unplayable became playable.

Currently I use Dirmon2 to run comskip and I'd like to integrate this step into that flow. How can I modify the batch file so that it uses my U: drive for all the recoding instead of C:?
The batch job currently uses whatever drive the recording is on this makes the move of the new file instant and uses less drive bandwidth. This really doesn't do anything .... (if not exist "c:\temp" md "c:\temp") I put it there if you had a problem I can have you redirect the output there.

Whatever your recording path is it will create under it a tmpEncode folder and Remux to there.
__________________
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-2014 at 08:06 AM.
Reply With Quote
  #23  
Old 09-06-2014, 07:04 PM
jmv jmv is offline
Sage Advanced User
 
Join Date: Jan 2007
Posts: 193
Thanks, works as advertised. I am still although the remux solution enables my PC clients to playback the files, my HD300's are still choking on the files...is there some sort of remnant I need to purge, or do I need to adjust a parameter to have the resulting files work with the extenders?

thanks for all your help!

mv
Reply With Quote
  #24  
Old 09-13-2014, 08:50 PM
FZ1 FZ1 is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 86
Quote:
Originally Posted by nyplayer View Post
I have created a batchfile that will remux the Sage Recordings. It will replace the original file with the remuxed one with the correct timestamps and original name.[/CODE]
Testing this now, and the remuxed file is playable, thanks!

However, I don't see the expected original file replacement. When I drag a problem .ts onto your .bat the remuxed file is placed in \tmpEncode, and the problem .ts is deleted. If I cut/paste the remuxed file back into the original's locataion Sage plays it as the original.

-My recordings directory is H:\Video1
-I extracted the static FFMPEG build to H:\Video1\REMUX
-ffmpeg.exe is in H\Video1\REMUX\bin, so that's where I put RemuxSage.bat and touch.exe

Any ideas why the original isn't replaced?

Thanks!
Reply With Quote
  #25  
Old 09-13-2014, 10:08 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by FZ1 View Post
Testing this now, and the remuxed file is playable, thanks!

However, I don't see the expected original file replacement. When I drag a problem .ts onto your .bat the remuxed file is placed in \tmpEncode, and the problem .ts is deleted. If I cut/paste the remuxed file back into the original's locataion Sage plays it as the original.

-My recordings directory is H:\Video1
-I extracted the static FFMPEG build to H:\Video1\REMUX
-ffmpeg.exe is in H\Video1\REMUX\bin, so that's where I put RemuxSage.bat and touch.exe

Any ideas why the original isn't replaced?

Thanks!
What is your operating system?
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #26  
Old 09-13-2014, 10:16 PM
FZ1 FZ1 is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 86
xp.
Reply With Quote
  #27  
Old 09-13-2014, 10:28 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by FZ1 View Post
xp.
You can add a pause right before the exit and drag and drop a file ... it is obvious the move is not working.... that is probably an XP problem.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #28  
Old 09-13-2014, 10:38 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
You Probably need to add 2 lines to your bat file. See lines in red below. This is xp problem.

Code:
Cd C:\Windows\System32
c:

CD /d "%~dp0"
move "%~f1" "%~d1%~p1"
set checkuse=%ERRORLEVEL%
if %checkuse% NEQ 0 exit 1
if not exist "c:\temp" md "c:\temp"
if not exist "%~d1%~p1tmpEncode" md "%~d1%~p1tmpEncode"
if exist "%~d1%~p1tmpEncode\%~n1.remuxed%~x1" DEL /Q /F "%~d1%~p1tmpEncode\%~n1.remuxed%~x1"  
if /I "%~x1" EQU ".ts" start /B /I /W /belownormal ffmpeg -i "%~f1" -acodec copy -map 0:a -vcodec copy -f mpegts -map 0:v -sn "%~d1%~p1tmpEncode\%~n1.remuxed%~x1"
if /I "%~x1" EQU ".mpg" start /B /I /W /belownormal ffmpeg -i "%~f1" -acodec copy -map 0:a -vcodec copy -f vob -map 0:v -sn "%~d1%~p1tmpEncode\%~n1.remuxed%~x1"
if /I "%~x1" EQU ".mp4" start /B /I /W /belownormal ffmpeg -i %~f1" -acodec copy -map 0:a -vcodec copy -f mp4 -map 0:v -sn "%~d1%~p1tmpEncode\%~n1.remuxed%~x1"
set ffmpegerror=%ERRORLEVEL%
if %ffmpegerror% NEQ 0 DEL /Q /F "%~d1%~p1tmpEncode\%~n1.remuxed%~x1"
if %ffmpegerror% NEQ 0 EXIT 1
touch.exe -r "%~f1" "%~d1%~p1tmpEncode\%~n1.remuxed%~x1"
if exist "%~d1%~p1tmpEncode\%~n1.remuxed%~x1" DEL /Q /F "%~f1"
Cd C:\Windows\System32
c:
if not exist "%~f1" move /Y "%~d1%~p1tmpEncode\%~n1.remuxed%~x1" "%~f1"
rem echo "remuxed">"%~d1%~p1%~n1.remuxed"
exit
__________________
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-13-2014 at 10:56 PM.
Reply With Quote
  #29  
Old 09-14-2014, 10:00 AM
FZ1 FZ1 is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 86
Adding the 2 lines caused the bat to exit without processing.
Adding the pause did as expected.

Another nail in xp's coffin...
Reply With Quote
  #30  
Old 09-16-2014, 11:24 AM
jmv jmv is offline
Sage Advanced User
 
Join Date: Jan 2007
Posts: 193
nyplayer,

Any input on my files not playing back on HD300? Works fine on PC SageTV client with the remux, but the HD300 continues it's swirl of death behaviour.

thanks,

mv
Reply With Quote
  #31  
Old 09-16-2014, 02:02 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jmv View Post
nyplayer,

Any input on my files not playing back on HD300? Works fine on PC SageTV client with the remux, but the HD300 continues it's swirl of death behaviour.

thanks,

mv
I do not know how to correct the HD300. I have completely uninstalled SageTV and gave away my 1 HD300. Got tired of having to remux. Went onto another HTPC software.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #32  
Old 09-20-2014, 07:43 AM
FZ1 FZ1 is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 86
Quote:
Originally Posted by nyplayer View Post
Went onto another HTPC software.
Which one?
Reply With Quote
  #33  
Old 09-21-2014, 10:03 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by FZ1 View Post
Which one?
Right now I have NEXTPVR up and running reasons below.

1. Picture in Picture (great for football)
2. Multirecord can record 2 or more shows on 1 tuner... depending on transponder.
3. Padding ... can keep padding on the shows same channel no need for extra tuners.
4. My Android Tablet. I can Stream using XBMC. I can also use XBMC as a frontend.... or client.
5. Can stream through webserver.
__________________
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-21-2014 at 11:17 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HDHomerun Prime recordings stuttering rickw Hardware Support 11 03-28-2014 07:06 AM
HDHomeRun Prime Guide? MrVining Hardware Support 8 02-28-2014 04:55 PM
HDHomeRun Prime on Woot 5/24 ranger The SageTV Community 6 05-25-2012 07:10 PM
Ceton and hdhomerun prime CADDYROGER Hardware Support 2 08-24-2011 05:38 AM
HDHomerun Prime? cenwesi Hardware Support 26 04-19-2011 05:40 PM


All times are GMT -6. The time now is 08:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.