Advertisement
Guest User

lossless cut log

a guest
Feb 22nd, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.96 KB | None | 0 0
  1. 2013-02-22 12:05:08,414 - INFO - Start loss less commercial cut of "/media/recordings/1737_20130220193000.mpg" at: Fri 22 Feb at 12:05:08
  2. 2013-02-22 12:05:08,414 - INFO -
  3. These are the variables and options to be used when performing a
  4. loss less cut of a MythTV recorded video:
  5.  
  6. Lossless Cut version: 0.2.2
  7.  
  8. MythTV recorded source video: "/media/recordings/1737_20130220193000.mpg"
  9.  
  10. The Log file location: "/tmp"
  11. The Log file: "/tmp/1737_20130220193000.log"
  12.  
  13. Move/Save path for mkv file: "/media/transcoded"
  14. Working directory path: "/tmp/lossless_cut"
  15.  
  16. Add metadata to mkv file: "True"
  17. Delete the mpg file: "False"
  18. Keep the log file: "True"
  19. Remove subtitles and
  20. secondary audio tracks: "False"
  21. Test the script dependencies: "False"
  22.  
  23. Movie metadata format: "%(title)s (%(releasedate)s)"
  24. TV Series metadata format: "%(series)s - S%(season_num)02dE%(episode_num)02d - %(episode)s"
  25.  
  26. Utilities for extracting subtitles:
  27. mythtvccextractor args: "--verbose -i "%(recordedfile)s""
  28. ccextractor args: "-teletext -datapid %(subid)s -tpage %(subpage)s --defaultcolor "#ffd700" -utf8 "%(recordedfile)s" -o "%(sub_filename)s""
  29.  
  30. Mythvidexport format args:
  31. Television: "Review/%TITLE% - S%SEASONPAD%E%EPISODEPAD% - %SUBTITLE%"
  32. Movie: "Review/%TITLE% (%YEAR%)"
  33. Generic: "Review/%TITLE%: %SUBTITLE%"
  34.  
  35. Concert Cuts format args:
  36. File export or move name: "False"
  37.  
  38.  
  39.  
  40. 2013-02-22 12:05:10,129 - INFO - mediainfo get video file details in XML format command:
  41. > mediainfo --Output=XML "/media/recordings/1737_20130220193000.mpg"
  42.  
  43. <?xml version="1.0" encoding="UTF-8"?>
  44. <Mediainfo version="0.7.61">
  45. <File>
  46. <track type="General">
  47. <ID>9403 (0x24BB)</ID>
  48. <Complete_name>/media/recordings/1737_20130220193000.mpg</Complete_name>
  49. <Format>MPEG-TS</Format>
  50. <File_size>2.17 GiB</File_size>
  51. <Duration>29mn 56s</Duration>
  52. <Overall_bit_rate_mode>Variable</Overall_bit_rate_mode>
  53. <Overall_bit_rate>10.4 Mbps</Overall_bit_rate>
  54. </track>
  55.  
  56. <track type="Video">
  57. <ID>2048 (0x800)</ID>
  58. <Menu_ID>1 (0x1)</Menu_ID>
  59. <Format>MPEG Video</Format>
  60. <Format_version>Version 2</Format_version>
  61. <Format_profile>Main@High</Format_profile>
  62. <Format_settings__BVOP>Yes</Format_settings__BVOP>
  63. <Format_settings__Matrix>Custom</Format_settings__Matrix>
  64. <Format_settings__GOP>Variable</Format_settings__GOP>
  65. <Codec_ID>2</Codec_ID>
  66. <Duration>29mn 56s</Duration>
  67. <Bit_rate_mode>Variable</Bit_rate_mode>
  68. <Bit_rate>9 471 Kbps</Bit_rate>
  69. <Maximum_bit_rate>20.0 Mbps</Maximum_bit_rate>
  70. <Width>1 920 pixels</Width>
  71. <Height>1 080 pixels</Height>
  72. <Display_aspect_ratio>16:9</Display_aspect_ratio>
  73. <Frame_rate>29.970 fps</Frame_rate>
  74. <Color_space>YUV</Color_space>
  75. <Chroma_subsampling>4:2:0</Chroma_subsampling>
  76. <Bit_depth>8 bits</Bit_depth>
  77. <Compression_mode>Lossy</Compression_mode>
  78. <Bits__Pixel_Frame_>0.152</Bits__Pixel_Frame_>
  79. <Stream_size>1.98 GiB (91%)</Stream_size>
  80. </track>
  81.  
  82. <track type="Audio">
  83. <ID>2049 (0x801)</ID>
  84. <Menu_ID>1 (0x1)</Menu_ID>
  85. <Format>AC-3</Format>
  86. <Format_Info>Audio Coding 3</Format_Info>
  87. <Mode_extension>CM (complete main)</Mode_extension>
  88. <Format_settings__Endianness>Big</Format_settings__Endianness>
  89. <Codec_ID>129</Codec_ID>
  90. <Duration>29mn 56s</Duration>
  91. <Bit_rate_mode>Constant</Bit_rate_mode>
  92. <Bit_rate>384 Kbps</Bit_rate>
  93. <Channel_s_>6 channels</Channel_s_>
  94. <Channel_positions>Front: L C R, Side: L R, LFE</Channel_positions>
  95. <Sampling_rate>48.0 KHz</Sampling_rate>
  96. <Bit_depth>16 bits</Bit_depth>
  97. <Compression_mode>Lossy</Compression_mode>
  98. <Delay_relative_to_video>-424ms</Delay_relative_to_video>
  99. <Stream_size>82.2 MiB (4%)</Stream_size>
  100. <Language>English</Language>
  101. </track>
  102.  
  103. <track type="Text" streamid="1">
  104. <ID>2048 (0x800)-CC1</ID>
  105. <Menu_ID>1 (0x1)</Menu_ID>
  106. <Format>EIA-608</Format>
  107. <Muxing_mode>A/53 / DTVCC Transport</Muxing_mode>
  108. <Muxing_mode__more_info>Muxed in Video #1</Muxing_mode__more_info>
  109. <Duration>29mn 56s</Duration>
  110. <Bit_rate_mode>Constant</Bit_rate_mode>
  111. <Stream_size>0.00 Byte (0%)</Stream_size>
  112. </track>
  113.  
  114. <track type="Text" streamid="2">
  115. <ID>2048 (0x800)-1</ID>
  116. <Menu_ID>1 (0x1)</Menu_ID>
  117. <Format>EIA-708</Format>
  118. <Muxing_mode>A/53 / DTVCC Transport</Muxing_mode>
  119. <Muxing_mode__more_info>Muxed in Video #1</Muxing_mode__more_info>
  120. <Duration>29mn 56s</Duration>
  121. <Bit_rate_mode>Constant</Bit_rate_mode>
  122. <Stream_size>0.00 Byte (0%)</Stream_size>
  123. </track>
  124.  
  125. <track type="Text" streamid="3">
  126. <ID>2048 (0x800)-2</ID>
  127. <Menu_ID>1 (0x1)</Menu_ID>
  128. <Format>EIA-708</Format>
  129. <Muxing_mode>A/53 / DTVCC Transport</Muxing_mode>
  130. <Muxing_mode__more_info>Muxed in Video #1</Muxing_mode__more_info>
  131. <Duration>29mn 56s</Duration>
  132. <Bit_rate_mode>Constant</Bit_rate_mode>
  133. <Stream_size>0.00 Byte (0%)</Stream_size>
  134. </track>
  135.  
  136. <track type="Menu">
  137. <ID>49 (0x31)</ID>
  138. <Menu_ID>1 (0x1)</Menu_ID>
  139. <Duration>29mn 56s</Duration>
  140. <List>2048 (0x800) (MPEG Video) / 2049 (0x801) (AC-3, English)</List>
  141. <Language> / English</Language>
  142. </track>
  143.  
  144. </File>
  145. </Mediainfo>
  146.  
  147.  
  148.  
  149. 2013-02-22 12:05:51,021 - INFO - Falling back to generic export.
  150. 2013-02-22 12:05:51,155 - INFO -
  151. Cutlist:
  152. Original: ([(10804, 12610), (13358, 14258), (23071, 26575), (27336, 28237), (35325, 35776), (37948, 39747)])
  153. Inclusive: ([(0, 10804), (12610, 13358), (14258, 23071), (26575, 27336), (28237, 35325), (35776, 37948), (39747, 9999999)])
  154. Keyframe adjusted: ([[39.0, 10819.0], [12621.0, 13358.0], [14260.0, 23073.0], [26574.0, 27338.0], [28238.0, 35333.0], [35775.0, 37948.0], [39748.0, 9999997.0]])
  155.  
  156. 2013-02-22 12:05:51,155 - INFO - The following metadata has been found for this recorded video:
  157. Internet Reference number: None
  158. Title: "Elbow Room", Subtitle: "Entertaining Dream Kitchen"
  159. Series number: None, Episode number: None
  160. Release date: 2012
  161. Description: "An outdated kitchen is overhauled to accommodate the lifestyle of the homeowners."
  162.  
  163. MKV metadata tite: "Elbow Room: Entertaining Dream Kitchen"
  164. Export filename format: "Review/%TITLE%: %SUBTITLE%"
  165.  
  166. 2013-02-22 12:05:51,161 - INFO -
  167. Recorded video file information:
  168. Frames per second (FPS): 29.970
  169. WidthxHeight in pixels: 1920x1080
  170.  
  171. Cut list:
  172. Original: ([(10804, 12610), (13358, 14258), (23071, 26575), (27336, 28237), (35325, 35776), (37948, 39747)])
  173. Inclusive: ([(0, 10804), (12610, 13358), (14258, 23071), (26575, 27336), (28237, 35325), (35776, 37948), (39747, 9999999)])
  174. Keyframe adjusted: ([[39.0, 10819.0], [12621.0, 13358.0], [14260.0, 23073.0], [26574.0, 27338.0], [28238.0, 35333.0], [35775.0, 37948.0], [39748.0, 9999997.0]])
  175.  
  176. Recording device:
  177. Name: ""
  178. Card type: "CETON"
  179. Default Input: "Television"
  180. Video Device: "192.168.180.1-RTP.3"
  181. Audio Device: "None"
  182. Host name: "Opti745"
  183.  
  184. Track totals:
  185. 1 Video track(s)
  186. 1 Audio track(s)
  187. 3 Subtitle track(s)
  188.  
  189. Video track details:
  190. Format: MPEG Video
  191. Format version: Version 2
  192. Bit rate mode: Variable
  193. Bit rate: 9 471 Kbps
  194. Maximum bit rate: 20.0 Mbps
  195. Display aspect ratio: 16:9
  196. Frame rate: 29.970 fps
  197. Color space: YUV
  198. Chroma subsampling: 4:2:0
  199. Bit depth: 8 bits
  200. Compression mode: Lossy
  201. Width: 1 920 pixels
  202. Height: 1 080 pixels
  203.  
  204. Audio track details:
  205. Format: AC-3
  206. Codec ID: 129
  207. Bit rate mode: Constant
  208. Bit rate: 384 Kbps
  209. Channel s: 6 channels
  210. Sampling rate: 48.0 KHz
  211. Compression mode: Lossy
  212. Delay relative to video: -424ms
  213. Language: English
  214.  
  215. Subtitle track details:
  216. Format: EIA-608
  217.  
  218. Format: EIA-708
  219.  
  220. Format: EIA-708
  221.  
  222.  
  223. 2013-02-22 12:05:51,179 - INFO - 'ISO639-2 language code file was last updated on Downloaded on Thursday Sept, 13th 2012 contains 486 language codes
  224. 2013-02-22 12:05:51,183 - INFO -
  225. Recorded file:
  226. Channel ID: 1737
  227. Start time: 2013-02-20 13:30:00-06:00
  228.  
  229. 2013-02-22 12:06:08,959 - INFO - CCExtractor command:
  230. > /usr/share/lossless_cut/subtitle/ccextractor64bit -teletext -datapid 2048 -tpage CC1 --defaultcolor "#ffd700" -utf8 "/media/recordings/1737_20130220193000.mpg" -o "/tmp/lossless_cut/1737_20130220193000_000.srt" -noteletext
  231.  
  232. CCExtractor 0.64, Carlos Fernandez Sanz, Volker Quetschke.
  233. Teletext portions taken from Petr Kutalek's telxcc
  234. --------------------------------------------------------------------------
  235. Input: /media/recordings/1737_20130220193000.mpg
  236. [Raw Mode: Broadcast] [Extract: 1] [Stream mode: Autodetect]
  237. [Program : Auto ] [Hauppage mode: No] [Use MythTV code: Auto]
  238. [Timing mode: Auto] [Debug: No] [Buffer input: No]
  239. [Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No]
  240. [Target format: .srt] [Encoding: UTF-8] [Delay: 0] [Trim lines: No]
  241. [Add font color data: Yes] [Add font typesetting: Yes]
  242. [Convert case: No] [Video-edit join: No]
  243. [Extraction start time: not set (from start)]
  244. [Extraction end time: not set (to end)]
  245. [Live stream: No] [Clock frequency: 90000]
  246. Teletext page: Autodetect]
  247. Start credits text: [None]
  248. Creating /tmp/lossless_cut/1737_20130220193000_000.srt
  249.  
  250.  
  251. -----------------------------------------------------------------
  252.  
  253. Opening file: /media/recordings/1737_20130220193000.mpg
  254.  
  255. File seems to be a transport stream, enabling TS mode
  256.  
  257. Analyzing data in general mode
  258.  
  259. New PID found: 2048
  260.  
  261. New PID found: 2049
  262.  
  263.  
  264. New video information found
  265. [1920 * 1080] [AR: 03 - 16:9] [FR: 04 - 29.97] [progressive: no]
  266.  
  267.  
  268. 0% | 00:00
  269. 1% | 00:15
  270. 2% | 00:32
  271. 3% | 00:49
  272. 4% | 01:04TS continuity counter not incremented prev/curr 15/7
  273.  
  274. 5% | 01:15
  275. 6% | 01:27
  276. 7% | 01:41
  277. 8% | 01:55
  278. 9% | 02:09
  279. 10% | 02:24
  280. 11% | 02:38
  281. 12% | 02:53
  282. 13% | 03:11TS continuity counter not incremented prev/curr 1/10
  283. TS continuity counter not incremented prev/curr 0/8
  284.  
  285. 14% | 03:33TS continuity counter not incremented prev/curr 4/3
  286. TS continuity counter not incremented prev/curr 6/8
  287. TS continuity counter not incremented prev/curr 5/2
  288.  
  289. 15% | 03:54
  290. 16% | 04:16
  291. 17% | 04:34
  292. 18% | 04:57
  293. 19% | 05:17
  294. 20% | 05:39
  295. 21% | 05:58
  296. 22% | 06:16
  297. 23% | 06:37TS continuity counter not incremented prev/curr 6/11
  298.  
  299. 24% | 07:01
  300. 25% | 07:18
  301. 26% | 07:38
  302. 27% | 08:04
  303. 28% | 08:23TS continuity counter not incremented prev/curr 11/14
  304.  
  305. 29% | 08:48TS continuity counter not incremented prev/curr 13/1
  306. TS continuity counter not incremented prev/curr 6/10
  307. TS continuity counter not incremented prev/curr 9/11
  308. TS continuity counter not incremented prev/curr 15/14
  309.  
  310. 30% | 09:08
  311. 31% | 09:26
  312. 32% | 09:42
  313. 33% | 09:55
  314. 34% | 10:11
  315. 35% | 10:26
  316. 36% | 10:44
  317. 37% | 11:00
  318. 38% | 11:19
  319. 39% | 11:32
  320. 40% | 11:49
  321. 41% | 12:07
  322. 42% | 12:28
  323. 43% | 12:50TS continuity counter not incremented prev/curr 9/0
  324.  
  325. 44% | 13:06
  326. 45% | 13:21
  327. 46% | 13:40TS continuity counter not incremented prev/curr 4/3
  328.  
  329. 47% | 14:04TS continuity counter not incremented prev/curr 5/9
  330. TS continuity counter not incremented prev/curr 2/6
  331.  
  332. 48% | 14:28
  333. New PID found: 2050
  334.  
  335. 49% | 14:49
  336. Skip forward to the next Sequence or GOP start.
  337.  
  338. 50% | 15:06
  339. 51% | 15:22
  340. Skip forward to the next Sequence or GOP start.
  341.  
  342. 52% | 15:40
  343. 53% | 15:56
  344. Skip forward to the next Sequence or GOP start.
  345.  
  346. 54% | 16:18
  347. 55% | 16:35
  348. 56% | 16:58
  349. 57% | 17:18
  350. 58% | 17:41
  351. 59% | 18:00
  352. 60% | 18:20
  353. 61% | 18:43
  354. 62% | 19:03
  355. 63% | 19:21TS continuity counter not incremented prev/curr 1/9
  356. TS continuity counter not incremented prev/curr 9/0
  357.  
  358. 64% | 19:39
  359. 65% | 19:59
  360. 66% | 20:15
  361. 67% | 20:35
  362. 68% | 20:50TS continuity counter not incremented prev/curr 10/15
  363.  
  364. 69% | 21:05
  365. 70% | 21:19
  366. 71% | 21:37
  367. 72% | 21:54
  368. 73% | 22:10
  369. 74% | 22:30
  370. 75% | 22:48
  371. 76% | 23:04
  372. 77% | 23:18
  373. 78% | 23:33TS continuity counter not incremented prev/curr 3/5
  374.  
  375. 79% | 23:51
  376. 80% | 24:11
  377. 81% | 24:28TS continuity counter not incremented prev/curr 14/5
  378. TS continuity counter not incremented prev/curr 7/9
  379. TS continuity counter not incremented prev/curr 7/9
  380. TS continuity counter not incremented prev/curr 9/0
  381. TS continuity counter not incremented prev/curr 13/4
  382. TS continuity counter not incremented prev/curr 3/14
  383. TS continuity counter not incremented prev/curr 0/13
  384. TS continuity counter not incremented prev/curr 2/5
  385.  
  386. 82% | 24:40TS continuity counter not incremented prev/curr 7/6
  387. TS continuity counter not incremented prev/curr 15/4
  388. TS continuity counter not incremented prev/curr 10/14
  389. TS continuity counter not incremented prev/curr 14/8
  390. TS continuity counter not incremented prev/curr 8/12
  391.  
  392. 83% | 24:50TS continuity counter not incremented prev/curr 0/6
  393.  
  394. 84% | 25:02
  395. 85% | 25:21
  396. 86% | 25:39
  397. 87% | 25:59
  398. 88% | 26:16
  399. 89% | 26:35
  400. 90% | 26:57
  401. 91% | 27:14
  402. 92% | 27:33
  403. 93% | 27:50
  404. 94% | 28:10
  405. 95% | 28:31
  406. 96% | 28:49
  407. 97% | 29:08
  408. 98% | 29:24
  409. 99% | 29:37TS continuity counter not incremented prev/curr 1/12
  410. TS continuity counter not incremented prev/curr 13/11
  411. TS continuity counter not incremented prev/curr 4/8
  412. TS continuity counter not incremented prev/curr 14/1
  413.  
  414. 100% | 29:54
  415. Number of NAL_type_7: 0
  416. Number of VCL_HRD: 0
  417. Number of NAL HRD: 0
  418. Number of jump-in-frames: 0
  419. Number of num_unexpected_sei_length: 0
  420.  
  421. CC type 0: 52042 (NTSC line 21 field 1 closed captions)
  422. CC type 1: 52043 (NTSC line 21 field 2 closed captions)
  423. CC type 2: 33561 (DTVCC Channel Packet Data)
  424. CC type 3: 8278 (DTVCC Channel Packet Start)
  425.  
  426. Total frames time: 00:29:56:561 (53843 frames at 29.97fps)
  427. incl. pulldown frames: 00:04:14:320 (7622 frames at 29.97fps)
  428.  
  429. Min PTS: -00:09:38:600
  430. Max PTS: 00:20:16:258
  431. Length: 00:29:54:858
  432.  
  433. Initial GOP time: 00:00:00:000
  434. Final GOP time: 00:00:29:533+32F
  435. Diff. GOP length: 00:00:29:533+32F (00:00:30:600)
  436.  
  437. Total user data fields: 46221
  438. HDTV type user data fields: 46221
  439.  
  440. Done, processing time = 17 seconds
  441. Performance (real length/process time) = 5648.41
  442. This is beta software. Report issues to cfsmp3 at gmail...
  443.  
  444.  
  445. 2013-02-22 12:06:09,033 - INFO - CCExtractor command:
  446. > /usr/share/lossless_cut/subtitle/ccextractor64bit -teletext -datapid 2048 -tpage 1 --defaultcolor "#ffd700" -utf8 "/media/recordings/1737_20130220193000.mpg" -o "/tmp/lossless_cut/1737_20130220193000_001.srt" -noteletext
  447.  
  448.  
  449. Error: Teletext page number could not be lower than 100 or higher than 899
  450.  
  451.  
  452.  
  453. 2013-02-22 12:06:09,033 - INFO - CCExtractor could not extract a subtitle track.
  454. ID 2048 (0x800)-1, language "Unknown 2", Format "EIA-708"
  455. Commandline options: "-teletext -datapid 2048 -tpage 1 --defaultcolor "#ffd700" -utf8 "/media/recordings/1737_20130220193000.mpg" -o "/tmp/lossless_cut/1737_20130220193000_001.srt" -noteletext"
  456.  
  457. Error: Teletext page number could not be lower than 100 or higher than 899
  458.  
  459.  
  460. 2013-02-22 12:06:09,039 - INFO - CCExtractor command:
  461. > /usr/share/lossless_cut/subtitle/ccextractor64bit -teletext -datapid 2048 -tpage 2 --defaultcolor "#ffd700" -utf8 "/media/recordings/1737_20130220193000.mpg" -o "/tmp/lossless_cut/1737_20130220193000_002.srt" -noteletext
  462.  
  463.  
  464. Error: Teletext page number could not be lower than 100 or higher than 899
  465.  
  466.  
  467.  
  468. 2013-02-22 12:06:09,040 - INFO - CCExtractor could not extract a subtitle track.
  469. ID 2048 (0x800)-2, language "Unknown 3", Format "EIA-708"
  470. Commandline options: "-teletext -datapid 2048 -tpage 2 --defaultcolor "#ffd700" -utf8 "/media/recordings/1737_20130220193000.mpg" -o "/tmp/lossless_cut/1737_20130220193000_002.srt" -noteletext"
  471.  
  472. Error: Teletext page number could not be lower than 100 or higher than 899
  473.  
  474.  
  475. 2013-02-22 12:06:09,041 - INFO - 'No matching ISO639-2 language code was found for "Unknown 3" subtitle will default to "unknown".
  476. 2013-02-22 12:08:00,847 - INFO - mkvmerge add subtitle track(s) command:
  477. > mkvmerge -o "/tmp/lossless_cut/1737_20130220193000_tmp.mkv" "/media/recordings/1737_20130220193000.mpg" "/tmp/lossless_cut/1737_20130220193000_000.srt"
  478.  
  479. mkvmerge v6.0.0 ('Coming Up For Air') built on Jan 20 2013 10:36:39
  480. '/media/recordings/1737_20130220193000.mpg': Using the demultiplexer for the format 'MPEG transport stream'.
  481. '/tmp/lossless_cut/1737_20130220193000_000.srt': Using the demultiplexer for the format 'SRT subtitles'.
  482. '/media/recordings/1737_20130220193000.mpg' track 0: Using the output module for the format 'MPEG-1/2'.
  483. '/media/recordings/1737_20130220193000.mpg' track 1: Using the output module for the format 'AC3'.
  484. '/tmp/lossless_cut/1737_20130220193000_000.srt' track 0: Using the output module for the format 'text subtitles'.
  485. The file '/tmp/lossless_cut/1737_20130220193000_tmp.mkv' has been opened for writing.
  486. Progress: 0%
  487. Progress: 1%
  488. Progress: 2%
  489. Progress: 3%
  490. Progress: 4%
  491. Progress: 5%
  492. Progress: 6%
  493. Progress: 7%
  494. Progress: 8%
  495. Progress: 9%
  496. Progress: 10%
  497. Progress: 11%
  498. Progress: 12%
  499. Progress: 13%
  500. Progress: 14%
  501. Progress: 15%
  502. Progress: 16%
  503. Progress: 17%
  504. Progress: 18%
  505. Progress: 19%
  506. Progress: 20%
  507. Progress: 21%
  508. Progress: 22%
  509. Progress: 23%
  510. Progress: 24%
  511. Progress: 25%
  512. Progress: 26%
  513. Progress: 27%
  514. Progress: 28%
  515. Progress: 100%
  516. Progress: 100%
  517. The cue entries (the index) are being written...
  518. Muxing took 1 minute 49 seconds.
  519.  
  520.  
  521. 2013-02-22 12:08:05,086 - INFO - mediainfo get video file details in XML format command:
  522. > mediainfo --Output=XML "/media/recordings/1737_20130220193000.mpg"
  523.  
  524. <?xml version="1.0" encoding="UTF-8"?>
  525. <Mediainfo version="0.7.61">
  526. <File>
  527. <track type="General">
  528. <ID>9403 (0x24BB)</ID>
  529. <Complete_name>/media/recordings/1737_20130220193000.mpg</Complete_name>
  530. <Format>MPEG-TS</Format>
  531. <File_size>2.17 GiB</File_size>
  532. <Duration>29mn 56s</Duration>
  533. <Overall_bit_rate_mode>Variable</Overall_bit_rate_mode>
  534. <Overall_bit_rate>10.4 Mbps</Overall_bit_rate>
  535. </track>
  536.  
  537. <track type="Video">
  538. <ID>2048 (0x800)</ID>
  539. <Menu_ID>1 (0x1)</Menu_ID>
  540. <Format>MPEG Video</Format>
  541. <Format_version>Version 2</Format_version>
  542. <Format_profile>Main@High</Format_profile>
  543. <Format_settings__BVOP>Yes</Format_settings__BVOP>
  544. <Format_settings__Matrix>Custom</Format_settings__Matrix>
  545. <Format_settings__GOP>Variable</Format_settings__GOP>
  546. <Codec_ID>2</Codec_ID>
  547. <Duration>29mn 56s</Duration>
  548. <Bit_rate_mode>Variable</Bit_rate_mode>
  549. <Bit_rate>9 471 Kbps</Bit_rate>
  550. <Maximum_bit_rate>20.0 Mbps</Maximum_bit_rate>
  551. <Width>1 920 pixels</Width>
  552. <Height>1 080 pixels</Height>
  553. <Display_aspect_ratio>16:9</Display_aspect_ratio>
  554. <Frame_rate>29.970 fps</Frame_rate>
  555. <Color_space>YUV</Color_space>
  556. <Chroma_subsampling>4:2:0</Chroma_subsampling>
  557. <Bit_depth>8 bits</Bit_depth>
  558. <Compression_mode>Lossy</Compression_mode>
  559. <Bits__Pixel_Frame_>0.152</Bits__Pixel_Frame_>
  560. <Stream_size>1.98 GiB (91%)</Stream_size>
  561. </track>
  562.  
  563. <track type="Audio">
  564. <ID>2049 (0x801)</ID>
  565. <Menu_ID>1 (0x1)</Menu_ID>
  566. <Format>AC-3</Format>
  567. <Format_Info>Audio Coding 3</Format_Info>
  568. <Mode_extension>CM (complete main)</Mode_extension>
  569. <Format_settings__Endianness>Big</Format_settings__Endianness>
  570. <Codec_ID>129</Codec_ID>
  571. <Duration>29mn 56s</Duration>
  572. <Bit_rate_mode>Constant</Bit_rate_mode>
  573. <Bit_rate>384 Kbps</Bit_rate>
  574. <Channel_s_>6 channels</Channel_s_>
  575. <Channel_positions>Front: L C R, Side: L R, LFE</Channel_positions>
  576. <Sampling_rate>48.0 KHz</Sampling_rate>
  577. <Bit_depth>16 bits</Bit_depth>
  578. <Compression_mode>Lossy</Compression_mode>
  579. <Delay_relative_to_video>-424ms</Delay_relative_to_video>
  580. <Stream_size>82.2 MiB (4%)</Stream_size>
  581. <Language>English</Language>
  582. </track>
  583.  
  584. <track type="Text" streamid="1">
  585. <ID>2048 (0x800)-CC1</ID>
  586. <Menu_ID>1 (0x1)</Menu_ID>
  587. <Format>EIA-608</Format>
  588. <Muxing_mode>A/53 / DTVCC Transport</Muxing_mode>
  589. <Muxing_mode__more_info>Muxed in Video #1</Muxing_mode__more_info>
  590. <Duration>29mn 56s</Duration>
  591. <Bit_rate_mode>Constant</Bit_rate_mode>
  592. <Stream_size>0.00 Byte (0%)</Stream_size>
  593. </track>
  594.  
  595. <track type="Text" streamid="2">
  596. <ID>2048 (0x800)-1</ID>
  597. <Menu_ID>1 (0x1)</Menu_ID>
  598. <Format>EIA-708</Format>
  599. <Muxing_mode>A/53 / DTVCC Transport</Muxing_mode>
  600. <Muxing_mode__more_info>Muxed in Video #1</Muxing_mode__more_info>
  601. <Duration>29mn 56s</Duration>
  602. <Bit_rate_mode>Constant</Bit_rate_mode>
  603. <Stream_size>0.00 Byte (0%)</Stream_size>
  604. </track>
  605.  
  606. <track type="Text" streamid="3">
  607. <ID>2048 (0x800)-2</ID>
  608. <Menu_ID>1 (0x1)</Menu_ID>
  609. <Format>EIA-708</Format>
  610. <Muxing_mode>A/53 / DTVCC Transport</Muxing_mode>
  611. <Muxing_mode__more_info>Muxed in Video #1</Muxing_mode__more_info>
  612. <Duration>29mn 56s</Duration>
  613. <Bit_rate_mode>Constant</Bit_rate_mode>
  614. <Stream_size>0.00 Byte (0%)</Stream_size>
  615. </track>
  616.  
  617. <track type="Menu">
  618. <ID>49 (0x31)</ID>
  619. <Menu_ID>1 (0x1)</Menu_ID>
  620. <Duration>29mn 56s</Duration>
  621. <List>2048 (0x800) (MPEG Video) / 2049 (0x801) (AC-3, English)</List>
  622. <Language> / English</Language>
  623. </track>
  624.  
  625. </File>
  626. </Mediainfo>
  627.  
  628.  
  629.  
  630. 2013-02-22 12:08:07,898 - INFO - mkvmerge get total tracks command:
  631. > mkvmerge --identify "/tmp/lossless_cut/1737_20130220193000_tmp.mkv"
  632.  
  633. File '/tmp/lossless_cut/1737_20130220193000_tmp.mkv': container: Matroska
  634. Track ID 0: video (V_MPEG2)
  635. Track ID 1: audio (A_AC3)
  636. Track ID 2: subtitles (S_TEXT/UTF8)
  637.  
  638.  
  639. 2013-02-22 12:08:07,898 - INFO - Cut timestamps: 00:00:01.301301301-00:06:00.994327661,00:07:01.121121121-00:07:25.712379046,00:07:55.809142476-00:12:49.869869870,00:14:46.686686687-00:15:12.178845512,00:15:42.208875542-00:19:38.945612279,00:19:53.693693694-00:21:06.199532866,00:22:06.259592926-20:41:06.900233567
  640.  
  641. 2013-02-22 12:08:41,491 - INFO - mkvmerge perform cuts command:
  642. > mkvmerge -o "/tmp/lossless_cut/1737_20130220193000-%04d.mkv" --split parts:00:00:01.301301301-00:06:00.994327661,00:07:01.121121121-00:07:25.712379046,00:07:55.809142476-00:12:49.869869870,00:14:46.686686687-00:15:12.178845512,00:15:42.208875542-00:19:38.945612279,00:19:53.693693694-00:21:06.199532866,00:22:06.259592926-20:41:06.900233567 "/tmp/lossless_cut/1737_20130220193000_tmp.mkv"
  643. mkvmerge v6.0.0 ('Coming Up For Air') built on Jan 20 2013 10:36:39
  644. '/tmp/lossless_cut/1737_20130220193000_tmp.mkv': Using the demultiplexer for the format 'Matroska'.
  645. '/tmp/lossless_cut/1737_20130220193000_tmp.mkv' track 0: Using the output module for the format 'MPEG-1/2'.
  646. '/tmp/lossless_cut/1737_20130220193000_tmp.mkv' track 1: Using the output module for the format 'AC3'.
  647. '/tmp/lossless_cut/1737_20130220193000_tmp.mkv' track 2: Using the output module for the format 'text subtitles'.
  648. Progress: 0%
  649. The file '/tmp/lossless_cut/1737_20130220193000-0001.mkv' has been opened for writing.
  650.  
  651. The cue entries (the index) are being written...
  652. The file '/tmp/lossless_cut/1737_20130220193000-0002.mkv' has been opened for writing.
  653.  
  654. The cue entries (the index) are being written...
  655. The file '/tmp/lossless_cut/1737_20130220193000-0003.mkv' has been opened for writing.
  656. Progress: 1%
  657. Progress: 100%
  658. The cue entries (the index) are being written...
  659. Muxing took 33 seconds.
  660.  
  661.  
  662. 2013-02-22 12:08:41,492 - INFO -
  663. Appendto list: '1:0:0:0,1:1:0:1,1:2:0:2,2:0:1:0,2:1:1:1,2:2:1:2'
  664. Merge list: '"/tmp/lossless_cut/1737_20130220193000-0001.mkv" +"/tmp/lossless_cut/1737_20130220193000-0002.mkv" +"/tmp/lossless_cut/1737_20130220193000-0003.mkv"'
  665.  
  666. MKV metadata (only used if add metadata is "true"):
  667. Program title: "Elbow Room: Entertaining Dream Kitchen - Fri 22 Feb at 12:08:06"
  668. Program description: "An outdated kitchen is overhauled to accommodate the lifestyle of the homeowners."
  669.  
  670. 2013-02-22 12:08:46,747 - INFO - mkvmerge create final mkv video file command:
  671. > mkvmerge -o "/media/transcoded/Elbow Room: Entertaining Dream Kitchen - Fri 22 Feb at 12:08:06.mkv" --title "Elbow Room: Entertaining Dream Kitchen - Fri 22 Feb at 12:08:06" --attachment-description "An outdated kitchen is overhauled to accommodate the lifestyle of the homeowners." --append-mode track "/tmp/lossless_cut/1737_20130220193000-0001.mkv" +"/tmp/lossless_cut/1737_20130220193000-0002.mkv" +"/tmp/lossless_cut/1737_20130220193000-0003.mkv" --append-to 1:0:0:0,1:1:0:1,1:2:0:2,2:0:1:0,2:1:1:1,2:2:1:2
  672.  
  673. mkvmerge v6.0.0 ('Coming Up For Air') built on Jan 20 2013 10:36:39
  674. '/tmp/lossless_cut/1737_20130220193000-0001.mkv': Using the demultiplexer for the format 'Matroska'.
  675. '/tmp/lossless_cut/1737_20130220193000-0002.mkv': Using the demultiplexer for the format 'Matroska'.
  676. '/tmp/lossless_cut/1737_20130220193000-0003.mkv': Using the demultiplexer for the format 'Matroska'.
  677. '/tmp/lossless_cut/1737_20130220193000-0001.mkv' track 0: Using the output module for the format 'MPEG-1/2'.
  678. '/tmp/lossless_cut/1737_20130220193000-0001.mkv' track 1: Using the output module for the format 'AC3'.
  679. '/tmp/lossless_cut/1737_20130220193000-0001.mkv' track 2: Using the output module for the format 'text subtitles'.
  680. '/tmp/lossless_cut/1737_20130220193000-0002.mkv' track 0: Using the output module for the format 'MPEG-1/2'.
  681. '/tmp/lossless_cut/1737_20130220193000-0002.mkv' track 1: Using the output module for the format 'AC3'.
  682. '/tmp/lossless_cut/1737_20130220193000-0002.mkv' track 2: Using the output module for the format 'text subtitles'.
  683. '/tmp/lossless_cut/1737_20130220193000-0003.mkv' track 0: Using the output module for the format 'MPEG-1/2'.
  684. '/tmp/lossless_cut/1737_20130220193000-0003.mkv' track 1: Using the output module for the format 'AC3'.
  685. '/tmp/lossless_cut/1737_20130220193000-0003.mkv' track 2: Using the output module for the format 'text subtitles'.
  686. The file '/media/transcoded/Elbow Room: Entertaining Dream Kitchen - Fri 22 Feb at 12:08:06.mkv' has been opened for writing.
  687. Progress: 0%
  688. Progress: 4%
  689. Progress: 7%
  690. Progress: 11%
  691. Progress: 15%
  692. Progress: 20%
  693. Progress: 25%
  694. Progress: 30%
  695. Appending track 2 from file no. 1 ('/tmp/lossless_cut/1737_20130220193000-0002.mkv') to track 2 from file no. 0 ('/tmp/lossless_cut/1737_20130220193000-0001.mkv').
  696. Appending track 0 from file no. 1 ('/tmp/lossless_cut/1737_20130220193000-0002.mkv') to track 0 from file no. 0 ('/tmp/lossless_cut/1737_20130220193000-0001.mkv').
  697. Appending track 1 from file no. 1 ('/tmp/lossless_cut/1737_20130220193000-0002.mkv') to track 1 from file no. 0 ('/tmp/lossless_cut/1737_20130220193000-0001.mkv').
  698. Progress: 54%
  699. Appending track 2 from file no. 2 ('/tmp/lossless_cut/1737_20130220193000-0003.mkv') to track 2 from file no. 1 ('/tmp/lossless_cut/1737_20130220193000-0002.mkv').
  700. Appending track 0 from file no. 2 ('/tmp/lossless_cut/1737_20130220193000-0003.mkv') to track 0 from file no. 1 ('/tmp/lossless_cut/1737_20130220193000-0002.mkv').
  701. Appending track 1 from file no. 2 ('/tmp/lossless_cut/1737_20130220193000-0003.mkv') to track 1 from file no. 1 ('/tmp/lossless_cut/1737_20130220193000-0002.mkv').
  702. Progress: 66%
  703. Progress: 100%
  704. The cue entries (the index) are being written...
  705. Muxing took 5 seconds.
  706.  
  707.  
  708. 2013-02-22 12:08:46,997 - INFO - End of loss less commercial cut for "/media/recordings/1737_20130220193000.mpg" at: Fri 22 Feb at 12:08:46
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement