[mythtv-users] Captions with HD-PVR help

Mike Rice mikerice1969 at gmail.com
Thu Nov 6 02:49:54 UTC 2014


I've pulled out my pvr-150s and pvr-350 and have been trying to use one for
closed captions for my HD-PVR recordings.

http://www.mythtv.org/wiki/Captions_With_HD_PVR

I verified that my TV shows captions on the composite input from my
Motorola DCH3200 cable box.  But for whatever reason I don't seem to be
recording any captions in the mpeg generated.  At least ccextractor doesn't
seem to produce any output and viewing the mpeg file in mythtv doesn't seem
to indicate there are captions.

Here's what I've done.  See anything I am doing wrong?

# v4l2-ctl -d /dev/vbi-pvr0 --set-fmt-sliced-vbi=cc=1
--set-ctrl=stream_vbi_format=1
# v4l2-ctl -d /dev/video-pvr0 -c video_bitrate=4500000 -c
video_peak_bitrate=6000000
# v4l2-ctl -i 2 -d /dev/video-pvr0
Video input set to 2 (Composite 1: ok)
# /usr/local/bin/ccextractor -s /dev/video-pvr0 -stdout
CCExtractor 0.74, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
--------------------------------------------------------------------------
Input: /dev/video-pvr0
[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: Yes, no timeout] [Clock frequency: 90000]
Teletext page: [Autodetect]
Start credits text: [None]
Sending captions to stdout.

-----------------------------------------------------------------
Opening file: /dev/video-pvr0
File seems to be a program stream, enabling PS mode
Analyzing data in MythTV mode


New video information found
[720 * 480] [AR: 02 - 4:3] [FR: 04 - 29.97] [progressive: no]

Detected VBI data, disabling user-data packet analysis (not needed).
Streaming |  00:20

<ctrl-c> and no data

And ccextractor doesn't give me anything on a complete file either:

# cat /dev/video-pvr0 > /content/Video/Tests/foo.mpg
^C
# file /content/Video/Tests/foo.mpg
/content/Video/Tests/foo.mpg: MPEG sequence, v2, program multiplex
# ccextractor /content/Video/Tests/foo.mpg -stdout
CCExtractor 0.74, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
--------------------------------------------------------------------------
Input: /content/Video/Tests/foo.mpg
[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: [Autodetect]
Start credits text: [None]
Sending captions to stdout.

-----------------------------------------------------------------
Opening file: /content/Video/Tests/foo.mpg
File seems to be a program stream, enabling PS mode
Analyzing data in MythTV mode


New video information found
[720 * 480] [AR: 02 - 4:3] [FR: 04 - 29.97] [progressive: no]

Detected VBI data, disabling user-data packet analysis (not needed).
100%  |  01:11

Total frames time:        00:01:11:337  (2138 frames at 29.97fps)

Min PTS:                                00:00:00:333
Max PTS:                                00:01:11:670
Length:                          00:01:11:337

Initial GOP time:          00:00:00:000
Final GOP time:          00:01:11:000 +8F
Diff. GOP length:          00:01:11:000 +8F     (00:01:11:266)
Done, processing time = 3 seconds
Performance (real length/process time) = 23.79
This is beta software. Report issues to carlos at ccextractor org...
NOTICE: Due to the major rework in 0.49, we needed to change part of the
timing
code in the MythTV's branch. Please report results to the address above. If
something is broken it will be fixed. Thanks

p# v4l2-ctl -d /dev/vbi-pvr0 --get-fmt-sliced-vbi
Format Sliced VBI Capture:
        Service Set    : cc
        Service Line  0:          /
        Service Line  1:          /
        Service Line  2:          /
        Service Line  3:          /
        Service Line  4:          /
        Service Line  5:          /
        Service Line  6:          /
        Service Line  7:          /
        Service Line  8:          /
        Service Line  9:          /
        Service Line 10:       cc / cc
        Service Line 11:       cc / cc
        Service Line 12:       cc / cc
        Service Line 13:       cc / cc
        Service Line 14:       cc / cc
        Service Line 15:       cc / cc
        Service Line 16:       cc / cc
        Service Line 17:       cc / cc
        Service Line 18:       cc / cc
        Service Line 19:       cc / cc
        Service Line 20:       cc / cc
        Service Line 21:       cc / cc
        Service Line 22:          /
        Service Line 23:          /
        I/O Size       : 2304

Any ideas?  Anything I can try?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20141105/cfa758ff/attachment.html>


More information about the mythtv-users mailing list