TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Coffee House - TiVo Discussion
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 11-12-2013, 03:56 PM   #91
benicehavefun
Registered User
 
Join Date: Nov 2013
Posts: 16
Quote:
Originally Posted by moyekj View Post
benicehavefun, can you confirm that the same rec2a.pl script posted above works for both your Pro and your Solo? To be safe I was going to designate the above script only for Solo models, but if it works OK with Pro models as well I may reconsider.
moyekj - Ok, I set up my HD dish and I can confirm that your version of the rec2a.pl script (through kmttg) works great with the Pro HD. No issues. Thanks again!

Last edited by benicehavefun : 11-12-2013 at 06:06 PM.
benicehavefun is offline   Reply With Quote
Old 11-16-2013, 04:03 PM   #92
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,996
FYI, I just released new version of kmttg (v1p0j) that has a few Slingbox related enhancements:
* Support for Solo models
* Optional file name specification
* Option to capture raw file from Slingbox (in asf container) without remuxing to new container and re-encoding audio to ac3.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 11-17-2013, 03:58 PM   #93
benicehavefun
Registered User
 
Join Date: Nov 2013
Posts: 16
Quote:
Originally Posted by moyekj View Post
FYI, I just released new version of kmttg (v1p0j) that has a few Slingbox related enhancements:
* Support for Solo models
* Optional file name specification
* Option to capture raw file from Slingbox (in asf container) without remuxing to new container and re-encoding audio to ac3.
Excellent! Thanks for the continued development of kmttg. I'll confirm with you after I've tested my Solo with this latest release.
benicehavefun is offline   Reply With Quote
Old 11-18-2013, 03:33 PM   #94
benicehavefun
Registered User
 
Join Date: Nov 2013
Posts: 16
Quote:
Originally Posted by moyekj View Post
FYI, I just released new version of kmttg (v1p0j) that has a few Slingbox related enhancements:
* Support for Solo models
* Optional file name specification
* Option to capture raw file from Slingbox (in asf container) without remuxing to new container and re-encoding audio to ac3.
The new release is working great with the Solo. The ability to capture the raw file is nice too! FYI - The output directory and filename in raw output mode aren't enclosed in quotes when the command line is generated -- so spaces aren't tolerated. Easy to work around but would be great if you could fix that next time around. Is this an OK place to report issues, or do have an official tracker system?
benicehavefun is offline   Reply With Quote
Old 11-18-2013, 03:46 PM   #95
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,996
Quote:
Originally Posted by benicehavefun View Post
FYI - The output directory and filename in raw output mode aren't enclosed in quotes when the command line is generated -- so spaces aren't tolerated.
Good catch. Fixed in source code for next release.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 11-19-2013, 06:21 PM   #96
bayern_fan
Registered User
 
Join Date: Aug 2013
Posts: 197
Getting "invalid perl executable" with kmttg on Mac OSX

Right now I'm having it point at /usr/local/ActivePerl-5.16/bin which I thought was correct. Any advice?

UPDATE: Changed Perl directory to /usr/local/ActivePerl-5.16/bin/perl-dynamic but now getting the following error

Capture to file failed: /Users/../Desktop/kmttg_v1p0j/slingbox_2013_11_19_19_29_11.ts
Exit code: 1
FFmpeg version SVN-r19732, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --shlibdir=@executable_path --arch=i386 --cpu=i686 --disable-static --enable-shared --enable-pthreads --enable-gpl --enable-libmp3lame --enable-libfaac --enable-nonfree --enable-libfaad --enable-libx264 --extra-cflags='-I/Users/yoav/src/lame/include -I/Users/yoav/src/faad2-2.7/include -I/Users/yoav/src/faac-1.28/include -I/Users/yoav/src/x264' --extra-ldflags='-L/Users/yoav/src/lame/libmp3lame/.libs -L/Users/yoav/src/faad2-2.7/libfaad/.libs -L/Users/yoav/src/faac-1.28/libfaac/.libs -L/Users/yoav/src/x264/'
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.34. 0 / 52.34. 0
libavformat 52.38. 0 / 52.38. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
built on Aug 27 2009 10:32:06, gcc: 4.0.1 (Apple Inc. build 5484)
box in use at /Users/.../Desktop/kmttg_v1p0j/slingbox/rec350.pl line 61.
pipe:: Unknown format


