Streaming to Android and to Nokia ^3 devices?
Posted: 16 Aug 2011 17:45
Hi there.
Using VLC v1.1.11 on Windows 7 64bit edition on Zotac ID40 Hardware..
VLC has done a great job transcoding http .ts mpeg2 stream to Nokia N8 & Android devices in LAN space, but now something is bothering the system and has recently risen up (after vlc update?) Video tends to tear apart in motion sometimes and no matter how I change the x264 & rtp settings these occure in random. Sometimes rarely, sometimes quite often. Android phone does not do this so often but it does anyhow.
Em I missing something here. Bitrate seems to be a keyfactor here. At low bitrates (350kbit in total) video tearing does not occure, almost at all. On higher rates video tends to rip apart more often. Video tearing in this context means that picture start to smear in those areas where motion occures. Keyframe change will always fix this..
I use this commaline command to transcode, source is DreamBox's .ts stream.. Target total bitstream is 500 kbit/sec. This is where Nokia N8 start to have these videotear issues... also android... and also VLC player itself.
vbv-maxrate = totalbirate (500kbit/sec) - audiobitrate (128kbit/sec) = 372
vbv-bufsize = (totalbirate (500kbit/sec) - audiobitrate (128kbit/sec)) / 2 = 186
bitrate = totalbirate (500kbit/sec) - audiobitrate (128kbit/sec) = 372
Is there something wrong here with the parameters? does cache be in any role.. CPU (dual atom 1.8Ghz) is somewhere 80% load..
Using VLC v1.1.11 on Windows 7 64bit edition on Zotac ID40 Hardware..
VLC has done a great job transcoding http .ts mpeg2 stream to Nokia N8 & Android devices in LAN space, but now something is bothering the system and has recently risen up (after vlc update?) Video tends to tear apart in motion sometimes and no matter how I change the x264 & rtp settings these occure in random. Sometimes rarely, sometimes quite often. Android phone does not do this so often but it does anyhow.
Em I missing something here. Bitrate seems to be a keyfactor here. At low bitrates (350kbit in total) video tearing does not occure, almost at all. On higher rates video tends to rip apart more often. Video tearing in this context means that picture start to smear in those areas where motion occures. Keyframe change will always fix this..
I use this commaline command to transcode, source is DreamBox's .ts stream.. Target total bitstream is 500 kbit/sec. This is where Nokia N8 start to have these videotear issues... also android... and also VLC player itself.
vbv-maxrate = totalbirate (500kbit/sec) - audiobitrate (128kbit/sec) = 372
vbv-bufsize = (totalbirate (500kbit/sec) - audiobitrate (128kbit/sec)) / 2 = 186
bitrate = totalbirate (500kbit/sec) - audiobitrate (128kbit/sec) = 372
Code: Select all
vlc.exe -I dummy --http-caching=2500 --audio-language=fin,eng http://192.168.0.251:8001/1:0:1:11:1001:20F6:EEEE0000:0:0:0: --sout "#transcode{audio-sync,soverlay,deinterlace,ab=128,samplerate=44100,channels=2,acodec=mp4a,vcodec=h264,width=640,height=360,
vfilter="canvas{width=640,height=360,aspect=16:9}",fps=25,vb=372,venc=x264{threads=auto,keyint=250,preset=faster,
level=-1,profile=baseline,qcomp=0.9,vbv-maxrate=372,vbv-bufsize=186,bitrate=372}}:rtp{sdp=rtsp://:5554/TV.sdp,
name='TV'}" :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep :rtp-caching=2500