TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Home Media Features & TiVoToGo
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 12-17-2008, 02:30 PM   #421
menos
Registered User
 
Join Date: Nov 2007
Location: Moore, OK
Posts: 60
Quote:
Originally Posted by moyekj View Post
I will need to take some time to look into these. I assume for issue 2 you are talking about the title that goes into the metadata file right?
Correct.

Thanks
menos is offline   Reply With Quote
Old 12-17-2008, 04:56 PM   #422
Meklos
Registered User
 
Join Date: Nov 2002
Posts: 66
Well, I'm almost there. I'm trying to take an HD OTA show, download it to the PC, run decrypt, comskip and comcut (but not encode). I'm using the tivostream-hd profile. I have even tried adding VideoReDo... but no luck.

It's successfully finding the commercials, then here's the output on the perl session...

Quote:
107907 Frames Processed
Commercials were found.
MEncoder 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (Family: 15, Model: 1, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0 data: 0x0 - 0xefba72d3
MPEG-PS file format detected.
VIDEO: MPEG2 1920x1080 (aspect 3) 29.970 fps 65000.0 kbps (8125.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:1920x1080 fps:29.97 ftime:=0.0334
============================================================ ==============
Opening audio decoder: [liba52] AC3 decoding with liba52
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
============================================================ ==============
PACKET SIZE: 2048 bytes, deltascr: 245760
videocodec: framecopy (1920x1080 24bpp fourcc=10000002)
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 B/s=48000 sample-1
)
Read 6 EDL actions.
Writing header...
INITV: 0.200, 0.167, fps: 29.970
Pos: 1.5s 42f ( 0%) 0.00fps Trem: 0min 0mb A-V:-0.070 [15583:384]
BUFFER UNDEFLOW at stream 0, raising muxrate to 1980 kb/s, delta_scr: 223418

BUFFER UNDEFLOW at stream 1, raising muxrate to 2178 kb/s, delta_scr: 203107

BUFFER UNDEFLOW at stream 1, raising muxrate to 2395 kb/s, delta_scr: 184643

BUFFER UNDEFLOW at stream 1, raising muxrate to 2635 kb/s, delta_scr: 167857

BUFFER UNDEFLOW at stream 1, raising muxrate to 2898 kb/s, delta_scr: 152597

BUFFER UNDEFLOW at stream 1, raising muxrate to 3188 kb/s, delta_scr: 138725

BUFFER UNDEFLOW at stream 0, raising muxrate to 3507 kb/s, delta_scr: 126114
Pos: 12.2s 331f ( 0%) 209.63fps Trem: 7min 1034mb A-V:-0.067 [16330:384]
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.

Pos: 18.6s 483f ( 0%) 198.36fps Trem: 7min 734mb A-V:-0.011 [16995:384]]
demux_mpg: 30000/1001fps NTSC content detected, switching framerate.
Pos: 19.2s 499f ( 0%) 194.69fps Trem: 7min 711mb A-V:0.033 [17155:384]]
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.

Pos: 20.0s 519f ( 0%) 195.85fps Trem: 7min 684mb A-V:0.016 [16934:384]
demux_mpg: 30000/1001fps NTSC content detected, switching framerate.
Pos: 21.3s 556f ( 0%) 198.71fps Trem: 7min 661mb A-V:0.005 [16953:384]
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
[snip]

Pos: 906.6s 22111f (30%) 43.59fps Trem: 19min 147mb A-V:0.031 [18046:384]
demux_mpg: 30000/1001fps NTSC content detected, switching framerate.
Pos: 907.5s 22135f (30%) 43.54fps Trem: 19min 147mb A-V:0.014 [18047:384]
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.

Pos: 908.2s 22152f (30%) 43.54fps Trem: 19min 147mb A-V:0.022 [18046:384]
An 8GB show leaves me with a 45MB _cut.mpg after a stream of 'duplicate frame'


Here's the output in the kmttg window...

