• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            ts,ps,mpeg2 decoder and analysis

            mepg 2, iptv, stream parse,mov,mxf,gxf,ac3,aac

              C++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
              21 隨筆 :: 0 文章 :: 54 評論 :: 0 Trackbacks


            一 videolan-howto-en-html
              該文檔完全描述了VideoLAN "流"的解決方法.
              VideoLAN 項目包括兩個軟件.
               1) VLC:以前是視頻流接收的客戶端,但是現在也可以作為服務端工作.
               2) VLS:視頻服務端,能發送 MPEG-1, MPEG-2 and MPEG-4 files, DVDs, digital satellite

            channels, digital terrestial television channels and live videos on the network in unicast or

            multicast.
              1.VLC 在REDHAT 下的安裝
              從下面的鏈接中下載 vlc的包和包所需要的庫,把他們都放在同一個目錄.
              http://www.videolan.org/vlc/download-redhat.html
              
               源代碼安裝:
               源代碼安裝需要的庫如下:
               libdvbpsi (compulsory) ,
               mpeg2dec (compulsory) ,
               libdvdcss if you want to be able to read encrypted DVDs ,
               libdvdplay if you want to have DVD menu navigation ,
               a52dec if you want to be able to decode the AC3 (i.e. A52) sound format often used in

            DVDs ,
               ffmpeg, libmad, faad2 if you want to read MPEG 4 / DivX files ,
               libogg & libvorbis if you want to read Ogg Vorbis files .
              2.VLC在命令行下接收流
              Receive an unicast stream
              % vlc -vvv udp:
              Receive a multicast stream
              % vlc -vvv udp:@239.255.12.42
              where 239.255.12.42 is the multicast IP address you want to join.
              Receive an HTTP/FTP/MMS stream
              Use one of the following command lines:
              % vlc -vvv http://example/stream.xyz
              where http://example/stream.xyz is the HTTP address of the stream;
              % vlc -vvv ftp://example/stream.xyz
              where ftp://example/stream.xyz is the FTP address of the stream;
              % vlc -vvv ms://viptvr.yacast.fr/encoderfranceinfo
              where mms://viptvr.yacast.fr/encoderfranceinfo is the MMS address of the stream.
              Receive a RTP stream available through RTSP
              % vlc -vvv rtsp://www.hardradio.com/tonbeme.mov
              where rtsp://www.hardradio.com/tonbeme.mov is the address of the stream.
              Receive a stream described by an SDP file
              % vlc -vvv http://server.example.org/stream.sdp
              3.VLC在命令行下發送流
              % vlc -vvv video1.xyz --sout udp:192.168.0.42 --ttl 12
              where:
               *video1.xyz is the file you want to stream,
               *192.168.0.42 is either:
               o the IP address of the machine you want to unicast to;
               o or the DNS name the machine you want to unicast to;
               o or a multicast IP address.
               *12 is the value of the TTL (Time To Live) of your IP packets (which means that the

            stream will be able to cross 11 routers).
              If you want to stream the file continuously, add the --loop option.
              4.VLC 高級應用(VLC's stream output (transcoding, multiple streaming, etc...))
               語法: Please refer to the" command line interface" chapter of the "VLC user guide "to

            learn the syntax of VLC's stream output.
               例子:
               ----編碼方面的例子
              Transcode the input stream and send it to a multicast IP address with the associated SAP

            announce:
              % vlc -vvv input_stream --sout '#transcode

            {vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
              standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"}'
              Display the input stream, transcode it and send it to a multicast IP address with the

            associated SAP announce:
              % vlc -vvv input_stream --sout '#duplicate{dst=display,dst=
              "transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
              standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"}"}'
              Transcode the input stream, display the transcoded stream and send it to a multicast IP

            address with the associated SAP announce:
              % vlc -vvv input_stream --sout '#transcode

            {vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
              duplicate{dst=display,dst=standard

            {access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"}}'
              --多種流的例子
              Send a stream to a multicast IP address and a unicast IP address:
              % vlc -vvv input_stream --sout '#duplicate{dst=
              standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"},
              dst=standard{access=udp,mux=ts,url=192.168.1.2}}'
              Display the stream and send it to two unicast IP addresses:
              % vlc -vvv input_stream --sout '#duplicate{dst=display,dst=
              standard{access=udp,mux=ts,url=192.168.1.12},
              dst=standard{access=udp,mux=ts,url=192.168.1.42}}'
              Send parts of a multiple program input stream:
              % vlc -vvv multiple_program_input_stream
              --sout '#duplicate{dst=standard

            {access=udp,mux=ts,url=239.255.12.42},select="program=12345",
              dst=standard{access=udp,mux=ts,url=239.255.12.43}, select="video,program=1234-2345"}'
              This command sends the program of the input stream which id is 12345 to 239.255.12.42 and

            all video programs with id between 1234 and 2345 to 239.255.12.43.
              Transcoding and multiple streaming
              Transcode the input stream, display the transcoded stream and send it to a multicast IP

            address with the associated SAP announce and an unicast IP address:
              % vlc -vvv input_stream --sout '#transcode

            {vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
              duplicate{dst=display,dst=standard

            {access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"},
              dst=standard{access=udp,mux=ts,url=192.168.1.2}}'
              Display the input stream, transcode it and send it to two unicast IP addresses:
              % vlc -vvv input_stream --sout '#duplicate{dst=display,
              dst="transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:
              duplicate{dst=standard{access=udp,mux=ts,url=192.168.1.2},
              dst=standard{access=udp,mux=ts,url=192.168.1.12}"}'
              Send the input stream to a multicast IP address and the transcoded stream to another

            multicast IP address with the associated SAP announces:
              % vlc -vvv input_stream --sout '#duplicate{dst=
              standard{access=udp,mux=ts,url=239.255.1.2,sap,name="OriginalStream"},
              dst="transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:
              standard{access=udp,mux=ts,url=239.255.1.3,sap,name="TranscodedStream"}"}'
             
            此文章為轉載,原文出處為,http://www.wangchao.net.cn/bbsdetail_58052.html

             
            .1.在RH9上的安裝需要
               1).RH9的升級包.
               2).FC2的RPM包
               詳細說明清參見:http://www.videolan.org/vlc/download-redhat.html
               以上VLC 版本為:0.7.2
              2.下載RH9的升級包
               http://download.videolan.org/pub/videolan/vlc/0.7.2/rpm/redhat/rh9/
              3.下載FC2的RPM包
               http://download.videolan.org/pub/videolan/vlc/0.7.2/rpm/fedora/fc2/
               二進制包為: vlc-binary.tar.gz
              4.將RH9的升級包和 vlc-binary.tar.gz放在同一個目錄.
               ~#tar -zxvf vlc-binary.tar.gz
               ~#tar -zxvf redhat9-updates.tar.gz
              5.安裝
               ~#rpm -Uv vlc/* --force --nodeps
              6.使用
               1) 在REDHAT->AUDIO AND VIDEO->VLAN MEDIA PLAYER 可以打開
               2)或者在BASH 中打開vlc,使用命令行選項直接啟動,參見videolan-how-to-en.
              7.未測試出的功能
               在局域網內的同一網段內的兩臺PC上不能用MULTICAST 進行VIDEO
               傳輸.


            一.rm格式的播放器:
              下載地址:http://www.real.com/linux/?src=020923home_cn_cn
              安裝方式:~#./realplayer.bin
               打開方式:
              命令行:~#realplay
               GUI:redhat->audio and video->other app->realplayer
              二.mp3 播放器:xmms-1.2.8.tar.gz
               安裝方式:./configure & make &make install
              三. 經驗:從源碼編譯安裝Mplayer 1.0pre5
              來自:http://yangchengkai.blogchina.com/blog/refer.177855.html
              Mplayer/gmplayer是目前Linux下廣范使用的媒體播放器,一個字--強!但由于它一般以Tarball的格式

            發布,安裝比較BT,許多朋友都在找rpm的版本,但來源不同的rpm版本往往無法自己定制許多特性,比如中文

            支持等,而且容易造成rpm包的依賴問題,所以有不少朋友最終對 Mplayer又愛又恨...-_-!!
              其實自己編譯mplayer并不是什么太難的事,只是過程比較麻煩,但基本還是遵循tarball的安裝步驟,有

            關這個的文章Sir里已經有了不少,自己這篇就不打算往Sir里貼了,且留在這里和大家分享...:)
              首先是下載最新的mplayer的tarball,即1.0pre5:
              http://www4.mplayerhq.hu/homepage/design7/dload.html
              接下來是下載解碼器包,一般只要下載Essential Codes就足夠了,要放rmvb需要reallib的解碼器,我一

            般用xine放rmvb:
              http://www4.mplayerhq.hu/homepage/design7/codecs.html
              還有mplayer的字體文件:
                當然,還要下載Skin文件給gmplayer用:
              
            http://ftp5.mplayerhq.hu/mplayer/Skin/
              建議用default blue或者neutron,當然,你也可以下載其他的Skin.
              我們先把下載的所有文件cp到/opt/目錄下,然后開始具體安裝步驟.
              1.首先安裝解碼器:
              tar -jxvf essential-20040916.tar.bz2
              tar -jxvf rp9codecs-20040626.tar.bz2
              cp -rf rp9codecs-20040626/* essential-20040916/
              mv essential-20040916 /usr/lib/codes
              以上命令把解碼器包安裝到了/usr/lib/codes,其實就是把解壓后的目錄ren&mv了過去.
              2.編譯安裝mplayer:
              tar -jxvf MPlayer-1.0pre5.tar.bz2
              cd MPlayer-1.0pre5
              ./configure --enable-gui --with-codecsdir=/usr/lib/codecs --with-

            win32libdir=/usr/lib/codecs --with-reallibdir=/usr/lib/codecs --language=zh_CN
              以上幾個參數解釋一下:
              --enable-gui:打開圖形界面支持,就是gmplayer
              --with-codecsdir=/usr/lib/codecs:指明解碼器的目錄
              --with-win32libdir=/usr/lib/codecs:指明windows的媒體文件解碼器目錄位置
              --with-reallibdir=/usr/lib/codecs:指明real媒體文件的解碼器目錄位置,要用gmplayer放rmvb必須

            指定這條.
              --language=zh_CN:設定系統界面語言為中文
              在configure之前可以運行./configure --help查看支持的特性設定,可以根據自己需求選擇,以上只是

            最基本的啦.
              make
              make install
              3.安裝字體文件:
              tar -jxvf font-arial-iso-8859-1.tar.bz2
              mv font-arial-iso-8859-1/ /usr/local/share/mplayer/font/
              cd /usr/local/share/mplayer/font/
              如果你的系統用simsun美化過,則直接
              ln -s ***/simsun.ttf subfont.ttf
              注意,這里的***是指simsun的具體位置,為了保險起見,建議在~/.mplayer/里也做同樣的鏈接.
              要是系統沒有美化過,試試
              ln -s /usr/share/fonts/zh_CN/TrueType/gbsn001p.ttf subfont.ttf
              這樣中文字幕就搞定了.
              4.安裝Skin:
              超級簡單,把skin包解壓后mv到/usr/local/share/mplayer/Skin就可以了,注意一定要有一個skin叫做

            default,不然gmplayer無法運行.
              OK,目前為止所有工作結束,運行gmplayer/mplayer看看,Enjoy it!:)
              PS:要是你用xine,在setup里可以把codes的目錄指定同mplayer一樣,這樣可以節省點空間^_^
              5.nvidia driver 驅動安裝:


             



            TS,MPEG2,dvbc專家 2009-10-12 09:07 發表評論

            文章來源:http://www.cnitblog.com/dvb-dvb/archive/2009/10/12/61768.html
            posted on 2009-10-12 09:07 TS,MPEG2,dvbc專家 閱讀(2296) 評論(11)  編輯 收藏 引用

            評論

            # re: vlc學習計劃(1~~5) 2010-07-06 11:51 Reynolds33KATRINA
            If you are willing to buy a house, you will have to get the <a href="http://lowest-rate-loans.com/topics/credit-loans">credit loans</a>. Furthermore, my mother commonly takes a short term loan, which is the most useful.   回復  更多評論
              

            # re: vlc學習計劃(1~~5) 2010-08-05 19:11 Freelance writing job
            Web is flooded with the freelance writing service that can supply useful releases close to this good post.   回復  更多評論
              

            # re: vlc學習計劃(1~~5) 2011-12-11 22:48 dissertation writing
            This feature is really profitable! One fine day, article writing company facilitate me with writing research paper, which I was unfit to finish due to personal reasons. I consult you dissertation writing that will help you in your school life. Cheer!  回復  更多評論
              

            ts,ps,mpeg2 decoder and analysis,ts分析.
            亚洲AⅤ优女AV综合久久久| 亚洲综合精品香蕉久久网97| 久久婷婷五月综合97色直播| 国产精品美女久久福利网站| 久久久久高潮毛片免费全部播放 | 成人精品一区二区久久久| 久久精品女人天堂AV麻| 中文字幕精品久久久久人妻| 国产精品久久永久免费| 午夜精品久久影院蜜桃| 免费观看久久精彩视频| 亚洲av伊人久久综合密臀性色| 久久777国产线看观看精品| 伊人久久大香线蕉综合热线| 成人国内精品久久久久影院| 国产三级精品久久| 波多野结衣中文字幕久久 | 婷婷综合久久中文字幕| 四虎国产精品免费久久| 99久久综合国产精品二区| 午夜欧美精品久久久久久久| 久久人搡人人玩人妻精品首页| 久久人人爽人人爽人人片av高请 | 国产亚洲精品久久久久秋霞| 国产精品成人无码久久久久久 | 久久亚洲私人国产精品vA| 亚洲综合久久夜AV | 色综合久久天天综线观看| 国产福利电影一区二区三区,免费久久久久久久精 | 久久精品国产亚洲av瑜伽| 久久伊人精品青青草原高清| 狠狠色婷婷久久一区二区三区| 久久精品一区二区三区AV| 亚洲美日韩Av中文字幕无码久久久妻妇| 久久精品国产99国产电影网| 久久丫精品国产亚洲av| 久久久久久亚洲精品成人| 高清免费久久午夜精品| 青青青青久久精品国产h| 欧美亚洲国产精品久久蜜芽| 麻豆精品久久久一区二区|