Hi,
Greetings.
I know , this is not the right forumn to ask this question, but my concern is , take input a stream, transocde it using ffmpeg, stream on localhost, then wowza will pickit up, using wowzadir/content/.stream file, then clients will connect to wowza to playusing rtmp/http.
My ffmpeg code is
ffmpeg -i "http://streamurl" -vcodec libx264 -vpre default -vpre baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 96000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f mpegts udp://localhost:41110?pkt_size=1316
Above is not righting to local host:41110, tried netstat to see no of ports open, and 41110 wasn’t there.
Replaced localhost with 127.0.0.1 and system ip but no luck.
Where,
ffmpeg -i "http://streamurl" -vcodec libx264 -vpre default -vpre baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 96000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f mpegts sample.mpg
worked fine, and the file sample.mpg saved locally.
I want ffmpeg to stream to localhost with perticular port number, then wowza pics this up, makes this http, clients will connect to wowza.
I have reffered this link https://www.wowza.com/docs/how-to-use-ffmpeg-with-wowza-media-server-mpeg-ts to get the work done.
Any help is appriciated.
Thanks.