[mythtv-users] using mythtranscode to keep commercials?
gstead at cox.net
Wed Jun 25 22:50:50 UTC 2008
Richard Shaw wrote:
> You can do a manual cutlist by editing the recording, then to a
> mythtranscode -l --outfile $FILE (I believe) which should honor the
I have tried several permutations but cannot get a transcoded file
containing only commercials. One of several things happens:
a) Using --inversecut with mythtranscode always produces an error #-84
b) Manually inverting the cut list and running as you describe (I
replaced $FILE with an actual filename) produces a file barely smaller
than the original, when the transcoded file should be ~70% smaller:
$ mythtranscode --honorcutlist --infile 1003_20080625030000.mpg
--outfile 1003_20080625030000.co.mpg -p autodetect --showprogress
--verbose most > transcode.log
<snip - the cutlist is read properly by mythtranscode>
2008-06-25 18:33:46.075 Honoring the cutlist while transcoding
2008-06-25 18:33:46.076 Cutlist :
2008-06-25 18:33:46.076 Original Length: 107805 frames
2008-06-25 18:33:46.077 New Length : 31905 frames
As you can see, the output file is not trimmed properly:
$ ls -ltr
-rw-r--r-- 1 mythtv mythtv 2334797824 2008-06-25 04:00
-rw-r--r-- 1 gstead mythtv 2230351876 2008-06-25 18:36
Either I am completely clueless (quite possible!) or perhaps there is
some bug in mythtranscode?
What's strange is this works when invoked from the frontend. When
transcoding is invoked this way, does anyone know if the mythtranscode
executable invoked, or is an internal function run instead?
Any other thoughts?
More information about the mythtv-users