Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add training files for BetacamSP format #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions teletext/cli/teletext.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def record(output, device, config):

@command(teletext)
@click.option('-p', '--pause', is_flag=True, help='Start the viewer paused.')
@click.option('-f', '--tape-format', type=click.Choice(['vhs', 'betamax', 'grundig_2x4']), default='vhs', help='Source VCR format.')
@click.option('-f', '--tape-format', type=click.Choice(['vhs', 'betamax', 'grundig_2x4', 'betacamsp']), default='vhs', help='Source VCR format.')
@click.option('-n', '--n-lines', type=int, default=None, help='Number of lines to display. Overrides card config.')
@carduser(extended=True)
@chunkreader
Expand Down Expand Up @@ -387,7 +387,7 @@ def vbiview(chunker, config, pause, tape_format, n_lines):

@command(teletext)
@click.option('-M', '--mode', type=click.Choice(['deconvolve', 'slice']), default='deconvolve', help='Deconvolution mode.')
@click.option('-f', '--tape-format', type=click.Choice(['vhs', 'betamax', 'grundig_2x4']), default='vhs', help='Source VCR format.')
@click.option('-f', '--tape-format', type=click.Choice(['vhs', 'betamax', 'grundig_2x4', 'betacamsp']), default='vhs', help='Source VCR format.')
@click.option('-C', '--force-cpu', is_flag=True, help='Disable CUDA even if it is available.')
@click.option('-t', '--threads', type=int, default=multiprocessing.cpu_count(), help='Number of threads.')
@click.option('-k', '--keep-empty', is_flag=True, help='Insert empty packets in the output when line could not be deconvolved.')
Expand Down
Binary file added teletext/vbi/data/betacamsp/full.dat
Binary file not shown.
Binary file added teletext/vbi/data/betacamsp/hamming.dat
Binary file not shown.
Binary file added teletext/vbi/data/betacamsp/parity.dat
Binary file not shown.