Quote:
NUMB3RS - Power
Recorded Fri 12/12/2008 09:00 PM on 5-1=WTVFDT, Duration = 59 mins
A serial rapist uses his position as a police officer to ensnare his victims.
SKIPPING METADATA GENERATION, FILE ALREADY EXISTS: C:\kmttgtemp\NUMB3RS - Power_Fri_Dec_12_cut.mpg.txt
SKIPPING DOWNLOAD, FILE ALREADY EXISTS: C:\kmttgtemp\NUMB3RS - Power_Fri_Dec_12.TiVo
SKIPPING DECRYPT, FILE ALREADY EXISTS: D:\kmttgtemp\NUMB3RS - Power_Fri_Dec_12.mpg
>> SCANNING FOR COMMERCIALS IN D:\kmttgtemp\NUMB3RS - Power_Fri_Dec_12.mpg ...
"C:\Program Files\kmttg\comskip\comskip.exe" --ini "C:\Program Files\kmttg\comskip\comskip.ini" "D:\kmttgtemp\NUMB3RS - Power_Fri_Dec_12.mpg"
comskip elapsed time=00:45:45
--DONE--
>> CUTTING COMMERCIALS IN D:\kmttgtemp\NUMB3RS - Power_Fri_Dec_12.mpg ...
"C:\Program Files\kmttg\mencoder\mencoder.exe" "D:\kmttgtemp\NUMB3RS - Power_Fri_Dec_12.mpg" -edl "D:\kmttgtemp\NUMB3RS - Power_Fri_Dec_12.edl" -oac copy -ovc copy -of mpeg -o "C:\kmttgtemp\NUMB3RS - Power_Fri_Dec_12_cut.mpg"
C:\kmttgtemp\NUMB3RS - Power_Fri_Dec_12_cut.mpg size=45.23 MB elapsed=00:08:51 (0.71 Mbps)
*ERROR* comcut failed (exit code: 5) - check above C:\Program Files\kmttg\mencoder\mencoder.exe command
Using SSE optimized IMDCT transform
Using MMX optimized resampler
Limiting audio preload to 0.4s.
Increasing audio density to 4.

1 duplicate frame(s)!

1 duplicate frame(s)!


ERROR: scr 1.301, dts 0.000, pts 0.300



ERROR: scr 1.723, dts 0.000, pts 0.364



ERROR: scr 1.903, dts 0.000, pts 0.396



ERROR: scr 2.076, dts 0.000, pts 0.428



ERROR: scr 2.604, dts 0.000, pts 0.492



ERROR: scr 2.754, dts 0.000, pts 0.524



ERROR: scr 3.137, dts 0.000, pts 0.556



ERROR: scr 3.393, dts 0.600, pts 0.701



ERROR: scr 3.399, dts 0.000, pts 0.620



ERROR: scr 3.747, dts 0.000, pts 0.652



ERROR: scr 3.877, dts 0.000, pts 0.684



ERROR: scr 4.296, dts 0.000, pts 0.748



ERROR: scr 4.421, dts 0.000, pts 0.780



ERROR: scr 4.539, dts 0.000, pts 0.812



ERROR: scr 4.930, dts 0.000, pts 0.876

And it goes on with several hundred more duplicate frame errors...

I have tried this on a CSI and now this show, same type of results. Is there something I'm missing?

Any help appreciated!!
Meklos is offline   Reply With Quote
Old 12-17-2008, 06:23 PM   #423
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Meklos, a few posts ago someone mentioned some tweaks to mencoder were needed for it to work properly for them for some video files. Problem is I don't think the specific changes were ever posted so I'm not sure what the fix is. If you add VideoRedo to your configuration then kmttg will use VRD instead of mencoder for doing the cuts and it should work much more reliably.

NOTE: If setting up to use VRD then you need to edit comskip.ini file so that special cut file for VRD is generated. Read the kmttg documentation for more details.
__________________
Roamio Pro, Elite, Premiere
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.


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 12-17-2008, 06:38 PM   #424
ehagberg
Registered User
 
