Hi people,
I'm trying to do something that seems impossible to me. I'll be glad is someone can help me or point where to read about this.
I'm try to transcode live http video stream with high resolution 1024x680 and High VBR about 2 mbps to resolution suitable for mobile phones all that must be accesses via rtsp. For ex. qcif(176x144) and CBR max to 110~120 kbps or qvga (320x240) and CBR ~340 kbps. I've try with vlc and ffmpeg but all I get is few seconds and after that there is no picture or both programs crashes. I've use a lot of commands and effect is the same:
cvlc -L -vvv http://input --http-caching 2000 --sout '#transcode{venc=x264{keyint=5,bframes=1,no-cabac,nr=1000},scale=0.25,width=176,height=144,vco dec=h263,vb=70,acodec=mp4a,fps=10,ab=40,channels=1 ,samplerate=8000}:rtp{port-audio=9110,port=9108,dst=10.xx.xx.xx,mp4a-latm}'

cvlc -vvv http://input --sout '#transcode{venc=x264{keyint=7,min-keyint=5,scenecut=10,bframes=3,b-adapt=2,bpyramid=normal,cabac,ref=7,deblock=2,psy, level=1.3,profile=baseline,interlaced,slices=5,sli ce-max-size=10,slice-max-mbs=70,qp=10,crf=15,qpmin=10,qpmax=30,qpstep=20,ra tetol=100,vbv-maxrate=110,vbv-bufsize=100,vbv-init=1,ipratio=1,pbratio=1,chroma-qp-offset=10,aq-mode=2,aq-strength=1.5,partitions=normal,direct=auto,direct-8x8=1,weightp=2,me=esa,merange=10,mvrange=-1,mvrange-thread=-1,8x8dct,trellis=2,lookahead=30,intra-refresh,mbtree,nr=1000,non-deterministic,aud,tune=4},scale=0.25,width=328,hei ght=288,fps=15,vb=200,ab=42,vcodec=H264,acodec=mp4 a,channels=1}:rtp{port-audio=9110,port=9108,dst=10.xx.xx.xx,mp4a-latm}'

ffmpeg -i <input> -an -vcodec libx264 -vpre default -threads 0 -s qcif -vglobal 1 -vsync 1 -f rtp rtp://10.xx.xx.xx:9110 -vn -acodec libfaac -ac 2 -ab 48k -async 1 -flags +global_header -f rtp rtp://10.xx.xx.xx:9108 -newaudio

OS:RedHat 6
VLC version 1.1.7
x264 0.114.x
FFmpeg version 0.6.1

Please tell me is there any chance to make that work or I need to buy something to make that work?