簡體   English   中英

VLC直播http流式傳輸到Android

[英]VLC live http streaming to Android

我正在嘗試使用VideoView從VLC到Android應用程序進行http直播。

我有3gp視頻並使用vlc來傳輸它:

cvlc -vvv video.3gp --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:standard{access=http,mux=ogg,‌​dst=128.0.0.6:9090/jlanza}' 

在我的android中,我將videoview源設置為http://和httplive://但沒有顯示任何內容。 我總是得到一個錯誤。

任何人都可以向我解釋如何為http直播流配置vlc嗎?

編輯:解決我的問題

cvlc -vvv video.mp4 --sout '#transcode{vcodec=h264,vb=100}:standard{access=http,mux=ts{use-key-frames},dst=:9090}'

然后網址是http:// @ server:9090

解決我的問題

cvlc -vvv video.mp4 --sout'#transcode {vcodec = h264,vb = 100}:standard {access = http,mux = ts {use-key-frames},dst =:9090}'

然后網址是http:// @ server:9090

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM