を見ていない私はこのようなsetted DVBパラメータ午前:FFmpegのはsetted frontend0パラメータ
static struct dtv_property props[] = {
{ .cmd = DTV_DELIVERY_SYSTEM, .u.data = SYS_DVBT2 },
{ .cmd = DTV_FREQUENCY, .u.data = 474000000 },
{ .cmd = DTV_MODULATION, .u.data = QAM_64 },
{ .cmd = DTV_INVERSION, .u.data = INVERSION_AUTO },
{ .cmd = DTV_INNER_FEC, .u.data = FEC_AUTO },
{ .cmd = DTV_TUNE , .u.data = FE_SET_FRONTEND},
{ .cmd = DTV_BANDWIDTH_HZ , .u.data = 8 },
};
static struct dtv_properties dtv_prop = {
.num = 7, .props = props
};
だから、私はFFmpegの中に、このsetted DVBの使用を使用しようとしていますが、それはerror.WhyにFFmpegはFrontend0は表示されません取得します?
if(avformat_open_input(&pFormatCtx, "/dev/dvb/adapter0/frontend0", NULL, NULL)!=0)
{
printf("error");
return -1;
}
私はdvb-appsがインストールされていると仮定していますか?ストリームを取得する前に、チャンネル設定ファイルを作成する必要があります。フロントエンドを圧縮し、ffmpegを使用します。 – WLGfx
私はこのコマンドをavformat_open_input(&pFormatCtx、 "/ dev/dvb/adapter0/frontend0"、NULL、NULL)コマンドを実行したが、ffmpeg/dev/dvb/adapter0/dvr0: –
にエラーが発生すると、w_scanとtzapを使いました。リソースが忙しい –