[mythtv-users] ProcessPAT: Program not found in PAT. Desired program # not found in PAT
Jason Zarin
jason at zarin.org
Sun Feb 7 06:07:40 UTC 2016
Running a broken recording through handbrake did recover the sound, but it
was no longer in sync after the "glitch point."
HandBrakeCLI -i /var/lib/mythtv/recordings/1231_20160205172900.mpg -o moo
Output format can't be guessed from file name (moo), using default.
[13:12:54] hb_init: starting libhb thread
HandBrake 0.10.3 (2016012400) - Linux x86_64 - https://handbrake.fr
4 CPUs detected
Opening /var/lib/mythtv/recordings/1231_20160205172900.mpg...
[13:12:54] CPU:
[13:12:54] - logical processor count: 4
[13:12:54] OpenCL: library not available
[13:12:54] hb_scan:
path=/var/lib/mythtv/recordings/1231_20160205172900.mpg, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening
/var/lib/mythtv/recordings/1231_20160205172900.mpg/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening
/var/lib/mythtv/recordings/1231_20160205172900.mpg/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182:
nav_get_title_list(/var/lib/mythtv/recordings/1231_20160205172900.mpg)
failed
[13:12:54] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[13:12:54] dvd: not a dvd - trying as a stream/file instead
[13:12:54] file is MPEG Transport Stream with 188 byte packets offset 0
bytes
[13:12:54] Found the following PIDS
[13:12:54] Video PIDS :
[13:12:54] 0x411 type MPEG2 (0x2) (PCR)
[13:12:54] Audio PIDS :
[13:12:54] 0x412 type AC3 (0x81)
[13:12:54] Subtitle PIDS :
[13:12:54] Other PIDS :
[13:12:54] stream id 0x412 (type 0x81 substream 0x0) audio 0x412
[13:12:54] scan: decoding previews for title 1
[13:12:54] file is MPEG Transport Stream with 188 byte packets offset 0
bytes
[13:12:54] scan: audio 0x412: ac3, rate=48000Hz, bitrate=192000 Unknown
(AC3) (2.0 ch)
Scanning title 1 of 1, preview 7, 70.00 %[13:12:55] stream: 21 good frames,
0 errors (0%)
[13:12:55] scan: 10 previews, 1920x1080, 29.970 fps, autocrop = 12/0/0/0,
aspect 16:9, PAR 1:1
[13:12:55] libhb: scan thread found 1 valid title(s)
+ title 1:
+ stream: /var/lib/mythtv/recordings/1231_20160205172900.mpg
+ duration: 00:30:07
+ size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 29.970 fps
+ autocrop: 12/0/0/0
+ support opencl: no
+ support hwd: not built-in
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:30:07
+ audio tracks:
+ 1, Unknown (AC3) (2.0 ch) (iso639-2: und), 48000Hz, 192000bps
+ subtitle tracks:
+ 1, Closed Captions (iso639-2: und) (Text)(CC)
[13:12:55] 1 job(s) to process
[13:12:55] starting job
[13:12:55] work: mixdown not specified, track 1 setting mixdown Stereo
[13:12:55] work: bitrate not specified, track 1 setting bitrate 160 Kbps
[13:12:55] sync: expecting 54176 video frames
[13:12:55] job configuration:
[13:12:55] * source
[13:12:55] + /var/lib/mythtv/recordings/1231_20160205172900.mpg
[13:12:55] + title 1, chapter(s) 1 to 1
[13:12:55] * destination
[13:12:55] + moo
[13:12:55] + container: MPEG-4 (libavformat)
[13:12:55] * video track
[13:12:55] + decoder: mpeg2video
[13:12:55] + bitrate 13500 kbps
[13:12:55] + filters
[13:12:55] + Framerate Shaper (0:27000000:900900)
[13:12:55] + frame rate: same as source (around 29.970 fps)
[13:12:55] + Crop and Scale (1920:1068:12:0:0:0)
[13:12:55] + source: 1920 * 1080, crop (12/0/0/0): 1920 * 1068,
scale: 1920 * 1068
[13:12:55] + dimensions: 1920 * 1068, mod 0
[13:12:55] + encoder: MPEG-4 (libavcodec)
[13:12:55] + bitrate: 1000 kbps, pass: 0
[13:12:55] * audio track 1
[13:12:55] + decoder: Unknown (AC3) (2.0 ch) (track 1, id 0x412)
[13:12:55] + bitrate: 192 kbps, samplerate: 48000 Hz
[13:12:55] + mixdown: Stereo
[13:12:55] + encoder: AAC (libavcodec)
[13:12:55] + bitrate: 160 kbps, samplerate: 48000 Hz
[13:12:55] file is MPEG Transport Stream with 188 byte packets offset 0
bytes
[13:12:55] encavcodecInit: MPEG-4 ASP encoder
[13:12:55] reader: first SCR 3269021579 id 0x411 DTS 3269021579
[13:12:55] mpeg2video: "Chapter 1" (1) at frame 0 time 9009
[13:12:55] sync: first pts is 9009
Encoding: task 1 of 1, 6.26 % (52.42 fps, avg 64.87 fps, ETA
00h13m03s)[13:13:47] stream: error near frame 3440: continuity error: got
13 expected 12
Encoding: task 1 of 1, 12.85 % (64.35 fps, avg 62.97 fps, ETA
00h12m30s)[13:14:46] stream: error near frame 7006: continuity error: got
15 expected 14
[13:14:46] sync: audio 0x412 time went backwards 63 ms, dropped 2 frames
(start 10425609, next 10431360)
Encoding: task 1 of 1, 12.93 % (65.07 fps, avg 62.95 fps, ETA
00h12m29s)[13:14:46] Broken timestamps detected. Reordering.
Encoding: task 1 of 1, 12.95 % (65.07 fps, avg 62.95 fps, ETA
00h12m29s)[13:15:11] sync: video time didn't advance - dropped 3530 frames
(delta 117784 ms, current 21080049, next 21080058, dur 9)
Encoding: task 1 of 1, 32.81 % (56.71 fps, avg 56.71 fps, ETA
00h10m42s)[13:18:09] stream: error near frame 21381: continuity error: got
11 expected 13
Encoding: task 1 of 1, 32.85 % (56.71 fps, avg 56.71 fps, ETA
00h10m42s)[13:18:09] sync: audio 0x412 time went backwards 95 ms, dropped 3
frames (start 53556523, next 53565120)
Encoding: task 1 of 1, 32.93 % (55.18 fps, avg 56.70 fps, ETA
00h10m41s)[13:18:10] sync: video time didn't advance - dropped 1 frames
(delta 0 ms, current 53611557, next 53614560, dur 3003)
Encoding: task 1 of 1, 65.98 % (72.71 fps, avg 59.89 fps, ETA
00h05m08s)[13:22:52] stream: error near frame 39331: continuity error: got
1 expected 0
Encoding: task 1 of 1, 95.98 % (64.31 fps, avg 62.24 fps, ETA
00h00m35s)[13:26:50] hb_ts_stream_decode - eof
[13:26:50] reader: done. 41 scr changes
Encoding: task 1 of 1, 96.08 % (64.74 fps, avg 62.25 fps, ETA
00h00m34s)[13:26:51] work: average encoding speed for job is 62.250374 fps
[13:26:51] sync: got 52051 frames, 54176 expected
[13:26:51] render: lost time: 0 (0 frames)
[13:26:51] render: gained time: 0 (0 frames) (0 not accounted for)
Encoding: task 1 of 1, 96.08 % (64.74 fps, avg 62.25 fps, ETA
00h00m34s)[13:26:52] mpeg2video-decoder done: 55582 frames, 0 decoder
errors, 0 drops
[13:26:52] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[13:26:52] mux: track 0, 52051 frames, 372711729 bytes, 1715.72 kbps, fifo
4096
[13:26:52] mux: track 1, 55997 frames, 23908021 bytes, 110.06 kbps, fifo
4096
[13:26:52] stream: 55585 good frames, 9 errors (0%)
[13:26:52] libhb: work result = 0
Encode done!
HandBrake has exited.
On Wed, Feb 3, 2016 at 6:16 PM, Mike Perkins <mikep at randomtraveller.org.uk>
wrote:
> On 03/02/16 21:08, Jason Zarin wrote:
>
>> Mark Perkins perkins1724 at hotmail.com
>> Wed Feb 3 20:33:12 UTC 2016
>> Previous message (by thread): [mythtv-users] ProcessPAT: Program not found
>> in PAT. Desired program # not found in PAT
>>
>>
>> So just to clarify, you have working audio and video in the recording up
>>>
>> to some "point" where the audio disappears and the file is corrupted in
>> some fashion but video is still present?
>>
>> Exactly. Right at the point that the error log occurs there's a slight
>> video glitch in the recording. From that point on, video returns to normal
>> but audio is gone. I use kodi as a frontend, and the video will continue
>> to
>> play, silently. If you try to select an audio track, it won't let you (the
>> audio track list is greyed out) (kodi selecting audio tracks works fine
>> w/unaffected mythtv recordings).
>>
>> The affected mpg file will crash VLC when it gets to the "glitch". It will
>> load in mplayer, but shows 0 audio tracks.
>>
>> I've download the affected mpg files to my non-myththv computer to see if
>> it's a linux-specific thing that causes the file not to play. But when
>> downloaded to my mac, at least, the affected mpg recordings won't play
>> either. "Normal" mpg files download from the mythtv backend play perfectly
>> on that mac.
>>
>> (snip)
>
>>
>> You could try running your file(s) through Handbrake as a test, just
> doing video copy/ audio copy. Handbrake seems to have the ability to
> "repair" certain levels of glitch or transmission corruption.
>
> --
>
> Mike Perkins
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160207/0c2098d0/attachment.html>
More information about the mythtv-users
mailing list