<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title><![CDATA[FedoraForum.org - Guides & Solutions (Not For Questions)]]></title>
		<link>https://forums.fedoraforum.org/</link>
		<description><![CDATA[Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.]]></description>
		<language>en-US</language>
		<lastBuildDate>Sun, 13 Sep 2026 09:02:49 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>https://forums.fedoraforum.org/images/vbmobile/misc/rss.png</url>
			<title><![CDATA[FedoraForum.org - Guides & Solutions (Not For Questions)]]></title>
			<link>https://forums.fedoraforum.org/</link>
		</image>
		<item>
			<title>DVB Digital TV with mpv</title>
			<link>https://forums.fedoraforum.org/showthread.php?336525-DVB-Digital-TV-with-mpv&amp;goto=newpost</link>
			<pubDate>Tue, 25 Aug 2026 21:40:59 GMT</pubDate>
			<description><![CDATA[I wrote this guide as part of my Linux Notes (see this (https://forums.fedoraforum.org/showthread.php?335982-Keeping-notes) thread), and thought someone here might find it useful. I'm using a Hauppauge WinTV 950Q USB ATSC TV tuner, but I think the guide would work for any such USB tuner. 
 
...]]></description>
			<content:encoded><![CDATA[<div>I wrote this guide as part of my Linux Notes (see <a href="https://forums.fedoraforum.org/showthread.php?335982-Keeping-notes" target="_blank">this</a> thread), and thought someone here might find it useful. I'm using a Hauppauge WinTV 950Q USB ATSC TV tuner, but I think the guide would work for any such USB tuner.<br />
<br />
<hr /><br />
<font size="3"><b>Digital TV viewing and recording</b></font><br />
<br />
To use mpv for viewing and recording digital TV with a DVB-based USB digital TV tuner  (e.g. Hauppauge WinTV 950Q), first do the initial setup:<br />
<br />
<ol class="decimal"><li style="">Install the required DVB packages:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">dnf install dvb-firmware dvb-tools libdvbv5 dtv-scan-tables</code><hr />
</div></li><li style="">Reboot, then install the w_scan package from F36 (use the Fedora Archives):<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">dnf install https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/36/Everything/x86_64/os/Packages/w/w_scan-20170107-12.fc36.x86_64.rpm</code><hr />
</div></li><li style="">Plug the tuner into a USB port, then run w_scan to get all the available (US) stations:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">w_scan -c US -f a -A 1 -X &gt; ~/.config/mpv/channels.conf</code><hr />
</div></li><li style="">Edit ~/.config/mpv/channels.conf to trim any whitespace around the station names. After editing, my channels.conf file looks like this (yours of course will be different):<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">WHNE:63000000:VSB_8:49:52+52:1<br />
Bridge1:63000000:VSB_8:65:68+68:2<br />
Bridge2:63000000:VSB_8:81:84+84:3<br />
AWSN:63000000:VSB_8:97:100+100:4<br />
OAN:63000000:VSB_8:113:116+116:5<br />
YTA:63000000:VSB_8:129:132+132:6<br />
Sales:63000000:VSB_8:145:148+148:7<br />
BarkTV:63000000:VSB_8:161:164+164:8<br />
ZLiving:63000000:VSB_8:177:180+180:9<br />
FTF:63000000:VSB_8:193:196+196:10<br />
MTRSPR1:63000000:VSB_8:209:212+212:11<br />
Binge:63000000:VSB_8:225:228+228:12<br />
NBT:63000000:VSB_8:241:244+244:13<br />
DrOz:63000000:VSB_8:257:260+260:14<br />
Bein:63000000:VSB_8:273:276+276:30<br />
ShopNow:63000000:VSB_8:289:292+292:32<br />
WJBK:177000000:VSB_8:49:52+53+52+53:3<br />
Movies!:177000000:VSB_8:65:68+68:4<br />
Buzzr:177000000:VSB_8:81:84+84:5<br />
WEST:177000000:VSB_8:97:100+100:6<br />
CATCHY:177000000:VSB_8:113:116+116:7<br />
WMYD-MS:177000000:VSB_8:129:132+132:8<br />
FOX WX:177000000:VSB_8:145:148+148:9<br />
WUDT-LD:183000000:VSB_8:49:52+53+52+53:1<br />
WUDT-ES:183000000:VSB_8:65:68+68:2<br />
WUDT-SD:183000000:VSB_8:81:84+84:3<br />
WTVS-HD:509000000:VSB_8:49:52+53+54+52+53+54:1<br />
D-KIDS:509000000:VSB_8:65:68+69+70+68+69+70:2<br />
D-CREAT:509000000:VSB_8:81:84+85+86+84+85+86:3<br />
D-WORLD:509000000:VSB_8:97:100+101+102+100+101+102:4<br />
D-MLC:509000000:VSB_8:113:116+117+118+116+117+118:5<br />
WWJ-HD:515000000:VSB_8:49:52+53+52+53:1<br />
StartTV:515000000:VSB_8:65:68+68:2<br />
DABL:515000000:VSB_8:81:84+84:3<br />
365 BLK:515000000:VSB_8:97:100+100:4<br />
Story:515000000:VSB_8:113:116+116:5<br />
WDWO-CD:521000000:VSB_8:49:52+52:1001<br />
WDWO-CD:521000000:VSB_8:65:68+68:1002<br />
WDWO-CD:521000000:VSB_8:81:84+84:1003<br />
WDWO-CD:521000000:VSB_8:97:100+100:1004<br />
WDWO-CD:521000000:VSB_8:113:116+116:1005<br />
WDWO-CD:521000000:VSB_8:129:132+132:1006<br />
WDWO-CD:521000000:VSB_8:145:148+148:1007<br />
WDWO-CD:521000000:VSB_8:257:260+260:1008<br />
ION:533000000:VSB_8:49:52+53+52+53:3<br />
IONPlus:533000000:VSB_8:65:68+68:4<br />
Grit:533000000:VSB_8:81:84+84:5<br />
DEFY:533000000:VSB_8:97:100+100:6<br />
BUSTED:533000000:VSB_8:113:116+116:7<br />
GREAT:533000000:VSB_8:129:132+132:8<br />
GameSho:533000000:VSB_8:145:148+148:9<br />
HSN:533000000:VSB_8:161:164+164:10<br />
HSN2:533000000:VSB_8:177:180+180:11<br />
WXYZ-HD:539000000:VSB_8:49:52+53+52+53:3<br />
WXYZ-BN:539000000:VSB_8:65:68+69+68+69:4<br />
WXYZ-LF:539000000:VSB_8:81:84+84:5<br />
WXYZ-CT:539000000:VSB_8:97:100+100:6<br />
WMYD-HD:539000000:VSB_8:113:116+117+116+117:7<br />
HSN:539000000:VSB_8:129:132+132:8<br />
ShopLC:539000000:VSB_8:145:148+148:9<br />
WDIV-HD:581000000:VSB_8:49:52+53+52+53:3<br />
H&amp;I:581000000:VSB_8:65:68+68:4<br />
Me TV:581000000:VSB_8:81:84+84:5<br />
COZI:581000000:VSB_8:97:100+100:6<br />
WMYD-AT:581000000:VSB_8:113:116+116:7<br />
WKBD-HD:593000000:VSB_8:49:52+53+52+53:1<br />
Comet:593000000:VSB_8:65:68+68:2<br />
Charge:593000000:VSB_8:81:84+84:3<br />
Roar:593000000:VSB_8:97:100+100:4<br />
Nosey:593000000:VSB_8:113:116+116:5<br />
QVC:593000000:VSB_8:129:132+132:6<br />
MeTVToo:593000000:VSB_8:145:148+148:7<br />
WUDL-LD:599000000:VSB_8:49:52+52:1001<br />
WUDL-LD:599000000:VSB_8:65:68+68:1002<br />
WUDL-LD:599000000:VSB_8:81:84+84:1003<br />
WUDL-LD:599000000:VSB_8:97:100+100:1004<br />
WUDL-LD:599000000:VSB_8:113:116+116:1005<br />
WUDL-LD:599000000:VSB_8:129:132+132:1006<br />
WUDL-LD:599000000:VSB_8:145:148+148:1007<br />
WUDL-LD:599000000:VSB_8:257:260+260:1008</code><hr />
</div></li></ol><br />
The tuner is now ready for viewing and recording.<br />
<br />
For viewing a station (e.g. D-CREAT), run mpv:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">mpv --vo=gpu --hwdec=vaapi dvb://D-CREAT</code><hr />
</div>Some stations broadcast audio in 5.1 surround sound, so that the rear channel part of the audio signal is lost when your computer has only front speakers. To combine all the audio channels into a standard stereo setup so that no audio channel is lost, put this in your ~/.config/mpv/mpv.conf file:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">audio-channels=stereo</code><hr />
</div>Some stations (e.g. WXYZ-HD, the local ABC affiliate in metro Detroit) include an audio track for the visually impaired, normally identified in the mpv output as --aid=1 or --aid=2:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">$ mpv --vo=gpu --hwdec=vaapi dvb://WXYZ-HD<br />
[dvbin] Tuning to channel &quot;WXYZ-HD&quot;...<br />
[dvbin] Tuning to ATSC frequency 539000000 Hz<br />
...<br />
File tags:<br />
&nbsp;Title: WXYZ-HD<br />
* Video&nbsp; --vid=1&nbsp; (mpeg2video [Main] 1280x720 59.9401 fps)<br />
* Audio&nbsp; --aid=1&nbsp; (ac3 6ch 48000 Hz 384 kbps)<br />
* Audio&nbsp; --aid=2&nbsp; 'visual impaired' (ac3 2ch 48000 Hz 192 kbps) [visual-impaired]<br />
* Subs&nbsp;  --sid=1&nbsp; (eia_608) [default]<br />
...</code><hr />
</div>To disable that track (aid=2), run mpv like this:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">mpv --vo=gpu --hwdec=vaapi dvb://WXYZ-HD --aid=1</code><hr />
</div>If you get the wrong number for the --aid option, then you can cycle through the audio tracks in mpv using the # key until you reach the correct track.<br />
<br />
For recording a station (e.g. WJBK) to an MP4 file, run mpv:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">mpv --vo=gpu --hwdec=vaapi --stream-dump=some_file.mp4 dvb://WJBK</code><hr />
</div>The same caveat about a visual impaired audio track when viewing applies to recording as well.<br />
<br />
<hr /><br />
Here's what mpv looked like when I was watching the World Cup in June:<br />
<br />
<a href="https://forums.fedoraforum.org/attachment.php?attachmentid=35374&amp;d=1787693167"  title="Name:  screenshot_F44_mpv_usbtv.jpg
Views: 6
Size:  145.5 KB">screenshot_F44_mpv_usbtv.jpg</a><br />
<br />
The picture quality is <b>much</b> better than with my old analog Zoltrix Genie TV PCI card. Another advantage is I no longer need an external digital-to-analog converter to connect to the PCI card, since the DVB-based USB tuner has built-in ATSC support for digital broadcasts. All I have to do is connect an antenna to the USB device and plug it in to a USB port:<br />
<br />
<a href="https://forums.fedoraforum.org/attachment.php?attachmentid=35375&amp;d=1787693865"  title="Name:  wintv_usb.jpg
Views: 6
Size:  55.2 KB">wintv_usb.jpg</a></div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="https://forums.fedoraforum.org/images/vbmobile/attach/jpg.gif" alt="File Type: jpg" />
	<a href="https://forums.fedoraforum.org/attachment.php?attachmentid=35374&amp;d=1787693167" target="_blank">screenshot_F44_mpv_usbtv.jpg</a> 
(145.5 KB)
</li><li>
	<img class="inlineimg" src="https://forums.fedoraforum.org/images/vbmobile/attach/jpg.gif" alt="File Type: jpg" />
	<a href="https://forums.fedoraforum.org/attachment.php?attachmentid=35375&amp;d=1787693865" target="_blank">wintv_usb.jpg</a> 
(55.2 KB)
</li>
			</ul>
			</fieldset>
	

	

	</div>
]]></content:encoded>
			<category domain="https://forums.fedoraforum.org/forumdisplay.php?12-Guides-amp-Solutions-(Not-For-Questions)"><![CDATA[Guides & Solutions (Not For Questions)]]></category>
			<dc:creator>RupertPupkin</dc:creator>
			<guid isPermaLink="true">https://forums.fedoraforum.org/showthread.php?336525-DVB-Digital-TV-with-mpv</guid>
		</item>
	</channel>
</rss>
