Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
SimTX Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
DATV TX Tutorial
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation navigation}} == Software and example files == * GNU Radio Companion. The original guide linked a Windows radioconda installer; use the [https://github.com/ryanvolz/radioconda radioconda project] for current installers. * [https://github.com/btbn/ffmpeg-builds/releases FFmpeg builds] for preparing the video. * [https://github.com/Mukhash2012/DVB-S2-SimTX Mukhash2012's DVB-S2 flowgraph and SimTX preset]. Keep both files together for reference. * A receiver setup from [[DATV RX Tutorial]] for checking the result. == 1. Prepare the video == The original example converts an MP4 to an MPEG transport stream with low-rate H.264 video and mono AAC audio. Replace the input and output filenames with your own. This preserves the settings supplied by the original tutorial. <syntaxhighlight lang="bash"> ffmpeg -i File_name.mp4 -c:v libx264 -b:v 85k -maxrate:v 85k -bufsize:v 30k -preset slow -profile:v baseline -level 3.0 -vf "scale=320:240,fps=12,format=yuv420p" -c:a aac -b:a 24k -ac 1 -f mpegts -muxrate 140k -mpegts_pmt_start_pid 0x1000 -mpegts_start_pid 0x0100 -pcr_period 20 -pat_period 0.1 File_name.ts </syntaxhighlight> == 2. Configure GNU Radio and SimTX == # Open the supplied <code>.grc</code> flowgraph in GNU Radio Companion. # Open its '''File Source''' block and select the converted <code>.ts</code> file. A File Source reads the video; a File Sink writes an output file. # Check the flowgraph's '''TCP Sink'''. In the illustrated setup it is a client connecting to <code>127.0.0.1</code>, port <code>7355</code>. # In SimTX, use '''Presets''' > '''Load Preset File...''' to load the supplied <code>.stxpreset</code>. # Review the preset's station, frequency, power, and antenna. Confirm '''GNU Radio IQ''' is selected, its IQ Port matches the TCP Sink, and the expected sample rate matches the flowgraph. [[File:TX1.png|thumb|center|1000px|alt=GNU Radio DVB-S2 flowgraph with File Source, coding blocks, filter, and TCP Sink to localhost port 7355.|The original flowgraph illustration. It shows a 200000 samples/s output, 100000 symbols/s, QPSK, and code rate 3/4. Current downloaded files should be checked rather than assumed identical.]] == 3. Start and verify == # Start the SimTX transmission first so its local IQ input is listening. # Run the GNU Radio flowgraph so the TCP Sink connects to it. # Use [[DATV RX Tutorial]] with matching DVB-S2 parameters to check reception. The illustrated parameters are one example, not settings for every DATV station. If no picture appears, check TCP connectivity first, then sample rate, symbol rate, code rate, receiver frequency, and signal strength. Stop the SimTX session when the test is finished. [[Category:SimTX]]
Summary:
Please note that all contributions to SimTX Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
SimTX Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Documentation navigation
(
edit
)