[mythtv-users] Lossless Cut and removing recordings

Stephen Robertson stephengrobertson at gmail.com
Thu Nov 15 20:18:18 UTC 2012


Mythbuntu have resolved their problems and I have updated to MythTV
Version : v0.26.0-35-g81e8fa5

But i still seem to be having problems.

The recording filename which I assume is in UTC has the starttime as
0643 (which was also local time)  In the backend log the time is
listed against the recording it is trying to delete is 0743 UTC.

At the end of the lossless cut log the time is shown as 07:43:00+01:00
2012-11-15 18:50:29,864 - INFO - Successfully removing the
recording:Title: "Peppa Pig" on channel 700 with start time
"2012-11-05 07:43:00+01:00"  (The enitre lossless cut log is below.)

Nov 15 18:50:33 bressay  mythbackend[3360]: E DeleteThread
mainserver.cpp:1954 (DoDeleteThread) ERROR retrieving program info
when trying to delete program for chanid 9700 recorded at
2012-11-05T07:43:00Z. Recording will NOT be deleted.

Just as I am typing this I wonder if there is a  problem that the
guide data was probably first inserted when local time was UTC+1 but
the recording was made in UTC+0 as the clocks had gone back.  Or is
there something odd with timezones on my system?

Stephen


2012-11-15 18:50:02,059 - INFO - Start loss less commercial cut of
"/media/500G/9700_20121105064300.mpg" at: Thu 15 Nov at 18:50:02
2012-11-15 18:50:02,060 - INFO -
These are the variables and options to be used when performing a
loss less cut of a MythTV recorded video:

  Lossless Cut version:         0.1.7

  MythTV recorded source video: "/media/500G/9700_20121105064300.mpg"

  The Log file location:        "/tmp"
  The Log file:                 "/tmp/9700_20121105064300.log"

  Move/Save path for mkv file:  ""
  Working directory path:       "/tmp/lossless_cut"

  Add metadata to mkv file:     "True"
  Delete the mpg file:          "False"
  Keep the log file:            "True"
  Remove subtitles and
  secondary audio tracks:       "False"
  Test the script dependencies: "False"

  Movie metadata format:        "%(title)s (%(releasedate)s)"
  TV Series metadata format:    "%(series)s -
S%(season_num)02dE%(episode_num)02d - %(episode)s"

  Utilities for extracting subtitles:
    mythtvccextractor args:     "--verbose -i "%(recordedfile)s""
    ccextractor args:           "-teletext -datapid %(subid)s -tpage
%(subpage)s --defaultcolor "#ffd700" -utf8 "%(recordedfile)s" -o
"%(sub_filename)s""

  Mythvidexport format args:
    Television:                 "%TITLE%/Series %SEASONPAD%/%TITLE% -
S%SEASONPAD%E%EPISODEPAD% - %SUBTITLE%"
    Movie:                      "Review/%TITLE% (%YEAR%)"
    Generic:                    "Review/%TITLE%: %SUBTITLE%"

  Concert Cuts format args:
    File export or move name:   "False"



2012-11-15 18:50:02,073 - INFO - There is no program guide for this
recorded video, skipping getting the genre.
2012-11-15 18:50:02,696 - INFO - Found TV series "Peppa Pig" Episode
"Gym Class".
2012-11-15 18:50:02,717 - INFO -
Cutlist:
    Original:           ([(0, 3382), (10786, 9999999)])
    Inclusive:          ([(3382, 10786)])
    Keyframe adjusted:  ([[3381.0, 10785.0]])

2012-11-15 18:50:02,718 - INFO - The following metadata has been found
for this recorded video:
  Internet Reference number: 79222
  Title: "Peppa Pig", Subtitle: "Gym Class"
  Series number: 3, Episode number: 45
  Release date: 2012
  Description: "Madame Gazelle takes the children to Grampy Rabbit's
gym class, where they learn how to be real explorers."

  MKV metadata tite: "Peppa Pig - S03E45 - Gym Class"
  Export filename format: "%TITLE%/Series %SEASONPAD%/%TITLE% -
S%SEASONPAD%E%EPISODEPAD% - %SUBTITLE%"

2012-11-15 18:50:03,451 - INFO - mediainfo get video file details in
XML format command:
> mediainfo --Output=XML "/media/500G/9700_20121105064300.mpg"

<?xml version="1.0" encoding="UTF-8"?>
<Mediainfo version="0.7.59">
<File>
<track type="General">
<ID>2057 (0x809)</ID>
<Complete_name>/media/500G/9700_20121105064300.mpg</Complete_name>
<Format>MPEG-TS</Format>
<File_size>339 MiB</File_size>
<Duration>13mn 54s</Duration>
<Overall_bit_rate>3 403 Kbps</Overall_bit_rate>
</track>

<track type="Video">
<ID>2309 (0x905)</ID>
<Menu_ID>1 (0x1)</Menu_ID>
<Format>MPEG Video</Format>
<Format_version>Version 2</Format_version>
<Format_profile>Main at Main</Format_profile>
<Format_settings__BVOP>Yes</Format_settings__BVOP>
<Format_settings__Matrix>Custom</Format_settings__Matrix>
<Codec_ID>2</Codec_ID>
<Duration>13mn 54s</Duration>
<Bit_rate>2 847 Kbps</Bit_rate>
<Width>544 pixels</Width>
<Height>576 pixels</Height>
<Display_aspect_ratio>16:9</Display_aspect_ratio>
<Active_Format_Description>Full frame 16:9 image</Active_Format_Description>
<Frame_rate>25.000 fps</Frame_rate>
<Color_space>YUV</Color_space>
<Chroma_subsampling>4:2:0</Chroma_subsampling>
<Bit_depth>8 bits</Bit_depth>
<Scan_type>Interlaced</Scan_type>
<Scan_order>Top Field First</Scan_order>
<Compression_mode>Lossy</Compression_mode>
<Bits__Pixel_Frame_>0.363</Bits__Pixel_Frame_>
<Stream_size>283 MiB (84%)</Stream_size>
</track>

<track type="Audio" streamid="1">
<ID>2310 (0x906)</ID>
<Menu_ID>1 (0x1)</Menu_ID>
<Format>MPEG Audio</Format>
<Format_version>Version 1</Format_version>
<Format_profile>Layer 2</Format_profile>
<Codec_ID>4</Codec_ID>
<Duration>13mn 54s</Duration>
<Bit_rate_mode>Constant</Bit_rate_mode>
<Bit_rate>192 Kbps</Bit_rate>
<Channel_s_>2 channels</Channel_s_>
<Sampling_rate>48.0 KHz</Sampling_rate>
<Compression_mode>Lossy</Compression_mode>
<Delay_relative_to_video>-248ms</Delay_relative_to_video>
<Stream_size>19.1 MiB (6%)</Stream_size>
<Language>English</Language>
</track>

<track type="Audio" streamid="2">
<ID>2311 (0x907)</ID>
<Menu_ID>1 (0x1)</Menu_ID>
<Format>MPEG Audio</Format>
<Format_version>Version 1</Format_version>
<Format_profile>Layer 2</Format_profile>
<Codec_ID>4</Codec_ID>
<Duration>13mn 54s</Duration>
<Bit_rate_mode>Constant</Bit_rate_mode>
<Bit_rate>192 Kbps</Bit_rate>
<Channel_s_>2 channels</Channel_s_>
<Sampling_rate>48.0 KHz</Sampling_rate>
<Compression_mode>Lossy</Compression_mode>
<Delay_relative_to_video>-246ms</Delay_relative_to_video>
<Stream_size>19.1 MiB (6%)</Stream_size>
<Language>nar</Language>
<Language__more_info>Visual impaired commentary</Language__more_info>
</track>

<track type="Text" streamid="1">
<ID>2312 (0x908)-500</ID>
<Menu_ID>1 (0x1)</Menu_ID>
<Format>Teletext</Format>
<Language>English</Language>
</track>

<track type="Text" streamid="2">
<ID>2312 (0x908)-888</ID>
<Menu_ID>1 (0x1)</Menu_ID>
<Format>Teletext Subtitle</Format>
<Language>English</Language>
</track>

<track type="Text" streamid="3">
<ID>2355 (0x933)</ID>
<Menu_ID>1 (0x1)</Menu_ID>
<Format>DVB Subtitle</Format>
<Codec_ID>6</Codec_ID>
<Duration>13mn 51s</Duration>
<Delay_relative_to_video>1s 443ms</Delay_relative_to_video>
<Language>English</Language>
</track>

</File>
</Mediainfo>



2012-11-15 18:50:03,464 - INFO -
Recorded video file information:
    Frames per second (FPS):      25.000
    WidthxHeight in pixels:       544x576

Cut list:
    Original:           ([(0, 3382), (10786, 9999999)])
    Inclusive:          ([(3382, 10786)])
    Keyframe adjusted:  ([[3381.0, 10785.0]])

