Problems Starting VLC HTTP Stream with Servlet -


i'm working on vlc project myself. goal create html front end start stream. doing through use of java servlets.

overview: ubuntu 13.04, java 7-21 : icedtea 2.3.9, eclipse javaee ide, tomcat 7

i trying start vlc http video stream using call.

vlc -vvv /home/jca310ms/videos/test.avi.flv \     --sout '#transcode{vcodec=flv1,vb=4096,fps=25,scale=1,acodec=mp3,ab=512,samplerate=44100,channels=2}:std{access=http,mux=flv,dst=0.0.0.0:8081/stream.flv}' 

now, call work command line. however, when run using :

string args = "vlc -vvv /home/jca310ms/videos/test.avi.flv --sout '#transcode{vcodec=flv1,vb=4096,fps=25,scale=1,acodec=mp3,ab=512,samplerate=44100,channels=2}:std{access=http,mux=flv,dst=0.0.0.0:8081/stream.flv}'"; runtime runtime = runtime.getruntime(); process p = runtime.exec(args); 

i these errors output:

err: [0x7ff2d8000b78] main input debug: creating input 'test.avi.flv' err: [0x7ff2ac001108] main stream output debug: using sout chain=`standard{mux="",access="'#transcode{vcodec=flv1,vb=4096,fps=25,scale=1,acodec=mp3,ab=512,samplerate=44100,channels=2}",dst="std{access=http,mux=flv,dst=0.0.0.0:8081/stream.flv   }'"}' err: [0x7ff2ac001108] main stream output debug: stream=`standard' err: [0x7ff2ac0014f8] main stream out debug: looking sout stream module: 1 candidate err: [0x7ff2ac0014f8] main stream out warning: missing value option mux err: [0x7ff2ac0014f8] main stream out debug: set config option: sout-standard-access '#transcode{vcodec=flv1,vb=4096,fps=25,scale=1,acodec=mp3,ab=512,samplerate=44100,channels=2} err: [0x7ff2ac0014f8] main stream out debug: set config option: sout-standard-dst std{access=http,mux=flv,dst=0.0.0.0:8081/stream.flv}' err: [0x7ff2ac0014f8] stream_out_standard stream out error: no mux specified or found extension err: [0x7ff2ac0014f8] main stream out debug: no sout stream module matching "standard" loaded err: [0x7ff2ac0014f8] main stream out debug: timer module_need() : 1.743 ms - total 1.743 ms / 1 intvls (avg 1.743 ms) err: [0x7ff2ac0014f8] main stream out debug: destroying chain... (name=(null)) err: [0x7ff2ac0014f8] main stream out debug: destroying chain done err: [0x7ff2ac001108] main stream output error: stream chain failed `standard{mux="",access="'#transcode{vcodec=flv1,vb=4096,fps=25,scale=1,acodec=mp3,ab=512,samplerate=44100,channels=2}",dst="std{access=http,mux=flv,dst=0.0.0.0:8081/stream.flv}'"}' err: [0x20dd928] main playlist debug: finished input err: [0x7ff2d8000b78] main input error: cannot start stream output instance, aborting err: [0x20dd928] main playlist debug: dead input err: [0x20dd928] main playlist debug: changing item without request (current 0/1) err: [0x20dd928] main playlist debug: nothing play 

any ideas might causing difference between vlc ability start stream through console, not being able start stream using runtime.exec()?

any , appreciated!!!


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -