Documentation/dvb/faq.txt

Chinese translated version of Documentation/dvb/faq.txt

If you have any comment or update to the content, please contact the
original document maintainer directly.  However, if you have a problem
communicating in English you can also ask the Chinese maintainer for
help.  Contact the Chinese maintainer if this translation is outdated
or if there is a problem with the translation.

Chinese maintainer: wuyan<1481494885@qq.com>
---------------------------------------------------------------------
Documentation/dvb/faq.txt的中文翻译

如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文
交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
译存在问题,请联系中文版维护者。


中文版校译者: 吴燕 1481494885@qq.com如果本翻译更新不及时或者翻译存在问题,请联系中文版维护者。

中文版维护者: 吴燕 1481494885@qq.com

中文版翻译者: 吴燕 1481494885@qq.com

  1 Some very frequently asked questions about linuxtv-dvb
  2 
  3 1. The signal seems to die a few seconds after tuning.
  4 
  5         It's not a bug, it's a feature. Because the frontends have
  6         significant power requirements (and hence get very hot), they
  7         are powered down if they are unused (i.e. if the frontend device
  8         is closed). The dvb-core.o module parameter "dvb_shutdown_timeout"
  9         allow you to change the timeout (default 5 seconds). Setting the
  10         timeout to 0 disables the timeout feature.

 一些很常见关于linuxtv-DVB的问题 


  在调整之后,信号似乎断了几秒钟。
  这是不是一个错误,这是一个特点。由于前端有显着的功率要求(并因此变得非常热),
  如果他们未使用他们会被断电(即前端设备是关闭)。 DVB-core.o模块参数的
 “dvb_shutdown_timeout”允许您更改超时(默认5秒)。设置超时为0禁用超时功能。

 12 2. How can I watch TV?
 13 
 14         The driver distribution includes some simple utilities which
 15         are mainly intended for testing and to demonstrate how the
 16         DVB API works.
 17 
 18         Depending on whether you have a DVB-S, DVB-C or DVB-T card, use
 19         apps/szap/szap, czap or tzap. You must supply a channel list
 20         in ~/.[sct]zap/channels.conf. If you are lucky you can just copy
 21         one of the supplied channel lists, or you can create a new one
 22         by running apps/scan/scan. If you run scan on an unknown network
 23         you might have to supply some start data in apps/scan/initial.h.

我怎么能看电视? 

 驱动程序分发包括一些简单的工具,主要用于测试和演示DVB API的工作原理。使用

应用程序/ szap/ szap,曹普或tzap,具体取决于你是否有一个DVB-S,DVB-C和DVB-T卡。

你必须提供个频道列表在〜/。:SCT ZAP / channels.conf的。如果你是幸运的,你也

 可以只复制所提供的频道列表,或者你可以创建一个新的通过运行应用程序/扫描/扫描。如

果你在一个未知的网络上扫描,你可能必须提供一些启动应用程式/扫描/ initial.h的资料。 


 24 
 25         If you have a card with a built-in hardware MPEG-decoder the
 26         drivers create a video4linux device (/dev/v4l/video0) which
 27         you can use to watch TV with any v4l application. xawtv is known
 28         to work. Note that you cannot change channels with xawtv, you
 29         have to zap using [sct]zap. If you want a nice application for
 30         TV watching and record/playback, have a look at VDR.
 31 

 如果你有一个内置的硬件MPEG解码器卡,驱动程序创建video4linux的设备(/ dev/v4l/video0),

你可以用它来收看任何为v41的应用的电视节目。 xawtv是已知工作的例子。需要注意的是,你不能

改变xawtv的频道,你的渠道扎普使用[SCT] ZAP。如果你想有一个很好的看电视和记录/回放的应用,

看看VDR。

 32         If your card does not have a hardware MPEG decoder you need
 33         a software MPEG decoder. Mplayer or xine are known to work.
 34         Newsflash: MythTV also has DVB support now.
 35         Note: Only very recent versions of Mplayer and xine can decode.
 36         MPEG2 transport streams (TS) directly. Then, run
 37         '[sct]zap channelname -r' in one xterm, and keep it running,
 38         and start 'mplayer - < /dev/dvb/adapter0/dvr0' or
 39         'xine stdin://mpeg2 < /dev/dvb/adapter0/dvr0' in a second xterm.
 40         That's all far from perfect, but it seems no one has written
 41         a nice DVB application which includes a builtin software MPEG
 42         decoder yet.

如果你的卡没有你所需要的硬件MPEG解码器,你需要一个软件MPEG解码器。mplayer

或xine可以实现。快讯:MythTV的现在拥有DVB支持。注:只有最新版本的MPlayer和

xine可以解码。MPEG2直接传输流(TS),然后运行[SCT] ZAP频道名称-R'于一体的

xterm,并保持正常运行,启动mplayer的 - </ dev/dvb/adapter0/dvr0'或
 'xine的标准输入:// MPEG2</ dev/dvb/adapter0/dvr0号“在第二个xterm。这一

切远非完美,但似乎没有人写出一个不错的DVB应用程序,其中包括一个内置的软件MPEG
 解码器。

 
 44         Newsflash: Newest xine directly supports DVB. Just copy your
 45         channels.conf to ~/.xine and start 'xine dvb://', or select
 46         the DVB button in the xine GUI. Channel switching works using the
 47         numpad pgup/pgdown (NP9 / NP3) keys to scroll through the channel osd
 48         menu and pressing numpad-enter to switch to the selected channel.
 49  
 50         Note: Older versions of xine and mplayer understand MPEG program
 51         streams (PS) only, and can be used in conjunction with the
 52         ts2ps tool from the Metzler Brother's dvb-mpegtools package.
 53 

 快讯:最新xine直接支持DVB。只需复制您的 channels.conf到〜/.xine,并且启动

'xine的DVB://',或选择在xine的GUI上的DVB按钮。信道切换使用数字键盘pgup/ PgDown

键(NP9/ NP3)键滚动,通过渠道OSD菜单,按下数字键盘输入切换到所选择的通道。注:旧版

本的xine和mplayer只了解MPEG节目并可以和从梅茨勒兄弟的DVB-mpegtools的包中获得的

TS2PS工具结合使用。

 54 3. Which other DVB applications exist?
 55 
 56         http://www.cadsoft.de/people/kls/vdr/
 57                 Klaus Schmidinger's Video Disk Recorder
 58 
 59         http://www.metzlerbros.org/dvb/
 60                 Metzler Bros. DVB development; alternate drivers and
 61                 DVB utilities, include dvb-mpegtools and tuxzap.
 62 
 63         http://sourceforge.net/projects/dvbtools/
 64                 Dave Chapman's dvbtools package, including
 65                 dvbstream and dvbtune
 66 
 67         http://www.linuxdvb.tv/
 68                 Henning Holtschneider's site with many interesting
 69                 links and docs
 70 
 71         http://www.dbox2.info/
 72                 LinuxDVB on the dBox2
 73 
 74         http://www.tuxbox.org/
 75         http://cvs.tuxbox.org/
 76                 the TuxBox CVS many interesting DVB applications and the dBox2
 77                 DVB source
 78 
 79         http://www.linuxtv.org/downloads/       
 80                 DVB Swiss Army Knife library and utilities
 81 
 82         http://www.nenie.org/misc/mpsys/
 83                 MPSYS: a MPEG2 system library and tools
 84 
 85         http://mplayerhq.hu/
 86                 mplayer
 87 
 88         http://xine.sourceforge.net/
 89         http://xinehq.de/
 90                 xine
 91 
 92         http://www.mythtv.org/
 93                 MythTV - analog TV PVR, but now with DVB support, too
 94                 (with software MPEG decode)
 95 
 96         http://dvbsnoop.sourceforge.net/
 97                 DVB sniffer program to monitor, analyze, debug, dump
 98                 or view dvb/mpeg/dsm-cc/mhp stream information (TS,
 99                 PES, SECTION)

还有其他的DVB应用程序存在吗?

http://www.cadsoft.de/people/kls/vdr/
  克劳斯Schmidinger视频硬盘录像机
 
  http://www.metzlerbros.org/dvb/
  梅茨勒兄弟DVB发展;备用司机 DVB公用事业,包括: DVB - mpegtools tuxzap 。
 
  http://sourceforge.net/projects/dvbtools/
  戴夫·查普曼的的dvbtools包,包括 dvbstream dvbtune
 
  http://www.linuxdvb.tv/
  亨宁Holtschneider有许多有趣的网站链接和文档
 
  http://www.dbox2.info/
  LinuxDVB在dBox2上
  http://cvs.tuxbox.org/
  TuxBox CVS许多有趣的DVB应用程序和dBox2DVB源
 
http://www.linuxtv.org/downloads/
DVB瑞士陆军刀库和实用程序

 
  http://www.nenie.org/misc/mpsys/
  MPSYS : MPEG2系统库和工具
 
  http://mplayerhq.hu/的mplayer
  http://xine.sourceforge.net/
 
  http://www.mythtv.org/
  MythTV的 - 模拟电视PVR ,但现在与DVB支持(使用软件MPEG解码)
 
  http://dvbsnoop.sourceforge.net/
  DVB嗅探程序进行监测,分析,调试,转储
  或视图DVB / MPEG / DSM-CC / MHP流信息(TS,PES节)

