• <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++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
              21 隨筆 :: 0 文章 :: 54 評(píng)論 :: 0 Trackbacks


            一 videolan-howto-en-html
              該文檔完全描述了VideoLAN "流"的解決方法.
              VideoLAN 項(xiàng)目包括兩個(gè)軟件.
               1) VLC:以前是視頻流接收的客戶端,但是現(xiàn)在也可以作為服務(wù)端工作.
               2) VLS:視頻服務(wù)端,能發(fā)送 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的包和包所需要的庫,把他們都放在同一個(gè)目錄.
              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在命令行下發(fā)送流
              % 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 高級(jí)應(yīng)用(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"}"}'
             
            此文章為轉(zhuǎn)載,原文出處為,http://www.wangchao.net.cn/bbsdetail_58052.html

             
            .1.在RH9上的安裝需要
               1).RH9的升級(jí)包.
               2).FC2的RPM包
               詳細(xì)說明清參見:http://www.videolan.org/vlc/download-redhat.html
               以上VLC 版本為:0.7.2
              2.下載RH9的升級(jí)包
               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/
               二進(jìn)制包為: vlc-binary.tar.gz
              4.將RH9的升級(jí)包和 vlc-binary.tar.gz放在同一個(gè)目錄.
               ~#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,使用命令行選項(xiàng)直接啟動(dòng),參見videolan-how-to-en.
              7.未測(cè)試出的功能
               在局域網(wǎng)內(nèi)的同一網(wǎng)段內(nèi)的兩臺(tái)PC上不能用MULTICAST 進(jìn)行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
              三. 經(jīng)驗(yàn):從源碼編譯安裝Mplayer 1.0pre5
              來自:http://yangchengkai.blogchina.com/blog/refer.177855.html
              Mplayer/gmplayer是目前Linux下廣范使用的媒體播放器,一個(gè)字--強(qiáng)!但由于它一般以Tarball的格式

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

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

            關(guān)這個(gè)的文章Sir里已經(jīng)有了不少,自己這篇就不打算往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的字體文件:
                當(dāng)然,還要下載Skin文件給gmplayer用:
              
            http://ftp5.mplayerhq.hu/mplayer/Skin/
              建議用default blue或者neutron,當(dāng)然,你也可以下載其他的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,其實(shí)就是把解壓后的目錄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
              以上幾個(gè)參數(shù)解釋一下:
              --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:設(shè)定系統(tǒng)界面語言為中文
              在configure之前可以運(yùn)行./configure --help查看支持的特性設(shè)定,可以根據(jù)自己需求選擇,以上只是

            最基本的啦.
              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/
              如果你的系統(tǒng)用simsun美化過,則直接
              ln -s ***/simsun.ttf subfont.ttf
              注意,這里的***是指simsun的具體位置,為了保險(xiǎn)起見,建議在~/.mplayer/里也做同樣的鏈接.
              要是系統(tǒng)沒有美化過,試試
              ln -s /usr/share/fonts/zh_CN/TrueType/gbsn001p.ttf subfont.ttf
              這樣中文字幕就搞定了.
              4.安裝Skin:
              超級(jí)簡(jiǎn)單,把skin包解壓后mv到/usr/local/share/mplayer/Skin就可以了,注意一定要有一個(gè)skin叫做

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


             



            TS,MPEG2,dvbc專家 2009-10-12 09:07 發(fā)表評(píng)論

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

            評(píng)論

            # re: vlc學(xué)習(xí)計(jì)劃(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.   回復(fù)  更多評(píng)論
              

            # re: vlc學(xué)習(xí)計(jì)劃(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.   回復(fù)  更多評(píng)論
              

            # re: vlc學(xué)習(xí)計(jì)劃(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!  回復(fù)  更多評(píng)論
              


            只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


            ts,ps,mpeg2 decoder and analysis,ts分析.
            波多野结衣久久精品| 久久最新精品国产| 国产精品九九久久免费视频 | 欧美熟妇另类久久久久久不卡| 精品国产热久久久福利| 99久久无色码中文字幕| 国产精品对白刺激久久久| 东京热TOKYO综合久久精品| www.久久99| 九九久久精品无码专区| 久久夜色撩人精品国产| 亚洲国产成人精品久久久国产成人一区二区三区综 | 国产精品亚洲美女久久久| 国产成人精品久久免费动漫| 国产精品久久永久免费| 国产69精品久久久久99| 一级女性全黄久久生活片免费 | 99久久精品免费看国产一区二区三区| 久久综合狠狠综合久久97色| 日韩精品无码久久一区二区三| 久久亚洲精品国产精品婷婷| 久久狠狠爱亚洲综合影院| 大伊人青草狠狠久久| 久久免费观看视频| 久久亚洲私人国产精品vA| 国内精品久久久久影院一蜜桃| 91久久精品电影| 久久亚洲AV成人无码软件| 久久精品国产影库免费看| 亚洲国产日韩欧美综合久久| jizzjizz国产精品久久| 亚洲欧美另类日本久久国产真实乱对白 | 久久久青草久久久青草| 日韩va亚洲va欧美va久久| 人人狠狠综合久久88成人| 久久精品一区二区影院| 亚洲精品乱码久久久久久蜜桃不卡| 久久免费视频网站| 少妇精品久久久一区二区三区| 久久精品无码一区二区三区免费 | 亚洲精品无码久久久久去q|