亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ts.c

?? VLC Player Source Code
?? C
?? 第 1 頁 / 共 5 頁
字號:
/***************************************************************************** * ts.c: MPEG-II TS Muxer ***************************************************************************** * Copyright (C) 2001-2005 the VideoLAN team * $Id$ * * Authors: Laurent Aimar <fenrir@via.ecp.fr> *          Eric Petit <titer@videolan.org> *          Jean-Paul Saman <jpsaman #_at_# m2x.nl> *          Wallace Wadge <wwadge #_at_# gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************//***************************************************************************** * Preamble *****************************************************************************/#ifdef HAVE_CONFIG_H# include "config.h"#endif#include <vlc_common.h>#include <vlc_plugin.h>#include <vlc_sout.h>#include <vlc_codecs.h>#include <vlc_block.h>#include <vlc_iso_lang.h>#include "bits.h"#include "pes.h"#include "csa.h"#ifdef HAVE_DVBPSI_DR_H#   include <dvbpsi/dvbpsi.h>#   include <dvbpsi/demux.h>#   include <dvbpsi/descriptor.h>#   include <dvbpsi/pat.h>#   include <dvbpsi/pmt.h>#   include <dvbpsi/sdt.h>#   include <dvbpsi/dr.h>#   include <dvbpsi/psi.h>#else#   include "dvbpsi.h"#   include "demux.h"#   include "descriptor.h"#   include "tables/pat.h"#   include "tables/pmt.h"#   include "tables/sdt.h"#   include "descriptors/dr.h"#   include "psi.h"#endif/* * TODO: *  - check PCR frequency requirement *  - check PAT/PMT  "        " *  - check PCR/PCR "soft" *  - check if "registration" descriptor : "AC-3" should be a program *    descriptor or an es one. (xine want an es one) * *  - remove creation of PAT/PMT without dvbpsi *  - ? * FIXME: *  - subtitle support is far from perfect. I expect some subtitles drop *    if they arrive a bit late *    (We cannot rely on the fact that the fifo should be full) *//***************************************************************************** * Callback prototypes *****************************************************************************/static int ChangeKeyCallback    ( vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void * );static int ActiveKeyCallback    ( vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void * );/***************************************************************************** * Module descriptor *****************************************************************************/static int     Open   ( vlc_object_t * );static void    Close  ( vlc_object_t * );#define VPID_TEXT N_("Video PID")#define VPID_LONGTEXT N_("Assign a fixed PID to the video stream. The PCR " \  "PID will automatically be the video.")#define APID_TEXT N_("Audio PID")#define APID_LONGTEXT N_("Assign a fixed PID to the audio stream.")#define SPUPID_TEXT N_("SPU PID")#define SPUPID_LONGTEXT N_("Assign a fixed PID to the SPU.")#define PMTPID_TEXT N_("PMT PID")#define PMTPID_LONGTEXT N_("Assign a fixed PID to the PMT")#define TSID_TEXT N_("TS ID")#define TSID_LONGTEXT N_("Assign a fixed Transport Stream ID.")#define NETID_TEXT N_("NET ID")#define NETID_LONGTEXT N_("Assign a fixed Network ID (for SDT table)")#define PMTPROG_TEXT N_("PMT Program numbers")#define PMTPROG_LONGTEXT N_("Assign a program number to each PMT. This " \                            "requires \"Set PID to ID of ES\" to be enabled." )#define MUXPMT_TEXT N_("Mux PMT (requires --sout-ts-es-id-pid)")#define MUXPMT_LONGTEXT N_("Define the pids to add to each pmt. This " \                           "requires \"Set PID to ID of ES\" to be enabled." )#define SDTDESC_TEXT N_("SDT Descriptors (requires --sout-ts-es-id-pid)")#define SDTDESC_LONGTEXT N_("Defines the descriptors of each SDT. This" \                        "requires \"Set PID to ID of ES\" to be enabled." )#define PID_TEXT N_("Set PID to ID of ES")#define PID_LONGTEXT N_("Sets PID to the ID if the incoming ES. This is for " \  "use with --ts-es-id-pid, and allows to have the same PIDs in the input " \  "and output streams.")#define ALIGNMENT_TEXT N_("Data alignment")#define ALIGNMENT_LONGTEXT N_("Enforces alignment of all access units on " \  "PES boundaries. Disabling this might save some bandwidth but introduce incompatibilities.")#define SHAPING_TEXT N_("Shaping delay (ms)")#define SHAPING_LONGTEXT N_("Cut the " \  "stream in slices of the given duration, and ensure a constant bitrate " \  "between the two boundaries. This avoids having huge bitrate peaks, " \  "especially for reference frames." )#define KEYF_TEXT N_("Use keyframes")#define KEYF_LONGTEXT N_("If enabled, and shaping is specified, " \  "the TS muxer will place the boundaries at the end of I pictures. In " \  "that case, the shaping duration given by the user is a worse case " \  "used when no reference frame is available. This enhances the efficiency " \  "of the shaping algorithm, since I frames are usually the biggest " \  "frames in the stream.")#define PCR_TEXT N_("PCR delay (ms)")#define PCR_LONGTEXT N_("Set at which interval " \  "PCRs (Program Clock Reference) will be sent (in milliseconds). " \  "This value should be below 100ms. (default is 70ms).")#define BMIN_TEXT N_( "Minimum B (deprecated)")#define BMIN_LONGTEXT N_( "This setting is deprecated and not used anymore" )#define BMAX_TEXT N_( "Maximum B (deprecated)")#define BMAX_LONGTEXT N_( "This setting is deprecated and not used anymore")#define DTS_TEXT N_("DTS delay (ms)")#define DTS_LONGTEXT N_("Delay the DTS (decoding time " \  "stamps) and PTS (presentation timestamps) of the data in the " \  "stream, compared to the PCRs. This allows for some buffering inside " \  "the client decoder.")#define ACRYPT_TEXT N_("Crypt audio")#define ACRYPT_LONGTEXT N_("Crypt audio using CSA")#define VCRYPT_TEXT N_("Crypt video")#define VCRYPT_LONGTEXT N_("Crypt video using CSA")#define CK_TEXT N_("CSA Key")#define CK_LONGTEXT N_("CSA encryption key. This must be a " \  "16 char string (8 hexadecimal bytes).")#define CK2_TEXT N_("Second CSA Key")#define CK2_LONGTEXT N_("The even CSA encryption key. This must be a " \  "16 char string (8 hexadecimal bytes).")#define CU_TEXT N_("CSA Key in use")#define CU_LONGTEXT N_("CSA encryption key used. It can be the odd/first/1 " \  "(default) or the even/second/2 one.")#define CPKT_TEXT N_("Packet size in bytes to encrypt")#define CPKT_LONGTEXT N_("Size of the TS packet to encrypt. " \    "The encryption routines subtract the TS-header from the value before " \    "encrypting." )#define SOUT_CFG_PREFIX "sout-ts-"#ifdef HAVE_BSEARCH#   define MAX_PMT 64       /* Maximum number of programs. FIXME: I just chose an arbitary number. Where is the maximum in the spec? */#else#   define MAX_PMT 1#endif#define MAX_PMT_PID 64       /* Maximum pids in each pmt.  FIXME: I just chose an arbitary number. Where is the maximum in the spec? */vlc_module_begin();    set_description( N_("TS muxer (libdvbpsi)") );    set_shortname( "MPEG-TS");    set_category( CAT_SOUT );    set_subcategory( SUBCAT_SOUT_MUX );    set_capability( "sout mux", 120 );    add_shortcut( "ts" );    add_integer( SOUT_CFG_PREFIX "pid-video", 0, NULL,VPID_TEXT, VPID_LONGTEXT,                                  true );    add_integer( SOUT_CFG_PREFIX "pid-audio", 0, NULL, APID_TEXT,                 APID_LONGTEXT, true );    add_integer( SOUT_CFG_PREFIX "pid-spu", 0, NULL, SPUPID_TEXT,                 SPUPID_LONGTEXT, true );    add_integer( SOUT_CFG_PREFIX "pid-pmt", 0, NULL, PMTPID_TEXT,                 PMTPID_LONGTEXT, true );    add_integer( SOUT_CFG_PREFIX "tsid", 0, NULL, TSID_TEXT,                 TSID_LONGTEXT, true );#ifdef HAVE_DVBPSI_SDT    add_integer( SOUT_CFG_PREFIX "netid", 0, NULL, NETID_TEXT,                 NETID_LONGTEXT, true );#endif    add_string( SOUT_CFG_PREFIX "program-pmt", NULL, NULL, PMTPROG_TEXT,                PMTPROG_LONGTEXT, true );    add_bool( SOUT_CFG_PREFIX "es-id-pid", 0, NULL, PID_TEXT, PID_LONGTEXT,              true );    add_string( SOUT_CFG_PREFIX "muxpmt", NULL, NULL, MUXPMT_TEXT, MUXPMT_LONGTEXT, true );#ifdef HAVE_DVBPSI_SDT    add_string( SOUT_CFG_PREFIX "sdtdesc", NULL, NULL, SDTDESC_TEXT, SDTDESC_LONGTEXT, true );#endif    add_bool( SOUT_CFG_PREFIX "alignment", true, NULL, ALIGNMENT_TEXT,              ALIGNMENT_LONGTEXT, true );    add_integer( SOUT_CFG_PREFIX "shaping", 200, NULL, SHAPING_TEXT,                 SHAPING_LONGTEXT, true );    add_bool( SOUT_CFG_PREFIX "use-key-frames", false, NULL, KEYF_TEXT,              KEYF_LONGTEXT, true );    add_integer( SOUT_CFG_PREFIX "pcr", 70, NULL, PCR_TEXT, PCR_LONGTEXT,                 true );    add_integer( SOUT_CFG_PREFIX "bmin", 0, NULL, BMIN_TEXT, BMIN_LONGTEXT,                 true );    add_integer( SOUT_CFG_PREFIX "bmax", 0, NULL, BMAX_TEXT, BMAX_LONGTEXT,                 true );    add_integer( SOUT_CFG_PREFIX "dts-delay", 400, NULL, DTS_TEXT,                 DTS_LONGTEXT, true );    add_bool( SOUT_CFG_PREFIX "crypt-audio", true, NULL, ACRYPT_TEXT,              ACRYPT_LONGTEXT, true );    add_bool( SOUT_CFG_PREFIX "crypt-video", true, NULL, VCRYPT_TEXT,              VCRYPT_LONGTEXT, true );    add_string( SOUT_CFG_PREFIX "csa-ck", NULL, NULL, CK_TEXT, CK_LONGTEXT,                true );    add_string( SOUT_CFG_PREFIX "csa2-ck", NULL, NULL, CK2_TEXT, CK2_LONGTEXT,                true );    add_string( SOUT_CFG_PREFIX "csa-use", "1", NULL, CU_TEXT, CU_LONGTEXT,                true );    add_integer( SOUT_CFG_PREFIX "csa-pkt", 188, NULL, CPKT_TEXT, CPKT_LONGTEXT, true );    set_callbacks( Open, Close );vlc_module_end();/***************************************************************************** * Local data structures *****************************************************************************/static const char *const ppsz_sout_options[] = {    "pid-video", "pid-audio", "pid-spu", "pid-pmt", "tsid", "netid",    "es-id-pid", "shaping", "pcr", "bmin", "bmax", "use-key-frames",    "dts-delay", "csa-ck", "csa2-ck", "csa-use", "csa-pkt", "crypt-audio", "crypt-video",    "muxpmt", "sdtdesc", "program-pmt", "alignment",    NULL};typedef struct pmt_map_t   /* Holds the mapping between the pmt-pid/pmt table */{    int i_pid;    unsigned long i_prog;} pmt_map_t;typedef struct sdt_desc_t{    char *psz_provider;    char *psz_service_name;  /* name of program */} sdt_desc_t;typedef struct{    int     i_depth;    block_t *p_first;    block_t **pp_last;} sout_buffer_chain_t;static inline void BufferChainInit  ( sout_buffer_chain_t *c ){    c->i_depth = 0;    c->p_first = NULL;    c->pp_last = &c->p_first;}static inline void BufferChainAppend( sout_buffer_chain_t *c, block_t *b ){    *c->pp_last = b;    c->i_depth++;    while( b->p_next )    {        b = b->p_next;        c->i_depth++;    }    c->pp_last = &b->p_next;}static inline block_t *BufferChainGet( sout_buffer_chain_t *c ){    block_t *b = c->p_first;    if( b )    {        c->i_depth--;        c->p_first = b->p_next;        if( c->p_first == NULL )        {            c->pp_last = &c->p_first;        }        b->p_next = NULL;    }    return b;}static inline block_t *BufferChainPeek( sout_buffer_chain_t *c ){    block_t *b = c->p_first;    return b;}static inline void BufferChainClean( sout_buffer_chain_t *c ){    block_t *b;    while( ( b = BufferChainGet( c ) ) )    {        block_Release( b );    }    BufferChainInit( c );}typedef struct ts_stream_t{    int             i_pid;    vlc_fourcc_t    i_codec;    int             i_stream_type;    int             i_stream_id;    int             i_continuity_counter;    bool            b_discontinuity;    /* to be used for carriege of DIV3 */    vlc_fourcc_t    i_bih_codec;    int             i_bih_width, i_bih_height;    /* Specific to mpeg4 in mpeg2ts */    int             i_es_id;    int             i_decoder_specific_info;    uint8_t         *p_decoder_specific_info;    /* language is iso639-2T */    int             i_langs;    uint8_t         *lang;    sout_buffer_chain_t chain_pes;    mtime_t             i_pes_dts;    mtime_t             i_pes_length;    int                 i_pes_used;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美在线观看视频一区二区三区| 欧美一区二区三区性视频| 色婷婷av一区二区三区软件| 欧美一区二区在线观看| 亚洲欧美视频一区| 国产精品91xxx| 日韩免费电影一区| 亚洲成a人片在线不卡一二三区| 国产成人精品一区二| 日韩午夜在线播放| 一区二区三区精密机械公司| 国产91在线看| 2023国产精品| 韩国三级在线一区| 欧美www视频| 美女精品自拍一二三四| 欧美天天综合网| 国产精品成人网| 成人av在线资源| 日本一区二区久久| 国产成人av电影免费在线观看| 欧美一二三四在线| 免费高清在线视频一区·| 91精品国产综合久久久久久漫画| 一区二区三区国产豹纹内裤在线| 91在线视频18| 亚洲欧美综合在线精品| jiyouzz国产精品久久| 国产精品系列在线| 成人av在线网站| 自拍偷拍欧美激情| 欧美性做爰猛烈叫床潮| 亚洲国产视频直播| 正在播放一区二区| 奇米色一区二区三区四区| 91麻豆精品国产91久久久久久 | 国产欧美精品一区二区色综合朱莉 | 精品播放一区二区| 激情文学综合丁香| 国产亚洲精品久| 成人美女视频在线看| 国产精品久久影院| 在线观看av一区| 午夜国产不卡在线观看视频| 555www色欧美视频| 九九久久精品视频| 中文字幕欧美日韩一区| 91豆麻精品91久久久久久| 亚洲男人的天堂一区二区| 欧美午夜视频网站| 捆绑紧缚一区二区三区视频| 精品欧美一区二区久久| 丁香激情综合五月| 亚洲精选视频在线| 日韩一区二区精品在线观看| 国内精品伊人久久久久av一坑| 久久婷婷国产综合国色天香| 波多野结衣中文字幕一区二区三区| 国产精品久久久久久亚洲毛片| 色婷婷亚洲婷婷| 久久福利视频一区二区| 国产精品日韩成人| 欧美日韩精品一区二区| 狠狠色2019综合网| 亚洲综合丝袜美腿| 久久综合色鬼综合色| 色美美综合视频| 美女一区二区三区在线观看| 国产精品入口麻豆原神| 7777精品伊人久久久大香线蕉经典版下载 | 日韩欧美国产成人一区二区| 成人av网站免费观看| 日本人妖一区二区| 亚洲欧洲中文日韩久久av乱码| 欧美区在线观看| 成人精品视频网站| 久久国产尿小便嘘嘘尿| 一区二区三区欧美激情| 久久日一线二线三线suv| 欧美综合在线视频| 国产精品一线二线三线精华| 午夜精品福利在线| 亚洲三级电影网站| 久久久久一区二区三区四区| 欧美日韩在线播| 成人动漫精品一区二区| 久99久精品视频免费观看| 亚洲国产sm捆绑调教视频| 国产精品久久久久久户外露出 | 欧美羞羞免费网站| av一区二区三区四区| 国产自产2019最新不卡| 午夜精品福利一区二区三区av | 欧美综合一区二区| 成人午夜大片免费观看| 久久精品国产一区二区三区免费看 | 日韩成人免费看| 亚洲韩国精品一区| 亚洲欧美日韩在线| 国产精品毛片无遮挡高清| 久久只精品国产| 欧美电视剧在线观看完整版| 欧美伦理影视网| 欧美优质美女网站| 97久久精品人人做人人爽 | 欧美日韩亚洲综合在线| 91麻豆成人久久精品二区三区| 国产精品一二三在| 日本伊人色综合网| 丝袜国产日韩另类美女| 亚洲午夜在线视频| 亚洲在线中文字幕| 亚洲一区在线观看视频| 一区二区三区在线视频观看58| 国产精品伦理一区二区| 国产精品乱人伦一区二区| 欧美经典一区二区三区| 国产欧美一区二区在线| 中文字幕国产一区| 国产精品第五页| 亚洲特黄一级片| 亚洲欧洲日本在线| 亚洲精品日日夜夜| 亚洲国产色一区| 日韩激情中文字幕| 青青草伊人久久| 狠狠色丁香久久婷婷综合丁香| 国产综合色视频| 成人免费看视频| 91丨porny丨最新| 色屁屁一区二区| 5858s免费视频成人| 精品久久久久香蕉网| 国产农村妇女毛片精品久久麻豆 | 91丨porny丨中文| 欧美群妇大交群中文字幕| 日韩欧美一级二级三级久久久| 26uuu国产在线精品一区二区| 国产午夜精品一区二区三区嫩草| 中文一区一区三区高中清不卡| 亚洲精品亚洲人成人网在线播放| 亚洲综合免费观看高清完整版 | 亚洲人成网站影音先锋播放| 亚洲不卡在线观看| 久久www免费人成看片高清| 国产成人在线免费观看| 91国偷自产一区二区三区观看| 欧美久久久久中文字幕| 久久久精品免费网站| 亚洲综合一区在线| 精品一区二区影视| 99久久综合精品| 欧美另类久久久品| 中文字幕乱码久久午夜不卡 | 日韩亚洲欧美综合| 国产精品久久久久久久久久免费看| 亚洲国产毛片aaaaa无费看| 国产一区美女在线| 日本韩国欧美在线| 久久久久国产成人精品亚洲午夜| 亚洲激情图片一区| 国产高清久久久久| 91精品一区二区三区久久久久久 | 日韩成人伦理电影在线观看| 丰满少妇在线播放bd日韩电影| 欧美日韩免费不卡视频一区二区三区| 精品久久久久久久久久久院品网 | 欧美日韩不卡在线| 国产精品国产三级国产三级人妇| 日本免费新一区视频| 日本精品裸体写真集在线观看| 久久这里只有精品首页| 日韩精品成人一区二区在线| 94-欧美-setu| 国产网站一区二区| 日本aⅴ精品一区二区三区| 色综合色狠狠天天综合色| 欧美精品一区二区久久婷婷| 午夜精品123| 欧美在线不卡视频| 亚洲欧洲av在线| 成人免费看片app下载| 久久午夜电影网| 久久电影网站中文字幕 | 久久精品亚洲麻豆av一区二区| 亚洲r级在线视频| 91在线视频官网| 国产精品毛片高清在线完整版| 国产一区二区精品久久| 欧美成人video| 久久99日本精品| 91精品国产福利在线观看 | 国产精品18久久久久久vr| 日韩一区二区精品在线观看| 午夜精品福利一区二区蜜股av| 在线观看日韩精品| 亚洲一卡二卡三卡四卡五卡| 在线亚洲免费视频| 亚洲一二三区在线观看| 欧美性受xxxx黑人xyx性爽|