4. Can't get a signal tuned correctly
102 
103         If you are using a Technotrend/Hauppauge DVB-C card *without* analog
104         module, you might have to use module parameter adac=-1 (dvb-ttpci.o).
105 
106 5. The dvb_net device doesn't give me any packets at all
107 
108         Run tcpdump on the dvb0_0 interface. This sets the interface
109         into promiscuous mode so it accepts any packets from the PID
110         you have configured with the dvbnet utility. Check if there
111         are any packets with the IP addr and MAC addr you have
112         configured with ifconfig.
113 
114         If tcpdump doesn't give you any output, check the statistics
115         which ifconfig outputs. (Note: If the MAC address is wrong,
116         dvb_net won't get any input; thus you have to run tcpdump
117         before checking the statistics.) If there are no packets at
118         all then maybe the PID is wrong. If there are error packets,
119         then either the PID is wrong or the stream does not conform to
120         the MPE standard (EN 301 192, http://www.etsi.org/). You can
121         use e.g. dvbsnoop for debugging.

4.不能得到正确调整信号

如果您使用的是TechnoTrend公司/ Hauppauge的DVB-C卡*without* analog

模块,您可能需要使用模块参数ADAC = -1 (DVB - ttpci.o ) 。

如果tcpdump的不给你任何输出,检查ifconfig的输出的数据。(注:如果该MAC

5. dvb_net设备不给我任何包

运行tcpdump的上dvb0_0接口。这设置接口成混杂模式,所以它接受任何数据包

中你已经配置dvbnet工具的PID。检查是否有IP地址和MAC地址的任何数据包,你

有用ifconfig配置的权限。


如果地址是错误的,dvb_net不会得到任何输入,因此,你必须在检查统计数据前运行

tcpdump)如果没有包那么也许PID是错误的。如果有错误的数据包,那么也许PID

是错误的,或该流不符合 MPE标准( EN 301 192 , http://www.etsi.org/

“ )的。您可以使用dvbsnoop来调试 。

6. The dvb_net device doesn't give me any multicast packets
124 
125         Check your routes if they include the multicast address range.
126         Additionally make sure that "source validation by reversed path
127         lookup" is disabled:
128           $ "echo 0 > /proc/sys/net/ipv4/conf/dvb0/rp_filter"

6.dvb_net设备并没有给我任何组播报文

检查你的路由,如果它们包括组播地址范围。 此外,确保“源验证颠倒的路径不能访问: $ "echo 0 > /proc/sys/net/ipv4/conf/dvb0/rp_filter"

129 
130 7. What the hell are all those modules that need to be loaded?
131 
132         For a dvb-ttpci av7110 based full-featured card the following
133         modules are loaded:
134 
135         - videodev: Video4Linux core module. This is the base module that
136           gives you access to the "analog" tv picture of the av7110 mpeg2
137           decoder.
138 
139         - v4l2-common: common functions for Video4Linux-2 drivers
140 
141         - v4l1-compat: backward compatibility layer for Video4Linux-1 legacy
142           applications
143 
144         - dvb-core: DVB core module. This provides you with the
145           /dev/dvb/adapter entries
146 
147         - saa7146: SAA7146 core driver. This is need to access any SAA7146
148           based card in your system.
149 
150         - saa7146_vv: SAA7146 video and vbi functions. These are only needed
151           for full-featured cards.
152 
153         - videobuf-dma-sg: capture helper module for the saa7146_vv driver. This
154           one is responsible to handle capture buffers.
155 
156         - dvb-ttpci: The main driver for AV7110 based, full-featured
157           DVB-S/C/T cards
158 
159 eof

7.需要加载的所有模块到底是什么?

对于的DVB - ttpci的AV7110基于以下全功能卡模块被加载:

- videodev的: Video4Linux的核心模块。这是一个基本模块,为您提供了访问AV7110 mpeg2的“模拟”电视画面解码器。
- V4L2-共同点: Video4Linux-2驱动的常用功能
- v4l1兼容: Video4Linux-1传统的向后兼容性层应用程序
- DVB核心: DVB核心模块。这为您提供了/ dev / DVB /适配器条目
- saa7146 SAA7146核心驱动。这是需要在你的系统访问任何SAA7146基础卡。
- saa7146_vv : SAA7146视频和VBI功能。这些只需要全功能卡。
- videobuf - DMA - SG :捕捉帮手模块的saa7146_vv驱动。这负责处理捕获缓冲区。
- DVB - ttpci的:基于AV7110 ,功能齐全的DVB-S/C/T卡
EOF


 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
将QT += core QT -= gui CONFIG += c++11 TARGET = UavRectifyLoadLIb CONFIG += console CONFIG -= app_bundle TEMPLATE = app SOURCES += main.cpp # The following define makes your compiler emit warnings if you use # any feature of Qt which as been marked deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the # deprecated API in order to know how to port your code away from it. DEFINES += QT_DEPRECATED_WARNINGS win32{ CONFIG(debug, debug|release){ DESTDIR = $$PWD/../../../../RasterManager/bin/Debug } else{ DESTDIR = $$PWD/../../../../RasterManager/bin/release } INCLUDEPATH += $$PWD/../../../include/gdal1101 DEPENDPATH += $$PWD/../../../include/gdal1101 } else{ CONFIG(debug, debug|release){ DESTDIR = $$PWD/../../../product/release32 } else{ DESTDIR = $$PWD/../../../product/release32 } } # You can also make your code fail to compile if you use deprecated APIs. # In order to do so, uncomment the following line. # You can also select to disable deprecated APIs only up to a certain version of Qt. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 unix:!macx: LIBS += -L$$PWD/../../../product/release32/ -lUAVAutoRectifyMt -lUAVAutoRectify -lUAVAutoRectifyFi INCLUDEPATH += $$PWD/../include DEPENDPATH += $$PWD/../include unix:!macx: LIBS += -L$$PWD/../../../lib/opencvf249/ -lopencv_core unix:!macx: LIBS += -L$$PWD/../../../lib/opencvf249/ -lopencv_highgui unix:!macx: LIBS += -L$$PWD/../../../lib/opencvf249/ -lopencv_imgproc INCLUDEPATH += $$PWD/../../../lib/opencvf249 DEPENDPATH += $$PWD/../../../lib/opencvf249 unix:!macx: LIBS += -L$$PWD/../../../../../../../usr/local/lib/ -lopencv_core #unix:!macx: LIBS += -L$$PWD/../../../../../../../usr/local/lib/ -lopencv_highgui unix:!macx: LIBS += -L$$PWD/../../../../../../../usr/local/lib/ -lopencv_imgproc unix:!macx: LIBS += -L$$PWD/../../../../../../../usr/local/lib/ -lopencv_features2d unix:!macx: LIBS += -L$$PWD/../../../../../../../usr/local/lib/ -lopencv_imgcodecs INCLUDEPATH += $$PWD/../../../../../../../usr/local/include DEPENDPATH += $$PWD/../../../../../../../usr/local/include unix:!macx: LIBS += -L$$PWD/../../../product/release32/ -lDEMDriver unix:!macx: LIBS += -L$$PWD/../../../product/release32/ -lProjection unix:!macx: LIBS += -L$$PWD/../../../product/release32/ -lIImage_gC QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO QMAKE_LFLAGS_RELEASE = $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO 转为cmake格式
06-11
根据给出的代码,可以将其转化为以下CMake代码: ``` cmake_minimum_required(VERSION 3.5) project(UavRectifyLoadLIb LANGUAGES CXX) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) find_package(Qt5Core REQUIRED) add_executable(UavRectifyLoadLIb main.cpp ) target_link_libraries(UavRectifyLoadLIb PRIVATE Qt5::Core UAVAutoRectifyMt UAVAutoRectify UAVAutoRectifyFi DEMDriver Projection IImage_gC opencv_core opencv_highgui opencv_imgproc opencv_features2d opencv_imgcodecs ) target_include_directories(UavRectifyLoadLIb PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../../include/gdal1101 ${CMAKE_CURRENT_SOURCE_DIR}/../include ${CMAKE_CURRENT_SOURCE_DIR}/../../../lib/opencvf249 ${CMAKE_CURRENT_SOURCE_DIR}/../../../../../../../usr/local/include ) if(UNIX AND NOT APPLE) target_link_directories(UavRectifyLoadLIb PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../../product/release32 ${CMAKE_CURRENT_SOURCE_DIR}/../../../../../../../usr/local/lib ) endif() if(WIN32) if(CMAKE_BUILD_TYPE STREQUAL "Debug") set_target_properties(UavRectifyLoadLIb PROPERTIES RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_CURRENT_SOURCE_DIR}/../../../../RasterManager/bin/Debug ) else() set_target_properties(UavRectifyLoadLIb PROPERTIES RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_CURRENT_SOURCE_DIR}/../../../../RasterManager/bin/release ) endif() else() if(CMAKE_BUILD_TYPE STREQUAL "Debug") set_target_properties(UavRectifyLoadLIb PROPERTIES RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_CURRENT_SOURCE_DIR}/../../../product/release32 ) else() set_target_properties(UavRectifyLoadLIb PROPERTIES RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_CURRENT_SOURCE_DIR}/../../../product/release32 ) endif() endif() ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值