dvb

ffmpeg and dvb subtitles scaling

你离开我真会死。 提交于 2021-01-29 03:17:36
问题 I try to hardcode the dvb subtitle in the video. I managed to hardcode it but it is still misplaced. The reason for this is that the subtitle is on SD resolution 720x576 while the video is 1920x1080. So when I use overlay the subtitle is is misplaced and on the left corner. this is my command: ffmpeg -canvas_size 1280x720 -y -probesize 5000000 -analyzeduration 5000000 -i http://192.168.2.9:8001 -filter_complex "[0:s]scale=1280:720[sub],[0:v]scale=1280:720,yadif=1[vid];[vid][sub]overlay[all]"

libdvbpsi源码分析(一)架构分析

£可爱£侵袭症+ 提交于 2020-04-17 02:48:53
【推荐阅读】微服务还能火多久?>>> 源码层次目录如下所示: 其中: psi.c: psi section structure dvbpsi.c: 抽象成DVB/PSI decoders,封装出接口,供应用层调用。 descriptor.c: 各种描述符数据的抽象 demux.c: 解复用器 descriptor/: 各种描述符的解析 tables/: 各种psi子表解析的具体实现 每个解码器被划分成两个实体:即the PSI decoder和the specific decoder。之所以如此划分的原因是,每个psi表的section都有相同的格式。解码器结构如图1所示: 图1:解码器结构 PSI解码器 :主要任务就是获取应用层提供的ts流数据包( STB则是根据底层的解码器芯片获取ts流 ),并将完整的psi section(段)发送给专用的解码器解析。对于不连续的ts流,PSI解码器也必须稳定可靠的工作,并将ts流交给专用的解码器处理。 专用解码器 (specific decoder):主要任务就是根据psi解码器提供的psi sections,重建完整的表(PSI/SI)并将 他们返回给应用层处理( S TB通常是存入相应的databas e ),同时还要根据psi decoder的指示去检查ts的完整性(作CRC校验)。如果不完整,则返回错误。 PSI

Is there any dvb-t library for android?

拜拜、爱过 提交于 2020-01-03 06:08:10
问题 I have an android STB and I'd like to know if there is any library with I can use the built in DVB-T tuner? Thanks in advance! 回答1: No, there is no DVB-T library for android. However, you can develop your own: Firstly, is your DVB-T device supported by the kernel? To check, see if DVB related debug comes out of dmesg when you boot up the box. Also, ls /dev/dvb* to see what is already there. If there is no DVB support in the kernel, you will need to add it. First you need access to the kernel

how to extract EPG from dvb-t (live tv stream - udp) with ffmpeg?

喜你入骨 提交于 2019-12-12 10:20:01
问题 I want to extract EPG from dvb-t (live tv stream - udp) with ffmpeg. I have a dvb-t device and receiving streams with udp. 回答1: I have an dvb-t udp .ts stream generated with mumudvb and I can extract the EPG guide info in XMLTV format with epgrab - https://github.com/hiroshiyui/epgrab git clone https://github.com/hiroshiyui/epgrab.git cd epgrab/ cmake . make # Point epgrab to your dvb adapter ./epgrab -i /dev/dvb/adapter0/demux0 > out.xml Hope this helps! 回答2: I wrote a utility called dvbtee

How can I concatenate ATSC streams from DVB card?

南楼画角 提交于 2019-12-11 08:09:53
问题 I'm trying to make a simple "TV viewer" using a Linux DVB video capture card. Currently I watch TV using the following process (I'm on a Raspberry Pi): Tune to a channel using azap -r TV_CHANNEL_HERE . This will supply bytes to device /dev/dvb/adapter0/dvr0 . Open OMXPlayer omxplayer /dev/dvb/adapter0/dvr0 Watch TV! The problem comes when I try to change channels. Even if I set the player to cache incoming bytes (tried with MPlayer also), the player can't withstand a channel change (by

Forcing Mpeg2Demultiplexer to use ffdshow to render H264 Digital TV Video

巧了我就是萌 提交于 2019-12-10 00:42:33
问题 I spend a lot of time trying to make DTVViewer sample of DirectShow work unfortunately with no success. The video format of DVBT network is H264 and I found that the IntelliConnect behavior of IFilterGraph prefers to use Mpeg2 Video format. For those who want to see the code, here it is. If you do not know anything about DirectShow I shared my experience with this code. And the most probably problem is described in step 5 and 6 of the tutorial. The code for helper function which connects

Forcing Mpeg2Demultiplexer to use ffdshow to render H264 Digital TV Video

半世苍凉 提交于 2019-12-04 22:27:14
I spend a lot of time trying to make DTVViewer sample of DirectShow work unfortunately with no success. The video format of DVBT network is H264 and I found that the IntelliConnect behavior of IFilterGraph prefers to use Mpeg2 Video format. For those who want to see the code, here it is. If you do not know anything about DirectShow I shared my experience with this code. And the most probably problem is described in step 5 and 6 of the tutorial. The code for helper function which connects filters: public static void UnsafeConnectFilters(IFilterGraph2 graph, IBaseFilter source, IBaseFilter dest,