Join Date: Dec 2004
Location: Montclair, NJ
Posts: 68
Quote:
Originally Posted by moyekj View Post
If you have VideoRedo you should set it up in kmttg (specify installation path to it) and then kmttg will use VRD to make the cuts instead of mencoder. If VRD isn't able to make cuts properly then I don't think you'll find anything else that will.
I've specified the path for VideoRedo (that's the full path to the VideoRedo.exe binary, right?), but the cuts are still being done with mencoder and failing.

I changed the compskip.ini to have the necessary output_videoredo=1 setting, so that file was created, but videoredo still wasn't used.

I notice that the checkbox for VRD QS fix isn't selectable either.
ehagberg is offline   Reply With Quote
Old 12-17-2008, 06:52 PM   #425
ehagberg
Registered User
 
Join Date: Dec 2004
Location: Montclair, NJ
Posts: 68
Quote:
Originally Posted by moyekj View Post
Meklos, a few posts ago someone mentioned some tweaks to mencoder were needed for it to work properly for them for some video files. Problem is I don't think the specific changes were ever posted so I'm not sure what the fix is. If you add VideoRedo to your configuration then kmttg will use VRD instead of mencoder for doing the cuts and it should work much more reliably.

NOTE: If setting up to use VRD then you need to edit comskip.ini file so that special cut file for VRD is generated. Read the kmttg documentation for more details.
The tweaks I mentioned seemed to work, but only if I specified a 720x480 scale, rather than keeping the 1920x1080 frame size. I've tried to get them working in such a way that'll preserve the HD quality of the original file, but haven't had success, so I'm going to likely give up and use VideoRedo.

I see that for VideoRedo, unlike all the other config paths, you are supposed to specify the directory that videoredo lives in, rather than the full path to the binary. Should've read the perl script before asking.
ehagberg is offline   Reply With Quote
Old 12-17-2008, 07:16 PM   #426
ehagberg
Registered User
 
Join Date: Dec 2004
Location: Montclair, NJ
Posts: 68
For anyone who wants to play with mencoder for commercial cutting, here's what worked for me for those flaky streams (or at least those that mencoder didn't like with the default kmttg args):

mencoder.exe $INFILE.mpg -of mpeg -vf scale=720:480 -oac lavc -ovc lavc -lavcopts acodec=ac3:vcodec=mpeg2video:vbitrate=9800 -mpegopts format=dvd -srate 48000 -ofps 30000/1001 -edl $INFILE.edl -o $INFILE_cut.mpg

changing the scale (and bitrate to correspond) caused the output files to be not so watchable.
ehagberg is offline   Reply With Quote
Old 12-17-2008, 07:49 PM   #427
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Quote:
Originally Posted by ehagberg View Post
I've specified the path for VideoRedo (that's the full path to the VideoRedo.exe binary, right?), but the cuts are still being done with mencoder and failing.

I changed the compskip.ini to have the necessary output_videoredo=1 setting, so that file was created, but videoredo still wasn't used.

I notice that the checkbox for VRD QS fix isn't selectable either.
No, you should supply the full path to the VRD installation directory where all the various executables can be found, so take VideoRedo.exe out for your setting. Once it has the right path you should see the VRD QS fix option become selectable and thus you will be able to use QS fix and the cuts will be done with VRD rather than mencoder.

EDIT: I see in your post above that you realized this now. NOTE: It is documented as well if you read the documentation.
__________________
Roamio Pro, Elite, Premiere
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.


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 12-18-2008, 12:00 PM   #428
Meklos
Registered User
 
Join Date: Nov 2002
Posts: 66
If I do a comcut, do I have to do an encode to get the commercials cut out? The reason I ask, I am using the tivostream-hd profile, doing decode, comskip, comcut and captions, but not encode...


An 8GB .tivo file is turning into a 3GB _cut.mpg file... ??
Meklos is offline   Reply With Quote
Old 12-18-2008, 12:43 PM   #429
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Quote:
Originally Posted by Meklos View Post
If I do a comcut, do I have to do an encode to get the commercials cut out? The reason I ask, I am using the tivostream-hd profile, doing decode, comskip, comcut and captions, but not encode...


An 8GB .tivo file is turning into a 3GB _cut.mpg file... ??
No, commercial cutting is independent of encoding. The encoding profile selection only applies if you enable the encode check.
Note that comskip yields very crude results at best for some files and you are really better off using an mpeg editor such as VRD if you want accurate cuts. My guess is in this case comskip is over detecting commercials and cutting out too much. Note that with comskip enabled you can generate a cut file for VRD that you can then open with VRD as a starting point to make cuts manually. Personally I find it quicker and better to skip comskip/comcut and do commercial edits manually, then if encoding desired use FILES option in kmttg to select the edited file for encoding.
__________________
Roamio Pro, Elite, Premiere
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.


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 12-18-2008, 01:25 PM   #430
Meklos
Registered User
 
Join Date: Nov 2002
Posts: 66
Quote:
Originally Posted by moyekj View Post
No, commercial cutting is independent of encoding. The encoding profile selection only applies if you enable the encode check.
Note that comskip yields very crude results at best for some files and you are really better off using an mpeg editor such as VRD if you want accurate cuts. My guess is in this case comskip is over detecting commercials and cutting out too much. Note that with comskip enabled you can generate a cut file for VRD that you can then open with VRD as a starting point to make cuts manually. Personally I find it quicker and better to skip comskip/comcut and do commercial edits manually, then if encoding desired use FILES option in kmttg to select the edited file for encoding.
I have VRD installed on the machine and the path to VRD in the config. Is there a way to call VRD from a commandline to do commercial cuts, or is it interactive only?
Meklos is offline   Reply With Quote
Old 12-18-2008, 01:30 PM   #431
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Quote:
Originally Posted by Meklos View Post
I have VRD installed on the machine and the path to VRD in the config. Is there a way to call VRD from a commandline to do commercial cuts, or is it interactive only?
The way it's configured in kmttg is following comskip if you have comcut enabled it will call VRD in the background to do the cuts (i.e. not interactive). However, I'm suggesting that for accurate edits you need to enter interactive mode.
__________________
Roamio Pro, Elite, Premiere
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.


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 12-18-2008, 01:38 PM   #432
Meklos
Registered User
 
Join Date: Nov 2002
Posts: 66
Quote:
Originally Posted by moyekj View Post
The way it's configured in kmttg is following comskip if you have comcut enabled it will call VRD in the background to do the cuts (i.e. not interactive). However, I'm suggesting that for accurate edits you need to enter interactive mode.
I meant for the actual detection of the commercials themselves. I can open VRD and do the Ad Detective, but I was curious if there was a commandline function to active the Ad Detective on a particular file and have it autocut...

Sorry for my lack of clarity... I'm suffering from the 'post-lunch lack of blood to the brain' syndrome.
Meklos is offline   Reply With Quote
Old 12-18-2008, 01:58 PM   #433
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Quote:
Originally Posted by Meklos View Post
I meant for the actual detection of the commercials themselves. I can open VRD and do the Ad Detective, but I was curious if there was a commandline function to active the Ad Detective on a particular file and have it autocut...

Sorry for my lack of clarity... I'm suffering from the 'post-lunch lack of blood to the brain' syndrome.
Gotcha now. You know when including VRD support I actually added a job type called "adscan" which uses VRD for commercial scanning instead of "comskip". However from limited testing I found comskip generally did better than VRD ad detective so I left comskip as the default option to use for commercial detection. If you want to try it, uncomment (remove the leading #) lines 6137-6145 in latest kmttg.pl that look like this:
Code:
         #if ($VRD && -f "$VRD\\AdScan.vbs") {
         #   $familyId += 0.1;
         #   my $vprjFile = $edlFile;
         #   $vprjFile =~ s/\.edl$/.VPrj/;
         #   &adscan($VARIABLE{'tivoName'}, $mpegFile, $vprjFile, $familyId);
         #} else {
            $familyId += 0.1;
            &comskip($VARIABLE{'tivoName'}, $mpegFile, $edlFile, $familyId);
         #}
Then when you have "comskip" enabled it will actually use VRD Ad detective instead.

NOTE: I haven't done much testing of that functionality so can't guarantee anything, but it's worth a shot. If it does work OK for you perhaps in next update I'll add an option to choose VRD ad detective instead of comskip for commercial detection.
__________________
Roamio Pro, Elite, Premiere
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.


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

Last edited by moyekj : 12-18-2008 at 02:06 PM.
moyekj is offline   Reply With Quote
Old 12-18-2008, 02:33 PM   #434
Meklos
Registered User
 
Join Date: Nov 2002
Posts: 66
Will do some testing and let you know. There will be quite a bit of broadcast TV for me to chug through, and I'd like to automate as much of the commercial-removal process that I can.

Thanks!
Meklos is offline   Reply With Quote
Old 12-22-2008, 08:54 AM   #435
ehagberg
Registered User
 
Join Date: Dec 2004
Location: Montclair, NJ
Posts: 68
Something I just noticed recently, after getting past trying to bother using mencoder for commercial cutting and just using VideoRedo instead... is that even for those programs that mencoder ends up creating watchable video, running t2extract against that video shows that mencoder had no respect for the CC data stream as it's turned to garbage.

Removing commercials with VideoRedo and then t2extract against those files results in subtitles that are just fine.
ehagberg is offline   Reply With Quote
Old 12-26-2008, 03:09 PM   #436
falc122727
Registered User
 
Join Date: Jan 2004
Posts: 140
Great Program. However, a few issues with my first use.

1) Transfer Speed. The 90 minute HD program took almost 3 hours to transfer: TiVo size=11359.68 MB elapsed=02:48:40 (9.42 Mbps). Is this speed normal? I'm on a wired network. I have no experience at all with TTG as I've always used Tytools on hacked TiVos.

2) Picture Quality: The decrypted mpg video has tiny horizontal lines visible, especially during rapid movements (see attached screen cap). Could this be a function of the decryption?
Attached Images
File Type: jpg Test.jpg (32.2 KB, 23 views)
falc122727 is offline   Reply With Quote
Old 12-26-2008, 03:19 PM   #437
Meklos
Registered User
 
Join Date: Nov 2002
Posts: 66
Looks like something to do with interlacing to me...
Meklos is offline   Reply With Quote
Old 12-26-2008, 06:37 PM   #438
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Quote:
Originally Posted by falc122727 View Post
Great Program. However, a few issues with my first use.

1) Transfer Speed. The 90 minute HD program took almost 3 hours to transfer: TiVo size=11359.68 MB elapsed=02:48:40 (9.42 Mbps). Is this speed normal? I'm on a wired network. I have no experience at all with TTG as I've always used Tytools on hacked TiVos.

2) Picture Quality: The decrypted mpg video has tiny horizontal lines visible, especially during rapid movements (see attached screen cap). Could this be a function of the decryption?
1) Yes, that's pretty typical for THD HD transfer speeds. With S3s they are still a little faster than THD units and I can get around 13 Mbps sustained under normal conditions.
2) Decrypting does nothing to affect picture quality so the problem is with source recording.
__________________
Roamio Pro, Elite, Premiere
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.


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 12-26-2008, 07:15 PM   #439
falc122727
Registered User
 
Join Date: Jan 2004
Posts: 140
Thanks for the quick response moyekj

1) I guess I have to get used to the massive file sizes of HD.

2) The video is absolutely clear on my TiVo. Does TTG do any video processing or is it purely a copy of the raw file from the TiVo? I've tried multiple players VLC, WMP, and ZoomPlayer, and multiple codecs, but I still get the same interlacing effect. I downloaded the same file with the Tivodesktop (slower transfer than kmttg by the way) and still have the problem. Any ideas?
falc122727 is offline   Reply With Quote
Old 12-26-2008, 07:21 PM   #440
beady
Registered User
 