Last edited by bayern_fan : 11-19-2013 at 06:30 PM.
bayern_fan is offline   Reply With Quote
Old 11-19-2013, 07:05 PM   #97
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,996
I think the key error message you are getting is "box in use" (I bolded below), which would imply maybe you have something else using the Slingbox while you are attempting to use kmttg to capture the video. You cannot have anything else using your Slingbox while you try the capture. The 350/500 have a light that comes on indicating when it is in use, so make sure that is off before attempting a capture.

Quote:
Originally Posted by bayern_fan View Post
Getting "invalid perl executable" with kmttg on Mac OSX

Right now I'm having it point at /usr/local/ActivePerl-5.16/bin which I thought was correct. Any advice?

UPDATE: Changed Perl directory to /usr/local/ActivePerl-5.16/bin/perl-dynamic but now getting the following error

Capture to file failed: /Users/../Desktop/kmttg_v1p0j/slingbox_2013_11_19_19_29_11.ts
Exit code: 1
FFmpeg version SVN-r19732, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --shlibdir=@executable_path --arch=i386 --cpu=i686 --disable-static --enable-shared --enable-pthreads --enable-gpl --enable-libmp3lame --enable-libfaac --enable-nonfree --enable-libfaad --enable-libx264 --extra-cflags='-I/Users/yoav/src/lame/include -I/Users/yoav/src/faad2-2.7/include -I/Users/yoav/src/faac-1.28/include -I/Users/yoav/src/x264' --extra-ldflags='-L/Users/yoav/src/lame/libmp3lame/.libs -L/Users/yoav/src/faad2-2.7/libfaad/.libs -L/Users/yoav/src/faac-1.28/libfaac/.libs -L/Users/yoav/src/x264/'
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.34. 0 / 52.34. 0
libavformat 52.38. 0 / 52.38. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
built on Aug 27 2009 10:32:06, gcc: 4.0.1 (Apple Inc. build 5484)
box in use at /Users/.../Desktop/kmttg_v1p0j/slingbox/rec350.pl line 61.
pipe:: Unknown format

__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 11-24-2013, 05:54 PM   #98
benicehavefun
Registered User
 
Join Date: Nov 2013
Posts: 16
Quote:
Originally Posted by moyekj View Post
I'll plan to add optional file naming to the GUI. For the 2nd request since I don't have an older Slingbox so I can't test the rec2a.pl script for Select, Play IR commands. You can experiment with a copy of the script and try and get that going based on the PSE thread and if you do get something working I can try and incorporate into kmttg.
moyekj - I've been playing around with getting "p" for "PLAY" and "o" for "OK/Select" working as an option in lieu of sending a channel change command in the rec2a.pl script.

I have it working for both the Solo and the Pro HD with the following code:

$ircmds .= pack("v2", $chdigit eq 'p' ? 24 : $chdigit eq 'o' ? 42 : $chdigit ? $chdigit + 8 : 18, 500);

which replaces:

$ircmds .= pack("v2", $chdigit ? $chdigit + 8 : 18, 500);

The kicker is that on the Solo $irparm needs to be set to 2 and on the Pro HD it needs to be set to 3. It's a nice little extra to be able to start the capture right at the beginning of playback on a recorded show, so if you can work it in to kmttg, that would be great!

Thanks.
benicehavefun is offline   Reply With Quote
Old 11-25-2013, 02:48 PM   #99
hollowfield
Registered User
 
Join Date: Nov 2013
Posts: 1
Quote:
Originally Posted by benicehavefun View Post
moyekj - I've been playing around with getting "p" for "PLAY" and "o" for "OK/Select" working as an option in lieu of sending a channel change command in the rec2a.pl script.

I have it working for both the Solo and the Pro HD with the following code:

