首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >从Libvlcsharp (dvb-t)获取程序信息

从Libvlcsharp (dvb-t)获取程序信息
EN

Stack Overflow用户
提问于 2020-08-12 13:33:11
回答 1查看 361关注 0票数 0

我有一个要求,采取一个dvb-t饲料到一个系统,然后能够推出通道通过一个本地网络作为一个rtsp流在一个点网核心环境。

LibVLCSharp似乎很适合这一要求,但我正忙于确定每个通道的PID值,这样我就可以有选择地分配各个通道。

我已经发现,如果我播放一个媒体元素,我可以从LibVLC日志中获取包含PID和通道名称的EPG信息,尽管这样做有点费劲。

我知道在VLC UI中,您可以从回放->程序中选择单独的频道,所以我觉得我缺少了一些东西。

是通过解析日志来获取信息的唯一途径,还是我遗漏了什么?

EN

回答 1

Stack Overflow用户

发布于 2020-08-13 07:51:04

代码语言:javascript
复制
TS muxer (libdvbpsi) (mux_ts)
      --sout-ts-standard={dvb,atsc} 
                                 Digital TV Standard
      --sout-ts-pid-video=<integer [32 .. 8190]> 
                                 Video PID
          Assign a fixed PID to the video stream. The PCR PID will
          automatically be the video.
      --sout-ts-pid-audio=<integer [32 .. 8190]> 
                                 Audio PID
          Assign a fixed PID to the audio stream.
      --sout-ts-pid-spu=<integer [32 .. 8190]> 
                                 SPU PID
          Assign a fixed PID to the SPU.
      --sout-ts-pid-pmt=<integer [32 .. 8190]> 
                                 PMT PID
          Assign a fixed PID to the PMT
      --sout-ts-tsid=<integer>   TS ID
          Assign a fixed Transport Stream ID.
      --sout-ts-netid=<integer>  NET ID
          Assign a fixed Network ID (for SDT table)
      --sout-ts-program-pmt=<string> 
                                 PMT Program numbers
          Assign a program number to each PMT. This requires "Set PID to ID of
          ES" to be enabled.
      --sout-ts-es-id-pid, --no-sout-ts-es-id-pid 
                                 Set PID to ID of ES
                                 (default disabled)
          Sets PID to the ID if the incoming ES. This is for use with
          --ts-es-id-pid, and allows having the same PIDs in the input and
          output streams.
      --sout-ts-muxpmt=<string>  Mux PMT (requires --sout-ts-es-id-pid)
          Define the pids to add to each pmt. This requires "Set PID to ID of
          ES" to be enabled.
      --sout-ts-sdtdesc=<string> SDT Descriptors (requires --sout-ts-es-id-pid)
          Defines the descriptors of each SDT. This requires "Set PID to ID of
          ES" to be enabled.

也许这有帮助,从来没有尝试过你想要达到的目标,所以我不确定。您可以使用libvlcsharp 选项中的任何一个

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63377653

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档