HOW-TO stream video from VLC (VideoLAN-Client) PC
#33
We're intending to use XBMC installed on Xboxes to use the Xboxes as video over LAN set top boxes for CCTV at a convention but XBMC seems to have a few bugs when it comes to working with VLC (Or streaming in general, I dunno).

These problems I only experiance when using XBMC as the client, not when transmitting from VLC to VLC between computers.

The process I have working involves simply broadcasting MPEG-2/DD-AC3 by UDP over the network. This infact works very well and by using UDP, XBMC seems to handle breaks in the video steam with much less difficulty and no stalling and requiring a reboot. MPEG-2/DD-AC3 works well under HTTP as well, but I find it kicks back up from network failures and stopped and restarted servers a lot better when it's just blindly looking at a port and waiting for packets.

The issue seems to come when I try to use a video format OTHER than MPEG-2. When using UDP your container options are limited to only MPEG TS, but I've tried other containers with similar results or poor results.

Using MPEG-4 instead of MPEG-2, XBMC seems to become confused and for some reason assumes the framerate of the incoming stream is not 24fps but instead 12fps or 8fps, resulting in the video being played back slower than it should and it eventually gets confused with what's in the buffer, rebuffers and this cycles.

In cases where I tell VLC to NOT transcode the video from an MPEG-4 source and instead re-stream it, it instead assumes the frame rate is 29.98 FPS when the source is 24fps and it quietly sits there letting the video get ahead of the audio, then behind, then ahead... And so on. It's trying to resynch but it's got the wrong frame rate data.

This could be a problem in VLC itself and not part of Xbox Media Center, I dunno. It's just that this isn't a problem I've seen reported on the VLC forums so I'm hoping something here can guide me towards getting to MPEG-4.

Now, Mpeg-2 would normally be good enough, but this streaming video network is infact running over Wireless G, between WRT54GL routers running DD-WRT, so the available network bandwidth is like 25mbps total if we use Afterburner on all the routers. MPEG-4 is a fair bit more efficent per bit than MPEG-2 and I'm trying to cut down the necessary bandwidth.
Reply


Messages In This Thread
[No subject] - by san9jay - 2004-05-19, 12:02
[No subject] - by asabour - 2004-05-25, 19:56
[No subject] - by Strawp - 2004-05-25, 20:10
[No subject] - by Nogood5 - 2004-05-27, 14:18
[No subject] - by Strawp - 2004-05-27, 14:32
[No subject] - by Strawp - 2004-05-28, 00:43
[No subject] - by Nogood5 - 2004-05-28, 10:03
[No subject] - by solidus1299 - 2004-05-28, 23:09
[No subject] - by gvallen - 2004-06-26, 01:55
[No subject] - by Crackhead1 - 2004-08-20, 21:07
[No subject] - by Crackhead1 - 2004-08-20, 21:17
[No subject] - by Strawp - 2004-09-16, 19:08
[No subject] - by Resus - 2004-11-11, 02:09
[No subject] - by gquiring - 2004-11-15, 03:21
[No subject] - by Caldor - 2005-06-01, 05:45
[No subject] - by Strawp - 2005-08-12, 16:43
[No subject] - by Sid - 2005-09-11, 03:39
[No subject] - by omega_red - 2005-09-19, 15:43
[No subject] - by sonica - 2005-10-17, 15:04
[No subject] - by greend139 - 2005-11-10, 15:38
[No subject] - by nem - 2005-11-26, 16:59
[No subject] - by Xirix - 2006-01-11, 22:54
[No subject] - by stark - 2006-01-15, 22:50
[No subject] - by Morien - 2006-03-04, 16:31
HDHomeRun - by yoyodyn - 2006-10-08, 21:55
[No subject] - by chrome307 - 2007-01-19, 04:35
[No subject] - by chrome307 - 2007-01-19, 04:35
[No subject] - by chrome307 - 2007-01-19, 05:07
[No subject] - by chrome307 - 2007-01-19, 06:20
[No subject] - by blakholephysics - 2007-03-11, 07:07
VLC streaming into XBMC - by DJ_Izumi - 2007-09-09, 14:57
[No subject] - by c0rderr0y - 2007-11-27, 20:40
Works fine with DVD but ... - by MokuJin - 2008-07-18, 02:34
Loopback streaming - by firewuff - 2009-07-12, 08:57
[No subject] - by klikkamongo - 2011-10-06, 12:18
Logout Mark Read Team Forum Stats Members Help
HOW-TO stream video from VLC (VideoLAN-Client) PC1