Recording device:
    Name:                   "Freesat"
    Card type:              "DVB"
    Default Input:          "Television"
    Video Device:           "/dev/dvb/adapter1/frontend0"
    Audio Device:           "None"
    Host name:              "bressay"

Track totals:
    1 Video track(s)
    2 Audio track(s)
    3 Subtitle track(s)

Video track details:
    Format:                  MPEG Video
    Format version:          Version 2
    Bit rate:                2 847 Kbps
    Display aspect ratio:    16:9
    Frame rate:              25.000 fps
    Color space:             YUV
    Chroma subsampling:      4:2:0
    Bit depth:               8 bits
    Scan type:               Interlaced
    Compression mode:        Lossy

Audio track details:
    Format:                  MPEG Audio
    Format version:          Version 1
    Format profile:          Layer 2
    Codec ID:                4
    Bit rate mode:           Constant
    Bit rate:                192 Kbps
    Channel s:               2 channels
    Sampling rate:           48.0 KHz
    Compression mode:        Lossy
    Delay relative to video: -248ms
    Language:                English

    Format:                  MPEG Audio
    Format version:          Version 1
    Format profile:          Layer 2
    Codec ID:                4
    Bit rate mode:           Constant
    Bit rate:                192 Kbps
    Channel s:               2 channels
    Sampling rate:           48.0 KHz
    Compression mode:        Lossy
    Delay relative to video: -246ms
    Language:                nar

Subtitle track details:
    Format:                  Teletext
    Language:                English

    Format:                  Teletext Subtitle
    Language:                English

    Format:                  DVB Subtitle
    Codec ID:                6
    Delay relative to video: 1443
    Language:                English


2012-11-15 18:50:03,478 - INFO - 'ISO639-2 language code file was last
updated on Downloaded on Thursday Sept, 13th 2012 contains 486
language codes
2012-11-15 18:50:03,481 - INFO -
Recorded file:
  Channel ID: 9700
  Start time: 2012-11-05 07:43:00+01:00

2012-11-15 18:50:06,239 - INFO - CCExtractor command:
> /usr/share/lossless_cut/subtitle/ccextractor32bit -teletext -datapid 2312 -tpage 500 --defaultcolor "#ffd700" -utf8 "/media/500G/9700_20121105064300.mpg" -o "/tmp/lossless_cut/9700_20121105064300_000.srt"

CCExtractor 0.64, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
--------------------------------------------------------------------------
Input: /media/500G/9700_20121105064300.mpg
[Raw Mode: Broadcast] [Extract: 1] [Stream mode: Autodetect]
[Program : Auto ] [Hauppage mode: No] [Use MythTV code: Auto]
[Timing mode: Auto] [Debug: No] [Buffer input: No]
[Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No]
[Target format: .srt] [Encoding: UTF-8] [Delay: 0] [Trim lines: No]
[Add font color data: Yes] [Add font typesetting: Yes]
[Convert case: No] [Video-edit join: No]
[Extraction start time: not set (from start)]
[Extraction end time: not set (to end)]
[Live stream: No] [Clock frequency: 90000]
Teletext page: 500]
Start credits text: [None]
Creating /tmp/lossless_cut/9700_20121105064300_000.srt


-----------------------------------------------------------------

Opening file: /media/500G/9700_20121105064300.mpg

File seems to be a transport stream, enabling TS mode

Analyzing data in general mode

New PID found: 2309

New PID found: 2312

New PID found: 3843

New PID found: 2310

New PID found: 2311

New PID found: 3842

New PID found: 3841

  0%  |  00:00
New PID found: 3844

New PID found: 2355

New PID found: 3840

  1%  |  00:00
  2%  |  00:00
  3%  |  00:00
  4%  |  00:00
  5%  |  00:00
  6%  |  00:00
  7%  |  00:00
  8%  |  00:00
  9%  |  00:00
 10%  |  00:00
 11%  |  00:00
 12%  |  00:00
 13%  |  00:00
 14%  |  00:00
 15%  |  00:00
 16%  |  00:00
 17%  |  00:00
 18%  |  00:00
 19%  |  00:00
 20%  |  00:00
 21%  |  00:00
 22%  |  00:00
 23%  |  00:00
 24%  |  00:00
 25%  |  00:00
 26%  |  00:00
 27%  |  00:00
 28%  |  00:00
 29%  |  00:00
 30%  |  00:00
 31%  |  00:00
 32%  |  00:00
 33%  |  00:00
 34%  |  00:00
 35%  |  00:00
 36%  |  00:00
 37%  |  00:00
 38%  |  00:00
 39%  |  00:00
 40%  |  00:00
 41%  |  00:00
 42%  |  00:00
 43%  |  00:00
 44%  |  00:00
 45%  |  00:00
 46%  |  00:00
 47%  |  00:00
 48%  |  00:00
 49%  |  00:00
 50%  |  00:00
 51%  |  00:00
 52%  |  00:00
 53%  |  00:00
 54%  |  00:00
 55%  |  00:00
 56%  |  00:00
 57%  |  00:00
 58%  |  00:00
 59%  |  00:00
 60%  |  00:00
 61%  |  00:00
 62%  |  00:00
 63%  |  00:00
 64%  |  00:00
 65%  |  00:00
 66%  |  00:00
 67%  |  00:00
 68%  |  00:00
 69%  |  00:00
 70%  |  00:00
 71%  |  00:00
 72%  |  00:00
 73%  |  00:00
 74%  |  00:00
 75%  |  00:00
 76%  |  00:00
 77%  |  00:00
 78%  |  00:00
 79%  |  00:00
 80%  |  00:00
 81%  |  00:00
 82%  |  00:00
 83%  |  00:00
 84%  |  00:00
 85%  |  00:00
 86%  |  00:00
 87%  |  00:00
 88%  |  00:00
 89%  |  00:00
 90%  |  00:00
 91%  |  00:00
 92%  |  00:00
 93%  |  00:00
 94%  |  00:00
 95%  |  00:00
 96%  |  00:00
 97%  |  00:00
 98%  |  00:00
 99%  |  00:00
100%  |  00:00
Number of NAL_type_7: 0
Number of VCL_HRD: 0
Number of NAL HRD: 0
Number of jump-in-frames: 0
Number of num_unexpected_sei_length: 0

Total frames time:      00:00:00:000  (0 frames at 29.97fps)

Done, processing time = 3 seconds
Performance (real length/process time) = 0.01
Teletext decoder: 20860 packets processed, 0 SRT frames written.
This is beta software. Report issues to cfsmp3 at gmail...


2012-11-15 18:50:08,168 - INFO - CCExtractor command:
> /usr/share/lossless_cut/subtitle/ccextractor32bit -teletext -datapid 2312 -tpage 888 --defaultcolor "#ffd700" -utf8 "/media/500G/9700_20121105064300.mpg" -o "/tmp/lossless_cut/9700_20121105064300_001.srt"

CCExtractor 0.64, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
--------------------------------------------------------------------------
Input: /media/500G/9700_20121105064300.mpg
[Raw Mode: Broadcast] [Extract: 1] [Stream mode: Autodetect]
[Program : Auto ] [Hauppage mode: No] [Use MythTV code: Auto]
[Timing mode: Auto] [Debug: No] [Buffer input: No]
[Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No]
[Target format: .srt] [Encoding: UTF-8] [Delay: 0] [Trim lines: No]
[Add font color data: Yes] [Add font typesetting: Yes]
[Convert case: No] [Video-edit join: No]
[Extraction start time: not set (from start)]
[Extraction end time: not set (to end)]
[Live stream: No] [Clock frequency: 90000]
Teletext page: 888]
Start credits text: [None]
Creating /tmp/lossless_cut/9700_20121105064300_001.srt


-----------------------------------------------------------------

Opening file: /media/500G/9700_20121105064300.mpg

File seems to be a transport stream, enabling TS mode

Analyzing data in general mode

New PID found: 2309

New PID found: 2312

New PID found: 3843

New PID found: 2310

New PID found: 2311

New PID found: 3842

New PID found: 3841

  0%  |  00:00
New PID found: 3844

New PID found: 2355

New PID found: 3840

  1%  |  00:00
  2%  |  00:00
  3%  |  00:00
  4%  |  00:00
  5%  |  00:00
  6%  |  00:00
  7%  |  00:00
  8%  |  00:00
  9%  |  00:00
 10%  |  00:00
 11%  |  00:00
 12%  |  00:00
 13%  |  00:00
 14%  |  00:00
 15%  |  00:00
 16%  |  00:00
 17%  |  00:00
 18%  |  00:00
 19%  |  00:00
 20%  |  00:00
 21%  |  00:00
 22%  |  00:00
 23%  |  00:00
 24%  |  00:00
 25%  |  00:00
 26%  |  00:00
 27%  |  00:00
 28%  |  00:00
 29%  |  00:00
 30%  |  00:00
 31%  |  00:00
 32%  |  00:00
 33%  |  00:00
 34%  |  00:00
 35%  |  00:00
 36%  |  00:00
 37%  |  00:00
 38%  |  00:00
 39%  |  00:00
 40%  |  00:00
 41%  |  00:00
 42%  |  00:00
 43%  |  00:00
 44%  |  00:00
 45%  |  00:00
 46%  |  00:00
 47%  |  00:00
 48%  |  00:00
 49%  |  00:00
 50%  |  00:00
 51%  |  00:00
 52%  |  00:00
 53%  |  00:00
 54%  |  00:00
 55%  |  00:00
 56%  |  00:00
 57%  |  00:00
 58%  |  00:00
 59%  |  00:00
 60%  |  00:00
 61%  |  00:00
 62%  |  00:00
 63%  |  00:00
 64%  |  00:00
 65%  |  00:00
 66%  |  00:00
 67%  |  00:00
 68%  |  00:00
 69%  |  00:00
 70%  |  00:00
 71%  |  00:00
 72%  |  00:00
 73%  |  00:00
 74%  |  00:00
 75%  |  00:00
 76%  |  00:00
 77%  |  00:00
 78%  |  00:00
 79%  |  00:00
 80%  |  00:00
 81%  |  00:00
 82%  |  00:00
 83%  |  00:00
 84%  |  00:00
 85%  |  00:00
 86%  |  00:00
 87%  |  00:00
 88%  |  00:00
 89%  |  00:00
 90%  |  00:00
 91%  |  00:00
 92%  |  00:00
 93%  |  00:00
 94%  |  00:00
 95%  |  00:00
 96%  |  00:00
 97%  |  00:00
 98%  |  00:00
 99%  |  00:00
100%  |  00:00
Number of NAL_type_7: 0
Number of VCL_HRD: 0
Number of NAL HRD: 0
Number of jump-in-frames: 0
Number of num_unexpected_sei_length: 0

Total frames time:      00:00:00:000  (0 frames at 29.97fps)

Done, processing time = 2 seconds
Performance (real length/process time) = 0.01
Teletext decoder: 20860 packets processed, 212 SRT frames written.
This is beta software. Report issues to cfsmp3 at gmail...


2012-11-15 18:50:08,169 - INFO - 'ISO639-2 language code match found
for "English" language codes "eng" will be used.
2012-11-15 18:50:19,194 - INFO - mkvmerge add subtitle track(s) command:
> mkvmerge -o "/tmp/lossless_cut/9700_20121105064300_tmp.mkv" "/media/500G/9700_20121105064300.mpg" --language 0:eng "/tmp/lossless_cut/9700_20121105064300_001.srt"

mkvmerge v5.8.0 ('No Sleep / Pillow') built on Sep  2 2012 14:43:38
'/media/500G/9700_20121105064300.mpg': Using the demultiplexer for the
format 'MPEG transport stream'.
'/tmp/lossless_cut/9700_20121105064300_001.srt': Using the
demultiplexer for the format 'SRT subtitles'.
'/media/500G/9700_20121105064300.mpg' track 0: Using the output module
for the format 'MPEG-1/2'.
'/media/500G/9700_20121105064300.mpg' track 1: Using the output module
for the format 'MP3'.
'/media/500G/9700_20121105064300.mpg' track 2: Using the output module
for the format 'MP3'.
'/tmp/lossless_cut/9700_20121105064300_001.srt' track 0: Using the
output module for the format 'text subtitles'.
The file '/tmp/lossless_cut/9700_20121105064300_tmp.mkv' has been
opened for writing.
Progress: 0%
Progress: 6%
Progress: 12%
Progress: 18%
Progress: 23%
Progress: 29%
Progress: 36%
Progress: 44%
Progress: 51%
Progress: 55%
Progress: 60%
Progress: 65%
Progress: 70%
Progress: 75%
Progress: 79%
Progress: 85%
Progress: 89%
Progress: 95%
Progress: 96%
Progress: 100%
Progress: 100%
The cue entries (the index) are being written...
Muxing took 10 seconds.


2012-11-15 18:50:19,880 - INFO - mediainfo get video file details in
XML format command:
> mediainfo --Output=XML "/media/500G/9700_20121105064300.mpg"

<?xml version="1.0" encoding="UTF-8"?>
<Mediainfo version="0.7.59">
<File>
<track type="General">
<ID>2057 (0x809)</ID>
<Complete_name>/media/500G/9700_20121105064300.mpg</Complete_name>
<Format>MPEG-TS</Format>
<File_size>339 MiB</File_size>
<Duration>13mn 54s</Duration>
<Overall_bit_rate>3 403 Kbps</Overall_bit_rate>
</track>