Join Date: Oct 2006
Location: LI, NY
Posts: 60
convert to mpeg with mp2 audio

Is there any way to use kmttg to automatically convert the decrypted Tivo file to mpeg with mp2 audio? I have a Popcorn Hour A-110 and can't hear audio after decrypting a file from my S3. When I run a program called MPEG Streamclip on the decrypted file and select "Convert to MPEG with MP2 Audio" the sound suddenly works. It does not appear that MPEG Streamclip has a command line interface.
beady is offline   Reply With Quote
Old 12-26-2008, 08:05 PM   #441
falc122727
Registered User
 
Join Date: Jan 2004
Posts: 140
It was a codec issue. I updated the video codecs on my PC and now all is good. Thanks again moyekj.
falc122727 is offline   Reply With Quote
Old 12-27-2008, 03:14 AM   #442
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Quote:
Originally Posted by beady View Post
Is there any way to use kmttg to automatically convert the decrypted Tivo file to mpeg with mp2 audio? I have a Popcorn Hour A-110 and can't hear audio after decrypting a file from my S3. When I run a program called MPEG Streamclip on the decrypted file and select "Convert to MPEG with MP2 Audio" the sound suddenly works. It does not appear that MPEG Streamclip has a command line interface.
Create a file called mp2.enc with following contents under kmttg encode folder:
Code:
# Description (single line, keep short)
<description>
mpeg2 container, copy video, mp2 audio

# Encode command or script (single line)
# Known keywords: FFMPEG, MENCODER, PERL, INPUT, OUTPUT, PWD
<command>
FFMPEG -y -i INPUT -vcodec copy -acodec mp2 OUTPUT

# Encoded output file extension
<extension>
mpeg
NOTE: File extension needs to be different than the source .mpg file extension which is why I chose mpeg above.

Then when running kmttg enable encode option and choose "mp2" profile. This will copy the video and convert audio to mp2.
(You can use another name other than mp2.enc if you wish of course)
(Be sure to restart kmttg after creating the file to see it in list or choose File->Refresh encoding profiles... to see it without restarting)
__________________
Roamio Pro, Elite, Premiere
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.


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

Last edited by moyekj : 12-27-2008 at 03:34 AM.
moyekj is offline   Reply With Quote
Old 12-27-2008, 11:34 AM   #443
beady
Registered User
 
Join Date: Oct 2006
Location: LI, NY
Posts: 60
Quote:
Originally Posted by moyekj View Post
Create a file called mp2.enc with following contents under kmttg encode folder:
Thanks for the suggestion and quick response. I got an error about encoding 6 channels is not allowed

Input #0, mpeg, from 'M:\KMTTG Files\test.mpg':
Duration: 02:00:01.57, start: 1.000000, bitrate: 12686 kb/s
Stream #0.0[0x1bd]: Audio: ac3, 48000 Hz, 5:1, s16, 384 kb/s
Stream #0.1[0x1e0]: Video: mpeg2video, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 14000 kb/s, 29.97 tb(r)
Output #0, mpeg, to 'M:\KMTTG Files\test.mpeg':
Stream #0.0: Video: mpeg2video, yuv420p, 1920x1080, q=2-31, 14000 kb/s, 29.97 tb(c)
Stream #0.1: Audio: mp2, 48000 Hz, 5:1, s16, 64 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
[mp2 @ 01615010]encoding 6 channel(s) is not allowed in mp2
Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
beady is offline   Reply With Quote
Old 12-27-2008, 11:39 AM   #444
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Try adding "-ac 2" as follows:
FFMPEG -y -i INPUT -vcodec copy -acodec mp2 -ac 2 OUTPUT
(It's possible other audio params will be needed - I didn't test it on program with 5.1 audio)
__________________
Roamio Pro, Elite, Premiere
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.


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 12-30-2008, 05:03 PM   #445
PaulS
Registered User
 