$ircmds .= pack("v2", $chdigit eq 'p' ? 24 : $chdigit eq 'o' ? 42 : $chdigit ? $chdigit + 8 : 18, 500);

which replaces:

$ircmds .= pack("v2", $chdigit ? $chdigit + 8 : 18, 500);

The kicker is that on the Solo $irparm needs to be set to 2 and on the Pro HD it needs to be set to 3. It's a nice little extra to be able to start the capture right at the beginning of playback on a recorded show, so if you can work it in to kmttg, that would be great!

Thanks.
Hi, I am playing with the rec2a.pl script, I'm more interested in remote control than recording. I added my Slingbox IP and Password to the script and ran it. This was giving me a 135 error, so I changed the irparm from 3 to 2 as per the instructions in the script. The script works for recording, but the channel doesn't change.

rec2a.pl -chan 101

I am using a slingbox solo and a sky+hd box.

Any help would greatly be appreciated.

Last edited by hollowfield : 11-25-2013 at 02:55 PM.
hollowfield is offline   Reply With Quote
Old 11-26-2013, 07:37 PM   #100
benicehavefun
Registered User
 
Join Date: Nov 2013
Posts: 16
Quote:
Originally Posted by hollowfield View Post
Hi, I am playing with the rec2a.pl script, I'm more interested in remote control than recording. I added my Slingbox IP and Password to the script and ran it. This was giving me a 135 error, so I changed the irparm from 3 to 2 as per the instructions in the script. The script works for recording, but the channel doesn't change.

rec2a.pl -chan 101

I am using a slingbox solo and a sky+hd box.

Any help would greatly be appreciated.
So, am I correct that you're running the kmttg modified version of the script from the command line? Also, is this a UK version of the Solo?

If you don't need or want a GUI, you may want to get the original version of rec2a.pl from:

http://placeshiftingenthusiasts.com/...r-1080/page-9/

(You'll need to register to see the script attached to one of the posts on page 9)

Then, the usage would be in the form:

perl.exe -w rec2a.pl <x> <y> <z>

Where <x> is the delay in seconds before beginning capture, <y> is the number of seconds to capture and <z> is the channel number to change to. Don't use the < >!

If you look through the above above referenced forum, you'll see that another user with a UK Slingbox (a Pro HD) had to set $irparm = 0. So 2 and 3 aren't the only options...
benicehavefun is offline   Reply With Quote
Old 12-01-2013, 07:55 AM   #101
dbtom
Registered User
 
Join Date: Feb 2002
Location: New York City
Posts: 153
Thanks for this awesome program! It works so well I just bought a 350 to replace my Solo.

Does anyone have a recommendation for a good way to split the video files? I'd like to queue up a bunch of videos on my Tivo. I'd then have one big video file that I'd like to split into 30 minute or 1 hour chunks. Any suggestions would be greatly appreciated.

I've been processing the .ts files using handbrake to put on my iPad after downloading. I have VideoRedo but not the newest version.
dbtom is offline   Reply With Quote
Old 12-01-2013, 07:46 PM   #102
Kamakzie
Are you serious bro?
 
Kamakzie's Avatar
 
Join Date: Jan 2004
Location: MI
Posts: 4,888
Hey guys, just discovered kmttg with my Sling 350. Works great. However under video resolutions I have 1920x1080 or 640x480. Is there anyway to add 1280x720? Thanks!
__________________
HR-20 x 2
HR-21 x 2
Kamakzie is offline   Reply With Quote
Old 01-17-2014, 11:45 AM   #103
mikez104
Registered User
 
Join Date: Jan 2014
Posts: 1
Hi. I'm trying to use this but am getting a error when trying to run the script. Can someone point me in the right direction? Thanks
C:\>perl -w rec350b.pl
cmd: 103 err: 2 8 at rec350b.pl line 43.
mikez104 is offline   Reply With Quote
Old 01-21-2014, 11:34 AM   #104
dearing
Registered User
 
Join Date: Jan 2007
Posts: 22
Moyekj,
I'm trying out the new slingbox mkv capture feature(v1p0l), and it appears to be building the mkv stream with a listed framerate of 1000. This is causing errors in VideoReDo(TVSuite x264 v 4.21.6.674) even when I have VRD's x264 config set to read the frame rate from the stream rather than container/auto. The current fix is to run the mkv through mkvMerge and manually set the framerate just like it's necessary to do when using the MPEGTS container option on the slingbox tab. Is there a reason the mkv container is setting the framerate so high?

I don't think it saves any steps over the mpegts option at this point without a valid frame rate value, unless I'm missing something. Is there even a constant frame rate possible from the SlingBox (I have a Pro-HD)?

Other than that, I can capture video just fine, run it through MkvMerge, and edit/encode in VRD. This is fantastic, and I feel guilty asking for even more. However, do you think it's possible to add an automatic encode step after Slingbox capture using an existing kmttg encoding profile? I can't decide if it would add value to the tool or not, as there may be cropping/trimming necessary before encode. Just wondering if it's something you'd considered.
dearing is offline   Reply With Quote
Old 01-27-2014, 09:42 PM   #105
dearing
Registered User
 
Join Date: Jan 2007
Posts: 22
A weird problem started happening tonight, although it's been a few days since I've used the slingbox capture. I'm now getting the following error. Is it maybe something I've screwed up in config somewhere? The error line in the perl script is the unpack of the data header. Thanks for any help!

Code:
>> CAPTURING SLINGBOX TO f:\temp\sling\slingbox_2014_01_27_22_39_26.mkv ...
"c:\Perl\bin\perl.exe" "C:\Documents and Settings\Compaq_Administrator\My Documents\Downloads\kmttg\slingbox\rec2.pl" -stdout -ip 192.168.15.254 -port 5001 -pass <removed> -vbw 4000 -vs 5 -dur 60.0 | "C:\Documents and Settings\Compaq_Administrator\My Documents\Downloads\kmttg\ffmpeg\ffmpeg.exe" -fflags +genpts -i - -vcodec copy -acodec ac3 -ab 224k -y -f matroska "f:\temp\sling\slingbox_2014_01_27_22_39_26.mkv"
Capture to file failed: f:\temp\sling\slingbox_2014_01_27_22_39_26.mkv
Exit code: 1
ffmpeg version N-53033-g56ba331 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 13 2013 22:18:29 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 31.100 / 52. 31.100
  libavcodec     55.  9.100 / 55.  9.100
  libavformat    55.  7.100 / 55.  7.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 65.100 /  3. 65.100
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Died at C:\Documents and Settings\Compaq_Administrator\My Documents\Downloads\kmttg\slingbox\rec2.pl line 80.
pipe:: Invalid data found when processing input

dearing is offline   Reply With Quote
Old 01-27-2014, 11:03 PM   #106
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,996
Power cycle the Slingbox?
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 01-28-2014, 11:25 AM   #107
dearing
Registered User
 
Join Date: Jan 2007
Posts: 22
Yeah. I tried that. I'm getting the same error when I run the perl script from DOS, so I'm sure it has nothing to do with kmttg. I'll need to look into wherever you got that script from for more details I think.


Update: On a whim, I tried using Solo instead of the Pro-HD in the "Slingbox Model" option and it captures now, even though I'm connecting to a Pro-HD. It only captures at 640x480 even when I choose the 1920x1080 resolution option, but it's a start.

Maybe something changed in the slingbox recently. It's running Firmware 2.1.420, released 10/29/1013, so not sure what might have done.

Last edited by dearing : 01-28-2014 at 11:35 AM.
dearing is offline   Reply With Quote
Old 01-28-2014, 11:50 AM   #108
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,996
The resolution and bit rate selectors are only relevant for 350/500 models as indicated in tooltips.

NOTE: In your kmttg installation if you rename rec2.pl to rec2.orig.pl and rec2a.pl to rec2.pl and then pick Slingbox Pro as model I suspect it will work as it was before. Let me know if that works. In recent kmttg releases I use rec2.pl for Pro models and rec2a.pl for Solo models. Perhaps what really needs to happen is to use rec2a.pl for both.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by moyekj : 01-28-2014 at 11:57 AM.
moyekj is offline   Reply With Quote
Old 01-28-2014, 04:36 PM   #109
dearing
Registered User
 
Join Date: Jan 2007
Posts: 22
Quote:
Originally Posted by moyekj View Post
In your kmttg installation if you rename rec2.pl to rec2.orig.pl and rec2a.pl to rec2.pl and then pick Slingbox Pro as model I suspect it will work as it was before. Let me know if that works. In recent kmttg releases I use rec2.pl for Pro models and rec2a.pl for Solo models. Perhaps what really needs to happen is to use rec2a.pl for both.
Works great, Thanks.

Framerate of the mkv is still 1000, but I'm going to try to change the ffmpeg command built in slingbox.java to specify the framerate of 29.97 later and see if that doesn't break anything. I'll let you know how that goes.
dearing is offline   Reply With Quote
Old 01-29-2014, 03:33 PM   #110
dearing
Registered User
 
Join Date: Jan 2007
Posts: 22
Quote:
Originally Posted by dearing View Post
I'm going to try to change the ffmpeg command built in slingbox.java to specify the framerate of 29.97 later and see if that doesn't break anything. I'll let you know how that goes.
Adding "-r 29.97" before the -f on line 159 of slingbox.java (ffmpeg command) did the trick. I can now open the .mkv file in VRD and save it directly without having to rebuild the stream in MKVTool first.

I can't see that it had any effect on the MPEGTS output option, as the recorded .ts file still plays in VLC and I don't see the framerate set in it at all.
dearing is offline   Reply With Quote
Old 01-29-2014, 03:54 PM   #111
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,996
OK, latest changes to slingbox.java are all checked in including adding -r 29.97 to ffmpeg for non 350/500 models, so if you build kmttg.jar from source (and put rec2.pl and rec2a.pl back to how they were since now kmttg uses rec2a.pl for all models except 350/500) it should function properly for you now.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 01-30-2014, 08:50 AM   #112
dearing
Registered User
 
Join Date: Jan 2007
Posts: 22
Quote:
Originally Posted by moyekj View Post
OK, latest changes to slingbox.java are all checked in including adding -r 29.97 to ffmpeg for non 350/500 models.
What is the framerate for mkv video coming out of the 300/500 models, out of curiosity?
dearing is offline   Reply With Quote
Old 01-30-2014, 09:07 AM   #113
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,996
Quote:
Originally Posted by dearing View Post
What is the framerate for mkv video coming out of the 300/500 models, out of curiosity?
Mediainfo shows 29.97 as framerate and VRD is able to edit my .mkv captures without needing to add -r 29.97 to ffmpeg command. Both VLC and VRD show 30.33 for some odd reason but otherwise seem to play it back fine. But given that discrepancy I decided it's best to add the -r 29.97 for 350/500 captures as well.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by moyekj : 01-30-2014 at 09:17 AM.
moyekj is offline   Reply With Quote
Old 02-17-2014, 03:53 PM   #114
ciarpame
Registered User
 
Join Date: Feb 2014
Posts: 1
Thank you for this thread! I decided to buy a refurbished slingbox solo and now I'm able to record the slingbox streaming using kmttg.
Now I have a few questions for you.

Even if the kmttg tooltip and in this forum it's stated otherwise, the bitrate control is working for Solo, file size changes when the bitrate is changed. I also tried to use bitrate lower that 4000 (by forcing a different birate directly in rec2a.pl) and it seems to me that a lower bitrate than can be used without visibile quality losses.
I would like to know about you bitrate experiences, which value do you suggests for recording with Solo (it's limited to 640x480). It seems to me that 4000 or higher for a h264 codec at such resolution could be overkill but maybe I'm wrong.
Also, anyone tried to change the smoothness in rec2a.pl to a value different from the default one?
Is it possibile to have a different audio sampling rate and bitrate different from the default one (32000Hz at 224kbps)?

I must confess I'm not a tivo user but an european mysky hd user even if it seems to me it does not matter to much to be a tivo user to post in this specific thread.

Thank you again to moyekj and to script contributors.
ciarpame is offline   Reply With Quote
Old 02-18-2014, 06:59 PM   #115
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,996
Quote:
Originally Posted by ciarpame View Post
Is it possibile to have a different audio sampling rate and bitrate different from the default one (32000Hz at 224kbps)?
You can capture the raw Slingbox feed and then use ffmpeg or similar to remux and/or transcode audio of that capture to your liking. The current remux + audio conversion to ac3 built into kmttg is hard coded with no user options other than mpegts or matroska container.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 03-03-2014, 05:05 PM   #116
hshsrva
Registered User
 
Join Date: Mar 2014
Posts: 2
recording suddenly stops

when i am recording from slingbox 350 it suddenly stops. i may set it for 60 mins and it will stop. no error.


>> CAPTURING SLINGBOX TO C:\Users\Brandin\videos\slingbox_2014_03_03_17_43_54.ts ...
"C:\Perl64\bin\perl.exe" "C:\Users\Brandin\Downloads\kmttg_v1p0p\slingbox\rec350. pl" -stdout -ip 192.168.1.4 -port 5212 -pass Vp2Et85O7KuPTXR -vbw 4000 -vs 16 -dur 3900.0 | "C:\Users\Brandin\Downloads\kmttg_v1p0p\ffmpeg\ffmpeg.ex e" -fflags +genpts -i - -vcodec copy -acodec ac3 -ab 224k -r 29.97 -y -f mpegts "C:\Users\Brandin\videos\slingbox_2014_03_03_17_43_54.ts "
C:\Users\Brandin\videos\slingbox_2014_03_03_17_43_54.ts: size=4.88 MB elapsed=0:00:21
---DONE--- job=slingbox output=C:\Users\Brandin\videos\slingbox_2014_03_03_17_43_54. ts
hshsrva is offline   Reply With Quote
Old 03-03-2014, 05:34 PM   #117
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,996
Quote:
Originally Posted by hshsrva View Post
when i am recording from slingbox 350 it suddenly stops. i may set it for 60 mins and it will stop. no error.


>> CAPTURING SLINGBOX TO C:\Users\Brandin\videos\slingbox_2014_03_03_17_43_54.ts ...
"C:\Perl64\bin\perl.exe" "C:\Users\Brandin\Downloads\kmttg_v1p0p\slingbox\rec350. pl" -stdout -ip 192.168.1.4 -port 5212 -pass Vp2Et85O7KuPTXR -vbw 4000 -vs 16 -dur 3900.0 | "C:\Users\Brandin\Downloads\kmttg_v1p0p\ffmpeg\ffmpeg.ex e" -fflags +genpts -i - -vcodec copy -acodec ac3 -ab 224k -r 29.97 -y -f mpegts "C:\Users\Brandin\videos\slingbox_2014_03_03_17_43_54.ts "
C:\Users\Brandin\videos\slingbox_2014_03_03_17_43_54.ts: size=4.88 MB elapsed=0:00:21
---DONE--- job=slingbox output=C:\Users\Brandin\videos\slingbox_2014_03_03_17_43_54. ts
Next time you run via kmttg, double-click on the job in the job monitor table to see stdout/stderr messages and see if anything suspicious shows up there.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 03-04-2014, 12:34 PM   #118
hshsrva
Registered User
 
Join Date: Mar 2014
Posts: 2
sudden recording stop

frame= 1852 fps= 33 q=-1.0 size= 17900kB time=00:01:01.86 bitrate=2370.3kbits/s
frame= 1870 fps= 33 q=-1.0 size= 18231kB time=00:01:02.48 bitrate=2390.1kbits/s
frame= 1888 fps= 33 q=-1.0 size= 18566kB time=00:01:03.06 bitrate=2411.7kbits/s
frame= 1908 fps= 33 q=-1.0 size= 18944kB time=00:01:03.73 bitrate=2434.9kbits/s
frame= 1920 fps= 33 q=-1.0 size= 19169kB time=00:01:04.12 bitrate=2449.0kbits/s
frame= 1938 fps= 33 q=-1.0 size= 19497kB time=00:01:04.74 bitrate=2466.9kbits/s
frame= 1953 fps= 33 q=-1.0 size= 19784kB time=00:01:05.22 bitrate=2484.9kbits/s
frame= 1970 fps= 33 q=-1.0 size= 20098kB time=00:01:05.80 bitrate=2502.1kbits/s
frame= 1984 fps= 33 q=-1.0 size= 20368kB time=00:01:06.28 bitrate=2517.5kbits/s
frame= 2002 fps= 33 q=-1.0 size= 20695kB time=00:01:06.85 bitrate=2535.7kbits/s

00:01:06 pkts:6000frame= 2020 fps= 33 q=-1.0 size= 21028kB time=00:01:07.48 bitrate=2552.7kbits/s
frame= 2035 fps= 33 q=-1.0 size= 21303kB time=00:01:07.96 bitrate=2567.9kbits/s
frame= 2049 fps= 33 q=-1.0 size= 21574kB time=00:01:08.44 bitrate=2582.3kbits/s
frame= 2067 fps= 33 q=-1.0 size= 21894kB time=00:01:09.01 bitrate=2598.8kbits/s
frame= 2085 fps= 33 q=-1.0 size= 22243kB time=00:01:09.64 bitrate=2616.6kbits/s
frame= 2102 fps= 33 q=-1.0 size= 22569kB time=00:01:10.21 bitrate=2633.0kbits/s
frame= 2116 fps= 33 q=-1.0 size= 22813kB time=00:01:10.64 bitrate=2645.3kbits/s
frame= 2131 fps= 33 q=-1.0 size= 23106kB time=00:01:11.17 bitrate=2659.4kbits/s
frame= 2148 fps= 33 q=-1.0 size= 23427kB time=00:01:11.75 bitrate=2674.7kbits/s
frame= 2163 fps= 33 q=-1.0 size= 23713kB time=00:01:12.23 bitrate=2689.4kbits/s
ff asf bad header 30 at:21265131
[asf @ 025a2860] invalid padsize 36469 at:21265133
[asf @ 025a2860] ff asf bad header 0 at:21265141
[asf @ 025a2860] packet_obj_size invalid
[asf @ 025a2860] invalid packet_length 1138798642 at:21267751
frame= 2167 fps= 32 q=-1.0 size= 23781kB time=00:01:12.37 bitrate=2691.7kbits/s
frame= 2168 fps= 32 q=-1.0 Lsize= 23804kB time=00:01:12.38 bitrate=2694.1kbits/s

video:19814kB audio:1979kB subtitle:0 global headers:0kB muxing overhead 9.224176%
hshsrva is offline   Reply With Quote
Old 03-04-2014, 12:39 PM   #119
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,996
Try the "Capture raw file" option in kmttg which will bypass use of ffmpeg to see if it is the Sling capture that is causing capture to stop, or ffmpeg.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 03-17-2014, 02:31 PM   #120
HarperVision
Registered User
 
HarperVision's Avatar
 
Join Date: May 2007
Posts: 1,000
I keep getting this error when I try to capture from my remotely located (in PA) Pro-HD:


Capture to file failed: D:\Recorded TV\slingbox_2014_03_17_09_20_07.ts
Exit code: 1
ffmpeg version N-53033-g56ba331 Copyright (c) 2000-2013 the FFmpeg developers
built on May 13 2013 22:18:29 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 31.100 / 52. 31.100
libavcodec 55. 9.100 / 55. 9.100
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 65.100 / 3. 65.100
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
missing or bad response header at C:\Users\Dave\Desktop\slingbox\rec2a.pl line 168.
pipe:: Invalid data found when processing input
__________________
Dave Harper
Director, Event Technology
ISF, CTS
HarperVision is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


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

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

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 01:14 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |