【私的メモ】GyaOをRTMPDumpとMPlayerを組み合わせて再生する方法

GyaO(ギャオ)がrtmpeに移行し始めたので、色々メモ。

スマホのためかな?負荷対策?OS依存をなくすためかな?

パソコンテレビ GyaOではなく、これからはスマホテレビ GyaOを目指すのかな?

F:\(略)\rtmpdump -q –rtmp "rtmpe://fmsf01.yolk.yahoo.co.jp:1935" –tcUrl "rtmpe://fmsf01.yolk.yahoo.co.jp/yolk/1001/" –playpath "mp4:yolk/109/11/1001/110/1114978_AzVUqqGV1110077.f4v" –app "yolk/1001" –flashVer "WIN 11,7,700,224" –swfVfy "http://i.yimg.jp/images/gyao/fla/v1/red/GyaoPlayer.swf?v=2" | "E:\mplayer\mplayer.exe" -cache 8192 –

直接MPlayerで再生する場合はこんな感じ。まあ、全画面に対応したみたいなので余り必要性はないような気もするけど、GyaOの全画面はアンチエイリアスがかかってないのか、劣化表示なのかわからないけど、ジャギ様がひどいので綺麗に見たい人には有効かもしれない。

WS2013-07-02_12_54_07
GyaOの全画面表示のスクリーンショット、ジャギーがひどい。GyaOのフルスクリーンは普通に見ていて動画の画質が気になるレベル。

shot0002
これが、Mplayerの全画面表示のスクリーンショット、ジャギーは目立たない。VLCでも似たような感じ。GyaOのプレイヤーの全画面表示は汚いので可能なら是非直して欲しい。

私と同様に田舎で、回線がADSLなどで細くて不安定な場合は、カクカクしてまともに見れない場合もあるので、どうしてもダウンロードしてから見たい場合があると思います。そういう場合はパイプしないで、-o オプションを使用すると良い。回線が不安定な場合はレジュームオプション(–resume|-e )をつけると幸せになれるかもしれない。

RTMPDump オプション一覧。

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL

rtmpdump.exe: This program dumps the media content streamed over RTMP.

–help|-h               Prints this help screen.
–url|-i url            URL with options included (e.g. rtmp://host[:port]/pathswfUrl=url tcUrl=url)
–rtmp|-r url           URL (e.g. rtmp://host[:port]/path)
–host|-n hostname      Overrides the hostname in the rtmp url
–port|-c port          Overrides the port in the rtmp url
–socks|-S host:port    Use the specified SOCKS proxy
–protocol|-l num       Overrides the protocol in the rtmp url (0 – RTMP, 2 – RTMPE)
–playpath|-y path      Overrides the playpath parsed from rtmp url
–playlist|-Y           Set playlist before playing
–swfUrl|-s url         URL to player swf file
–tcUrl|-t url          URL to played stream (default: "rtmp://host[:port]/app")

–pageUrl|-p url        Web URL of played programme
–app|-a app            Name of target app on server
–swfhash|-w hexstring  SHA256 hash of the decompressed SWF file (32 bytes)
–swfsize|-x num        Size of the decompressed SWF file, required for SWFVerification
–swfVfy|-W url         URL to player swf file, compute hash/size automatically
–swfAge|-X days        Number of days to use cached SWF hash before refreshing
–auth|-u string        Authentication string to be appended to the connect string
–conn|-C type:data     Arbitrary AMF data to be appended to the connect string
                        B:boolean(0|1), S:string, N:number, O:object-flag(0|1),
                        Z:(null), NB:name:boolean, NS:name:string, NN:name:number
–flashVer|-f string    Flash version string (default: "WIN 10,0,32,18")
–live|-v               Save a live stream, no –resume (seeking) of live streams possible
–subscribe|-d string   Stream name to subscribe to (otherwise defaults to playpath if live is specifed)
–realtime|-R           Don’t attempt to speed up download via the Pause/Unpause BUFX hack
–flv|-o string         FLV output file name, if the file name is – print stream to stdout
–resume|-e             Resume a partial RTMP download
–timeout|-m num        Timeout connection num seconds (default: 30)
–start|-A num          Start at num seconds into stream (not valid when using –live)
–stop|-B num           Stop at num seconds into stream
–token|-T key          Key for SecureToken response
–jtv|-j JSON           Authentication token for Justin.tv legacy servers
–hashes|-#             Display progress with hashes, not with the byte counter
–buffer|-b             Buffer time in milliseconds (default: 36000000)
–skip|-k num           Skip num keyframes when looking for last keyframe to resume from. Useful if resume fails (default: 0)

–quiet|-q              Suppresses all command output.
–verbose|-V            Verbose command output.
–debug|-z              Debug level command output.
If you don’t pass parameters for swfUrl, pageUrl, or auth these properties will
not be included in the connect packet.

 

参考リンク:

Microsoft Silverlightのページを見るとわかるんだけど、Silverlightの導入事例の代表がGyaOだったわけだけど、そのGyaOから見限られたんでしょうか?

GyaOさんのスマホアプリ見るとわかるけど、GyaOはPC用でDRM有りきのSilverlightに依存していた為に、スマホ対応には色々と苦慮されているようなので、世の中の流れに乗ってDRMフリーでスマホ対応を強化していくんでしょうね。

無料動画 GyaO! – Google Play の Android アプリ

iTunes App Store で見つかる iPhone、iPod touch、iPad 対応 無料動画 GyaO!

FireShot Screen Capture #336 - 'Microsoft Silverlight' - www_microsoft_com_ja-jp_silverlight_default_aspx

Microsoft Silverlight

#Xbox OneといいWindows 8といい最近のMSの凋落ぶりがひどいですね。個人的にはIT土方に一番重宝されていたVBを捨てた頃から凋落がはじまった様な気がします。

(Visited 222 times, 1 visits today)

タグ :