Join Date: Sep 2002
Location: Southern NH
Posts: 596
Perhaps I'm missing something obvious, but is there a way to operate on tivo files that already reside on the machine running kmttg ? I'd like to perform decrypt, metadata, and comskip on tivo files that I had already transferred from my Series3 to my Windows box before I had installed kmttg. Possible ?
PaulS is offline   Reply With Quote
Old 12-30-2008, 06:07 PM   #446
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Quote:
Originally Posted by PaulS View Post
Perhaps I'm missing something obvious, but is there a way to operate on tivo files that already reside on the machine running kmttg ? I'd like to perform decrypt, metadata, and comskip on tivo files that I had already transferred from my Series3 to my Windows box before I had installed kmttg. Possible ?
Yes, you have to enable file browser: File-Configuration-Enable File Browser (and optionally provide default path to use when starting). Then from main window TIVO pulldown menu select FILES option and then there is an Add Files... button which brings up a browser where you can look for .TiVo or .mpg files to use as starting point.
__________________
Roamio Pro, Elite, Premiere
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.


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 12-30-2008, 07:04 PM   #447
PaulS
Registered User
 
Join Date: Sep 2002
Location: Southern NH
Posts: 596
Quote:
Originally Posted by moyekj View Post
Yes, you have to enable file browser: File-Configuration-Enable File Browser (and optionally provide default path to use when starting). Then from main window TIVO pulldown menu select FILES option and then there is an Add Files... button which brings up a browser where you can look for .TiVo or .mpg files to use as starting point.
Perfect! Thanks for the quick reply.


edit : I'm encountering errors on a few files. Any ideas ?

Code:
*ERROR* file missing: chunk-02-0002.xml
*ERROR* tivodecode failed (exit code: 0)
Encryption by QUALCOMM ;)


Last edited by PaulS : 12-30-2008 at 07:22 PM.
PaulS is offline   Reply With Quote
Old 12-30-2008, 07:50 PM   #448
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,300
Quote:
Originally Posted by PaulS View Post
Perfect! Thanks for the quick reply.


edit : I'm encountering errors on a few files. Any ideas ?

Code:
*ERROR* file missing: chunk-02-0002.xml
*ERROR* tivodecode failed (exit code: 0)
Encryption by QUALCOMM ;)
I've not seen that, but perhaps some .TiVo files are missing the header portion (with all the detailed info)? Are all the .TiVo files unmodifed downloads from Tivos or were some edited with VRD or some other editor?
kmttg uses tivodecode to extract the header portion from .TiVo file and it looks like it's missing in some of the .TiVo files.
__________________
Roamio Pro, Elite, Premiere
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.


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 12-30-2008, 08:52 PM   #449
PaulS
Registered User
 
Join Date: Sep 2002
Location: Southern NH
Posts: 596
Quote:
Originally Posted by moyekj View Post
I've not seen that, but perhaps some .TiVo files are missing the header portion (with all the detailed info)? Are all the .TiVo files unmodifed downloads from Tivos or were some edited with VRD or some other editor?
kmttg uses tivodecode to extract the header portion from .TiVo file and it looks like it's missing in some of the .TiVo files.
It's only occurring a couple of my recordings (approximately 2 out of 20 so far), the rest appear to be processing normally. All of the recordings are unprotected HD recordings from my local PBS station, and all of the tivo files are untouched transfers from my S3.
PaulS is offline   Reply With Quote
Old 01-01-2009, 06:25 PM   #450
AudioNutz
Registered User
 
Join Date: Nov 2008
Posts: 302
Quote:
Originally Posted by PaulS View Post
Perfect! Thanks for the quick reply.


edit : I'm encountering errors on a few files. Any ideas ?

Code:
*ERROR* file missing: chunk-02-0002.xml
*ERROR* tivodecode failed (exit code: 0)
Encryption by QUALCOMM ;)
I get this error (Macintosh) when there are illegal characters in the file names of the TiVo show, or if my AntiVirus tries to scan the show while it's being downloaded. What are the names of your shows?
AudioNutz 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 03:52 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |