• <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 評論 :: 0 Trackbacks


            一 videolan-howto-en-html
              該文檔完全描述了VideoLAN "流"的解決方法.
              VideoLAN 項目包括兩個軟件.
               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的包和包所需要的庫,把他們都放在同一個目錄.
              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 高級應(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的升級包.
               2).FC2的RPM包
               詳細(xì)說明清參見: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/
               二進(jìn)制包為: 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.未測試出的功能
               在局域網(wǎng)內(nèi)的同一網(wǎng)段內(nè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)驗:從源碼編譯安裝Mplayer 1.0pre5
              來自:http://yangchengkai.blogchina.com/blog/refer.177855.html
              Mplayer/gmplayer是目前Linux下廣范使用的媒體播放器,一個字--強(qiáng)!但由于它一般以Tarball的格式

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

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

            關(guān)這個的文章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,其實就是把解壓后的目錄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
              以上幾個參數(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之前可以運行./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的具體位置,為了保險起見,建議在~/.mplayer/里也做同樣的鏈接.
              要是系統(tǒng)沒有美化過,試試
              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,目前為止所有工作結(jié)束,運行g(shù)mplayer/mplayer看看,Enjoy it!:)
              PS:要是你用xine,在setup里可以把codes的目錄指定同mplayer一樣,這樣可以節(jié)省點空間^_^
              5.nvidia driver 驅(qū)動安裝:


             



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

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

            評論

            # re: vlc學(xué)習(xí)計劃(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ù)  更多評論
              

            # re: vlc學(xué)習(xí)計劃(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ù)  更多評論
              

            # re: vlc學(xué)習(xí)計劃(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ù)  更多評論
              


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


            ts,ps,mpeg2 decoder and analysis,ts分析.
            国产精品99久久不卡| 亚洲AV无码久久精品蜜桃| 亚洲国产精品久久久久婷婷老年| 99国产欧美久久久精品蜜芽 | 国产69精品久久久久APP下载| 伊人久久无码中文字幕| 26uuu久久五月天| 久久久精品国产免大香伊| 欧美激情精品久久久久| 色妞色综合久久夜夜| 久久免费视频观看| 日韩人妻无码精品久久免费一| 精品久久一区二区| 亚洲愉拍99热成人精品热久久| 国产成人99久久亚洲综合精品| 亚洲中文字幕无码一久久区| 久久99精品国产99久久6| 久久国产精品一国产精品金尊| 亚洲精品97久久中文字幕无码| 99久久综合国产精品二区| 亚洲av伊人久久综合密臀性色| 久久综合色区| 久久久WWW免费人成精品| 青青青国产成人久久111网站| 久久夜色精品国产网站| 一本色道久久综合狠狠躁| 久久久久99这里有精品10| 久久久久免费视频| 国产午夜福利精品久久| 久久91亚洲人成电影网站| 久久精品国产亚洲AV大全| 久久精品国产2020| 人人妻久久人人澡人人爽人人精品| 久久国产精品一区| 久久综合九色欧美综合狠狠| 国产精品va久久久久久久| 国产亚洲精久久久久久无码AV| 国内精品久久久久久久久| 99久久精品国产高清一区二区 | 久久人人爽人人人人爽AV | 大香网伊人久久综合网2020|