How to change resolution(MPEGTS->FLV)
Posted: 24 Mar 2010 23:18
In: MPEGTS. Out: h264[FLV]
I have this configuration working:
Now I need another two streams from the same "http://somehost:8080" but with "width=720,height=568,vbv-maxrate=700" and "width=320,height=240,vbv-maxrate=300"(for example). I dont want to use too much processor resources with running three encoding VLC simultaneously. In fact I want to encode just once and to resize this stream into to another streams. How can I do so?
Sorry for my bad English
I have this configuration working:
Code: Select all
#!/bin/sh
# Live video streaming with VLC.
# 400x300, 250Kbit
/usr/bin/vlc -I dummy \
-vvvv \
--repeat \
--no-drop-late-frames \
--no-skip-frames \
--no-ffmpeg-hurry-up \
--no-sout-transcode-hurry-up \
--rt-priority http://somehost:8080 \
--sout '#transcode{venc=x264{cabac=yes,bframes=0,keyint=125,ref=5,merange=24,mixed-refs=yes,direct=auto,me=umh,subme=7,trellis=2,weightb=yes,partitions=all,vbv-maxrate=400,vbv-bufsize=3000,ratetol=100.0,scenecut=60},vb=300, deinterlace=yes,acodec=mp4a,ab=96,channels=2,width=400,height=300}:std{access=http,dst=0.0.0.0:8083/stream.flv}' > /var/log/vlc.log 2>&1 &
Sorry for my bad English