<track type="Video">
<ID>2309 (0x905)</ID>
<Menu_ID>1 (0x1)</Menu_ID>
<Format>MPEG Video</Format>
<Format_version>Version 2</Format_version>
<Format_profile>Main at Main</Format_profile>
<Format_settings__BVOP>Yes</Format_settings__BVOP>
<Format_settings__Matrix>Custom</Format_settings__Matrix>
<Codec_ID>2</Codec_ID>
<Duration>13mn 54s</Duration>
<Bit_rate>2 847 Kbps</Bit_rate>
<Width>544 pixels</Width>
<Height>576 pixels</Height>
<Display_aspect_ratio>16:9</Display_aspect_ratio>
<Active_Format_Description>Full frame 16:9 image</Active_Format_Description>
<Frame_rate>25.000 fps</Frame_rate>
<Color_space>YUV</Color_space>
<Chroma_subsampling>4:2:0</Chroma_subsampling>
<Bit_depth>8 bits</Bit_depth>
<Scan_type>Interlaced</Scan_type>
<Scan_order>Top Field First</Scan_order>
<Compression_mode>Lossy</Compression_mode>
<Bits__Pixel_Frame_>0.363</Bits__Pixel_Frame_>
<Stream_size>283 MiB (84%)</Stream_size>
</track>

<track type="Audio" streamid="1">
<ID>2310 (0x906)</ID>
<Menu_ID>1 (0x1)</Menu_ID>
<Format>MPEG Audio</Format>
<Format_version>Version 1</Format_version>
<Format_profile>Layer 2</Format_profile>
<Codec_ID>4</Codec_ID>
<Duration>13mn 54s</Duration>
<Bit_rate_mode>Constant</Bit_rate_mode>
<Bit_rate>192 Kbps</Bit_rate>
<Channel_s_>2 channels</Channel_s_>
<Sampling_rate>48.0 KHz</Sampling_rate>
<Compression_mode>Lossy</Compression_mode>
<Delay_relative_to_video>-248ms</Delay_relative_to_video>
<Stream_size>19.1 MiB (6%)</Stream_size>
<Language>English</Language>
</track>

<track type="Audio" streamid="2">
<ID>2311 (0x907)</ID>
<Menu_ID>1 (0x1)</Menu_ID>
<Format>MPEG Audio</Format>
<Format_version>Version 1</Format_version>
<Format_profile>Layer 2</Format_profile>
<Codec_ID>4</Codec_ID>
<Duration>13mn 54s</Duration>
<Bit_rate_mode>Constant</Bit_rate_mode>
<Bit_rate>192 Kbps</Bit_rate>
<Channel_s_>2 channels</Channel_s_>
<Sampling_rate>48.0 KHz</Sampling_rate>
<Compression_mode>Lossy</Compression_mode>
<Delay_relative_to_video>-246ms</Delay_relative_to_video>
<Stream_size>19.1 MiB (6%)</Stream_size>
<Language>nar</Language>
<Language__more_info>Visual impaired commentary</Language__more_info>
</track>

<track type="Text" streamid="1">
<ID>2312 (0x908)-500</ID>
<Menu_ID>1 (0x1)</Menu_ID>
<Format>Teletext</Format>
<Language>English</Language>
</track>

<track type="Text" streamid="2">
<ID>2312 (0x908)-888</ID>
<Menu_ID>1 (0x1)</Menu_ID>
<Format>Teletext Subtitle</Format>
<Language>English</Language>
</track>

<track type="Text" streamid="3">
<ID>2355 (0x933)</ID>
<Menu_ID>1 (0x1)</Menu_ID>
<Format>DVB Subtitle</Format>
<Codec_ID>6</Codec_ID>
<Duration>13mn 51s</Duration>
<Delay_relative_to_video>1s 443ms</Delay_relative_to_video>
<Language>English</Language>
</track>

</File>
</Mediainfo>



2012-11-15 18:50:19,949 - INFO - mkvmerge get total tracks command:
> mkvmerge --identify "/tmp/lossless_cut/9700_20121105064300_tmp.mkv"

File '/tmp/lossless_cut/9700_20121105064300_tmp.mkv': container: Matroska
Track ID 0: video (V_MPEG2)
Track ID 1: audio (A_MPEG/L2)
Track ID 2: audio (A_MPEG/L2)
Track ID 3: subtitles (S_TEXT/UTF8)


2012-11-15 18:50:19,950 - INFO - Cut timestamps:
00:02:15.240000000-00:07:11.400000000

2012-11-15 18:50:24,219 - INFO - mkvmerge perform cuts command:
> mkvmerge -o "/tmp/lossless_cut/9700_20121105064300-%04d.mkv"  --split parts:00:02:15.240000000-00:07:11.400000000 "/tmp/lossless_cut/9700_20121105064300_tmp.mkv"
mkvmerge v5.8.0 ('No Sleep / Pillow') built on Sep  2 2012 14:43:38
'/tmp/lossless_cut/9700_20121105064300_tmp.mkv': Using the
demultiplexer for the format 'Matroska'.
'/tmp/lossless_cut/9700_20121105064300_tmp.mkv' track 0: Using the
output module for the format 'MPEG-1/2'.
'/tmp/lossless_cut/9700_20121105064300_tmp.mkv' track 1: Using the
output module for the format 'MP3'.
'/tmp/lossless_cut/9700_20121105064300_tmp.mkv' track 2: Using the
output module for the format 'MP3'.
'/tmp/lossless_cut/9700_20121105064300_tmp.mkv' track 3: Using the
output module for the format 'text subtitles'.
Progress: 0%
Progress: 16%
The file '/tmp/lossless_cut/9700_20121105064300-%04d.mkv' has been
opened for writing.
Progress: 26%
Progress: 36%
Progress: 41%
Progress: 50%
The cue entries (the index) are being written...
Progress: 100%
Muxing took 4 seconds.


2012-11-15 18:50:24,219 - INFO -
Appendto list:  ''
Merge list:     '"/tmp/lossless_cut/9700_20121105064300-%04d.mkv"'

MKV metadata (only used if add metadata is "true"):
  Program title:       "Peppa Pig - S03E45 - Gym Class"
  Program description: "Madame Gazelle takes the children to Grampy
Rabbit's gym class, where they learn how to be real explorers."

2012-11-15 18:50:26,091 - INFO - mkvmerge create final mkv video file command:
> mkvmerge -o "/media/500G/Peppa Pig - S03E45 - Gym Class.mkv" "/tmp/lossless_cut/9700_20121105064300-%04d.mkv" --title "Peppa Pig - S03E45 - Gym Class" --attachment-description "Madame Gazelle takes the children to Grampy Rabbit's gym class, where they learn how to be real explorers."

mkvmerge v5.8.0 ('No Sleep / Pillow') built on Sep  2 2012 14:43:38
'/tmp/lossless_cut/9700_20121105064300-%04d.mkv': Using the
demultiplexer for the format 'Matroska'.
'/tmp/lossless_cut/9700_20121105064300-%04d.mkv' track 0: Using the
output module for the format 'MPEG-1/2'.
'/tmp/lossless_cut/9700_20121105064300-%04d.mkv' track 1: Using the
output module for the format 'MP3'.
'/tmp/lossless_cut/9700_20121105064300-%04d.mkv' track 2: Using the
output module for the format 'MP3'.
'/tmp/lossless_cut/9700_20121105064300-%04d.mkv' track 3: Using the
output module for the format 'text subtitles'.
The file '/media/500G/Peppa Pig - S03E45 - Gym Class.mkv' has been
opened for writing.
Progress: 0%
Progress: 47%
Progress: 49%
Progress: 96%
Progress: 100%
The cue entries (the index) are being written...
Muxing took 2 seconds.


2012-11-15 18:50:27,173 - INFO - Updating video metadata complete
2012-11-15 18:50:27,173 - INFO -
Copying "/media/500G/Peppa Pig - S03E45 - Gym Class.mkv" to
myth://Videos@bressay/Peppa Pig/Series 03/Peppa Pig - S03E45 - Gym
Class.mkv
2012-11-15 18:50:28,013 - INFO - Transfer Complete 0 seconds elapsed
2012-11-15 18:50:29,609 - INFO - mkvinfo used to find final mkv file
playback duration:
> mkvinfo "/media/500G/Peppa Pig - S03E45 - Gym Class.mkv"

+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ EBML maximum size length: 8
|+ Doc type: matroska
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 86993162
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 4044)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: libebml v1.2.3 + libmatroska v1.3.0
| + Writing application: mkvmerge v5.8.0 ('No Sleep / Pillow') built
on Sep  2 2012 14:43:38
| + Duration: 296.792s (00:04:56.792)
| + Date: Thu Nov 15 18:50:24 2012 UTC
| + Title: Peppa Pig - S03E45 - Gym Class
| + Segment UID: 0xf1 0x71 0x3a 0xa1 0xec 0x26 0xab 0xc7 0x0d 0xd5
0xb0 0x04 0x83 0xb7 0x60 0x52
|+ Segment tracks
| + A track
|  + Track number: 1 (track ID for mkvmerge & mkvextract: 0)
|  + Track UID: 3127626748
|  + Track type: video
|  + Lacing flag: 0
|  + MinCache: 1
|  + Codec ID: V_MPEG2
|  + CodecPrivate, length 159
|  + Default duration: 40.000ms (25.000 frames/fields per second for a
video track)
|  + Language: und
|  + Video track
|   + Pixel width: 544
|   + Pixel height: 576
|   + Display width: 1024
|   + Display height: 576
| + A track
|  + Track number: 2 (track ID for mkvmerge & mkvextract: 1)
|  + Track UID: 708868174
|  + Track type: audio
|  + Codec ID: A_MPEG/L2
|  + Default duration: 24.000ms (41.667 frames/fields per second for a
video track)
|  + Audio track
|   + Sampling frequency: 48000
|   + Channels: 2
|  + Content encodings
|   + Content encoding
|    + Content compression
|     + Algorithm: 3 (header removal)
|     + Settings: length 1, data: 0xff
| + A track
|  + Track number: 3 (track ID for mkvmerge & mkvextract: 2)
|  + Track UID: 3333823752
|  + Track type: audio
|  + Default flag: 0
|  + Codec ID: A_MPEG/L2
|  + Default duration: 24.000ms (41.667 frames/fields per second for a
video track)
|  + Language: und
|  + Audio track
|   + Sampling frequency: 48000
|   + Channels: 2
|  + Content encodings
|   + Content encoding
|    + Content compression
|     + Algorithm: 3 (header removal)
|     + Settings: length 1, data: 0xff
| + A track
|  + Track number: 4 (track ID for mkvmerge & mkvextract: 3)
|  + Track UID: 3774987209
|  + Track type: subtitles
|  + Lacing flag: 0
|  + Codec ID: S_TEXT/UTF8
|+ EbmlVoid (size: 1180)
|+ Cluster


2012-11-15 18:50:29,786 - INFO - Removed mkv file "/media/500G/Peppa
Pig - S03E45 - Gym Class.mkv" after exporting to MythVideo.
2012-11-15 18:50:29,864 - INFO -
Successfully removing the recording:
Title: "Peppa Pig" on channel 700 with start time "2012-11-05 07:43:00+01:00"

2012-11-15 18:50:29,864 - INFO - End of loss less commercial cut for
"/media/500G/9700_20121105064300.mpg" at: Thu 15 Nov at 18:50:29

On Wed, Nov 14, 2012 at 8:09 PM, Stephen Robertson
<stephengrobertson at gmail.com> wrote:
>
> On Mon, Nov 12, 2012 at 7:49 PM, Doug Vaughan <r.d.vaughan at rogers.com>
> wrote:
>>
>> Stephen,
>>     After a lengthy discussion with the bindings dev and after his own
>> testing, I had my Quality assurance team perform independent testing.
>> Attached are the results. The conclusion is that MythTV v0.26 does not have
>> a problem and it is suspected that your install may be out of date.
>>
>>     If you are using Gentoo please be aware that the ebuilds are still
>> using a pre-v0.26 release and you will need to manually update the ebuild to
>> get to  a v0.26+fixes install.
>>
>> I have been told that these tests were performed on an install that was
>> upgraded to MythTV v0.26 using agit compile from earlier today
>> (v0.25==>v0.26). The python deletion test was performed on both a v0.25
>> recording made before the upgrade and a v0.26 recording made obviously after
>> the upgrade. Both deletes worked.
>>
>> Please update your install and try again. I was told that it can take up
>> to 15 minutes before the backend will actually process the deletion of that
>> recording and the recording file. This attached test results included that
>> necessary wait times.
>>
> Hi Doug,
>
>
> Thanks to you and Mr CCB Washer.  I thought I was up to date but on closer
> inspection the mythbuntu packages I'm using are from 6th November (i.e. the
> day before what I guess is a relevant commit
> d988d0fc496b7ebfb5c5dedf1f3cc3f6607b030c.  According to launchpad the
> packages have not been built since then.  i've raised a question with
> Mythbuntu.
>
> Thanks for your help and all your work.
>
> Stephen


More information about the mythtv-users mailing list