Lines Matching +full:ts +full:- +full:attached
1 .. SPDX-License-Identifier: GPL-2.0
10 ----------
18 - A fake tuner driver, which will report a bad signal quality if the chosen
22 - A fake demod driver, which will constantly poll the fake signal quality
26 - A fake bridge driver, which is the module responsible for modprobing the
31 - Code reponsible for encoding a valid MPEG Transport Stream, which is then
33 For now, we have a single, audio-only channel containing a single MPEG
34 Elementary Stream, which in turn contains a SMPTE 302m encoded sine-wave.
39 --------------
45 - Enable **DVB_TEST_DRIVERS**, then
46 - Enable **DVB_VIDTV**
50 - dvb_vidtv_tuner.ko
52 - dvb_vidtv_demod.ko
54 - dvb_vidtv_bridge.ko
57 -------------
67 - 474 MHz for DVB-T/T2/C;
68 - 11,362 GHz for DVB-S/S2.
71 LNBf, with frequencies at Ku-Band, ranging from 10.7 GHz to 12.75 GHz.
73 You can optionally define some command-line arguments to vidtv.
75 Command-line arguments to vidtv
76 -------------------------------
80 Probability of losing the TS lock if the signal quality is bad.
86 Probability recovering the TS lock when the signal improves. This
97 Valid DVB-T frequencies to simulate, in Hz.
100 Valid DVB-C frequencies to simulate, in Hz.
103 Valid DVB-S/S2 frequencies to simulate at Ku-Band, in kHz.
115 Attempt to maintain this bit rate by inserting TS null packets, if
125 ------------------------
140 Code to work with MPEG TS packets, such as TS headers, adaptation
155 The specification for PAT and PMT can be found in *ISO 13818-1:
160 It isn't strictly necessary, but using a real TS file helps when
162 structure found in this file: `TS1Globo.ts
163 <https://tsduck.io/streams/brazil-isdb-tb/TS1globo.ts>`_.
169 Implements the PES logic to convert encoder data into MPEG TS
170 packets. These can then be fed into a TS multiplexer and eventually
180 specification is available online as *SMPTE 302M-2007: Television -
181 Mapping of AES3 Data into MPEG-2 Transport Stream*.
185 stream with a S302M registration descriptor attached.
207 loop to produce TS packets.
212 Implements a MPEG TS mux, loosely based on the ffmpeg
227 #. Delivering the resulting TS packets to the bridge
230 Testing vidtv with v4l-utils
231 ----------------------------
233 Using the tools in v4l-utils is a great way to test and inspect the output of
234 vidtv. It is hosted here: `v4l-utils Documentation
235 <https://linuxtv.org/wiki/index.php/V4l-utils>`_.
239 The v4l-utils are a series of packages for handling media devices.
241 It is hosted at http://git.linuxtv.org/v4l-utils.git, and packaged
248 Start by installing v4l-utils and then modprobing vidtv::
255 Using dvb-fe-tool
260 $ dvb-fe-tool
261 Device Dummy demod for DVB-T/T2/C/S/S2 (/dev/dvb/adapter0/frontend0) capabilities:
310 .name = "Dummy demod for DVB-T/T2/C/S/S2",
342 For more information on dvb-fe-tools check its online documentation here:
343 `dvb-fe-tool Documentation
344 <https://www.linuxtv.org/wiki/index.php/Dvb-fe-tool>`_.
346 Using dvb-scan
349 In order to tune into a channel and read the PSI tables, we can use dvb-scan.
367 should be enough for DVB-T/DVB-T2. For DVB-S/DVB-C however, you
370 You can browse scan tables online here: `dvb-scan-tables
371 <https://git.linuxtv.org/dtv-scan-tables.git>`_.
375 $ dvbv5-scan channel.conf
376 dvbv5-scan ~/vidtv.conf
378 Cannot calc frequency shift. Either bandwidth/symbol-rate is unavailable (yet).
380 (0x00) Signal= -68.00dBm
382 Lock (0x1f) Signal= -34.45dBm C/N= 33.74dB UCB= 0
385 For more information on dvb-scan, check its documentation online here:
386 `dvb-scan Documentation <https://www.linuxtv.org/wiki/index.php/Dvbscan>`_.
388 Using dvb-zap
391 dvbv5-zap is a command line tool that can be used to record MPEG-TS to disk. The
393 below - which is taken from the documentation - illustrates that\ [1]_::
395 $ dvbv5-zap -c dvb_channel.conf "beethoven" -o music.ts -P -t 10
399 pass all PID's to TS
402 …Lock (0x1f) Quality= Good Signal= -34.66dBm C/N= 33.41dB UCB= 0 postBER= 0 preBER= 1.05x10^-3 PE…
403 …Lock (0x1f) Quality= Good Signal= -34.57dBm C/N= 33.46dB UCB= 0 postBER= 0 preBER= 1.05x10^-3 PE…
404 Record to file 'music.ts' started
406 …Lock (0x1f) Quality= Good Signal= -34.42dBm C/N= 33.89dB UCB= 0 postBER= 0 preBER= 2.44x10^-3 PE…
409 at the music.ts file.
413 player that recognizes the MPEG-TS format, such as ``mplayer`` or ``vlc``.
416 vidtv, e.g., to play a recorded TS file with::
418 $ mplayer music.ts
422 $ dvbv5-zap -c dvb_channel.conf "beethoven" -P -r &
428 For more information on dvb-zap check its online documentation here:
429 `dvb-zap Documentation
430 <https://www.linuxtv.org/wiki/index.php/Dvbv5-zap>`_.
435 -----------------------------------
442 userspace via debugfs, which is a simple-to-use, RAM-based filesystem
446 pollute the frontend driver. These statistics are driver-specific and can
450 debugfs to convey driver-specific statistics to userspace and it can be
460 a barebones version of MPEG-2 video encoding so we can also test video. The
461 first place to look into is *ISO 13818-2: Information technology — Generic
465 This might optionally use the Video4Linux2 Test Pattern Generator, v4l2-tpg,
468 drivers/media/common/v4l2-tpg/
481 - Randomly dropping some TS packets. This will trigger a continuity error if the
484 - Updating the error statistics accordingly (e.g. BER, etc).
486 - Simulating some noise in the encoded data.
489 ---------------------------------------
491 .. kernel-doc:: drivers/media/test-drivers/vidtv/vidtv_bridge.h
493 .. kernel-doc:: drivers/media/test-drivers/vidtv/vidtv_channel.h
495 .. kernel-doc:: drivers/media/test-drivers/vidtv/vidtv_demod.h
497 .. kernel-doc:: drivers/media/test-drivers/vidtv/vidtv_encoder.h
499 .. kernel-doc:: drivers/media/test-drivers/vidtv/vidtv_mux.h
501 .. kernel-doc:: drivers/media/test-drivers/vidtv/vidtv_pes.h
503 .. kernel-doc:: drivers/media/test-drivers/vidtv/vidtv_psi.h
505 .. kernel-doc:: drivers/media/test-drivers/vidtv/vidtv_s302m.h
507 .. kernel-doc:: drivers/media/test-drivers/vidtv/vidtv_ts.h
509 .. kernel-doc:: drivers/media/test-drivers/vidtv/vidtv_tuner.h
511 .. kernel-doc:: drivers/media/test-drivers/vidtv/vidtv_common.c
513 .. kernel-doc:: drivers/media/test-drivers/vidtv/vidtv_tuner.c