[mythtv-users] mythtv streaming for android

Nick Rout nick.rout at gmail.com
Wed Jan 12 23:18:55 UTC 2011

On Thu, Jan 13, 2011 at 5:28 AM, Andy Wettstein <ajw1980 at gmail.com> wrote:
> On Wed, Jan 12, 2011 at 10:24:25AM +0100, Sven Bretfeld wrote:
>> Hi Andy
>> Thanks for hinting us to this and thanks for sharing the script.
>> I tried it today with only minor success. Sound works good but lags
>> every 3 seconds for 1 second (for both, video and music). What is worse,
>> when playing a video there is nothing to view. The screen stays black,
>> only sound.
>> I had a picture when I tried for the very first time, but it was in very
>> gross resolution, rather bricks than pixels. After the first time no
>> picture ever appeared again.
>> I strictly followed your setup, using your script, but with the standard
>> vlc from the Ubuntu repository on Mythbuntu 10.10. The Android device
>> (HTC Magic, Froyo) is connected via WLAN within a local network. I run
>> the pro version of VLC S&C. The option "Override command line" is
>> unchecked.
>> What could be the problem? Simply the speed of the LAN? Can it be solved
>> by adjusting the encoding parameters? In the long run I would like to
>> stream remotely via VPN. Help would be very welcome.
> VLC from ubuntu has the x264 encoder enabled?


nick at media:~$ vlc -l|grep 264
VLC media player 1.0.6 Goldeneye
  packetizer_h264       H.264 video packetizer
  h264                  H264 video demuxer
  x264                  H.264/MPEG4 AVC encoder (x264)

> You may want to try streaming from http. That is audio only but you can
> at least check if you get pauses with that.
> It certainly might be necessary to adjust the encoding parameters both
> for available wireless bandwidth as well as processing power on both
> the machine you are streaming from and the android device.
> You may also want to change the VLC S&C playback resolution.
> When I was testing things out, I also did some manual streaming from
> the VLC interface using rtsp and http streams and played them with mplayer
> to make sure the streaming was working ok. Just right click a file in
> vlc and select stream. Add an rtsp stream and make sure transcoding is
> activated with the x264+aac profile. Then start the stream.
> If you used the defaults, you can play it in mplayer with something like
> this (trailing slash is important):
> mplayer rtsp://hostname:5544/
> That will at least let you know if the vlc server is working as
> expected.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

More information about the mythtv-users mailing list