我有一个要求,采取一个dvb-t饲料到一个系统,然后能够推出通道通过一个本地网络作为一个rtsp流在一个点网核心环境。
LibVLCSharp似乎很适合这一要求,但我正忙于确定每个通道的PID值,这样我就可以有选择地分配各个通道。
我已经发现,如果我播放一个媒体元素,我可以从LibVLC日志中获取包含PID和通道名称的EPG信息,尽管这样做有点费劲。
我知道在VLC UI中,您可以从回放->程序中选择单独的频道,所以我觉得我缺少了一些东西。
是通过解析日志来获取信息的唯一途径,还是我遗漏了什么?
发布于 2020-08-13 07:51:04
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 选项中的任何一个
https://stackoverflow.com/questions/63377653
复制相似问题