[mythtv-users] mythtv streaming for android

Andy Wettstein ajw1980 at gmail.com
Mon Jan 10 16:38:21 UTC 2011


Yes, it looks like I forgot to attach. Here it is.

On Sun, Jan 09, 2011 at 03:52:53PM +0000, Richard Morton wrote:
> Hi,
> 
> I am interested in running this from the command line; unfortuntely
> you're post didnt include the script you are using.
> 
> Could you post it or send it directly to me please.
> 
> thanks
> 
> R
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

-- 
-------------- next part --------------
#!/bin/bash

# specify path to vlc here
vlc=/usr/local/vlc/bin/vlc

$vlc \
--extraintf=http:logger \
--http-host=0.0.0.0:8080 \
--verbose=2 \
--http-album-art \
--audio-language=en --sub-language=en \
--audio-desync=-50 \
--no-sout-rtp-sap --sout-rtp-caching=2000 \
--sout-transcode-threads=4 --sout-transcode-high-priority \
--sout-keep \
--sout="#duplicate{ \
  dst='transcode{ \
    venc=x264{ \
      profile=baseline,level=3, \
      keyint=50,bframes=0,no-cabac,ref=1,no-interlaced, \
      vbv-maxrate=512,vbv-bufsize=256,aq-mode=0,no-mbtree, \
      partitions=none,no-weightb,weightp=0,me=dia,subme=0,no-mixed-refs,no-8x8dct,trellis=0 \
    }, \
    vcodec=h264,vb=512, \
    vfilter=canvas{width=480,height=320,aspect=480:320,padd}, \
    soverlay, \
    aenc=ffmpeg{ \
      aac-profile=low \
    }, \
    acodec=mp4a,ab=128,channels=2,audio-sync \
  }:gather:rtp{ \
    sdp=rtsp://0.0.0.0:5554/android.sdp,mp4a-latm \
  }', \
  dst='transcode{ \
    vcodec=null, \
    acodec=mp3,ab=160,channels=2 \
  }:gather:std{ \
    access=http,mux=raw,dst=0.0.0.0:8081 \
  }' \
}"


More information about the mythtv-users mailing list