This repository has been archived by the owner on Sep 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
README
63 lines (50 loc) · 2.06 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Copyright 2014 Clayton Smith
#
# This file is part of gr-qam
#
# gr-qam is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# gr-qam is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with gr-qam; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
gr-qam
======
Author: Clayton Smith
Email: <[email protected]>
The goal of thhis project is to build a software-defined 64-QAM and
256-QAM transmitter, based on the ANSI/SCTE 07 2013 Digital
Transmission Standard for Cable Television:
http://www.scte.org/FileDownload.aspx?A=3445
Build instructions:
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig
If your GNU Radio is installed in /usr (rather than /usr/local), then
replace the third line above with:
cmake -DCMAKE_INSTALL_PREFIX=/usr ../
You may also need to export the PKG_CONFIG_PATH environment variable
for cmake to find your GNU Radio libraries. For example, if you had
installed into /opt/gnuradio, you may need to have PKG_CONFIG_PATH
set to "/opt/gnuradio/lib/pkgconfig" or "/opt/gnuradio/lib64/pkgconfig".
At present only 64-QAM is supported. An example transmitter can be
found in /apps. It can transmit MPEG transport streams generated by
avconv. For example, to transmit the video from your webcam and audio
from your microphone, try this:
mkfifo in.fifo
avconv -f alsa -i pulse -f video4linux2 -s 640x480 -i /dev/video0 \
-vcodec mpeg2video -s 640x480 -r 60 -b 5000000 -acodec ac3 \
-ar 48000 -ab 192000 -ac 2 -muxrate 26970352 -mpegts_service_id 1 \
-f mpegts -y in.fifo
Contributions are welcome!