A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/namazso/cxadc_vhs_server below:

namazso/cxadc_vhs_server: A HTTP server for synchronized capture of VHS via cxadc-clockgen-mod

A terrible HTTP server made for capturing VHS with two cxadc cards and cxadc-clock-generator-audio-adc or cxadc-clockgen-mod.

cxadc_vhs_server version|<port>|unix:<socket>

⚠️ Do not expose the server to the public internet. It is not intended to be secure.

Endpoints provided:

For more details such as returned JSON format test the endpoints or check the source code.

Start the server on the capture machine:

Then queue up the download of the streams:

$ aria2c -Z \
    http://192.168.1.1:8080/linear \
    http://192.168.1.1:8080/cxadc?0 \
    http://192.168.1.1:8080/cxadc?1

Start the capture:

$ curl http://192.168.1.1:8080/start?cxadc0&cxadc1

Once you're done, you just need to stop it:

$ curl http://192.168.1.1:8080/stop

The script local-capture.sh is included in the repository to aid with local captures. It runs the sever on a UNIX socket, which is the same thing as used for piping command outputs. The benefit of using the server is the sample drop resilient buffering and better starting point synchronization.

You can install the first three from most distros' default repositories:

RHEL / Fedora

Debian / Ubuntu

The cxadc_vhs_server binary can be obtained from releases, or compiled from sources. The binary releases support glibc 2.17 and later.

A static ffmpeg build with libsoxr can be obtained from https://johnvansickle.com/ffmpeg/. If placed next to the script, it will be used instead of system ffmpeg.

Usage: local-capture.sh [options] <basepath>
        --video=          Number of CX card to use for video capture (unset=disabled)
        --hifi=           Number of CX card to use for hifi capture (unset=disabled)
        --linear=         ALSA device identifier for linear (unset=default)
        --add-date        Add current date and time to the filenames
        --convert-linear  Convert linear to flac+u8
        --compress-video  Compress video
        --compress-hifi   Compress hifi
        --resample-hifi   Resample hifi to 10 MSps
        --debug           Show commands executed
        --help            Show usage information
$ ./local-capture.sh --video=0 --hifi=1 --convert-linear --compress-video --compress-hifi --resample-hifi test
Server started (PID 3854)
server listening on unix:/tmp/tmp.qDMBd0Ynxu/server.sock
PID 3872 is capturing video to test-video.ldf
PID 3874 is capturing hifi to test-hifi.flac
PID 3876 is capturing linear to test-linear.flac, headswitch to test-headswitch.u8
Capture running... Press 'q' to stop the capture.
Capturing for 0m 0s... Buffers:  0%  0%  0%
Capturing for 0m 5s... Buffers:  0%  0%  0%
q
Stopping capture
Encountered 0 overflows during capture
Waiting for writes to finish...
Killing server
Finished!

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4