Hi Mark,
* I check my
~/.hts/tvheadend/dvr/log
directory and the oldest file is from October 12, about 30 days ago. So even when I manually delete the recordings, TvHeadend still deletes the log entries afterwards, which is a good thing!
* About htspdel: I just saw that it imports the tvh Python package.
I guess it refers to "this
package"
I currently use the "packaged" version of TvHeadend 3.4.27 packaged for XBMCBuntu Frodo (Quantal). Is this Python API installed anywhere? How can I install it? Do I have to extract the source from the Git repository for that?
* I tried your script manually. I did not have ffmpeg installed so I installed it from the Ubuntu repositories:
Unpacking ffmpeg (from .../ffmpeg_6%3a0.8.9-0ubuntu0.12.10.1_i386.deb) ...
Then I got these errors:
spontex@pchc:~/scripts/tvheadend$ ./mk_mkv_tv.pl -f CANAL+-Le-petit-journal.2013-11-09.07-30.mkv
./mk_mkv_tv.pl:18414:comskip
./mk_mkv_tv.pl:18414:Logging to mk_mkv_tv.log with 1d archive interval
CANAL+-Le-petit-journal.2013-11-09.07-30.mkv not in use .. start encode to CANAL+-Le-petit-journal.2013-11-09.07-30.mkv
ffmpeg version 0.8.9-6:0.8.9-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers
built on Nov 9 2013 19:15:53 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[matroska,webm @ 0x9b5f720] Unknown/unsupported CodecID S_DVBSUB.
[matroska,webm @ 0x9b5f720] max_analyze_duration reached
[matroska,webm @ 0x9b5f720] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from 'CANAL+-Le-petit-journal.2013-11-09.07-30.mkv':
Metadata:
title : Le petit journal
DATE_BROADCASTED: 2013-11-09 07:30:00
ORIGINAL_MEDIA_TYPE: TV
TVCHANNEL : CANAL+
SUMMARY : Yann Barthès et son équipe dévoilent un décryptage décalé et humoristique de la communication des politiques, la vie des médias et des vedettes à travers des interviews et des reportages.
SUMMARY-fre : Yann Barthès et son équipe dévoilent un décryptage décalé et humoristique de la communication des politiques, la vie des médias et des vedettes à travers des interviews et des reportages.
Duration: 00:35:00.68, start: 0.000000, bitrate: 16472 kb/s
Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Stream #0.1(fre): Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s (default)
Stream #0.2(eng): Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s (default)
Stream #0.3(fre): Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s (default)
Stream #0.4(eng): Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s (default)
Stream #0.5(qaa): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s (default)
Stream #0.6(fre): Subtitle: [0][0][0][0] / 0x0000 (default)
Stream #0.7(fre): Subtitle: [0][0][0][0] / 0x0000 (default)
Stream #0.8(fre): Subtitle: [0][0][0][0] / 0x0000 (default)
Unrecognized option 'c:v'
Failed to set value 'libx264' for option 'c:v'
I suspect a version mismatch. Do you use an older version of ffmpeg?
* Another question: After the conversion, does TvHeadend lose the link with its recording files? Are the converted recordings listed under XBMC > Live TV > Recordings?
Thanks!