audio - Apple HLS with ffmpeg and mediastreamsegmenter and vlc -


i'm trying stream using ffmpeg stream windows box. here command i'm running on windows box

ffmpeg -f dshow -i audio=”wave in 2 32130101 (orban optim” -acodec libmp3lame -ab 64k -f mpegts udp://172.30.16.181:2222?pkt_size=188?buffer_size=128000

this part works , i'm able listen on mac via vlc , i'm streaming out vlc port 20103

but when use mediasegmenter mediastreamsegmenter -s 3 -f /users/vickkrish/ 127.0.0.1:2222

this happens mar 6 2014 04:11:02.926: audio pid set @ 44 mar 6 2014 04:11:03.165: audio pid change 44 mar 6 2014 04:11:03.328: audio pid change 44 mar 6 2014 04:11:03.583: audio pid change 44 mar 6 2014 04:11:03.745: audio pid change 44 mar 6 2014 04:11:03.989: audio pid change 44 mar 6 2014 04:11:04.151: audio pid change 44 mar 6 2014 04:11:04.316: audio pid change 44 mar 6 2014 04:11:04.492: audio pid change 44 mar 6 2014 04:11:04.740: audio pid change 44 mar 6 2014 04:11:04.887: audio pid change 44 mar 6 2014 04:11:05.175: audio pid change 44 mar 6 2014 04:11:05.338: audio pid change 44 mar 6 2014 04:11:05.582: audio pid change 44

and no .ts files created.

wouldn't easier use vlc transcoding , segmenting? along lines of

ip=$1 port=$2 name=$3 host=$4 mkdir -p /wwwroot/$name rm /wwwroot/$name/$name*.* voptions="threads=4,width=720,height=576,fps=25,vcodec=h264,vb=2048,venc=x264{aud,profile=baseline,level=30,keyint=25,bframes=0,ref=1,nocabac},acodec=mp4a,ab=192,channels=2" # 2 mpbs full d1 index="/wwwroot/$name/$name.m3u8" idxurl="http://$host/$name/$name-########.ts" dst="/wwwroot/$name/$name-########.ts" vlc-wrapper -i dummy udp://@$ip:$port vlc://quit --sout="#transcode{$voptions}:duplicate{dst=std{access=livehttp{seglen=60,numsegs=60,index=$index,index-url=$idxurl},mux=ts{use-key-frames},dst=$dst}}" -vvv 

Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -